Add kernel syscall support for explicit blocking and non-blocking I/O
[dragonfly.git] / sys / sys / sysunion.h
1 /*
2  * Union of syscall args for messaging.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * $DragonFly: src/sys/sys/sysunion.h,v 1.38 2006/06/13 08:12:04 dillon Exp $
6  * created from DragonFly: src/sys/kern/syscalls.master,v 1.38 2006/06/05 07:26:10 dillon Exp 
7  */
8
9 union sysunion {
10 #ifdef _KERNEL /* header only applies in kernel */
11         struct  lwkt_msg lmsg;
12         struct  sysmsg sysmsg;
13 #endif
14 #ifdef COMPAT_43
15 #endif
16         struct  nosys_args nosys;
17         struct  exit_args exit;
18         struct  fork_args fork;
19         struct  read_args read;
20         struct  write_args write;
21         struct  open_args open;
22         struct  close_args close;
23         struct  wait_args wait4;
24 #ifdef COMPAT_43
25         struct  ocreat_args sys_ocreat;
26 #endif
27         struct  link_args link;
28         struct  unlink_args unlink;
29         struct  chdir_args chdir;
30         struct  fchdir_args fchdir;
31         struct  mknod_args mknod;
32         struct  chmod_args chmod;
33         struct  chown_args chown;
34         struct  obreak_args obreak;
35         struct  getfsstat_args getfsstat;
36 #ifdef COMPAT_43
37         struct  olseek_args sys_olseek;
38 #endif
39         struct  getpid_args getpid;
40         struct  mount_args mount;
41         struct  unmount_args unmount;
42         struct  setuid_args setuid;
43         struct  getuid_args getuid;
44         struct  geteuid_args geteuid;
45         struct  ptrace_args ptrace;
46         struct  recvmsg_args recvmsg;
47         struct  sendmsg_args sendmsg;
48         struct  recvfrom_args recvfrom;
49         struct  accept_args accept;
50         struct  getpeername_args getpeername;
51         struct  getsockname_args getsockname;
52         struct  access_args access;
53         struct  chflags_args chflags;
54         struct  fchflags_args fchflags;
55         struct  sync_args sync;
56         struct  kill_args kill;
57 #ifdef COMPAT_43
58         struct  ostat_args sys_ostat;
59 #endif
60         struct  getppid_args getppid;
61 #ifdef COMPAT_43
62         struct  olstat_args sys_olstat;
63 #endif
64         struct  dup_args dup;
65         struct  pipe_args pipe;
66         struct  getegid_args getegid;
67         struct  profil_args profil;
68         struct  ktrace_args ktrace;
69         struct  getgid_args getgid;
70         struct  getlogin_args getlogin;
71         struct  setlogin_args setlogin;
72         struct  acct_args acct;
73         struct  sigaltstack_args sigaltstack;
74         struct  ioctl_args ioctl;
75         struct  reboot_args reboot;
76         struct  revoke_args revoke;
77         struct  symlink_args symlink;
78         struct  readlink_args readlink;
79         struct  execve_args execve;
80         struct  umask_args umask;
81         struct  chroot_args chroot;
82 #ifdef COMPAT_43
83         struct  ofstat_args sys_ofstat;
84 #endif
85 #ifdef COMPAT_43
86         struct  getkerninfo_args getkerninfo;
87 #endif
88         struct  getpagesize_args getpagesize;
89         struct  msync_args msync;
90         struct  vfork_args vfork;
91         struct  sbrk_args sbrk;
92         struct  sstk_args sstk;
93 #ifdef COMPAT_43
94         struct  ommap_args sys_ommap;
95 #endif
96         struct  ovadvise_args ovadvise;
97         struct  munmap_args munmap;
98         struct  mprotect_args mprotect;
99         struct  madvise_args madvise;
100         struct  mincore_args mincore;
101         struct  getgroups_args getgroups;
102         struct  setgroups_args setgroups;
103         struct  getpgrp_args getpgrp;
104         struct  setpgid_args setpgid;
105         struct  setitimer_args setitimer;
106         struct  owait_args sys_owait;
107         struct  swapon_args swapon;
108         struct  getitimer_args getitimer;
109 #ifdef COMPAT_43
110         struct  gethostname_args gethostname;
111 #endif
112 #ifdef COMPAT_43
113         struct  sethostname_args sethostname;
114 #endif
115         struct  getdtablesize_args getdtablesize;
116         struct  dup2_args dup2;
117         struct  fcntl_args fcntl;
118         struct  select_args select;
119         struct  fsync_args fsync;
120         struct  setpriority_args setpriority;
121         struct  socket_args socket;
122         struct  connect_args connect;
123         struct  getpriority_args getpriority;
124 #ifdef COMPAT_43
125         struct  osend_args sys_osend;
126 #endif
127 #ifdef COMPAT_43
128         struct  orecv_args sys_orecv;
129 #endif
130         struct  bind_args bind;
131         struct  setsockopt_args setsockopt;
132         struct  listen_args listen;
133 #ifdef COMPAT_43
134         struct  osigvec_args sys_osigvec;
135 #endif
136 #ifdef COMPAT_43
137         struct  osigblock_args sys_osigblock;
138 #endif
139 #ifdef COMPAT_43
140         struct  osigsetmask_args sys_osigsetmask;
141 #endif
142 #ifdef COMPAT_43
143         struct  osigstack_args sys_osigstack;
144 #endif
145 #ifdef COMPAT_43
146         struct  orecvmsg_args sys_orecvmsg;
147 #endif
148 #ifdef COMPAT_43
149         struct  osendmsg_args sys_osendmsg;
150 #endif
151         struct  gettimeofday_args gettimeofday;
152         struct  getrusage_args getrusage;
153         struct  getsockopt_args getsockopt;
154         struct  readv_args readv;
155         struct  writev_args writev;
156         struct  settimeofday_args settimeofday;
157         struct  fchown_args fchown;
158         struct  fchmod_args fchmod;
159         struct  setreuid_args setreuid;
160         struct  setregid_args setregid;
161         struct  rename_args rename;
162 #ifdef COMPAT_43
163         struct  otruncate_args sys_otruncate;
164 #endif
165 #ifdef COMPAT_43
166         struct  oftruncate_args sys_oftruncate;
167 #endif
168         struct  flock_args flock;
169         struct  mkfifo_args mkfifo;
170         struct  sendto_args sendto;
171         struct  shutdown_args shutdown;
172         struct  socketpair_args socketpair;
173         struct  mkdir_args mkdir;
174         struct  rmdir_args rmdir;
175         struct  utimes_args utimes;
176         struct  adjtime_args adjtime;
177 #ifdef COMPAT_43
178         struct  ogetpeername_args sys_ogetpeername;
179 #endif
180         struct  ogethostid_args sys_ogethostid;
181 #ifdef COMPAT_43
182         struct  osethostid_args sys_osethostid;
183 #endif
184 #ifdef COMPAT_43
185         struct  ogetrlimit_args sys_ogetrlimit;
186 #endif
187 #ifdef COMPAT_43
188         struct  osetrlimit_args sys_osetrlimit;
189 #endif
190 #ifdef COMPAT_43
191         struct  okillpg_args sys_okillpg;
192 #endif
193         struct  setsid_args setsid;
194         struct  quotactl_args quotactl;
195         struct  oquota_args sys_oquota;
196         struct  nfssvc_args nfssvc;
197 #ifdef COMPAT_43
198         struct  ogetdirentries_args sys_ogetdirentries;
199 #endif
200         struct  statfs_args statfs;
201         struct  fstatfs_args fstatfs;
202         struct  getfh_args getfh;
203         struct  getdomainname_args getdomainname;
204         struct  setdomainname_args setdomainname;
205         struct  uname_args uname;
206         struct  sysarch_args sysarch;
207         struct  rtprio_args rtprio;
208         struct  semsys_args semsys;
209         struct  msgsys_args msgsys;
210         struct  shmsys_args shmsys;
211         struct  __pread_args __pread;
212         struct  __pwrite_args __pwrite;
213         struct  ntp_adjtime_args ntp_adjtime;
214         struct  setgid_args setgid;
215         struct  setegid_args setegid;
216         struct  seteuid_args seteuid;
217 #ifdef COMPAT_DF12
218         struct  dfbsd12_stat_args sys_dfbsd12_stat;
219 #endif
220 #ifdef COMPAT_DF12
221         struct  dfbsd12_fstat_args sys_dfbsd12_fstat;
222 #endif
223 #ifdef COMPAT_DF12
224         struct  dfbsd12_lstat_args sys_dfbsd12_lstat;
225 #endif
226         struct  pathconf_args pathconf;
227         struct  fpathconf_args fpathconf;
228         struct  __getrlimit_args getrlimit;
229         struct  __setrlimit_args setrlimit;
230 #ifdef COMPAT_DF12
231         struct  dfbsd12_getdirentries_args sys_dfbsd12_getdirentries;
232 #endif
233         struct  mmap_args mmap;
234         struct  lseek_args lseek;
235         struct  truncate_args truncate;
236         struct  ftruncate_args ftruncate;
237         struct  sysctl_args __sysctl;
238         struct  mlock_args mlock;
239         struct  munlock_args munlock;
240         struct  undelete_args undelete;
241         struct  futimes_args futimes;
242         struct  getpgid_args getpgid;
243         struct  poll_args poll;
244         struct  __semctl_args __semctl;
245         struct  semget_args semget;
246         struct  semop_args semop;
247         struct  msgctl_args msgctl;
248         struct  msgget_args msgget;
249         struct  msgsnd_args msgsnd;
250         struct  msgrcv_args msgrcv;
251         struct  shmat_args shmat;
252         struct  shmctl_args shmctl;
253         struct  shmdt_args shmdt;
254         struct  shmget_args shmget;
255         struct  clock_gettime_args clock_gettime;
256         struct  clock_settime_args clock_settime;
257         struct  clock_getres_args clock_getres;
258         struct  nanosleep_args nanosleep;
259         struct  minherit_args minherit;
260         struct  rfork_args rfork;
261         struct  openbsd_poll_args openbsd_poll;
262         struct  issetugid_args issetugid;
263         struct  lchown_args lchown;
264 #ifdef COMPAT_DF12
265         struct  dfbsd12_getdents_args sys_dfbsd12_getdents;
266 #endif
267         struct  lchmod_args lchmod;
268         struct  lutimes_args lutimes;
269         struct  __preadv_args __preadv;
270         struct  __pwritev_args __pwritev;
271         struct  fhstatfs_args fhstatfs;
272         struct  fhopen_args fhopen;
273 #ifdef COMPAT_DF12
274         struct  dfbsd12_fhstat_args sys_dfbsd12_fhstat;
275 #endif
276         struct  modnext_args modnext;
277         struct  modstat_args modstat;
278         struct  modfnext_args modfnext;
279         struct  modfind_args modfind;
280         struct  kldload_args kldload;
281         struct  kldunload_args kldunload;
282         struct  kldfind_args kldfind;
283         struct  kldnext_args kldnext;
284         struct  kldstat_args kldstat;
285         struct  kldfirstmod_args kldfirstmod;
286         struct  getsid_args getsid;
287         struct  setresuid_args setresuid;
288         struct  setresgid_args setresgid;
289         struct  aio_return_args aio_return;
290         struct  aio_suspend_args aio_suspend;
291         struct  aio_cancel_args aio_cancel;
292         struct  aio_error_args aio_error;
293         struct  aio_read_args aio_read;
294         struct  aio_write_args aio_write;
295         struct  lio_listio_args lio_listio;
296         struct  yield_args yield;
297         struct  thr_sleep_args thr_sleep;
298         struct  thr_wakeup_args thr_wakeup;
299         struct  mlockall_args mlockall;
300         struct  munlockall_args munlockall;
301         struct  __getcwd_args __getcwd;
302         struct  sched_setparam_args sched_setparam;
303         struct  sched_getparam_args sched_getparam;
304         struct  sched_setscheduler_args sched_setscheduler;
305         struct  sched_getscheduler_args sched_getscheduler;
306         struct  sched_yield_args sched_yield;
307         struct  sched_get_priority_max_args sched_get_priority_max;
308         struct  sched_get_priority_min_args sched_get_priority_min;
309         struct  sched_rr_get_interval_args sched_rr_get_interval;
310         struct  utrace_args utrace;
311         struct  kldsym_args kldsym;
312         struct  jail_args jail;
313         struct  sigprocmask_args sigprocmask;
314         struct  sigsuspend_args sigsuspend;
315         struct  sigaction_args sigaction;
316         struct  sigpending_args sigpending;
317         struct  sigreturn_args sigreturn;
318         struct  sigtimedwait_args sigtimedwait;
319         struct  sigwaitinfo_args sigwaitinfo;
320         struct  __acl_get_file_args __acl_get_file;
321         struct  __acl_set_file_args __acl_set_file;
322         struct  __acl_get_fd_args __acl_get_fd;
323         struct  __acl_set_fd_args __acl_set_fd;
324         struct  __acl_delete_file_args __acl_delete_file;
325         struct  __acl_delete_fd_args __acl_delete_fd;
326         struct  __acl_aclcheck_file_args __acl_aclcheck_file;
327         struct  __acl_aclcheck_fd_args __acl_aclcheck_fd;
328         struct  extattrctl_args extattrctl;
329         struct  extattr_set_file_args extattr_set_file;
330         struct  extattr_get_file_args extattr_get_file;
331         struct  extattr_delete_file_args extattr_delete_file;
332         struct  aio_waitcomplete_args aio_waitcomplete;
333         struct  getresuid_args getresuid;
334         struct  getresgid_args getresgid;
335         struct  kqueue_args kqueue;
336         struct  kevent_args kevent;
337         struct  sctp_peeloff_args sctp_peeloff;
338         struct  sendfile_args sendfile;
339         struct  varsym_set_args varsym_set;
340         struct  varsym_get_args varsym_get;
341         struct  varsym_list_args varsym_list;
342         struct  upc_register_args upc_register;
343         struct  upc_control_args upc_control;
344         struct  caps_sys_service_args caps_sys_service;
345         struct  caps_sys_client_args caps_sys_client;
346         struct  caps_sys_close_args caps_sys_close;
347         struct  caps_sys_put_args caps_sys_put;
348         struct  caps_sys_reply_args caps_sys_reply;
349         struct  caps_sys_get_args caps_sys_get;
350         struct  caps_sys_wait_args caps_sys_wait;
351         struct  caps_sys_abort_args caps_sys_abort;
352         struct  caps_sys_getgen_args caps_sys_getgen;
353         struct  caps_sys_setgen_args caps_sys_setgen;
354         struct  exec_sys_register_args exec_sys_register;
355         struct  exec_sys_unregister_args exec_sys_unregister;
356         struct  sys_checkpoint_args sys_checkpoint;
357         struct  mountctl_args mountctl;
358         struct  umtx_sleep_args umtx_sleep;
359         struct  umtx_wakeup_args umtx_wakeup;
360         struct  jail_attach_args jail_attach;
361         struct  sys_set_tls_area_args sys_set_tls_area;
362         struct  sys_get_tls_area_args sys_get_tls_area;
363         struct  closefrom_args closefrom;
364         struct  stat_args stat;
365         struct  fstat_args fstat;
366         struct  lstat_args lstat;
367         struct  fhstat_args fhstat;
368         struct  getdirentries_args getdirentries;
369         struct  getdents_args getdents;
370         struct  usched_set_args usched_set;
371 };