Introduce the function iovec_copyin() and it's friend iovec_free().
[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.6 2003/10/08 01:30:32 daver Exp $
6  * created from DragonFly: src/sys/kern/syscalls.master,v 1.2 2003/06/17 04:28:41 dillon Exp 
7  */
8
9 union sysunion {
10 #ifdef _KERNEL /* header only applies in kernel */
11         struct  lwkt_msg lmsg;
12         union   sysmsg sysmsg;
13 #endif
14         struct  nosys_args nosys;
15         struct  sys_exit_args sys_exit;
16         struct  fork_args fork;
17         struct  read_args read;
18         struct  write_args write;
19         struct  open_args open;
20         struct  close_args close;
21         struct  wait_args wait4;
22 #ifdef COMPAT_43
23         struct  ocreat_args ocreat;
24 #endif
25         struct  link_args link;
26         struct  unlink_args unlink;
27         struct  chdir_args chdir;
28         struct  fchdir_args fchdir;
29         struct  mknod_args mknod;
30         struct  chmod_args chmod;
31         struct  chown_args chown;
32         struct  obreak_args obreak;
33         struct  getfsstat_args getfsstat;
34 #ifdef COMPAT_43
35         struct  olseek_args olseek;
36 #endif
37         struct  getpid_args getpid;
38         struct  mount_args mount;
39         struct  unmount_args unmount;
40         struct  setuid_args setuid;
41         struct  getuid_args getuid;
42         struct  geteuid_args geteuid;
43         struct  ptrace_args ptrace;
44         struct  recvmsg_args recvmsg;
45         struct  sendmsg_args sendmsg;
46         struct  recvfrom_args recvfrom;
47         struct  accept_args accept;
48         struct  getpeername_args getpeername;
49         struct  getsockname_args getsockname;
50         struct  access_args access;
51         struct  chflags_args chflags;
52         struct  fchflags_args fchflags;
53         struct  sync_args sync;
54         struct  kill_args kill;
55 #ifdef COMPAT_43
56         struct  ostat_args ostat;
57 #endif
58         struct  getppid_args getppid;
59 #ifdef COMPAT_43
60         struct  olstat_args olstat;
61 #endif
62         struct  dup_args dup;
63         struct  pipe_args pipe;
64         struct  getegid_args getegid;
65         struct  profil_args profil;
66         struct  ktrace_args ktrace;
67 #ifdef COMPAT_43
68         struct  osigaction_args osigaction;
69 #endif
70         struct  getgid_args getgid;
71 #ifdef COMPAT_43
72         struct  osigprocmask_args osigprocmask;
73 #endif
74         struct  getlogin_args getlogin;
75         struct  setlogin_args setlogin;
76         struct  acct_args acct;
77         struct  osigpending_args osigpending;
78         struct  sigaltstack_args sigaltstack;
79         struct  ioctl_args ioctl;
80         struct  reboot_args reboot;
81         struct  revoke_args revoke;
82         struct  symlink_args symlink;
83         struct  readlink_args readlink;
84         struct  execve_args execve;
85         struct  umask_args umask;
86         struct  chroot_args chroot;
87 #ifdef COMPAT_43
88         struct  ofstat_args ofstat;
89 #endif
90 #ifdef COMPAT_43
91         struct  getkerninfo_args getkerninfo;
92 #endif
93         struct  getpagesize_args getpagesize;
94         struct  msync_args msync;
95         struct  vfork_args vfork;
96         struct  sbrk_args sbrk;
97         struct  sstk_args sstk;
98 #ifdef COMPAT_43
99         struct  ommap_args ommap;
100 #endif
101         struct  ovadvise_args ovadvise;
102         struct  munmap_args munmap;
103         struct  mprotect_args mprotect;
104         struct  madvise_args madvise;
105         struct  mincore_args mincore;
106         struct  getgroups_args getgroups;
107         struct  setgroups_args setgroups;
108         struct  getpgrp_args getpgrp;
109         struct  setpgid_args setpgid;
110         struct  setitimer_args setitimer;
111         struct  owait_args owait;
112         struct  swapon_args swapon;
113         struct  getitimer_args getitimer;
114 #ifdef COMPAT_43
115         struct  gethostname_args gethostname;
116 #endif
117 #ifdef COMPAT_43
118         struct  sethostname_args sethostname;
119 #endif
120         struct  getdtablesize_args getdtablesize;
121         struct  dup2_args dup2;
122         struct  fcntl_args fcntl;
123         struct  select_args select;
124         struct  fsync_args fsync;
125         struct  setpriority_args setpriority;
126         struct  socket_args socket;
127         struct  connect_args connect;
128         struct  getpriority_args getpriority;
129 #ifdef COMPAT_43
130         struct  osend_args osend;
131 #endif
132 #ifdef COMPAT_43
133         struct  orecv_args orecv;
134 #endif
135 #ifdef COMPAT_43
136         struct  osigreturn_args osigreturn;
137 #endif
138         struct  bind_args bind;
139         struct  setsockopt_args setsockopt;
140         struct  listen_args listen;
141 #ifdef COMPAT_43
142         struct  osigvec_args osigvec;
143 #endif
144 #ifdef COMPAT_43
145         struct  osigblock_args osigblock;
146 #endif
147 #ifdef COMPAT_43
148         struct  osigsetmask_args osigsetmask;
149 #endif
150 #ifdef COMPAT_43
151         struct  osigsuspend_args osigsuspend;
152 #endif
153 #ifdef COMPAT_43
154         struct  osigstack_args osigstack;
155 #endif
156 #ifdef COMPAT_43
157         struct  orecvmsg_args orecvmsg;
158 #endif
159 #ifdef COMPAT_43
160         struct  osendmsg_args osendmsg;
161 #endif
162         struct  gettimeofday_args gettimeofday;
163         struct  getrusage_args getrusage;
164         struct  getsockopt_args getsockopt;
165         struct  readv_args readv;
166         struct  writev_args writev;
167         struct  settimeofday_args settimeofday;
168         struct  fchown_args fchown;
169         struct  fchmod_args fchmod;
170         struct  setreuid_args setreuid;
171         struct  setregid_args setregid;
172         struct  rename_args rename;
173 #ifdef COMPAT_43
174         struct  otruncate_args otruncate;
175 #endif
176 #ifdef COMPAT_43
177         struct  oftruncate_args oftruncate;
178 #endif
179         struct  flock_args flock;
180         struct  mkfifo_args mkfifo;
181         struct  sendto_args sendto;
182         struct  shutdown_args shutdown;
183         struct  socketpair_args socketpair;
184         struct  mkdir_args mkdir;
185         struct  rmdir_args rmdir;
186         struct  utimes_args utimes;
187         struct  adjtime_args adjtime;
188 #ifdef COMPAT_43
189         struct  ogetpeername_args ogetpeername;
190 #endif
191         struct  ogethostid_args ogethostid;
192 #ifdef COMPAT_43
193         struct  osethostid_args osethostid;
194 #endif
195 #ifdef COMPAT_43
196         struct  ogetrlimit_args ogetrlimit;
197 #endif
198 #ifdef COMPAT_43
199         struct  osetrlimit_args osetrlimit;
200 #endif
201 #ifdef COMPAT_43
202         struct  okillpg_args okillpg;
203 #endif
204         struct  setsid_args setsid;
205         struct  quotactl_args quotactl;
206         struct  oquota_args oquota;
207         struct  nfssvc_args nfssvc;
208 #ifdef COMPAT_43
209         struct  ogetdirentries_args ogetdirentries;
210 #endif
211         struct  statfs_args statfs;
212         struct  fstatfs_args fstatfs;
213         struct  getfh_args getfh;
214         struct  getdomainname_args getdomainname;
215         struct  setdomainname_args setdomainname;
216         struct  uname_args uname;
217         struct  sysarch_args sysarch;
218         struct  rtprio_args rtprio;
219         struct  semsys_args semsys;
220         struct  msgsys_args msgsys;
221         struct  shmsys_args shmsys;
222         struct  pread_args pread;
223         struct  pwrite_args pwrite;
224         struct  ntp_adjtime_args ntp_adjtime;
225         struct  setgid_args setgid;
226         struct  setegid_args setegid;
227         struct  seteuid_args seteuid;
228         struct  stat_args stat;
229         struct  fstat_args fstat;
230         struct  lstat_args lstat;
231         struct  pathconf_args pathconf;
232         struct  fpathconf_args fpathconf;
233         struct  __getrlimit_args getrlimit;
234         struct  __setrlimit_args setrlimit;
235         struct  getdirentries_args getdirentries;
236         struct  mmap_args mmap;
237         struct  lseek_args lseek;
238         struct  truncate_args truncate;
239         struct  ftruncate_args ftruncate;
240         struct  sysctl_args __sysctl;
241         struct  mlock_args mlock;
242         struct  munlock_args munlock;
243         struct  undelete_args undelete;
244         struct  futimes_args futimes;
245         struct  getpgid_args getpgid;
246         struct  poll_args poll;
247         struct  __semctl_args __semctl;
248         struct  semget_args semget;
249         struct  semop_args semop;
250         struct  msgctl_args msgctl;
251         struct  msgget_args msgget;
252         struct  msgsnd_args msgsnd;
253         struct  msgrcv_args msgrcv;
254         struct  shmat_args shmat;
255         struct  shmctl_args shmctl;
256         struct  shmdt_args shmdt;
257         struct  shmget_args shmget;
258         struct  clock_gettime_args clock_gettime;
259         struct  clock_settime_args clock_settime;
260         struct  clock_getres_args clock_getres;
261         struct  nanosleep_args nanosleep;
262         struct  minherit_args minherit;
263         struct  rfork_args rfork;
264         struct  openbsd_poll_args openbsd_poll;
265         struct  issetugid_args issetugid;
266         struct  lchown_args lchown;
267         struct  getdents_args getdents;
268         struct  lchmod_args lchmod;
269         struct  lutimes_args lutimes;
270         struct  nstat_args nstat;
271         struct  nfstat_args nfstat;
272         struct  nlstat_args nlstat;
273         struct  fhstatfs_args fhstatfs;
274         struct  fhopen_args fhopen;
275         struct  fhstat_args fhstat;
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  __acl_get_file_args __acl_get_file;
319         struct  __acl_set_file_args __acl_set_file;
320         struct  __acl_get_fd_args __acl_get_fd;
321         struct  __acl_set_fd_args __acl_set_fd;
322         struct  __acl_delete_file_args __acl_delete_file;
323         struct  __acl_delete_fd_args __acl_delete_fd;
324         struct  __acl_aclcheck_file_args __acl_aclcheck_file;
325         struct  __acl_aclcheck_fd_args __acl_aclcheck_fd;
326         struct  extattrctl_args extattrctl;
327         struct  extattr_set_file_args extattr_set_file;
328         struct  extattr_get_file_args extattr_get_file;
329         struct  extattr_delete_file_args extattr_delete_file;
330         struct  aio_waitcomplete_args aio_waitcomplete;
331         struct  getresuid_args getresuid;
332         struct  getresgid_args getresgid;
333         struct  kqueue_args kqueue;
334         struct  kevent_args kevent;
335         struct  sendfile_args sendfile;
336 };