/
usr
/
src
/
linux-headers-5.15.0-181
/
arch
/
sparc
/
include
/
uapi
/
asm
/
/usr/src/linux-headers-5.15.0-181/arch/sparc/include/uapi/asm
mkdir
upload
Name
Size
Mode
Actions
apc.h
1745
0644
edit
dl
rm
asi.h
15367
0644
edit
dl
rm
auxvec.h
348
0644
edit
dl
rm
bitsperlong.h
324
0644
edit
dl
rm
byteorder.h
191
0644
edit
dl
rm
display7seg.h
1945
0644
edit
dl
rm
envctrl.h
3494
0644
edit
dl
rm
errno.h
5539
0644
edit
dl
rm
fbio.h
7904
0644
edit
dl
rm
fcntl.h
1790
0644
edit
dl
rm
ioctl.h
2646
0644
edit
dl
rm
ioctls.h
6133
0644
edit
dl
rm
ipcbuf.h
808
0644
edit
dl
rm
Kbuild
89
0644
edit
dl
rm
mman.h
1008
0644
edit
dl
rm
msgbuf.h
1218
0644
edit
dl
rm
openpromio.h
2166
0644
edit
dl
rm
oradax.h
2013
0644
edit
dl
rm
param.h
253
0644
edit
dl
rm
perfctr.h
5695
0644
edit
dl
rm
poll.h
273
0644
edit
dl
rm
posix_types.h
1768
0644
edit
dl
rm
psr.h
2267
0644
edit
dl
rm
psrcompat.h
2070
0644
edit
dl
rm
pstate.h
6427
0644
edit
dl
rm
ptrace.h
8222
0644
edit
dl
rm
resource.h
770
0644
edit
dl
rm
sembuf.h
896
0644
edit
dl
rm
setup.h
310
0644
edit
dl
rm
shmbuf.h
1383
0644
edit
dl
rm
sigcontext.h
167
0644
edit
dl
rm
siginfo.h
390
0644
edit
dl
rm
signal.h
4703
0644
edit
dl
rm
socket.h
3872
0644
edit
dl
rm
stat.h
2005
0644
edit
dl
rm
swab.h
1034
0644
edit
dl
rm
termbits.h
6761
0644
edit
dl
rm
termios.h
1071
0644
edit
dl
rm
traps.h
5271
0644
edit
dl
rm
uctx.h
1420
0644
edit
dl
rm
unistd.h
904
0644
edit
dl
rm
utrap.h
1541
0644
edit
dl
rm
watchdog.h
1029
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-181/arch/sparc/include/uapi/asm/oradax.h
(2013B)
/* SPDX-License-Identifier: GPL-2.0-or-later WITH Linux-syscall-note */ /* * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. */ /* * Oracle DAX driver API definitions */ #ifndef _ORADAX_H #define _ORADAX_H #include <linux/types.h> #define CCB_KILL 0 #define CCB_INFO 1 #define CCB_DEQUEUE 2 struct dax_command { __u16 command; /* CCB_KILL/INFO/DEQUEUE */ __u16 ca_offset; /* offset into mmapped completion area */ }; struct ccb_kill_result { __u16 action; /* action taken to kill ccb */ }; struct ccb_info_result { __u16 state; /* state of enqueued ccb */ __u16 inst_num; /* dax instance number of enqueued ccb */ __u16 q_num; /* queue number of enqueued ccb */ __u16 q_pos; /* ccb position in queue */ }; struct ccb_exec_result { __u64 status_data; /* additional status data (e.g. bad VA) */ __u32 status; /* one of DAX_SUBMIT_* */ }; union ccb_result { struct ccb_exec_result exec; struct ccb_info_result info; struct ccb_kill_result kill; }; #define DAX_MMAP_LEN (16 * 1024) #define DAX_MAX_CCBS 15 #define DAX_CCB_BUF_MAXLEN (DAX_MAX_CCBS * 64) #define DAX_NAME "oradax" /* CCB_EXEC status */ #define DAX_SUBMIT_OK 0 #define DAX_SUBMIT_ERR_RETRY 1 #define DAX_SUBMIT_ERR_WOULDBLOCK 2 #define DAX_SUBMIT_ERR_BUSY 3 #define DAX_SUBMIT_ERR_THR_INIT 4 #define DAX_SUBMIT_ERR_ARG_INVAL 5 #define DAX_SUBMIT_ERR_CCB_INVAL 6 #define DAX_SUBMIT_ERR_NO_CA_AVAIL 7 #define DAX_SUBMIT_ERR_CCB_ARR_MMU_MISS 8 #define DAX_SUBMIT_ERR_NOMAP 9 #define DAX_SUBMIT_ERR_NOACCESS 10 #define DAX_SUBMIT_ERR_TOOMANY 11 #define DAX_SUBMIT_ERR_UNAVAIL 12 #define DAX_SUBMIT_ERR_INTERNAL 13 /* CCB_INFO states - must match HV_CCB_STATE_* definitions */ #define DAX_CCB_COMPLETED 0 #define DAX_CCB_ENQUEUED 1 #define DAX_CCB_INPROGRESS 2 #define DAX_CCB_NOTFOUND 3 /* CCB_KILL actions - must match HV_CCB_KILL_* definitions */ #define DAX_KILL_COMPLETED 0 #define DAX_KILL_DEQUEUED 1 #define DAX_KILL_KILLED 2 #define DAX_KILL_NOTFOUND 3 #endif /* _ORADAX_H */
Save
cmd:
run