Sync usage with man page.
[netbsd-mini2440.git] / sys / compat / netbsd32 / netbsd32_syscallargs.h
blob435ecb26c3d34b0f6dfa6b9103d810f3f00f578a
1 /* $NetBSD$ */
3 /*
4 * System call argument lists.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD
8 */
10 #ifndef _NETBSD32_SYS_SYSCALLARGS_H_
11 #define _NETBSD32_SYS_SYSCALLARGS_H_
13 #define NETBSD32_SYS_MAXSYSARGS 8
15 #undef syscallarg
16 #define syscallarg(x) \
17 union { \
18 register32_t pad; \
19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \
21 int8_t pad[ /* CONSTCOND */ \
22 (sizeof (register32_t) < sizeof (x)) \
23 ? 0 \
24 : sizeof (register32_t) - sizeof (x)]; \
25 x datum; \
26 } be; \
29 #undef check_syscall_args
30 #define check_syscall_args(call) \
31 typedef char call##_check_args[sizeof (struct call##_args) \
32 <= NETBSD32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
34 struct netbsd32_syscall_args {
35 syscallarg(int) code;
36 syscallarg(register32_t) args[NETBSD32_SYS_MAXSYSARGS];
39 struct netbsd32_exit_args {
40 syscallarg(int) rval;
42 check_syscall_args(netbsd32_exit)
44 struct netbsd32_read_args {
45 syscallarg(int) fd;
46 syscallarg(netbsd32_voidp) buf;
47 syscallarg(netbsd32_size_t) nbyte;
49 check_syscall_args(netbsd32_read)
51 struct netbsd32_write_args {
52 syscallarg(int) fd;
53 syscallarg(netbsd32_voidp) buf;
54 syscallarg(netbsd32_size_t) nbyte;
56 check_syscall_args(netbsd32_write)
58 struct netbsd32_open_args {
59 syscallarg(netbsd32_charp) path;
60 syscallarg(int) flags;
61 syscallarg(mode_t) mode;
63 check_syscall_args(netbsd32_open)
65 struct netbsd32_close_args {
66 syscallarg(int) fd;
68 check_syscall_args(netbsd32_close)
70 struct compat_50_netbsd32_wait4_args {
71 syscallarg(int) pid;
72 syscallarg(netbsd32_intp) status;
73 syscallarg(int) options;
74 syscallarg(netbsd32_rusage50p_t) rusage;
76 check_syscall_args(compat_50_netbsd32_wait4)
78 struct compat_43_netbsd32_ocreat_args {
79 syscallarg(netbsd32_charp) path;
80 syscallarg(mode_t) mode;
82 check_syscall_args(compat_43_netbsd32_ocreat)
84 struct netbsd32_link_args {
85 syscallarg(netbsd32_charp) path;
86 syscallarg(netbsd32_charp) link;
88 check_syscall_args(netbsd32_link)
90 struct netbsd32_unlink_args {
91 syscallarg(netbsd32_charp) path;
93 check_syscall_args(netbsd32_unlink)
95 struct netbsd32_chdir_args {
96 syscallarg(netbsd32_charp) path;
98 check_syscall_args(netbsd32_chdir)
100 struct netbsd32_fchdir_args {
101 syscallarg(int) fd;
103 check_syscall_args(netbsd32_fchdir)
105 struct compat_50_netbsd32_mknod_args {
106 syscallarg(netbsd32_charp) path;
107 syscallarg(mode_t) mode;
108 syscallarg(uint32_t) dev;
110 check_syscall_args(compat_50_netbsd32_mknod)
112 struct netbsd32_chmod_args {
113 syscallarg(netbsd32_charp) path;
114 syscallarg(mode_t) mode;
116 check_syscall_args(netbsd32_chmod)
118 struct netbsd32_chown_args {
119 syscallarg(netbsd32_charp) path;
120 syscallarg(uid_t) uid;
121 syscallarg(gid_t) gid;
123 check_syscall_args(netbsd32_chown)
125 struct netbsd32_break_args {
126 syscallarg(netbsd32_charp) nsize;
128 check_syscall_args(netbsd32_break)
130 struct compat_20_netbsd32_getfsstat_args {
131 syscallarg(netbsd32_statfsp_t) buf;
132 syscallarg(netbsd32_long) bufsize;
133 syscallarg(int) flags;
135 check_syscall_args(compat_20_netbsd32_getfsstat)
137 struct compat_43_netbsd32_olseek_args {
138 syscallarg(int) fd;
139 syscallarg(netbsd32_long) offset;
140 syscallarg(int) whence;
142 check_syscall_args(compat_43_netbsd32_olseek)
144 struct netbsd32_mount_args {
145 syscallarg(netbsd32_charp) type;
146 syscallarg(netbsd32_charp) path;
147 syscallarg(int) flags;
148 syscallarg(netbsd32_voidp) data;
150 check_syscall_args(netbsd32_mount)
152 struct netbsd32_unmount_args {
153 syscallarg(netbsd32_charp) path;
154 syscallarg(int) flags;
156 check_syscall_args(netbsd32_unmount)
158 struct netbsd32_setuid_args {
159 syscallarg(uid_t) uid;
161 check_syscall_args(netbsd32_setuid)
163 struct netbsd32_ptrace_args {
164 syscallarg(int) req;
165 syscallarg(pid_t) pid;
166 syscallarg(netbsd32_voidp) addr;
167 syscallarg(int) data;
169 check_syscall_args(netbsd32_ptrace)
171 struct netbsd32_recvmsg_args {
172 syscallarg(int) s;
173 syscallarg(netbsd32_msghdrp_t) msg;
174 syscallarg(int) flags;
176 check_syscall_args(netbsd32_recvmsg)
178 struct netbsd32_sendmsg_args {
179 syscallarg(int) s;
180 syscallarg(netbsd32_msghdrp_t) msg;
181 syscallarg(int) flags;
183 check_syscall_args(netbsd32_sendmsg)
185 struct netbsd32_recvfrom_args {
186 syscallarg(int) s;
187 syscallarg(netbsd32_voidp) buf;
188 syscallarg(netbsd32_size_t) len;
189 syscallarg(int) flags;
190 syscallarg(netbsd32_sockaddrp_t) from;
191 syscallarg(netbsd32_intp) fromlenaddr;
193 check_syscall_args(netbsd32_recvfrom)
195 struct netbsd32_accept_args {
196 syscallarg(int) s;
197 syscallarg(netbsd32_sockaddrp_t) name;
198 syscallarg(netbsd32_intp) anamelen;
200 check_syscall_args(netbsd32_accept)
202 struct netbsd32_getpeername_args {
203 syscallarg(int) fdes;
204 syscallarg(netbsd32_sockaddrp_t) asa;
205 syscallarg(netbsd32_intp) alen;
207 check_syscall_args(netbsd32_getpeername)
209 struct netbsd32_getsockname_args {
210 syscallarg(int) fdes;
211 syscallarg(netbsd32_sockaddrp_t) asa;
212 syscallarg(netbsd32_intp) alen;
214 check_syscall_args(netbsd32_getsockname)
216 struct netbsd32_access_args {
217 syscallarg(netbsd32_charp) path;
218 syscallarg(int) flags;
220 check_syscall_args(netbsd32_access)
222 struct netbsd32_chflags_args {
223 syscallarg(netbsd32_charp) path;
224 syscallarg(netbsd32_u_long) flags;
226 check_syscall_args(netbsd32_chflags)
228 struct netbsd32_fchflags_args {
229 syscallarg(int) fd;
230 syscallarg(netbsd32_u_long) flags;
232 check_syscall_args(netbsd32_fchflags)
234 struct netbsd32_kill_args {
235 syscallarg(int) pid;
236 syscallarg(int) signum;
238 check_syscall_args(netbsd32_kill)
240 struct compat_43_netbsd32_stat43_args {
241 syscallarg(netbsd32_charp) path;
242 syscallarg(netbsd32_stat43p_t) ub;
244 check_syscall_args(compat_43_netbsd32_stat43)
246 struct compat_43_netbsd32_lstat43_args {
247 syscallarg(netbsd32_charp) path;
248 syscallarg(netbsd32_stat43p_t) ub;
250 check_syscall_args(compat_43_netbsd32_lstat43)
252 struct netbsd32_dup_args {
253 syscallarg(int) fd;
255 check_syscall_args(netbsd32_dup)
257 struct netbsd32_profil_args {
258 syscallarg(netbsd32_voidp) samples;
259 syscallarg(netbsd32_size_t) size;
260 syscallarg(netbsd32_u_long) offset;
261 syscallarg(u_int) scale;
263 check_syscall_args(netbsd32_profil)
265 struct netbsd32_ktrace_args {
266 syscallarg(netbsd32_charp) fname;
267 syscallarg(int) ops;
268 syscallarg(int) facs;
269 syscallarg(int) pid;
271 check_syscall_args(netbsd32_ktrace)
273 struct netbsd32_sigaction_args {
274 syscallarg(int) signum;
275 syscallarg(netbsd32_sigactionp_t) nsa;
276 syscallarg(netbsd32_sigactionp_t) osa;
278 check_syscall_args(netbsd32_sigaction)
280 struct compat_13_netbsd32_sigprocmask_args {
281 syscallarg(int) how;
282 syscallarg(int) mask;
284 check_syscall_args(compat_13_netbsd32_sigprocmask)
286 struct netbsd32___getlogin_args {
287 syscallarg(netbsd32_charp) namebuf;
288 syscallarg(u_int) namelen;
290 check_syscall_args(netbsd32___getlogin)
292 struct netbsd32_setlogin_args {
293 syscallarg(netbsd32_charp) namebuf;
295 check_syscall_args(netbsd32_setlogin)
297 struct netbsd32_acct_args {
298 syscallarg(netbsd32_charp) path;
300 check_syscall_args(netbsd32_acct)
302 struct compat_13_netbsd32_sigaltstack13_args {
303 syscallarg(netbsd32_sigaltstack13p_t) nss;
304 syscallarg(netbsd32_sigaltstack13p_t) oss;
306 check_syscall_args(compat_13_netbsd32_sigaltstack13)
308 struct netbsd32_ioctl_args {
309 syscallarg(int) fd;
310 syscallarg(netbsd32_u_long) com;
311 syscallarg(netbsd32_voidp) data;
313 check_syscall_args(netbsd32_ioctl)
315 struct compat_12_netbsd32_reboot_args {
316 syscallarg(int) opt;
318 check_syscall_args(compat_12_netbsd32_reboot)
320 struct netbsd32_revoke_args {
321 syscallarg(netbsd32_charp) path;
323 check_syscall_args(netbsd32_revoke)
325 struct netbsd32_symlink_args {
326 syscallarg(netbsd32_charp) path;
327 syscallarg(netbsd32_charp) link;
329 check_syscall_args(netbsd32_symlink)
331 struct netbsd32_readlink_args {
332 syscallarg(netbsd32_charp) path;
333 syscallarg(netbsd32_charp) buf;
334 syscallarg(netbsd32_size_t) count;
336 check_syscall_args(netbsd32_readlink)
338 struct netbsd32_execve_args {
339 syscallarg(netbsd32_charp) path;
340 syscallarg(netbsd32_charpp) argp;
341 syscallarg(netbsd32_charpp) envp;
343 check_syscall_args(netbsd32_execve)
345 struct netbsd32_umask_args {
346 syscallarg(mode_t) newmask;
348 check_syscall_args(netbsd32_umask)
350 struct netbsd32_chroot_args {
351 syscallarg(netbsd32_charp) path;
353 check_syscall_args(netbsd32_chroot)
355 struct compat_43_netbsd32_fstat43_args {
356 syscallarg(int) fd;
357 syscallarg(netbsd32_stat43p_t) sb;
359 check_syscall_args(compat_43_netbsd32_fstat43)
361 struct compat_43_netbsd32_ogetkerninfo_args {
362 syscallarg(int) op;
363 syscallarg(netbsd32_charp) where;
364 syscallarg(netbsd32_intp) size;
365 syscallarg(int) arg;
367 check_syscall_args(compat_43_netbsd32_ogetkerninfo)
369 struct compat_12_netbsd32_msync_args {
370 syscallarg(netbsd32_voidp) addr;
371 syscallarg(netbsd32_size_t) len;
373 check_syscall_args(compat_12_netbsd32_msync)
375 struct netbsd32_sbrk_args {
376 syscallarg(netbsd32_intptr_t) incr;
378 check_syscall_args(netbsd32_sbrk)
380 struct netbsd32_sstk_args {
381 syscallarg(int) incr;
383 check_syscall_args(netbsd32_sstk)
385 struct compat_43_netbsd32_ommap_args {
386 syscallarg(netbsd32_voidp) addr;
387 syscallarg(netbsd32_size_t) len;
388 syscallarg(int) prot;
389 syscallarg(int) flags;
390 syscallarg(int) fd;
391 syscallarg(netbsd32_long) pos;
393 check_syscall_args(compat_43_netbsd32_ommap)
395 struct netbsd32_ovadvise_args {
396 syscallarg(int) anom;
398 check_syscall_args(netbsd32_ovadvise)
400 struct netbsd32_munmap_args {
401 syscallarg(netbsd32_voidp) addr;
402 syscallarg(netbsd32_size_t) len;
404 check_syscall_args(netbsd32_munmap)
406 struct netbsd32_mprotect_args {
407 syscallarg(netbsd32_voidp) addr;
408 syscallarg(netbsd32_size_t) len;
409 syscallarg(int) prot;
411 check_syscall_args(netbsd32_mprotect)
413 struct netbsd32_madvise_args {
414 syscallarg(netbsd32_voidp) addr;
415 syscallarg(netbsd32_size_t) len;
416 syscallarg(int) behav;
418 check_syscall_args(netbsd32_madvise)
420 struct netbsd32_mincore_args {
421 syscallarg(netbsd32_voidp) addr;
422 syscallarg(netbsd32_size_t) len;
423 syscallarg(netbsd32_charp) vec;
425 check_syscall_args(netbsd32_mincore)
427 struct netbsd32_getgroups_args {
428 syscallarg(int) gidsetsize;
429 syscallarg(netbsd32_gid_tp) gidset;
431 check_syscall_args(netbsd32_getgroups)
433 struct netbsd32_setgroups_args {
434 syscallarg(int) gidsetsize;
435 syscallarg(netbsd32_gid_tp) gidset;
437 check_syscall_args(netbsd32_setgroups)
439 struct netbsd32_setpgid_args {
440 syscallarg(int) pid;
441 syscallarg(int) pgid;
443 check_syscall_args(netbsd32_setpgid)
445 struct compat_50_netbsd32_setitimer_args {
446 syscallarg(int) which;
447 syscallarg(netbsd32_itimerval50p_t) itv;
448 syscallarg(netbsd32_itimerval50p_t) oitv;
450 check_syscall_args(compat_50_netbsd32_setitimer)
452 struct compat_12_netbsd32_oswapon_args {
453 syscallarg(netbsd32_charp) name;
455 check_syscall_args(compat_12_netbsd32_oswapon)
457 struct compat_50_netbsd32_getitimer_args {
458 syscallarg(int) which;
459 syscallarg(netbsd32_itimerval50p_t) itv;
461 check_syscall_args(compat_50_netbsd32_getitimer)
463 struct compat_43_netbsd32_ogethostname_args {
464 syscallarg(netbsd32_charp) hostname;
465 syscallarg(u_int) len;
467 check_syscall_args(compat_43_netbsd32_ogethostname)
469 struct compat_43_netbsd32_osethostname_args {
470 syscallarg(netbsd32_charp) hostname;
471 syscallarg(u_int) len;
473 check_syscall_args(compat_43_netbsd32_osethostname)
475 struct netbsd32_dup2_args {
476 syscallarg(int) from;
477 syscallarg(int) to;
479 check_syscall_args(netbsd32_dup2)
481 struct netbsd32_fcntl_args {
482 syscallarg(int) fd;
483 syscallarg(int) cmd;
484 syscallarg(netbsd32_voidp) arg;
486 check_syscall_args(netbsd32_fcntl)
488 struct compat_50_netbsd32_select_args {
489 syscallarg(int) nd;
490 syscallarg(netbsd32_fd_setp_t) in;
491 syscallarg(netbsd32_fd_setp_t) ou;
492 syscallarg(netbsd32_fd_setp_t) ex;
493 syscallarg(netbsd32_timeval50p_t) tv;
495 check_syscall_args(compat_50_netbsd32_select)
497 struct netbsd32_fsync_args {
498 syscallarg(int) fd;
500 check_syscall_args(netbsd32_fsync)
502 struct netbsd32_setpriority_args {
503 syscallarg(int) which;
504 syscallarg(int) who;
505 syscallarg(int) prio;
507 check_syscall_args(netbsd32_setpriority)
509 struct compat_30_netbsd32_socket_args {
510 syscallarg(int) domain;
511 syscallarg(int) type;
512 syscallarg(int) protocol;
514 check_syscall_args(compat_30_netbsd32_socket)
516 struct netbsd32_connect_args {
517 syscallarg(int) s;
518 syscallarg(netbsd32_sockaddrp_t) name;
519 syscallarg(int) namelen;
521 check_syscall_args(netbsd32_connect)
523 struct compat_43_netbsd32_oaccept_args {
524 syscallarg(int) s;
525 syscallarg(netbsd32_voidp) name;
526 syscallarg(netbsd32_intp) anamelen;
528 check_syscall_args(compat_43_netbsd32_oaccept)
530 struct netbsd32_getpriority_args {
531 syscallarg(int) which;
532 syscallarg(int) who;
534 check_syscall_args(netbsd32_getpriority)
536 struct compat_43_netbsd32_osend_args {
537 syscallarg(int) s;
538 syscallarg(netbsd32_voidp) buf;
539 syscallarg(int) len;
540 syscallarg(int) flags;
542 check_syscall_args(compat_43_netbsd32_osend)
544 struct compat_43_netbsd32_orecv_args {
545 syscallarg(int) s;
546 syscallarg(netbsd32_voidp) buf;
547 syscallarg(int) len;
548 syscallarg(int) flags;
550 check_syscall_args(compat_43_netbsd32_orecv)
552 struct compat_13_netbsd32_sigreturn_args {
553 syscallarg(netbsd32_sigcontextp_t) sigcntxp;
555 check_syscall_args(compat_13_netbsd32_sigreturn)
557 struct netbsd32_bind_args {
558 syscallarg(int) s;
559 syscallarg(netbsd32_sockaddrp_t) name;
560 syscallarg(int) namelen;
562 check_syscall_args(netbsd32_bind)
564 struct netbsd32_setsockopt_args {
565 syscallarg(int) s;
566 syscallarg(int) level;
567 syscallarg(int) name;
568 syscallarg(netbsd32_voidp) val;
569 syscallarg(int) valsize;
571 check_syscall_args(netbsd32_setsockopt)
573 struct netbsd32_listen_args {
574 syscallarg(int) s;
575 syscallarg(int) backlog;
577 check_syscall_args(netbsd32_listen)
579 struct compat_43_netbsd32_osigvec_args {
580 syscallarg(int) signum;
581 syscallarg(netbsd32_sigvecp_t) nsv;
582 syscallarg(netbsd32_sigvecp_t) osv;
584 check_syscall_args(compat_43_netbsd32_osigvec)
586 struct compat_43_netbsd32_sigblock_args {
587 syscallarg(int) mask;
589 check_syscall_args(compat_43_netbsd32_sigblock)
591 struct compat_43_netbsd32_sigsetmask_args {
592 syscallarg(int) mask;
594 check_syscall_args(compat_43_netbsd32_sigsetmask)
596 struct compat_13_netbsd32_sigsuspend_args {
597 syscallarg(int) mask;
599 check_syscall_args(compat_13_netbsd32_sigsuspend)
601 struct compat_43_netbsd32_osigstack_args {
602 syscallarg(netbsd32_sigstackp_t) nss;
603 syscallarg(netbsd32_sigstackp_t) oss;
605 check_syscall_args(compat_43_netbsd32_osigstack)
607 struct compat_43_netbsd32_orecvmsg_args {
608 syscallarg(int) s;
609 syscallarg(netbsd32_omsghdrp_t) msg;
610 syscallarg(int) flags;
612 check_syscall_args(compat_43_netbsd32_orecvmsg)
614 struct compat_43_netbsd32_osendmsg_args {
615 syscallarg(int) s;
616 syscallarg(netbsd32_voidp) msg;
617 syscallarg(int) flags;
619 check_syscall_args(compat_43_netbsd32_osendmsg)
621 struct compat_50_netbsd32_gettimeofday_args {
622 syscallarg(netbsd32_timeval50p_t) tp;
623 syscallarg(netbsd32_timezonep_t) tzp;
625 check_syscall_args(compat_50_netbsd32_gettimeofday)
627 struct compat_50_netbsd32_getrusage_args {
628 syscallarg(int) who;
629 syscallarg(netbsd32_rusage50p_t) rusage;
631 check_syscall_args(compat_50_netbsd32_getrusage)
633 struct netbsd32_getsockopt_args {
634 syscallarg(int) s;
635 syscallarg(int) level;
636 syscallarg(int) name;
637 syscallarg(netbsd32_voidp) val;
638 syscallarg(netbsd32_intp) avalsize;
640 check_syscall_args(netbsd32_getsockopt)
642 struct netbsd32_readv_args {
643 syscallarg(int) fd;
644 syscallarg(netbsd32_iovecp_t) iovp;
645 syscallarg(int) iovcnt;
647 check_syscall_args(netbsd32_readv)
649 struct netbsd32_writev_args {
650 syscallarg(int) fd;
651 syscallarg(netbsd32_iovecp_t) iovp;
652 syscallarg(int) iovcnt;
654 check_syscall_args(netbsd32_writev)
656 struct compat_50_netbsd32_settimeofday_args {
657 syscallarg(netbsd32_timeval50p_t) tv;
658 syscallarg(netbsd32_timezonep_t) tzp;
660 check_syscall_args(compat_50_netbsd32_settimeofday)
662 struct netbsd32_fchown_args {
663 syscallarg(int) fd;
664 syscallarg(uid_t) uid;
665 syscallarg(gid_t) gid;
667 check_syscall_args(netbsd32_fchown)
669 struct netbsd32_fchmod_args {
670 syscallarg(int) fd;
671 syscallarg(mode_t) mode;
673 check_syscall_args(netbsd32_fchmod)
675 struct compat_43_netbsd32_orecvfrom_args {
676 syscallarg(int) s;
677 syscallarg(netbsd32_voidp) buf;
678 syscallarg(netbsd32_size_t) len;
679 syscallarg(int) flags;
680 syscallarg(netbsd32_voidp) from;
681 syscallarg(netbsd32_intp) fromlenaddr;
683 check_syscall_args(compat_43_netbsd32_orecvfrom)
685 struct netbsd32_setreuid_args {
686 syscallarg(uid_t) ruid;
687 syscallarg(uid_t) euid;
689 check_syscall_args(netbsd32_setreuid)
691 struct netbsd32_setregid_args {
692 syscallarg(gid_t) rgid;
693 syscallarg(gid_t) egid;
695 check_syscall_args(netbsd32_setregid)
697 struct netbsd32_rename_args {
698 syscallarg(netbsd32_charp) from;
699 syscallarg(netbsd32_charp) to;
701 check_syscall_args(netbsd32_rename)
703 struct compat_43_netbsd32_otruncate_args {
704 syscallarg(netbsd32_charp) path;
705 syscallarg(netbsd32_long) length;
707 check_syscall_args(compat_43_netbsd32_otruncate)
709 struct compat_43_netbsd32_oftruncate_args {
710 syscallarg(int) fd;
711 syscallarg(netbsd32_long) length;
713 check_syscall_args(compat_43_netbsd32_oftruncate)
715 struct netbsd32_flock_args {
716 syscallarg(int) fd;
717 syscallarg(int) how;
719 check_syscall_args(netbsd32_flock)
721 struct netbsd32_mkfifo_args {
722 syscallarg(netbsd32_charp) path;
723 syscallarg(mode_t) mode;
725 check_syscall_args(netbsd32_mkfifo)
727 struct netbsd32_sendto_args {
728 syscallarg(int) s;
729 syscallarg(netbsd32_voidp) buf;
730 syscallarg(netbsd32_size_t) len;
731 syscallarg(int) flags;
732 syscallarg(netbsd32_sockaddrp_t) to;
733 syscallarg(int) tolen;
735 check_syscall_args(netbsd32_sendto)
737 struct netbsd32_shutdown_args {
738 syscallarg(int) s;
739 syscallarg(int) how;
741 check_syscall_args(netbsd32_shutdown)
743 struct netbsd32_socketpair_args {
744 syscallarg(int) domain;
745 syscallarg(int) type;
746 syscallarg(int) protocol;
747 syscallarg(netbsd32_intp) rsv;
749 check_syscall_args(netbsd32_socketpair)
751 struct netbsd32_mkdir_args {
752 syscallarg(netbsd32_charp) path;
753 syscallarg(mode_t) mode;
755 check_syscall_args(netbsd32_mkdir)
757 struct netbsd32_rmdir_args {
758 syscallarg(netbsd32_charp) path;
760 check_syscall_args(netbsd32_rmdir)
762 struct compat_50_netbsd32_utimes_args {
763 syscallarg(netbsd32_charp) path;
764 syscallarg(netbsd32_timeval50p_t) tptr;
766 check_syscall_args(compat_50_netbsd32_utimes)
768 struct compat_50_netbsd32_adjtime_args {
769 syscallarg(netbsd32_timeval50p_t) delta;
770 syscallarg(netbsd32_timeval50p_t) olddelta;
772 check_syscall_args(compat_50_netbsd32_adjtime)
774 struct compat_43_netbsd32_ogetpeername_args {
775 syscallarg(int) fdes;
776 syscallarg(netbsd32_voidp) asa;
777 syscallarg(netbsd32_intp) alen;
779 check_syscall_args(compat_43_netbsd32_ogetpeername)
781 struct compat_43_netbsd32_sethostid_args {
782 syscallarg(int32_t) hostid;
784 check_syscall_args(compat_43_netbsd32_sethostid)
786 struct compat_43_netbsd32_ogetrlimit_args {
787 syscallarg(int) which;
788 syscallarg(netbsd32_orlimitp_t) rlp;
790 check_syscall_args(compat_43_netbsd32_ogetrlimit)
792 struct compat_43_netbsd32_osetrlimit_args {
793 syscallarg(int) which;
794 syscallarg(netbsd32_orlimitp_t) rlp;
796 check_syscall_args(compat_43_netbsd32_osetrlimit)
798 struct compat_43_netbsd32_killpg_args {
799 syscallarg(int) pgid;
800 syscallarg(int) signum;
802 check_syscall_args(compat_43_netbsd32_killpg)
804 struct netbsd32_quotactl_args {
805 syscallarg(netbsd32_charp) path;
806 syscallarg(int) cmd;
807 syscallarg(int) uid;
808 syscallarg(netbsd32_voidp) arg;
810 check_syscall_args(netbsd32_quotactl)
812 struct compat_43_netbsd32_ogetsockname_args {
813 syscallarg(int) fdec;
814 syscallarg(netbsd32_voidp) asa;
815 syscallarg(netbsd32_intp) alen;
817 check_syscall_args(compat_43_netbsd32_ogetsockname)
819 struct netbsd32_nfssvc_args {
820 syscallarg(int) flag;
821 syscallarg(netbsd32_voidp) argp;
823 check_syscall_args(netbsd32_nfssvc)
825 struct compat_43_netbsd32_ogetdirentries_args {
826 syscallarg(int) fd;
827 syscallarg(netbsd32_charp) buf;
828 syscallarg(u_int) count;
829 syscallarg(netbsd32_longp) basep;
831 check_syscall_args(compat_43_netbsd32_ogetdirentries)
833 struct compat_20_netbsd32_statfs_args {
834 syscallarg(netbsd32_charp) path;
835 syscallarg(netbsd32_statfsp_t) buf;
837 check_syscall_args(compat_20_netbsd32_statfs)
839 struct compat_20_netbsd32_fstatfs_args {
840 syscallarg(int) fd;
841 syscallarg(netbsd32_statfsp_t) buf;
843 check_syscall_args(compat_20_netbsd32_fstatfs)
845 struct compat_30_netbsd32_getfh_args {
846 syscallarg(netbsd32_charp) fname;
847 syscallarg(netbsd32_compat_30_fhandlep_t) fhp;
849 check_syscall_args(compat_30_netbsd32_getfh)
851 struct compat_09_netbsd32_ogetdomainname_args {
852 syscallarg(netbsd32_charp) domainname;
853 syscallarg(int) len;
855 check_syscall_args(compat_09_netbsd32_ogetdomainname)
857 struct compat_09_netbsd32_osetdomainname_args {
858 syscallarg(netbsd32_charp) domainname;
859 syscallarg(int) len;
861 check_syscall_args(compat_09_netbsd32_osetdomainname)
863 struct compat_09_netbsd32_uname_args {
864 syscallarg(netbsd32_outsnamep_t) name;
866 check_syscall_args(compat_09_netbsd32_uname)
868 struct netbsd32_sysarch_args {
869 syscallarg(int) op;
870 syscallarg(netbsd32_voidp) parms;
872 check_syscall_args(netbsd32_sysarch)
873 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
875 struct compat_10_netbsd32_semsys_args {
876 syscallarg(int) which;
877 syscallarg(int) a2;
878 syscallarg(int) a3;
879 syscallarg(int) a4;
880 syscallarg(int) a5;
882 check_syscall_args(compat_10_netbsd32_semsys)
883 #else
884 #endif
885 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
887 struct compat_10_netbsd32_msgsys_args {
888 syscallarg(int) which;
889 syscallarg(int) a2;
890 syscallarg(int) a3;
891 syscallarg(int) a4;
892 syscallarg(int) a5;
893 syscallarg(int) a6;
895 check_syscall_args(compat_10_netbsd32_msgsys)
896 #else
897 #endif
898 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
900 struct compat_10_netbsd32_shmsys_args {
901 syscallarg(int) which;
902 syscallarg(int) a2;
903 syscallarg(int) a3;
904 syscallarg(int) a4;
906 check_syscall_args(compat_10_netbsd32_shmsys)
907 #else
908 #endif
910 struct netbsd32_pread_args {
911 syscallarg(int) fd;
912 syscallarg(netbsd32_voidp) buf;
913 syscallarg(netbsd32_size_t) nbyte;
914 syscallarg(int) PAD;
915 syscallarg(off_t) offset;
917 check_syscall_args(netbsd32_pread)
919 struct netbsd32_pwrite_args {
920 syscallarg(int) fd;
921 syscallarg(netbsd32_voidp) buf;
922 syscallarg(netbsd32_size_t) nbyte;
923 syscallarg(int) PAD;
924 syscallarg(off_t) offset;
926 check_syscall_args(netbsd32_pwrite)
927 #if defined(NTP) || !defined(_KERNEL_OPT)
929 struct compat_30_netbsd32_ntp_gettime_args {
930 syscallarg(netbsd32_ntptimeval50p_t) ntvp;
932 check_syscall_args(compat_30_netbsd32_ntp_gettime)
934 struct netbsd32_ntp_adjtime_args {
935 syscallarg(netbsd32_timexp_t) tp;
937 check_syscall_args(netbsd32_ntp_adjtime)
938 #else
939 #endif
941 struct netbsd32_setgid_args {
942 syscallarg(gid_t) gid;
944 check_syscall_args(netbsd32_setgid)
946 struct netbsd32_setegid_args {
947 syscallarg(gid_t) egid;
949 check_syscall_args(netbsd32_setegid)
951 struct netbsd32_seteuid_args {
952 syscallarg(uid_t) euid;
954 check_syscall_args(netbsd32_seteuid)
955 #if defined(LFS) || !defined(_KERNEL_OPT)
957 struct netbsd32_lfs_bmapv_args {
958 syscallarg(netbsd32_fsid_tp_t) fsidp;
959 syscallarg(netbsd32_block_infop_t) blkiov;
960 syscallarg(int) blkcnt;
962 check_syscall_args(netbsd32_lfs_bmapv)
964 struct netbsd32_lfs_markv_args {
965 syscallarg(netbsd32_fsid_tp_t) fsidp;
966 syscallarg(netbsd32_block_infop_t) blkiov;
967 syscallarg(int) blkcnt;
969 check_syscall_args(netbsd32_lfs_markv)
971 struct netbsd32_lfs_segclean_args {
972 syscallarg(netbsd32_fsid_tp_t) fsidp;
973 syscallarg(netbsd32_u_long) segment;
975 check_syscall_args(netbsd32_lfs_segclean)
977 struct compat_50_netbsd32_lfs_segwait_args {
978 syscallarg(netbsd32_fsid_tp_t) fsidp;
979 syscallarg(netbsd32_timeval50p_t) tv;
981 check_syscall_args(compat_50_netbsd32_lfs_segwait)
982 #else
983 #endif
985 struct compat_12_netbsd32_stat12_args {
986 syscallarg(netbsd32_charp) path;
987 syscallarg(netbsd32_stat12p_t) ub;
989 check_syscall_args(compat_12_netbsd32_stat12)
991 struct compat_12_netbsd32_fstat12_args {
992 syscallarg(int) fd;
993 syscallarg(netbsd32_stat12p_t) sb;
995 check_syscall_args(compat_12_netbsd32_fstat12)
997 struct compat_12_netbsd32_lstat12_args {
998 syscallarg(netbsd32_charp) path;
999 syscallarg(netbsd32_stat12p_t) ub;
1001 check_syscall_args(compat_12_netbsd32_lstat12)
1003 struct netbsd32_pathconf_args {
1004 syscallarg(netbsd32_charp) path;
1005 syscallarg(int) name;
1007 check_syscall_args(netbsd32_pathconf)
1009 struct netbsd32_fpathconf_args {
1010 syscallarg(int) fd;
1011 syscallarg(int) name;
1013 check_syscall_args(netbsd32_fpathconf)
1015 struct netbsd32_getrlimit_args {
1016 syscallarg(int) which;
1017 syscallarg(netbsd32_rlimitp_t) rlp;
1019 check_syscall_args(netbsd32_getrlimit)
1021 struct netbsd32_setrlimit_args {
1022 syscallarg(int) which;
1023 syscallarg(netbsd32_rlimitp_t) rlp;
1025 check_syscall_args(netbsd32_setrlimit)
1027 struct compat_12_netbsd32_getdirentries_args {
1028 syscallarg(int) fd;
1029 syscallarg(netbsd32_charp) buf;
1030 syscallarg(u_int) count;
1031 syscallarg(netbsd32_longp) basep;
1033 check_syscall_args(compat_12_netbsd32_getdirentries)
1035 struct netbsd32_mmap_args {
1036 syscallarg(netbsd32_voidp) addr;
1037 syscallarg(netbsd32_size_t) len;
1038 syscallarg(int) prot;
1039 syscallarg(int) flags;
1040 syscallarg(int) fd;
1041 syscallarg(netbsd32_long) PAD;
1042 syscallarg(off_t) pos;
1044 check_syscall_args(netbsd32_mmap)
1046 struct netbsd32____syscall_args {
1047 syscallarg(quad_t) code;
1048 syscallarg(register32_t) args[NETBSD32_SYS_MAXSYSARGS];
1051 struct netbsd32_lseek_args {
1052 syscallarg(int) fd;
1053 syscallarg(int) PAD;
1054 syscallarg(off_t) offset;
1055 syscallarg(int) whence;
1057 check_syscall_args(netbsd32_lseek)
1059 struct netbsd32_truncate_args {
1060 syscallarg(netbsd32_charp) path;
1061 syscallarg(int) PAD;
1062 syscallarg(off_t) length;
1064 check_syscall_args(netbsd32_truncate)
1066 struct netbsd32_ftruncate_args {
1067 syscallarg(int) fd;
1068 syscallarg(int) PAD;
1069 syscallarg(off_t) length;
1071 check_syscall_args(netbsd32_ftruncate)
1073 struct netbsd32___sysctl_args {
1074 syscallarg(netbsd32_intp) name;
1075 syscallarg(u_int) namelen;
1076 syscallarg(netbsd32_voidp) old;
1077 syscallarg(netbsd32_size_tp) oldlenp;
1078 syscallarg(netbsd32_voidp) new;
1079 syscallarg(netbsd32_size_t) newlen;
1081 check_syscall_args(netbsd32___sysctl)
1083 struct netbsd32_mlock_args {
1084 syscallarg(netbsd32_voidp) addr;
1085 syscallarg(netbsd32_size_t) len;
1087 check_syscall_args(netbsd32_mlock)
1089 struct netbsd32_munlock_args {
1090 syscallarg(netbsd32_voidp) addr;
1091 syscallarg(netbsd32_size_t) len;
1093 check_syscall_args(netbsd32_munlock)
1095 struct netbsd32_undelete_args {
1096 syscallarg(netbsd32_charp) path;
1098 check_syscall_args(netbsd32_undelete)
1100 struct compat_50_netbsd32_futimes_args {
1101 syscallarg(int) fd;
1102 syscallarg(netbsd32_timeval50p_t) tptr;
1104 check_syscall_args(compat_50_netbsd32_futimes)
1106 struct netbsd32_getpgid_args {
1107 syscallarg(pid_t) pid;
1109 check_syscall_args(netbsd32_getpgid)
1111 struct netbsd32_reboot_args {
1112 syscallarg(int) opt;
1113 syscallarg(netbsd32_charp) bootstr;
1115 check_syscall_args(netbsd32_reboot)
1117 struct netbsd32_poll_args {
1118 syscallarg(netbsd32_pollfdp_t) fds;
1119 syscallarg(u_int) nfds;
1120 syscallarg(int) timeout;
1122 check_syscall_args(netbsd32_poll)
1123 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
1125 struct compat_14_netbsd32___semctl_args {
1126 syscallarg(int) semid;
1127 syscallarg(int) semnum;
1128 syscallarg(int) cmd;
1129 syscallarg(netbsd32_semunu_t) arg;
1131 check_syscall_args(compat_14_netbsd32___semctl)
1133 struct netbsd32_semget_args {
1134 syscallarg(netbsd32_key_t) key;
1135 syscallarg(int) nsems;
1136 syscallarg(int) semflg;
1138 check_syscall_args(netbsd32_semget)
1140 struct netbsd32_semop_args {
1141 syscallarg(int) semid;
1142 syscallarg(netbsd32_sembufp_t) sops;
1143 syscallarg(netbsd32_size_t) nsops;
1145 check_syscall_args(netbsd32_semop)
1147 struct netbsd32_semconfig_args {
1148 syscallarg(int) flag;
1150 check_syscall_args(netbsd32_semconfig)
1151 #else
1152 #endif
1153 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
1155 struct compat_14_netbsd32_msgctl_args {
1156 syscallarg(int) msqid;
1157 syscallarg(int) cmd;
1158 syscallarg(netbsd32_msqid_ds14p_t) buf;
1160 check_syscall_args(compat_14_netbsd32_msgctl)
1162 struct netbsd32_msgget_args {
1163 syscallarg(netbsd32_key_t) key;
1164 syscallarg(int) msgflg;
1166 check_syscall_args(netbsd32_msgget)
1168 struct netbsd32_msgsnd_args {
1169 syscallarg(int) msqid;
1170 syscallarg(netbsd32_voidp) msgp;
1171 syscallarg(netbsd32_size_t) msgsz;
1172 syscallarg(int) msgflg;
1174 check_syscall_args(netbsd32_msgsnd)
1176 struct netbsd32_msgrcv_args {
1177 syscallarg(int) msqid;
1178 syscallarg(netbsd32_voidp) msgp;
1179 syscallarg(netbsd32_size_t) msgsz;
1180 syscallarg(netbsd32_long) msgtyp;
1181 syscallarg(int) msgflg;
1183 check_syscall_args(netbsd32_msgrcv)
1184 #else
1185 #endif
1186 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
1188 struct netbsd32_shmat_args {
1189 syscallarg(int) shmid;
1190 syscallarg(netbsd32_voidp) shmaddr;
1191 syscallarg(int) shmflg;
1193 check_syscall_args(netbsd32_shmat)
1195 struct compat_14_netbsd32_shmctl_args {
1196 syscallarg(int) shmid;
1197 syscallarg(int) cmd;
1198 syscallarg(netbsd32_shmid_dsp_t) buf;
1200 check_syscall_args(compat_14_netbsd32_shmctl)
1202 struct netbsd32_shmdt_args {
1203 syscallarg(netbsd32_voidp) shmaddr;
1205 check_syscall_args(netbsd32_shmdt)
1207 struct netbsd32_shmget_args {
1208 syscallarg(netbsd32_key_t) key;
1209 syscallarg(netbsd32_size_t) size;
1210 syscallarg(int) shmflg;
1212 check_syscall_args(netbsd32_shmget)
1213 #else
1214 #endif
1216 struct compat_50_netbsd32_clock_gettime_args {
1217 syscallarg(netbsd32_clockid_t) clock_id;
1218 syscallarg(netbsd32_timespec50p_t) tp;
1220 check_syscall_args(compat_50_netbsd32_clock_gettime)
1222 struct compat_50_netbsd32_clock_settime_args {
1223 syscallarg(netbsd32_clockid_t) clock_id;
1224 syscallarg(netbsd32_timespec50p_t) tp;
1226 check_syscall_args(compat_50_netbsd32_clock_settime)
1228 struct compat_50_netbsd32_clock_getres_args {
1229 syscallarg(netbsd32_clockid_t) clock_id;
1230 syscallarg(netbsd32_timespec50p_t) tp;
1232 check_syscall_args(compat_50_netbsd32_clock_getres)
1234 struct netbsd32_timer_create_args {
1235 syscallarg(netbsd32_clockid_t) clock_id;
1236 syscallarg(netbsd32_sigeventp_t) evp;
1237 syscallarg(netbsd32_timerp_t) timerid;
1239 check_syscall_args(netbsd32_timer_create)
1241 struct netbsd32_timer_delete_args {
1242 syscallarg(netbsd32_timer_t) timerid;
1244 check_syscall_args(netbsd32_timer_delete)
1246 struct compat_50_netbsd32_timer_settime_args {
1247 syscallarg(netbsd32_timer_t) timerid;
1248 syscallarg(int) flags;
1249 syscallarg(netbsd32_itimerspec50p_t) value;
1250 syscallarg(netbsd32_itimerspec50p_t) ovalue;
1252 check_syscall_args(compat_50_netbsd32_timer_settime)
1254 struct compat_50_netbsd32_timer_gettime_args {
1255 syscallarg(netbsd32_timer_t) timerid;
1256 syscallarg(netbsd32_itimerspec50p_t) value;
1258 check_syscall_args(compat_50_netbsd32_timer_gettime)
1260 struct netbsd32_timer_getoverrun_args {
1261 syscallarg(netbsd32_timer_t) timerid;
1263 check_syscall_args(netbsd32_timer_getoverrun)
1265 struct compat_50_netbsd32_nanosleep_args {
1266 syscallarg(netbsd32_timespec50p_t) rqtp;
1267 syscallarg(netbsd32_timespec50p_t) rmtp;
1269 check_syscall_args(compat_50_netbsd32_nanosleep)
1271 struct netbsd32_fdatasync_args {
1272 syscallarg(int) fd;
1274 check_syscall_args(netbsd32_fdatasync)
1276 struct netbsd32_mlockall_args {
1277 syscallarg(int) flags;
1279 check_syscall_args(netbsd32_mlockall)
1281 struct compat_50_netbsd32___sigtimedwait_args {
1282 syscallarg(netbsd32_sigsetp_t) set;
1283 syscallarg(netbsd32_siginfop_t) info;
1284 syscallarg(netbsd32_timespec50p_t) timeout;
1286 check_syscall_args(compat_50_netbsd32___sigtimedwait)
1287 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL_OPT) && defined(_LIBC))
1289 struct netbsd32__ksem_init_args {
1290 syscallarg(unsigned int) value;
1291 syscallarg(netbsd32_semidp_t) idp;
1293 check_syscall_args(netbsd32__ksem_init)
1295 struct netbsd32__ksem_open_args {
1296 syscallarg(netbsd32_charp) name;
1297 syscallarg(int) oflag;
1298 syscallarg(mode_t) mode;
1299 syscallarg(unsigned int) value;
1300 syscallarg(netbsd32_semidp_t) idp;
1302 check_syscall_args(netbsd32__ksem_open)
1304 struct netbsd32__ksem_unlink_args {
1305 syscallarg(netbsd32_charp) name;
1307 check_syscall_args(netbsd32__ksem_unlink)
1309 struct netbsd32__ksem_close_args {
1310 syscallarg(netbsd32_intptr_t) id;
1312 check_syscall_args(netbsd32__ksem_close)
1314 struct netbsd32__ksem_post_args {
1315 syscallarg(netbsd32_intptr_t) id;
1317 check_syscall_args(netbsd32__ksem_post)
1319 struct netbsd32__ksem_wait_args {
1320 syscallarg(netbsd32_intptr_t) id;
1322 check_syscall_args(netbsd32__ksem_wait)
1324 struct netbsd32__ksem_trywait_args {
1325 syscallarg(netbsd32_intptr_t) id;
1327 check_syscall_args(netbsd32__ksem_trywait)
1329 struct netbsd32__ksem_getvalue_args {
1330 syscallarg(netbsd32_intptr_t) id;
1331 syscallarg(netbsd32_intp) value;
1333 check_syscall_args(netbsd32__ksem_getvalue)
1335 struct netbsd32__ksem_destroy_args {
1336 syscallarg(netbsd32_intptr_t) id;
1338 check_syscall_args(netbsd32__ksem_destroy)
1339 #else
1340 #endif
1342 struct netbsd32___posix_rename_args {
1343 syscallarg(netbsd32_charp) from;
1344 syscallarg(netbsd32_charp) to;
1346 check_syscall_args(netbsd32___posix_rename)
1348 struct netbsd32_swapctl_args {
1349 syscallarg(int) cmd;
1350 syscallarg(netbsd32_voidp) arg;
1351 syscallarg(int) misc;
1353 check_syscall_args(netbsd32_swapctl)
1355 struct compat_30_netbsd32_getdents_args {
1356 syscallarg(int) fd;
1357 syscallarg(netbsd32_charp) buf;
1358 syscallarg(netbsd32_size_t) count;
1360 check_syscall_args(compat_30_netbsd32_getdents)
1362 struct netbsd32_minherit_args {
1363 syscallarg(netbsd32_voidp) addr;
1364 syscallarg(netbsd32_size_t) len;
1365 syscallarg(int) inherit;
1367 check_syscall_args(netbsd32_minherit)
1369 struct netbsd32_lchmod_args {
1370 syscallarg(netbsd32_charp) path;
1371 syscallarg(mode_t) mode;
1373 check_syscall_args(netbsd32_lchmod)
1375 struct netbsd32_lchown_args {
1376 syscallarg(netbsd32_charp) path;
1377 syscallarg(uid_t) uid;
1378 syscallarg(gid_t) gid;
1380 check_syscall_args(netbsd32_lchown)
1382 struct compat_50_netbsd32_lutimes_args {
1383 syscallarg(netbsd32_charp) path;
1384 syscallarg(netbsd32_timeval50p_t) tptr;
1386 check_syscall_args(compat_50_netbsd32_lutimes)
1388 struct netbsd32___msync13_args {
1389 syscallarg(netbsd32_voidp) addr;
1390 syscallarg(netbsd32_size_t) len;
1391 syscallarg(int) flags;
1393 check_syscall_args(netbsd32___msync13)
1395 struct compat_30_netbsd32___stat13_args {
1396 syscallarg(netbsd32_charp) path;
1397 syscallarg(netbsd32_stat13p_t) ub;
1399 check_syscall_args(compat_30_netbsd32___stat13)
1401 struct compat_30_netbsd32___fstat13_args {
1402 syscallarg(int) fd;
1403 syscallarg(netbsd32_stat13p_t) sb;
1405 check_syscall_args(compat_30_netbsd32___fstat13)
1407 struct compat_30_netbsd32___lstat13_args {
1408 syscallarg(netbsd32_charp) path;
1409 syscallarg(netbsd32_stat13p_t) ub;
1411 check_syscall_args(compat_30_netbsd32___lstat13)
1413 struct netbsd32___sigaltstack14_args {
1414 syscallarg(netbsd32_sigaltstackp_t) nss;
1415 syscallarg(netbsd32_sigaltstackp_t) oss;
1417 check_syscall_args(netbsd32___sigaltstack14)
1419 struct netbsd32___posix_chown_args {
1420 syscallarg(netbsd32_charp) path;
1421 syscallarg(uid_t) uid;
1422 syscallarg(gid_t) gid;
1424 check_syscall_args(netbsd32___posix_chown)
1426 struct netbsd32___posix_fchown_args {
1427 syscallarg(int) fd;
1428 syscallarg(uid_t) uid;
1429 syscallarg(gid_t) gid;
1431 check_syscall_args(netbsd32___posix_fchown)
1433 struct netbsd32___posix_lchown_args {
1434 syscallarg(netbsd32_charp) path;
1435 syscallarg(uid_t) uid;
1436 syscallarg(gid_t) gid;
1438 check_syscall_args(netbsd32___posix_lchown)
1440 struct netbsd32_getsid_args {
1441 syscallarg(pid_t) pid;
1443 check_syscall_args(netbsd32_getsid)
1445 struct netbsd32___clone_args {
1446 syscallarg(int) flags;
1447 syscallarg(netbsd32_voidp) stack;
1449 check_syscall_args(netbsd32___clone)
1451 struct netbsd32_fktrace_args {
1452 syscallarg(int) fd;
1453 syscallarg(int) ops;
1454 syscallarg(int) facs;
1455 syscallarg(int) pid;
1457 check_syscall_args(netbsd32_fktrace)
1459 struct netbsd32_preadv_args {
1460 syscallarg(int) fd;
1461 syscallarg(netbsd32_iovecp_t) iovp;
1462 syscallarg(int) iovcnt;
1463 syscallarg(int) PAD;
1464 syscallarg(off_t) offset;
1466 check_syscall_args(netbsd32_preadv)
1468 struct netbsd32_pwritev_args {
1469 syscallarg(int) fd;
1470 syscallarg(netbsd32_iovecp_t) iovp;
1471 syscallarg(int) iovcnt;
1472 syscallarg(int) PAD;
1473 syscallarg(off_t) offset;
1475 check_syscall_args(netbsd32_pwritev)
1477 struct netbsd32___sigaction14_args {
1478 syscallarg(int) signum;
1479 syscallarg(netbsd32_sigactionp_t) nsa;
1480 syscallarg(netbsd32_sigactionp_t) osa;
1482 check_syscall_args(netbsd32___sigaction14)
1484 struct netbsd32___sigpending14_args {
1485 syscallarg(netbsd32_sigsetp_t) set;
1487 check_syscall_args(netbsd32___sigpending14)
1489 struct netbsd32___sigprocmask14_args {
1490 syscallarg(int) how;
1491 syscallarg(netbsd32_sigsetp_t) set;
1492 syscallarg(netbsd32_sigsetp_t) oset;
1494 check_syscall_args(netbsd32___sigprocmask14)
1496 struct netbsd32___sigsuspend14_args {
1497 syscallarg(netbsd32_sigsetp_t) set;
1499 check_syscall_args(netbsd32___sigsuspend14)
1501 struct compat_16_netbsd32___sigreturn14_args {
1502 syscallarg(netbsd32_sigcontextp_t) sigcntxp;
1504 check_syscall_args(compat_16_netbsd32___sigreturn14)
1506 struct netbsd32___getcwd_args {
1507 syscallarg(netbsd32_charp) bufp;
1508 syscallarg(netbsd32_size_t) length;
1510 check_syscall_args(netbsd32___getcwd)
1512 struct netbsd32_fchroot_args {
1513 syscallarg(int) fd;
1515 check_syscall_args(netbsd32_fchroot)
1517 struct compat_30_netbsd32_fhopen_args {
1518 syscallarg(netbsd32_fhandlep_t) fhp;
1519 syscallarg(int) flags;
1521 check_syscall_args(compat_30_netbsd32_fhopen)
1523 struct compat_30_netbsd32_fhstat_args {
1524 syscallarg(netbsd32_fhandlep_t) fhp;
1525 syscallarg(netbsd32_stat13p_t) sb;
1527 check_syscall_args(compat_30_netbsd32_fhstat)
1529 struct compat_20_netbsd32_fhstatfs_args {
1530 syscallarg(netbsd32_fhandlep_t) fhp;
1531 syscallarg(netbsd32_stat50p_t) buf;
1533 check_syscall_args(compat_20_netbsd32_fhstatfs)
1534 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
1536 struct compat_50_netbsd32___semctl14_args {
1537 syscallarg(int) semid;
1538 syscallarg(int) semnum;
1539 syscallarg(int) cmd;
1540 syscallarg(netbsd32_semun50p_t) arg;
1542 check_syscall_args(compat_50_netbsd32___semctl14)
1543 #else
1544 #endif
1545 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
1547 struct compat_50_netbsd32___msgctl13_args {
1548 syscallarg(int) msqid;
1549 syscallarg(int) cmd;
1550 syscallarg(netbsd32_msqid_ds50p_t) buf;
1552 check_syscall_args(compat_50_netbsd32___msgctl13)
1553 #else
1554 #endif
1555 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
1557 struct compat_50_netbsd32___shmctl13_args {
1558 syscallarg(int) shmid;
1559 syscallarg(int) cmd;
1560 syscallarg(netbsd32_shmid_ds50p_t) buf;
1562 check_syscall_args(compat_50_netbsd32___shmctl13)
1563 #else
1564 #endif
1566 struct netbsd32_lchflags_args {
1567 syscallarg(netbsd32_charp) path;
1568 syscallarg(netbsd32_u_long) flags;
1570 check_syscall_args(netbsd32_lchflags)
1572 struct netbsd32_utrace_args {
1573 syscallarg(netbsd32_charp) label;
1574 syscallarg(netbsd32_voidp) addr;
1575 syscallarg(netbsd32_size_t) len;
1577 check_syscall_args(netbsd32_utrace)
1579 struct netbsd32_getcontext_args {
1580 syscallarg(netbsd32_ucontextp) ucp;
1582 check_syscall_args(netbsd32_getcontext)
1584 struct netbsd32_setcontext_args {
1585 syscallarg(netbsd32_ucontextp) ucp;
1586 syscallarg(uint32_t) flags;
1587 syscallarg(netbsd32_lwpidp) new_lwp;
1589 check_syscall_args(netbsd32_setcontext)
1591 struct netbsd32__lwp_create_args {
1592 syscallarg(netbsd32_ucontextp) ucp;
1593 syscallarg(netbsd32_u_long) flags;
1594 syscallarg(netbsd32_lwpidp) new_lwp;
1596 check_syscall_args(netbsd32__lwp_create)
1598 struct netbsd32__lwp_wait_args {
1599 syscallarg(lwpid_t) wait_for;
1600 syscallarg(netbsd32_lwpidp) departed;
1602 check_syscall_args(netbsd32__lwp_wait)
1604 struct netbsd32__lwp_suspend_args {
1605 syscallarg(lwpid_t) target;
1607 check_syscall_args(netbsd32__lwp_suspend)
1609 struct netbsd32__lwp_continue_args {
1610 syscallarg(lwpid_t) target;
1612 check_syscall_args(netbsd32__lwp_continue)
1614 struct netbsd32__lwp_wakeup_args {
1615 syscallarg(lwpid_t) target;
1617 check_syscall_args(netbsd32__lwp_wakeup)
1619 struct netbsd32__lwp_setprivate_args {
1620 syscallarg(netbsd32_voidp) ptr;
1622 check_syscall_args(netbsd32__lwp_setprivate)
1624 struct netbsd32__lwp_kill_args {
1625 syscallarg(lwpid_t) target;
1626 syscallarg(int) signo;
1628 check_syscall_args(netbsd32__lwp_kill)
1630 struct netbsd32__lwp_detach_args {
1631 syscallarg(lwpid_t) target;
1633 check_syscall_args(netbsd32__lwp_detach)
1635 struct compat_50_netbsd32__lwp_park_args {
1636 syscallarg(netbsd32_timespec50p_t) ts;
1637 syscallarg(lwpid_t) unpark;
1638 syscallarg(netbsd32_voidp) hint;
1639 syscallarg(netbsd32_voidp) unparkhint;
1641 check_syscall_args(compat_50_netbsd32__lwp_park)
1643 struct netbsd32__lwp_unpark_args {
1644 syscallarg(lwpid_t) target;
1645 syscallarg(netbsd32_voidp) hint;
1647 check_syscall_args(netbsd32__lwp_unpark)
1649 struct netbsd32__lwp_unpark_all_args {
1650 syscallarg(netbsd32_lwpidp) targets;
1651 syscallarg(netbsd32_size_t) ntargets;
1652 syscallarg(netbsd32_voidp) hint;
1654 check_syscall_args(netbsd32__lwp_unpark_all)
1656 struct netbsd32__lwp_setname_args {
1657 syscallarg(lwpid_t) target;
1658 syscallarg(netbsd32_charp) name;
1660 check_syscall_args(netbsd32__lwp_setname)
1662 struct netbsd32__lwp_getname_args {
1663 syscallarg(lwpid_t) target;
1664 syscallarg(netbsd32_charp) name;
1665 syscallarg(netbsd32_size_t) len;
1667 check_syscall_args(netbsd32__lwp_getname)
1669 struct netbsd32__lwp_ctl_args {
1670 syscallarg(int) features;
1671 syscallarg(netbsd32_pointer_t) address;
1673 check_syscall_args(netbsd32__lwp_ctl)
1675 struct netbsd32_sa_register_args {
1676 syscallarg(netbsd32_sa_upcall_t) new;
1677 syscallarg(netbsd32_sa_upcallp_t) old;
1678 syscallarg(int) flags;
1679 syscallarg(netbsd32_ssize_t) stackinfo_offset;
1681 check_syscall_args(netbsd32_sa_register)
1683 struct netbsd32_sa_stacks_args {
1684 syscallarg(int) num;
1685 syscallarg(netbsd32_stackp_t) stacks;
1687 check_syscall_args(netbsd32_sa_stacks)
1689 struct netbsd32_sa_setconcurrency_args {
1690 syscallarg(int) concurrency;
1692 check_syscall_args(netbsd32_sa_setconcurrency)
1694 struct netbsd32_sa_preempt_args {
1695 syscallarg(int) sa_id;
1697 check_syscall_args(netbsd32_sa_preempt)
1699 struct netbsd32___sigaction_sigtramp_args {
1700 syscallarg(int) signum;
1701 syscallarg(netbsd32_sigactionp_t) nsa;
1702 syscallarg(netbsd32_sigactionp_t) osa;
1703 syscallarg(netbsd32_voidp) tramp;
1704 syscallarg(int) vers;
1706 check_syscall_args(netbsd32___sigaction_sigtramp)
1708 struct netbsd32_rasctl_args {
1709 syscallarg(netbsd32_voidp) addr;
1710 syscallarg(netbsd32_size_t) len;
1711 syscallarg(int) op;
1713 check_syscall_args(netbsd32_rasctl)
1715 struct compat_50_netbsd32_kevent_args {
1716 syscallarg(int) fd;
1717 syscallarg(netbsd32_keventp_t) changelist;
1718 syscallarg(netbsd32_size_t) nchanges;
1719 syscallarg(netbsd32_keventp_t) eventlist;
1720 syscallarg(netbsd32_size_t) nevents;
1721 syscallarg(netbsd32_timespec50p_t) timeout;
1723 check_syscall_args(compat_50_netbsd32_kevent)
1725 struct netbsd32__sched_setparam_args {
1726 syscallarg(pid_t) pid;
1727 syscallarg(lwpid_t) lid;
1728 syscallarg(int) policy;
1729 syscallarg(const netbsd32_sched_paramp_t) params;
1731 check_syscall_args(netbsd32__sched_setparam)
1733 struct netbsd32__sched_getparam_args {
1734 syscallarg(pid_t) pid;
1735 syscallarg(lwpid_t) lid;
1736 syscallarg(netbsd32_intp) policy;
1737 syscallarg(netbsd32_sched_paramp_t) params;
1739 check_syscall_args(netbsd32__sched_getparam)
1741 struct netbsd32__sched_setaffinity_args {
1742 syscallarg(pid_t) pid;
1743 syscallarg(lwpid_t) lid;
1744 syscallarg(netbsd32_size_t) size;
1745 syscallarg(const netbsd32_cpusetp_t) cpuset;
1747 check_syscall_args(netbsd32__sched_setaffinity)
1749 struct netbsd32__sched_getaffinity_args {
1750 syscallarg(pid_t) pid;
1751 syscallarg(lwpid_t) lid;
1752 syscallarg(netbsd32_size_t) size;
1753 syscallarg(netbsd32_cpusetp_t) cpuset;
1755 check_syscall_args(netbsd32__sched_getaffinity)
1757 struct netbsd32_fsync_range_args {
1758 syscallarg(int) fd;
1759 syscallarg(int) flags;
1760 syscallarg(off_t) start;
1761 syscallarg(off_t) length;
1763 check_syscall_args(netbsd32_fsync_range)
1765 struct netbsd32_uuidgen_args {
1766 syscallarg(netbsd32_uuidp_t) store;
1767 syscallarg(int) count;
1769 check_syscall_args(netbsd32_uuidgen)
1771 struct netbsd32_getvfsstat_args {
1772 syscallarg(netbsd32_statvfsp_t) buf;
1773 syscallarg(netbsd32_size_t) bufsize;
1774 syscallarg(int) flags;
1776 check_syscall_args(netbsd32_getvfsstat)
1778 struct netbsd32_statvfs1_args {
1779 syscallarg(netbsd32_charp) path;
1780 syscallarg(netbsd32_statvfsp_t) buf;
1781 syscallarg(int) flags;
1783 check_syscall_args(netbsd32_statvfs1)
1785 struct netbsd32_fstatvfs1_args {
1786 syscallarg(int) fd;
1787 syscallarg(netbsd32_statvfsp_t) buf;
1788 syscallarg(int) flags;
1790 check_syscall_args(netbsd32_fstatvfs1)
1792 struct compat_30_netbsd32_fhstatvfs1_args {
1793 syscallarg(netbsd32_fhandlep_t) fhp;
1794 syscallarg(netbsd32_statvfsp_t) buf;
1795 syscallarg(int) flags;
1797 check_syscall_args(compat_30_netbsd32_fhstatvfs1)
1799 struct netbsd32_extattrctl_args {
1800 syscallarg(netbsd32_charp) path;
1801 syscallarg(int) cmd;
1802 syscallarg(netbsd32_charp) filename;
1803 syscallarg(int) attrnamespace;
1804 syscallarg(netbsd32_charp) attrname;
1806 check_syscall_args(netbsd32_extattrctl)
1808 struct netbsd32_extattr_set_file_args {
1809 syscallarg(netbsd32_charp) path;
1810 syscallarg(int) attrnamespace;
1811 syscallarg(netbsd32_charp) attrname;
1812 syscallarg(netbsd32_voidp) data;
1813 syscallarg(netbsd32_size_t) nbytes;
1815 check_syscall_args(netbsd32_extattr_set_file)
1817 struct netbsd32_extattr_get_file_args {
1818 syscallarg(netbsd32_charp) path;
1819 syscallarg(int) attrnamespace;
1820 syscallarg(netbsd32_charp) attrname;
1821 syscallarg(netbsd32_voidp) data;
1822 syscallarg(netbsd32_size_t) nbytes;
1824 check_syscall_args(netbsd32_extattr_get_file)
1826 struct netbsd32_extattr_delete_file_args {
1827 syscallarg(netbsd32_charp) path;
1828 syscallarg(int) attrnamespace;
1829 syscallarg(netbsd32_charp) attrname;
1831 check_syscall_args(netbsd32_extattr_delete_file)
1833 struct netbsd32_extattr_set_fd_args {
1834 syscallarg(int) fd;
1835 syscallarg(int) attrnamespace;
1836 syscallarg(netbsd32_charp) attrname;
1837 syscallarg(netbsd32_voidp) data;
1838 syscallarg(netbsd32_size_t) nbytes;
1840 check_syscall_args(netbsd32_extattr_set_fd)
1842 struct netbsd32_extattr_get_fd_args {
1843 syscallarg(int) fd;
1844 syscallarg(int) attrnamespace;
1845 syscallarg(netbsd32_charp) attrname;
1846 syscallarg(netbsd32_voidp) data;
1847 syscallarg(netbsd32_size_t) nbytes;
1849 check_syscall_args(netbsd32_extattr_get_fd)
1851 struct netbsd32_extattr_delete_fd_args {
1852 syscallarg(int) fd;
1853 syscallarg(int) attrnamespace;
1854 syscallarg(netbsd32_charp) attrname;
1856 check_syscall_args(netbsd32_extattr_delete_fd)
1858 struct netbsd32_extattr_set_link_args {
1859 syscallarg(netbsd32_charp) path;
1860 syscallarg(int) attrnamespace;
1861 syscallarg(netbsd32_charp) attrname;
1862 syscallarg(netbsd32_voidp) data;
1863 syscallarg(netbsd32_size_t) nbytes;
1865 check_syscall_args(netbsd32_extattr_set_link)
1867 struct netbsd32_extattr_get_link_args {
1868 syscallarg(netbsd32_charp) path;
1869 syscallarg(int) attrnamespace;
1870 syscallarg(netbsd32_charp) attrname;
1871 syscallarg(netbsd32_voidp) data;
1872 syscallarg(netbsd32_size_t) nbytes;
1874 check_syscall_args(netbsd32_extattr_get_link)
1876 struct netbsd32_extattr_delete_link_args {
1877 syscallarg(netbsd32_charp) path;
1878 syscallarg(int) attrnamespace;
1879 syscallarg(netbsd32_charp) attrname;
1881 check_syscall_args(netbsd32_extattr_delete_link)
1883 struct netbsd32_extattr_list_fd_args {
1884 syscallarg(int) fd;
1885 syscallarg(int) attrnamespace;
1886 syscallarg(netbsd32_voidp) data;
1887 syscallarg(netbsd32_size_t) nbytes;
1889 check_syscall_args(netbsd32_extattr_list_fd)
1891 struct netbsd32_extattr_list_file_args {
1892 syscallarg(netbsd32_charp) path;
1893 syscallarg(int) attrnamespace;
1894 syscallarg(netbsd32_voidp) data;
1895 syscallarg(netbsd32_size_t) nbytes;
1897 check_syscall_args(netbsd32_extattr_list_file)
1899 struct netbsd32_extattr_list_link_args {
1900 syscallarg(netbsd32_charp) path;
1901 syscallarg(int) attrnamespace;
1902 syscallarg(netbsd32_voidp) data;
1903 syscallarg(netbsd32_size_t) nbytes;
1905 check_syscall_args(netbsd32_extattr_list_link)
1907 struct compat_50_netbsd32_pselect_args {
1908 syscallarg(int) nd;
1909 syscallarg(netbsd32_fd_setp_t) in;
1910 syscallarg(netbsd32_fd_setp_t) ou;
1911 syscallarg(netbsd32_fd_setp_t) ex;
1912 syscallarg(netbsd32_timespec50p_t) ts;
1913 syscallarg(netbsd32_sigsetp_t) mask;
1915 check_syscall_args(compat_50_netbsd32_pselect)
1917 struct compat_50_netbsd32_pollts_args {
1918 syscallarg(netbsd32_pollfdp_t) fds;
1919 syscallarg(u_int) nfds;
1920 syscallarg(netbsd32_timespec50p_t) ts;
1921 syscallarg(netbsd32_sigsetp_t) mask;
1923 check_syscall_args(compat_50_netbsd32_pollts)
1925 struct netbsd32_setxattr_args {
1926 syscallarg(netbsd32_charp) path;
1927 syscallarg(netbsd32_charp) name;
1928 syscallarg(netbsd32_voidp) value;
1929 syscallarg(netbsd32_size_t) size;
1930 syscallarg(int) flags;
1932 check_syscall_args(netbsd32_setxattr)
1934 struct netbsd32_lsetxattr_args {
1935 syscallarg(netbsd32_charp) path;
1936 syscallarg(netbsd32_charp) name;
1937 syscallarg(netbsd32_voidp) value;
1938 syscallarg(netbsd32_size_t) size;
1939 syscallarg(int) flags;
1941 check_syscall_args(netbsd32_lsetxattr)
1943 struct netbsd32_fsetxattr_args {
1944 syscallarg(int) fd;
1945 syscallarg(netbsd32_charp) name;
1946 syscallarg(netbsd32_voidp) value;
1947 syscallarg(netbsd32_size_t) size;
1948 syscallarg(int) flags;
1950 check_syscall_args(netbsd32_fsetxattr)
1952 struct netbsd32_getxattr_args {
1953 syscallarg(netbsd32_charp) path;
1954 syscallarg(netbsd32_charp) name;
1955 syscallarg(netbsd32_voidp) value;
1956 syscallarg(netbsd32_size_t) size;
1958 check_syscall_args(netbsd32_getxattr)
1960 struct netbsd32_lgetxattr_args {
1961 syscallarg(netbsd32_charp) path;
1962 syscallarg(netbsd32_charp) name;
1963 syscallarg(netbsd32_voidp) value;
1964 syscallarg(netbsd32_size_t) size;
1966 check_syscall_args(netbsd32_lgetxattr)
1968 struct netbsd32_fgetxattr_args {
1969 syscallarg(int) fd;
1970 syscallarg(netbsd32_charp) name;
1971 syscallarg(netbsd32_voidp) value;
1972 syscallarg(netbsd32_size_t) size;
1974 check_syscall_args(netbsd32_fgetxattr)
1976 struct netbsd32_listxattr_args {
1977 syscallarg(netbsd32_charp) path;
1978 syscallarg(netbsd32_charp) list;
1979 syscallarg(netbsd32_size_t) size;
1981 check_syscall_args(netbsd32_listxattr)
1983 struct netbsd32_llistxattr_args {
1984 syscallarg(netbsd32_charp) path;
1985 syscallarg(netbsd32_charp) list;
1986 syscallarg(netbsd32_size_t) size;
1988 check_syscall_args(netbsd32_llistxattr)
1990 struct netbsd32_flistxattr_args {
1991 syscallarg(int) fd;
1992 syscallarg(netbsd32_charp) list;
1993 syscallarg(netbsd32_size_t) size;
1995 check_syscall_args(netbsd32_flistxattr)
1997 struct netbsd32_removexattr_args {
1998 syscallarg(netbsd32_charp) path;
1999 syscallarg(netbsd32_charp) name;
2001 check_syscall_args(netbsd32_removexattr)
2003 struct netbsd32_lremovexattr_args {
2004 syscallarg(netbsd32_charp) path;
2005 syscallarg(netbsd32_charp) name;
2007 check_syscall_args(netbsd32_lremovexattr)
2009 struct netbsd32_fremovexattr_args {
2010 syscallarg(int) fd;
2011 syscallarg(netbsd32_charp) name;
2013 check_syscall_args(netbsd32_fremovexattr)
2015 struct compat_50_netbsd32___stat30_args {
2016 syscallarg(netbsd32_charp) path;
2017 syscallarg(netbsd32_stat50p_t) ub;
2019 check_syscall_args(compat_50_netbsd32___stat30)
2021 struct compat_50_netbsd32___fstat30_args {
2022 syscallarg(int) fd;
2023 syscallarg(netbsd32_stat50p_t) sb;
2025 check_syscall_args(compat_50_netbsd32___fstat30)
2027 struct compat_50_netbsd32___lstat30_args {
2028 syscallarg(netbsd32_charp) path;
2029 syscallarg(netbsd32_stat50p_t) ub;
2031 check_syscall_args(compat_50_netbsd32___lstat30)
2033 struct netbsd32___getdents30_args {
2034 syscallarg(int) fd;
2035 syscallarg(netbsd32_charp) buf;
2036 syscallarg(netbsd32_size_t) count;
2038 check_syscall_args(netbsd32___getdents30)
2040 struct compat_30_netbsd32___fhstat30_args {
2041 syscallarg(netbsd32_fhandlep_t) fhp;
2042 syscallarg(netbsd32_stat50p_t) sb;
2044 check_syscall_args(compat_30_netbsd32___fhstat30)
2045 #if defined(NTP) || !defined(_KERNEL_OPT)
2047 struct compat_50_netbsd32_ntp_gettime_args {
2048 syscallarg(netbsd32_ntptimeval50p_t) ntvp;
2050 check_syscall_args(compat_50_netbsd32_ntp_gettime)
2051 #else
2052 #endif
2054 struct netbsd32___socket30_args {
2055 syscallarg(int) domain;
2056 syscallarg(int) type;
2057 syscallarg(int) protocol;
2059 check_syscall_args(netbsd32___socket30)
2061 struct netbsd32___getfh30_args {
2062 syscallarg(netbsd32_charp) fname;
2063 syscallarg(netbsd32_pointer_t) fhp;
2064 syscallarg(netbsd32_size_tp) fh_size;
2066 check_syscall_args(netbsd32___getfh30)
2068 struct netbsd32___fhopen40_args {
2069 syscallarg(netbsd32_pointer_t) fhp;
2070 syscallarg(netbsd32_size_t) fh_size;
2071 syscallarg(int) flags;
2073 check_syscall_args(netbsd32___fhopen40)
2075 struct netbsd32___fhstatvfs140_args {
2076 syscallarg(netbsd32_pointer_t) fhp;
2077 syscallarg(netbsd32_size_t) fh_size;
2078 syscallarg(netbsd32_statvfsp_t) buf;
2079 syscallarg(int) flags;
2081 check_syscall_args(netbsd32___fhstatvfs140)
2083 struct compat_50_netbsd32___fhstat40_args {
2084 syscallarg(netbsd32_pointer_t) fhp;
2085 syscallarg(netbsd32_size_t) fh_size;
2086 syscallarg(netbsd32_stat50p_t) sb;
2088 check_syscall_args(compat_50_netbsd32___fhstat40)
2090 struct netbsd32___mount50_args {
2091 syscallarg(netbsd32_charp) type;
2092 syscallarg(netbsd32_charp) path;
2093 syscallarg(int) flags;
2094 syscallarg(netbsd32_voidp) data;
2095 syscallarg(netbsd32_size_t) data_len;
2097 check_syscall_args(netbsd32___mount50)
2099 struct netbsd32_mremap_args {
2100 syscallarg(netbsd32_voidp) old_address;
2101 syscallarg(netbsd32_size_t) old_size;
2102 syscallarg(netbsd32_voidp) new_address;
2103 syscallarg(netbsd32_size_t) new_size;
2104 syscallarg(int) flags;
2106 check_syscall_args(netbsd32_mremap)
2108 struct netbsd32___posix_fadvise50_args {
2109 syscallarg(int) fd;
2110 syscallarg(int) PAD;
2111 syscallarg(off_t) offset;
2112 syscallarg(off_t) len;
2113 syscallarg(int) advice;
2115 check_syscall_args(netbsd32___posix_fadvise50)
2117 struct netbsd32___select50_args {
2118 syscallarg(int) nd;
2119 syscallarg(netbsd32_fd_setp_t) in;
2120 syscallarg(netbsd32_fd_setp_t) ou;
2121 syscallarg(netbsd32_fd_setp_t) ex;
2122 syscallarg(netbsd32_timevalp_t) tv;
2124 check_syscall_args(netbsd32___select50)
2126 struct netbsd32___gettimeofday50_args {
2127 syscallarg(netbsd32_timevalp_t) tp;
2128 syscallarg(netbsd32_voidp) tzp;
2130 check_syscall_args(netbsd32___gettimeofday50)
2132 struct netbsd32___settimeofday50_args {
2133 syscallarg(const netbsd32_timevalp_t) tv;
2134 syscallarg(const netbsd32_voidp) tzp;
2136 check_syscall_args(netbsd32___settimeofday50)
2138 struct netbsd32___utimes50_args {
2139 syscallarg(const netbsd32_charp) path;
2140 syscallarg(const netbsd32_timevalp_t) tptr;
2142 check_syscall_args(netbsd32___utimes50)
2144 struct netbsd32___adjtime50_args {
2145 syscallarg(const netbsd32_timevalp_t) delta;
2146 syscallarg(netbsd32_timevalp_t) olddelta;
2148 check_syscall_args(netbsd32___adjtime50)
2149 #if defined(LFS) || !defined(_KERNEL_OPT)
2151 struct netbsd32___lfs_segwait50_args {
2152 syscallarg(netbsd32_fsid_tp_t) fsidp;
2153 syscallarg(netbsd32_timevalp_t) tv;
2155 check_syscall_args(netbsd32___lfs_segwait50)
2156 #else
2157 #endif
2159 struct netbsd32___futimes50_args {
2160 syscallarg(int) fd;
2161 syscallarg(const netbsd32_timevalp_t) tptr;
2163 check_syscall_args(netbsd32___futimes50)
2165 struct netbsd32___lutimes50_args {
2166 syscallarg(const netbsd32_charp) path;
2167 syscallarg(const netbsd32_timevalp_t) tptr;
2169 check_syscall_args(netbsd32___lutimes50)
2171 struct netbsd32___setitimer50_args {
2172 syscallarg(int) which;
2173 syscallarg(const netbsd32_itimervalp_t) itv;
2174 syscallarg(netbsd32_itimervalp_t) oitv;
2176 check_syscall_args(netbsd32___setitimer50)
2178 struct netbsd32___getitimer50_args {
2179 syscallarg(int) which;
2180 syscallarg(netbsd32_itimervalp_t) itv;
2182 check_syscall_args(netbsd32___getitimer50)
2184 struct netbsd32___clock_gettime50_args {
2185 syscallarg(clockid_t) clock_id;
2186 syscallarg(netbsd32_timespecp_t) tp;
2188 check_syscall_args(netbsd32___clock_gettime50)
2190 struct netbsd32___clock_settime50_args {
2191 syscallarg(clockid_t) clock_id;
2192 syscallarg(const netbsd32_timespecp_t) tp;
2194 check_syscall_args(netbsd32___clock_settime50)
2196 struct netbsd32___clock_getres50_args {
2197 syscallarg(clockid_t) clock_id;
2198 syscallarg(netbsd32_timespecp_t) tp;
2200 check_syscall_args(netbsd32___clock_getres50)
2202 struct netbsd32___nanosleep50_args {
2203 syscallarg(const netbsd32_timespecp_t) rqtp;
2204 syscallarg(netbsd32_timespecp_t) rmtp;
2206 check_syscall_args(netbsd32___nanosleep50)
2208 struct netbsd32_____sigtimedwait50_args {
2209 syscallarg(const netbsd32_sigsetp_t) set;
2210 syscallarg(netbsd32_siginfop_t) info;
2211 syscallarg(netbsd32_timespecp_t) timeout;
2213 check_syscall_args(netbsd32_____sigtimedwait50)
2215 struct netbsd32____lwp_park50_args {
2216 syscallarg(const netbsd32_timespecp_t) ts;
2217 syscallarg(lwpid_t) unpark;
2218 syscallarg(const netbsd32_voidp) hint;
2219 syscallarg(const netbsd32_voidp) unparkhint;
2221 check_syscall_args(netbsd32____lwp_park50)
2223 struct netbsd32___kevent50_args {
2224 syscallarg(int) fd;
2225 syscallarg(const netbsd32_keventp_t) changelist;
2226 syscallarg(netbsd32_size_t) nchanges;
2227 syscallarg(netbsd32_keventp_t) eventlist;
2228 syscallarg(netbsd32_size_t) nevents;
2229 syscallarg(const netbsd32_timespecp_t) timeout;
2231 check_syscall_args(netbsd32___kevent50)
2233 struct netbsd32___pselect50_args {
2234 syscallarg(int) nd;
2235 syscallarg(netbsd32_fd_setp_t) in;
2236 syscallarg(netbsd32_fd_setp_t) ou;
2237 syscallarg(netbsd32_fd_setp_t) ex;
2238 syscallarg(const netbsd32_timespecp_t) ts;
2239 syscallarg(const netbsd32_sigsetp_t) mask;
2241 check_syscall_args(netbsd32___pselect50)
2243 struct netbsd32___pollts50_args {
2244 syscallarg(netbsd32_pollfdp_t) fds;
2245 syscallarg(u_int) nfds;
2246 syscallarg(const netbsd32_timespecp_t) ts;
2247 syscallarg(const netbsd32_sigsetp_t) mask;
2249 check_syscall_args(netbsd32___pollts50)
2251 struct netbsd32___stat50_args {
2252 syscallarg(const netbsd32_charp) path;
2253 syscallarg(netbsd32_statp_t) ub;
2255 check_syscall_args(netbsd32___stat50)
2257 struct netbsd32___fstat50_args {
2258 syscallarg(int) fd;
2259 syscallarg(netbsd32_statp_t) sb;
2261 check_syscall_args(netbsd32___fstat50)
2263 struct netbsd32___lstat50_args {
2264 syscallarg(const netbsd32_charp) path;
2265 syscallarg(netbsd32_statp_t) ub;
2267 check_syscall_args(netbsd32___lstat50)
2268 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
2270 struct netbsd32_____semctl50_args {
2271 syscallarg(int) semid;
2272 syscallarg(int) semnum;
2273 syscallarg(int) cmd;
2274 syscallarg(netbsd32_semunp_t) arg;
2276 check_syscall_args(netbsd32_____semctl50)
2277 #else
2278 #endif
2279 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
2281 struct netbsd32___shmctl50_args {
2282 syscallarg(int) shmid;
2283 syscallarg(int) cmd;
2284 syscallarg(netbsd32_shmid_dsp_t) buf;
2286 check_syscall_args(netbsd32___shmctl50)
2287 #else
2288 #endif
2289 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
2291 struct netbsd32___msgctl50_args {
2292 syscallarg(int) msqid;
2293 syscallarg(int) cmd;
2294 syscallarg(netbsd32_msqid_dsp_t) buf;
2296 check_syscall_args(netbsd32___msgctl50)
2297 #else
2298 #endif
2300 struct netbsd32___getrusage50_args {
2301 syscallarg(int) who;
2302 syscallarg(netbsd32_rusagep_t) rusage;
2304 check_syscall_args(netbsd32___getrusage50)
2306 struct netbsd32___timer_settime50_args {
2307 syscallarg(timer_t) timerid;
2308 syscallarg(int) flags;
2309 syscallarg(const netbsd32_itimerspecp_t) value;
2310 syscallarg(netbsd32_itimerspecp_t) ovalue;
2312 check_syscall_args(netbsd32___timer_settime50)
2314 struct netbsd32___timer_gettime50_args {
2315 syscallarg(timer_t) timerid;
2316 syscallarg(netbsd32_itimerspecp_t) value;
2318 check_syscall_args(netbsd32___timer_gettime50)
2319 #if defined(NTP) || !defined(_KERNEL_OPT)
2321 struct netbsd32___ntp_gettime50_args {
2322 syscallarg(netbsd32_ntptimevalp_t) ntvp;
2324 check_syscall_args(netbsd32___ntp_gettime50)
2325 #else
2326 #endif
2328 struct netbsd32___wait450_args {
2329 syscallarg(int) pid;
2330 syscallarg(netbsd32_intp) status;
2331 syscallarg(int) options;
2332 syscallarg(netbsd32_rusagep_t) rusage;
2334 check_syscall_args(netbsd32___wait450)
2336 struct netbsd32___mknod50_args {
2337 syscallarg(const netbsd32_charp) path;
2338 syscallarg(mode_t) mode;
2339 syscallarg(netbsd32_dev_t) dev;
2341 check_syscall_args(netbsd32___mknod50)
2343 struct netbsd32___fhstat50_args {
2344 syscallarg(const netbsd32_voidp) fhp;
2345 syscallarg(netbsd32_size_t) fh_size;
2346 syscallarg(netbsd32_statp_t) sb;
2348 check_syscall_args(netbsd32___fhstat50)
2351 * System call prototypes.
2354 int netbsd32_syscall(struct lwp *, const struct netbsd32_syscall_args *, register_t *);
2356 int netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *);
2358 int sys_fork(struct lwp *, const void *, register_t *);
2360 int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
2362 int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
2364 int netbsd32_open(struct lwp *, const struct netbsd32_open_args *, register_t *);
2366 int netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *);
2368 int compat_50_netbsd32_wait4(struct lwp *, const struct compat_50_netbsd32_wait4_args *, register_t *);
2370 int compat_43_netbsd32_ocreat(struct lwp *, const struct compat_43_netbsd32_ocreat_args *, register_t *);
2372 int netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *);
2374 int netbsd32_unlink(struct lwp *, const struct netbsd32_unlink_args *, register_t *);
2376 int netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *);
2378 int netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *);
2380 int compat_50_netbsd32_mknod(struct lwp *, const struct compat_50_netbsd32_mknod_args *, register_t *);
2382 int netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *);
2384 int netbsd32_chown(struct lwp *, const struct netbsd32_chown_args *, register_t *);
2386 int netbsd32_break(struct lwp *, const struct netbsd32_break_args *, register_t *);
2388 int compat_20_netbsd32_getfsstat(struct lwp *, const struct compat_20_netbsd32_getfsstat_args *, register_t *);
2390 int compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *);
2392 int sys_getpid(struct lwp *, const void *, register_t *);
2394 int netbsd32_mount(struct lwp *, const struct netbsd32_mount_args *, register_t *);
2396 int netbsd32_unmount(struct lwp *, const struct netbsd32_unmount_args *, register_t *);
2398 int netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *);
2400 int sys_getuid(struct lwp *, const void *, register_t *);
2402 int sys_geteuid(struct lwp *, const void *, register_t *);
2404 int netbsd32_ptrace(struct lwp *, const struct netbsd32_ptrace_args *, register_t *);
2406 int netbsd32_recvmsg(struct lwp *, const struct netbsd32_recvmsg_args *, register_t *);
2408 int netbsd32_sendmsg(struct lwp *, const struct netbsd32_sendmsg_args *, register_t *);
2410 int netbsd32_recvfrom(struct lwp *, const struct netbsd32_recvfrom_args *, register_t *);
2412 int netbsd32_accept(struct lwp *, const struct netbsd32_accept_args *, register_t *);
2414 int netbsd32_getpeername(struct lwp *, const struct netbsd32_getpeername_args *, register_t *);
2416 int netbsd32_getsockname(struct lwp *, const struct netbsd32_getsockname_args *, register_t *);
2418 int netbsd32_access(struct lwp *, const struct netbsd32_access_args *, register_t *);
2420 int netbsd32_chflags(struct lwp *, const struct netbsd32_chflags_args *, register_t *);
2422 int netbsd32_fchflags(struct lwp *, const struct netbsd32_fchflags_args *, register_t *);
2424 int sys_sync(struct lwp *, const void *, register_t *);
2426 int netbsd32_kill(struct lwp *, const struct netbsd32_kill_args *, register_t *);
2428 int compat_43_netbsd32_stat43(struct lwp *, const struct compat_43_netbsd32_stat43_args *, register_t *);
2430 int sys_getppid(struct lwp *, const void *, register_t *);
2432 int compat_43_netbsd32_lstat43(struct lwp *, const struct compat_43_netbsd32_lstat43_args *, register_t *);
2434 int netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
2436 int sys_pipe(struct lwp *, const void *, register_t *);
2438 int sys_getegid(struct lwp *, const void *, register_t *);
2440 int netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *);
2442 int netbsd32_ktrace(struct lwp *, const struct netbsd32_ktrace_args *, register_t *);
2444 int netbsd32_sigaction(struct lwp *, const struct netbsd32_sigaction_args *, register_t *);
2446 int sys_getgid(struct lwp *, const void *, register_t *);
2448 int compat_13_netbsd32_sigprocmask(struct lwp *, const struct compat_13_netbsd32_sigprocmask_args *, register_t *);
2450 int netbsd32___getlogin(struct lwp *, const struct netbsd32___getlogin_args *, register_t *);
2452 int netbsd32_setlogin(struct lwp *, const struct netbsd32_setlogin_args *, register_t *);
2454 int netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *);
2456 int compat_13_sys_sigpending(struct lwp *, const void *, register_t *);
2458 int compat_13_netbsd32_sigaltstack13(struct lwp *, const struct compat_13_netbsd32_sigaltstack13_args *, register_t *);
2460 int netbsd32_ioctl(struct lwp *, const struct netbsd32_ioctl_args *, register_t *);
2462 int compat_12_netbsd32_reboot(struct lwp *, const struct compat_12_netbsd32_reboot_args *, register_t *);
2464 int netbsd32_revoke(struct lwp *, const struct netbsd32_revoke_args *, register_t *);
2466 int netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *);
2468 int netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
2470 int netbsd32_execve(struct lwp *, const struct netbsd32_execve_args *, register_t *);
2472 int netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *);
2474 int netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *);
2476 int compat_43_netbsd32_fstat43(struct lwp *, const struct compat_43_netbsd32_fstat43_args *, register_t *);
2478 int compat_43_netbsd32_ogetkerninfo(struct lwp *, const struct compat_43_netbsd32_ogetkerninfo_args *, register_t *);
2480 int compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
2482 int compat_12_netbsd32_msync(struct lwp *, const struct compat_12_netbsd32_msync_args *, register_t *);
2484 int sys_vfork(struct lwp *, const void *, register_t *);
2486 int netbsd32_sbrk(struct lwp *, const struct netbsd32_sbrk_args *, register_t *);
2488 int netbsd32_sstk(struct lwp *, const struct netbsd32_sstk_args *, register_t *);
2490 int compat_43_netbsd32_ommap(struct lwp *, const struct compat_43_netbsd32_ommap_args *, register_t *);
2492 int netbsd32_ovadvise(struct lwp *, const struct netbsd32_ovadvise_args *, register_t *);
2494 int netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
2496 int netbsd32_mprotect(struct lwp *, const struct netbsd32_mprotect_args *, register_t *);
2498 int netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *);
2500 int netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *);
2502 int netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *);
2504 int netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *);
2506 int sys_getpgrp(struct lwp *, const void *, register_t *);
2508 int netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *);
2510 int compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *);
2512 int compat_43_sys_wait(struct lwp *, const void *, register_t *);
2514 int compat_12_netbsd32_oswapon(struct lwp *, const struct compat_12_netbsd32_oswapon_args *, register_t *);
2516 int compat_50_netbsd32_getitimer(struct lwp *, const struct compat_50_netbsd32_getitimer_args *, register_t *);
2518 int compat_43_netbsd32_ogethostname(struct lwp *, const struct compat_43_netbsd32_ogethostname_args *, register_t *);
2520 int compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *);
2522 int compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
2524 int netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *);
2526 int netbsd32_fcntl(struct lwp *, const struct netbsd32_fcntl_args *, register_t *);
2528 int compat_50_netbsd32_select(struct lwp *, const struct compat_50_netbsd32_select_args *, register_t *);
2530 int netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *);
2532 int netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
2534 int compat_30_netbsd32_socket(struct lwp *, const struct compat_30_netbsd32_socket_args *, register_t *);
2536 int netbsd32_connect(struct lwp *, const struct netbsd32_connect_args *, register_t *);
2538 int compat_43_netbsd32_oaccept(struct lwp *, const struct compat_43_netbsd32_oaccept_args *, register_t *);
2540 int netbsd32_getpriority(struct lwp *, const struct netbsd32_getpriority_args *, register_t *);
2542 int compat_43_netbsd32_osend(struct lwp *, const struct compat_43_netbsd32_osend_args *, register_t *);
2544 int compat_43_netbsd32_orecv(struct lwp *, const struct compat_43_netbsd32_orecv_args *, register_t *);
2546 int compat_13_netbsd32_sigreturn(struct lwp *, const struct compat_13_netbsd32_sigreturn_args *, register_t *);
2548 int netbsd32_bind(struct lwp *, const struct netbsd32_bind_args *, register_t *);
2550 int netbsd32_setsockopt(struct lwp *, const struct netbsd32_setsockopt_args *, register_t *);
2552 int netbsd32_listen(struct lwp *, const struct netbsd32_listen_args *, register_t *);
2554 int compat_43_netbsd32_osigvec(struct lwp *, const struct compat_43_netbsd32_osigvec_args *, register_t *);
2556 int compat_43_netbsd32_sigblock(struct lwp *, const struct compat_43_netbsd32_sigblock_args *, register_t *);
2558 int compat_43_netbsd32_sigsetmask(struct lwp *, const struct compat_43_netbsd32_sigsetmask_args *, register_t *);
2560 int compat_13_netbsd32_sigsuspend(struct lwp *, const struct compat_13_netbsd32_sigsuspend_args *, register_t *);
2562 int compat_43_netbsd32_osigstack(struct lwp *, const struct compat_43_netbsd32_osigstack_args *, register_t *);
2564 int compat_43_netbsd32_orecvmsg(struct lwp *, const struct compat_43_netbsd32_orecvmsg_args *, register_t *);
2566 int compat_43_netbsd32_osendmsg(struct lwp *, const struct compat_43_netbsd32_osendmsg_args *, register_t *);
2568 int compat_50_netbsd32_gettimeofday(struct lwp *, const struct compat_50_netbsd32_gettimeofday_args *, register_t *);
2570 int compat_50_netbsd32_getrusage(struct lwp *, const struct compat_50_netbsd32_getrusage_args *, register_t *);
2572 int netbsd32_getsockopt(struct lwp *, const struct netbsd32_getsockopt_args *, register_t *);
2574 int netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *);
2576 int netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *);
2578 int compat_50_netbsd32_settimeofday(struct lwp *, const struct compat_50_netbsd32_settimeofday_args *, register_t *);
2580 int netbsd32_fchown(struct lwp *, const struct netbsd32_fchown_args *, register_t *);
2582 int netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
2584 int compat_43_netbsd32_orecvfrom(struct lwp *, const struct compat_43_netbsd32_orecvfrom_args *, register_t *);
2586 int netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *);
2588 int netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *);
2590 int netbsd32_rename(struct lwp *, const struct netbsd32_rename_args *, register_t *);
2592 int compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *);
2594 int compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *);
2596 int netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *);
2598 int netbsd32_mkfifo(struct lwp *, const struct netbsd32_mkfifo_args *, register_t *);
2600 int netbsd32_sendto(struct lwp *, const struct netbsd32_sendto_args *, register_t *);
2602 int netbsd32_shutdown(struct lwp *, const struct netbsd32_shutdown_args *, register_t *);
2604 int netbsd32_socketpair(struct lwp *, const struct netbsd32_socketpair_args *, register_t *);
2606 int netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
2608 int netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
2610 int compat_50_netbsd32_utimes(struct lwp *, const struct compat_50_netbsd32_utimes_args *, register_t *);
2612 int compat_50_netbsd32_adjtime(struct lwp *, const struct compat_50_netbsd32_adjtime_args *, register_t *);
2614 int compat_43_netbsd32_ogetpeername(struct lwp *, const struct compat_43_netbsd32_ogetpeername_args *, register_t *);
2616 int compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
2618 int compat_43_netbsd32_sethostid(struct lwp *, const struct compat_43_netbsd32_sethostid_args *, register_t *);
2620 int compat_43_netbsd32_ogetrlimit(struct lwp *, const struct compat_43_netbsd32_ogetrlimit_args *, register_t *);
2622 int compat_43_netbsd32_osetrlimit(struct lwp *, const struct compat_43_netbsd32_osetrlimit_args *, register_t *);
2624 int compat_43_netbsd32_killpg(struct lwp *, const struct compat_43_netbsd32_killpg_args *, register_t *);
2626 int sys_setsid(struct lwp *, const void *, register_t *);
2628 int netbsd32_quotactl(struct lwp *, const struct netbsd32_quotactl_args *, register_t *);
2630 int compat_43_sys_quota(struct lwp *, const void *, register_t *);
2632 int compat_43_netbsd32_ogetsockname(struct lwp *, const struct compat_43_netbsd32_ogetsockname_args *, register_t *);
2634 int netbsd32_nfssvc(struct lwp *, const struct netbsd32_nfssvc_args *, register_t *);
2636 int compat_43_netbsd32_ogetdirentries(struct lwp *, const struct compat_43_netbsd32_ogetdirentries_args *, register_t *);
2638 int compat_20_netbsd32_statfs(struct lwp *, const struct compat_20_netbsd32_statfs_args *, register_t *);
2640 int compat_20_netbsd32_fstatfs(struct lwp *, const struct compat_20_netbsd32_fstatfs_args *, register_t *);
2642 int compat_30_netbsd32_getfh(struct lwp *, const struct compat_30_netbsd32_getfh_args *, register_t *);
2644 int compat_09_netbsd32_ogetdomainname(struct lwp *, const struct compat_09_netbsd32_ogetdomainname_args *, register_t *);
2646 int compat_09_netbsd32_osetdomainname(struct lwp *, const struct compat_09_netbsd32_osetdomainname_args *, register_t *);
2648 int compat_09_netbsd32_uname(struct lwp *, const struct compat_09_netbsd32_uname_args *, register_t *);
2650 int netbsd32_sysarch(struct lwp *, const struct netbsd32_sysarch_args *, register_t *);
2652 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
2653 int compat_10_netbsd32_semsys(struct lwp *, const struct compat_10_netbsd32_semsys_args *, register_t *);
2655 #else
2656 #endif
2657 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
2658 int compat_10_netbsd32_msgsys(struct lwp *, const struct compat_10_netbsd32_msgsys_args *, register_t *);
2660 #else
2661 #endif
2662 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
2663 int compat_10_netbsd32_shmsys(struct lwp *, const struct compat_10_netbsd32_shmsys_args *, register_t *);
2665 #else
2666 #endif
2667 int netbsd32_pread(struct lwp *, const struct netbsd32_pread_args *, register_t *);
2669 int netbsd32_pwrite(struct lwp *, const struct netbsd32_pwrite_args *, register_t *);
2671 #if defined(NTP) || !defined(_KERNEL_OPT)
2672 int compat_30_netbsd32_ntp_gettime(struct lwp *, const struct compat_30_netbsd32_ntp_gettime_args *, register_t *);
2674 int netbsd32_ntp_adjtime(struct lwp *, const struct netbsd32_ntp_adjtime_args *, register_t *);
2676 #else
2677 #endif
2678 int netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
2680 int netbsd32_setegid(struct lwp *, const struct netbsd32_setegid_args *, register_t *);
2682 int netbsd32_seteuid(struct lwp *, const struct netbsd32_seteuid_args *, register_t *);
2684 #if defined(LFS) || !defined(_KERNEL_OPT)
2685 int netbsd32_lfs_bmapv(struct lwp *, const struct netbsd32_lfs_bmapv_args *, register_t *);
2687 int netbsd32_lfs_markv(struct lwp *, const struct netbsd32_lfs_markv_args *, register_t *);
2689 int netbsd32_lfs_segclean(struct lwp *, const struct netbsd32_lfs_segclean_args *, register_t *);
2691 int compat_50_netbsd32_lfs_segwait(struct lwp *, const struct compat_50_netbsd32_lfs_segwait_args *, register_t *);
2693 #else
2694 #endif
2695 int compat_12_netbsd32_stat12(struct lwp *, const struct compat_12_netbsd32_stat12_args *, register_t *);
2697 int compat_12_netbsd32_fstat12(struct lwp *, const struct compat_12_netbsd32_fstat12_args *, register_t *);
2699 int compat_12_netbsd32_lstat12(struct lwp *, const struct compat_12_netbsd32_lstat12_args *, register_t *);
2701 int netbsd32_pathconf(struct lwp *, const struct netbsd32_pathconf_args *, register_t *);
2703 int netbsd32_fpathconf(struct lwp *, const struct netbsd32_fpathconf_args *, register_t *);
2705 int netbsd32_getrlimit(struct lwp *, const struct netbsd32_getrlimit_args *, register_t *);
2707 int netbsd32_setrlimit(struct lwp *, const struct netbsd32_setrlimit_args *, register_t *);
2709 int compat_12_netbsd32_getdirentries(struct lwp *, const struct compat_12_netbsd32_getdirentries_args *, register_t *);
2711 int netbsd32_mmap(struct lwp *, const struct netbsd32_mmap_args *, register_t *);
2713 int netbsd32____syscall(struct lwp *, const struct netbsd32____syscall_args *, register_t *);
2715 int netbsd32_lseek(struct lwp *, const struct netbsd32_lseek_args *, register_t *);
2717 int netbsd32_truncate(struct lwp *, const struct netbsd32_truncate_args *, register_t *);
2719 int netbsd32_ftruncate(struct lwp *, const struct netbsd32_ftruncate_args *, register_t *);
2721 int netbsd32___sysctl(struct lwp *, const struct netbsd32___sysctl_args *, register_t *);
2723 int netbsd32_mlock(struct lwp *, const struct netbsd32_mlock_args *, register_t *);
2725 int netbsd32_munlock(struct lwp *, const struct netbsd32_munlock_args *, register_t *);
2727 int netbsd32_undelete(struct lwp *, const struct netbsd32_undelete_args *, register_t *);
2729 int compat_50_netbsd32_futimes(struct lwp *, const struct compat_50_netbsd32_futimes_args *, register_t *);
2731 int netbsd32_getpgid(struct lwp *, const struct netbsd32_getpgid_args *, register_t *);
2733 int netbsd32_reboot(struct lwp *, const struct netbsd32_reboot_args *, register_t *);
2735 int netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *);
2737 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
2738 int compat_14_netbsd32___semctl(struct lwp *, const struct compat_14_netbsd32___semctl_args *, register_t *);
2740 int netbsd32_semget(struct lwp *, const struct netbsd32_semget_args *, register_t *);
2742 int netbsd32_semop(struct lwp *, const struct netbsd32_semop_args *, register_t *);
2744 int netbsd32_semconfig(struct lwp *, const struct netbsd32_semconfig_args *, register_t *);
2746 #else
2747 #endif
2748 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
2749 int compat_14_netbsd32_msgctl(struct lwp *, const struct compat_14_netbsd32_msgctl_args *, register_t *);
2751 int netbsd32_msgget(struct lwp *, const struct netbsd32_msgget_args *, register_t *);
2753 int netbsd32_msgsnd(struct lwp *, const struct netbsd32_msgsnd_args *, register_t *);
2755 int netbsd32_msgrcv(struct lwp *, const struct netbsd32_msgrcv_args *, register_t *);
2757 #else
2758 #endif
2759 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
2760 int netbsd32_shmat(struct lwp *, const struct netbsd32_shmat_args *, register_t *);
2762 int compat_14_netbsd32_shmctl(struct lwp *, const struct compat_14_netbsd32_shmctl_args *, register_t *);
2764 int netbsd32_shmdt(struct lwp *, const struct netbsd32_shmdt_args *, register_t *);
2766 int netbsd32_shmget(struct lwp *, const struct netbsd32_shmget_args *, register_t *);
2768 #else
2769 #endif
2770 int compat_50_netbsd32_clock_gettime(struct lwp *, const struct compat_50_netbsd32_clock_gettime_args *, register_t *);
2772 int compat_50_netbsd32_clock_settime(struct lwp *, const struct compat_50_netbsd32_clock_settime_args *, register_t *);
2774 int compat_50_netbsd32_clock_getres(struct lwp *, const struct compat_50_netbsd32_clock_getres_args *, register_t *);
2776 int netbsd32_timer_create(struct lwp *, const struct netbsd32_timer_create_args *, register_t *);
2778 int netbsd32_timer_delete(struct lwp *, const struct netbsd32_timer_delete_args *, register_t *);
2780 int compat_50_netbsd32_timer_settime(struct lwp *, const struct compat_50_netbsd32_timer_settime_args *, register_t *);
2782 int compat_50_netbsd32_timer_gettime(struct lwp *, const struct compat_50_netbsd32_timer_gettime_args *, register_t *);
2784 int netbsd32_timer_getoverrun(struct lwp *, const struct netbsd32_timer_getoverrun_args *, register_t *);
2786 int compat_50_netbsd32_nanosleep(struct lwp *, const struct compat_50_netbsd32_nanosleep_args *, register_t *);
2788 int netbsd32_fdatasync(struct lwp *, const struct netbsd32_fdatasync_args *, register_t *);
2790 int netbsd32_mlockall(struct lwp *, const struct netbsd32_mlockall_args *, register_t *);
2792 int sys_munlockall(struct lwp *, const void *, register_t *);
2794 int compat_50_netbsd32___sigtimedwait(struct lwp *, const struct compat_50_netbsd32___sigtimedwait_args *, register_t *);
2796 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL_OPT) && defined(_LIBC))
2797 int netbsd32__ksem_init(struct lwp *, const struct netbsd32__ksem_init_args *, register_t *);
2799 int netbsd32__ksem_open(struct lwp *, const struct netbsd32__ksem_open_args *, register_t *);
2801 int netbsd32__ksem_unlink(struct lwp *, const struct netbsd32__ksem_unlink_args *, register_t *);
2803 int netbsd32__ksem_close(struct lwp *, const struct netbsd32__ksem_close_args *, register_t *);
2805 int netbsd32__ksem_post(struct lwp *, const struct netbsd32__ksem_post_args *, register_t *);
2807 int netbsd32__ksem_wait(struct lwp *, const struct netbsd32__ksem_wait_args *, register_t *);
2809 int netbsd32__ksem_trywait(struct lwp *, const struct netbsd32__ksem_trywait_args *, register_t *);
2811 int netbsd32__ksem_getvalue(struct lwp *, const struct netbsd32__ksem_getvalue_args *, register_t *);
2813 int netbsd32__ksem_destroy(struct lwp *, const struct netbsd32__ksem_destroy_args *, register_t *);
2815 #else
2816 #endif
2817 int netbsd32___posix_rename(struct lwp *, const struct netbsd32___posix_rename_args *, register_t *);
2819 int netbsd32_swapctl(struct lwp *, const struct netbsd32_swapctl_args *, register_t *);
2821 int compat_30_netbsd32_getdents(struct lwp *, const struct compat_30_netbsd32_getdents_args *, register_t *);
2823 int netbsd32_minherit(struct lwp *, const struct netbsd32_minherit_args *, register_t *);
2825 int netbsd32_lchmod(struct lwp *, const struct netbsd32_lchmod_args *, register_t *);
2827 int netbsd32_lchown(struct lwp *, const struct netbsd32_lchown_args *, register_t *);
2829 int compat_50_netbsd32_lutimes(struct lwp *, const struct compat_50_netbsd32_lutimes_args *, register_t *);
2831 int netbsd32___msync13(struct lwp *, const struct netbsd32___msync13_args *, register_t *);
2833 int compat_30_netbsd32___stat13(struct lwp *, const struct compat_30_netbsd32___stat13_args *, register_t *);
2835 int compat_30_netbsd32___fstat13(struct lwp *, const struct compat_30_netbsd32___fstat13_args *, register_t *);
2837 int compat_30_netbsd32___lstat13(struct lwp *, const struct compat_30_netbsd32___lstat13_args *, register_t *);
2839 int netbsd32___sigaltstack14(struct lwp *, const struct netbsd32___sigaltstack14_args *, register_t *);
2841 int sys___vfork14(struct lwp *, const void *, register_t *);
2843 int netbsd32___posix_chown(struct lwp *, const struct netbsd32___posix_chown_args *, register_t *);
2845 int netbsd32___posix_fchown(struct lwp *, const struct netbsd32___posix_fchown_args *, register_t *);
2847 int netbsd32___posix_lchown(struct lwp *, const struct netbsd32___posix_lchown_args *, register_t *);
2849 int netbsd32_getsid(struct lwp *, const struct netbsd32_getsid_args *, register_t *);
2851 int netbsd32___clone(struct lwp *, const struct netbsd32___clone_args *, register_t *);
2853 int netbsd32_fktrace(struct lwp *, const struct netbsd32_fktrace_args *, register_t *);
2855 int netbsd32_preadv(struct lwp *, const struct netbsd32_preadv_args *, register_t *);
2857 int netbsd32_pwritev(struct lwp *, const struct netbsd32_pwritev_args *, register_t *);
2859 int netbsd32___sigaction14(struct lwp *, const struct netbsd32___sigaction14_args *, register_t *);
2861 int netbsd32___sigpending14(struct lwp *, const struct netbsd32___sigpending14_args *, register_t *);
2863 int netbsd32___sigprocmask14(struct lwp *, const struct netbsd32___sigprocmask14_args *, register_t *);
2865 int netbsd32___sigsuspend14(struct lwp *, const struct netbsd32___sigsuspend14_args *, register_t *);
2867 int compat_16_netbsd32___sigreturn14(struct lwp *, const struct compat_16_netbsd32___sigreturn14_args *, register_t *);
2869 int netbsd32___getcwd(struct lwp *, const struct netbsd32___getcwd_args *, register_t *);
2871 int netbsd32_fchroot(struct lwp *, const struct netbsd32_fchroot_args *, register_t *);
2873 int compat_30_netbsd32_fhopen(struct lwp *, const struct compat_30_netbsd32_fhopen_args *, register_t *);
2875 int compat_30_netbsd32_fhstat(struct lwp *, const struct compat_30_netbsd32_fhstat_args *, register_t *);
2877 int compat_20_netbsd32_fhstatfs(struct lwp *, const struct compat_20_netbsd32_fhstatfs_args *, register_t *);
2879 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
2880 int compat_50_netbsd32___semctl14(struct lwp *, const struct compat_50_netbsd32___semctl14_args *, register_t *);
2882 #else
2883 #endif
2884 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
2885 int compat_50_netbsd32___msgctl13(struct lwp *, const struct compat_50_netbsd32___msgctl13_args *, register_t *);
2887 #else
2888 #endif
2889 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
2890 int compat_50_netbsd32___shmctl13(struct lwp *, const struct compat_50_netbsd32___shmctl13_args *, register_t *);
2892 #else
2893 #endif
2894 int netbsd32_lchflags(struct lwp *, const struct netbsd32_lchflags_args *, register_t *);
2896 int sys_issetugid(struct lwp *, const void *, register_t *);
2898 int netbsd32_utrace(struct lwp *, const struct netbsd32_utrace_args *, register_t *);
2900 int netbsd32_getcontext(struct lwp *, const struct netbsd32_getcontext_args *, register_t *);
2902 int netbsd32_setcontext(struct lwp *, const struct netbsd32_setcontext_args *, register_t *);
2904 int netbsd32__lwp_create(struct lwp *, const struct netbsd32__lwp_create_args *, register_t *);
2906 int sys__lwp_exit(struct lwp *, const void *, register_t *);
2908 int sys__lwp_self(struct lwp *, const void *, register_t *);
2910 int netbsd32__lwp_wait(struct lwp *, const struct netbsd32__lwp_wait_args *, register_t *);
2912 int netbsd32__lwp_suspend(struct lwp *, const struct netbsd32__lwp_suspend_args *, register_t *);
2914 int netbsd32__lwp_continue(struct lwp *, const struct netbsd32__lwp_continue_args *, register_t *);
2916 int netbsd32__lwp_wakeup(struct lwp *, const struct netbsd32__lwp_wakeup_args *, register_t *);
2918 int sys__lwp_getprivate(struct lwp *, const void *, register_t *);
2920 int netbsd32__lwp_setprivate(struct lwp *, const struct netbsd32__lwp_setprivate_args *, register_t *);
2922 int netbsd32__lwp_kill(struct lwp *, const struct netbsd32__lwp_kill_args *, register_t *);
2924 int netbsd32__lwp_detach(struct lwp *, const struct netbsd32__lwp_detach_args *, register_t *);
2926 int compat_50_netbsd32__lwp_park(struct lwp *, const struct compat_50_netbsd32__lwp_park_args *, register_t *);
2928 int netbsd32__lwp_unpark(struct lwp *, const struct netbsd32__lwp_unpark_args *, register_t *);
2930 int netbsd32__lwp_unpark_all(struct lwp *, const struct netbsd32__lwp_unpark_all_args *, register_t *);
2932 int netbsd32__lwp_setname(struct lwp *, const struct netbsd32__lwp_setname_args *, register_t *);
2934 int netbsd32__lwp_getname(struct lwp *, const struct netbsd32__lwp_getname_args *, register_t *);
2936 int netbsd32__lwp_ctl(struct lwp *, const struct netbsd32__lwp_ctl_args *, register_t *);
2938 int netbsd32_sa_register(struct lwp *, const struct netbsd32_sa_register_args *, register_t *);
2940 int netbsd32_sa_stacks(struct lwp *, const struct netbsd32_sa_stacks_args *, register_t *);
2942 int sys_sa_enable(struct lwp *, const void *, register_t *);
2944 int netbsd32_sa_setconcurrency(struct lwp *, const struct netbsd32_sa_setconcurrency_args *, register_t *);
2946 int sys_sa_yield(struct lwp *, const void *, register_t *);
2948 int netbsd32_sa_preempt(struct lwp *, const struct netbsd32_sa_preempt_args *, register_t *);
2950 int netbsd32___sigaction_sigtramp(struct lwp *, const struct netbsd32___sigaction_sigtramp_args *, register_t *);
2952 int netbsd32_rasctl(struct lwp *, const struct netbsd32_rasctl_args *, register_t *);
2954 int sys_kqueue(struct lwp *, const void *, register_t *);
2956 int compat_50_netbsd32_kevent(struct lwp *, const struct compat_50_netbsd32_kevent_args *, register_t *);
2958 int netbsd32__sched_setparam(struct lwp *, const struct netbsd32__sched_setparam_args *, register_t *);
2960 int netbsd32__sched_getparam(struct lwp *, const struct netbsd32__sched_getparam_args *, register_t *);
2962 int netbsd32__sched_setaffinity(struct lwp *, const struct netbsd32__sched_setaffinity_args *, register_t *);
2964 int netbsd32__sched_getaffinity(struct lwp *, const struct netbsd32__sched_getaffinity_args *, register_t *);
2966 int sys_sched_yield(struct lwp *, const void *, register_t *);
2968 int netbsd32_fsync_range(struct lwp *, const struct netbsd32_fsync_range_args *, register_t *);
2970 int netbsd32_uuidgen(struct lwp *, const struct netbsd32_uuidgen_args *, register_t *);
2972 int netbsd32_getvfsstat(struct lwp *, const struct netbsd32_getvfsstat_args *, register_t *);
2974 int netbsd32_statvfs1(struct lwp *, const struct netbsd32_statvfs1_args *, register_t *);
2976 int netbsd32_fstatvfs1(struct lwp *, const struct netbsd32_fstatvfs1_args *, register_t *);
2978 int compat_30_netbsd32_fhstatvfs1(struct lwp *, const struct compat_30_netbsd32_fhstatvfs1_args *, register_t *);
2980 int netbsd32_extattrctl(struct lwp *, const struct netbsd32_extattrctl_args *, register_t *);
2982 int netbsd32_extattr_set_file(struct lwp *, const struct netbsd32_extattr_set_file_args *, register_t *);
2984 int netbsd32_extattr_get_file(struct lwp *, const struct netbsd32_extattr_get_file_args *, register_t *);
2986 int netbsd32_extattr_delete_file(struct lwp *, const struct netbsd32_extattr_delete_file_args *, register_t *);
2988 int netbsd32_extattr_set_fd(struct lwp *, const struct netbsd32_extattr_set_fd_args *, register_t *);
2990 int netbsd32_extattr_get_fd(struct lwp *, const struct netbsd32_extattr_get_fd_args *, register_t *);
2992 int netbsd32_extattr_delete_fd(struct lwp *, const struct netbsd32_extattr_delete_fd_args *, register_t *);
2994 int netbsd32_extattr_set_link(struct lwp *, const struct netbsd32_extattr_set_link_args *, register_t *);
2996 int netbsd32_extattr_get_link(struct lwp *, const struct netbsd32_extattr_get_link_args *, register_t *);
2998 int netbsd32_extattr_delete_link(struct lwp *, const struct netbsd32_extattr_delete_link_args *, register_t *);
3000 int netbsd32_extattr_list_fd(struct lwp *, const struct netbsd32_extattr_list_fd_args *, register_t *);
3002 int netbsd32_extattr_list_file(struct lwp *, const struct netbsd32_extattr_list_file_args *, register_t *);
3004 int netbsd32_extattr_list_link(struct lwp *, const struct netbsd32_extattr_list_link_args *, register_t *);
3006 int compat_50_netbsd32_pselect(struct lwp *, const struct compat_50_netbsd32_pselect_args *, register_t *);
3008 int compat_50_netbsd32_pollts(struct lwp *, const struct compat_50_netbsd32_pollts_args *, register_t *);
3010 int netbsd32_setxattr(struct lwp *, const struct netbsd32_setxattr_args *, register_t *);
3012 int netbsd32_lsetxattr(struct lwp *, const struct netbsd32_lsetxattr_args *, register_t *);
3014 int netbsd32_fsetxattr(struct lwp *, const struct netbsd32_fsetxattr_args *, register_t *);
3016 int netbsd32_getxattr(struct lwp *, const struct netbsd32_getxattr_args *, register_t *);
3018 int netbsd32_lgetxattr(struct lwp *, const struct netbsd32_lgetxattr_args *, register_t *);
3020 int netbsd32_fgetxattr(struct lwp *, const struct netbsd32_fgetxattr_args *, register_t *);
3022 int netbsd32_listxattr(struct lwp *, const struct netbsd32_listxattr_args *, register_t *);
3024 int netbsd32_llistxattr(struct lwp *, const struct netbsd32_llistxattr_args *, register_t *);
3026 int netbsd32_flistxattr(struct lwp *, const struct netbsd32_flistxattr_args *, register_t *);
3028 int netbsd32_removexattr(struct lwp *, const struct netbsd32_removexattr_args *, register_t *);
3030 int netbsd32_lremovexattr(struct lwp *, const struct netbsd32_lremovexattr_args *, register_t *);
3032 int netbsd32_fremovexattr(struct lwp *, const struct netbsd32_fremovexattr_args *, register_t *);
3034 int compat_50_netbsd32___stat30(struct lwp *, const struct compat_50_netbsd32___stat30_args *, register_t *);
3036 int compat_50_netbsd32___fstat30(struct lwp *, const struct compat_50_netbsd32___fstat30_args *, register_t *);
3038 int compat_50_netbsd32___lstat30(struct lwp *, const struct compat_50_netbsd32___lstat30_args *, register_t *);
3040 int netbsd32___getdents30(struct lwp *, const struct netbsd32___getdents30_args *, register_t *);
3042 int compat_30_netbsd32___fhstat30(struct lwp *, const struct compat_30_netbsd32___fhstat30_args *, register_t *);
3044 #if defined(NTP) || !defined(_KERNEL_OPT)
3045 int compat_50_netbsd32_ntp_gettime(struct lwp *, const struct compat_50_netbsd32_ntp_gettime_args *, register_t *);
3047 #else
3048 #endif
3049 int netbsd32___socket30(struct lwp *, const struct netbsd32___socket30_args *, register_t *);
3051 int netbsd32___getfh30(struct lwp *, const struct netbsd32___getfh30_args *, register_t *);
3053 int netbsd32___fhopen40(struct lwp *, const struct netbsd32___fhopen40_args *, register_t *);
3055 int netbsd32___fhstatvfs140(struct lwp *, const struct netbsd32___fhstatvfs140_args *, register_t *);
3057 int compat_50_netbsd32___fhstat40(struct lwp *, const struct compat_50_netbsd32___fhstat40_args *, register_t *);
3059 int netbsd32___mount50(struct lwp *, const struct netbsd32___mount50_args *, register_t *);
3061 int netbsd32_mremap(struct lwp *, const struct netbsd32_mremap_args *, register_t *);
3063 int netbsd32___posix_fadvise50(struct lwp *, const struct netbsd32___posix_fadvise50_args *, register_t *);
3065 int netbsd32___select50(struct lwp *, const struct netbsd32___select50_args *, register_t *);
3067 int netbsd32___gettimeofday50(struct lwp *, const struct netbsd32___gettimeofday50_args *, register_t *);
3069 int netbsd32___settimeofday50(struct lwp *, const struct netbsd32___settimeofday50_args *, register_t *);
3071 int netbsd32___utimes50(struct lwp *, const struct netbsd32___utimes50_args *, register_t *);
3073 int netbsd32___adjtime50(struct lwp *, const struct netbsd32___adjtime50_args *, register_t *);
3075 #if defined(LFS) || !defined(_KERNEL_OPT)
3076 int netbsd32___lfs_segwait50(struct lwp *, const struct netbsd32___lfs_segwait50_args *, register_t *);
3078 #else
3079 #endif
3080 int netbsd32___futimes50(struct lwp *, const struct netbsd32___futimes50_args *, register_t *);
3082 int netbsd32___lutimes50(struct lwp *, const struct netbsd32___lutimes50_args *, register_t *);
3084 int netbsd32___setitimer50(struct lwp *, const struct netbsd32___setitimer50_args *, register_t *);
3086 int netbsd32___getitimer50(struct lwp *, const struct netbsd32___getitimer50_args *, register_t *);
3088 int netbsd32___clock_gettime50(struct lwp *, const struct netbsd32___clock_gettime50_args *, register_t *);
3090 int netbsd32___clock_settime50(struct lwp *, const struct netbsd32___clock_settime50_args *, register_t *);
3092 int netbsd32___clock_getres50(struct lwp *, const struct netbsd32___clock_getres50_args *, register_t *);
3094 int netbsd32___nanosleep50(struct lwp *, const struct netbsd32___nanosleep50_args *, register_t *);
3096 int netbsd32_____sigtimedwait50(struct lwp *, const struct netbsd32_____sigtimedwait50_args *, register_t *);
3098 int netbsd32____lwp_park50(struct lwp *, const struct netbsd32____lwp_park50_args *, register_t *);
3100 int netbsd32___kevent50(struct lwp *, const struct netbsd32___kevent50_args *, register_t *);
3102 int netbsd32___pselect50(struct lwp *, const struct netbsd32___pselect50_args *, register_t *);
3104 int netbsd32___pollts50(struct lwp *, const struct netbsd32___pollts50_args *, register_t *);
3106 int netbsd32___stat50(struct lwp *, const struct netbsd32___stat50_args *, register_t *);
3108 int netbsd32___fstat50(struct lwp *, const struct netbsd32___fstat50_args *, register_t *);
3110 int netbsd32___lstat50(struct lwp *, const struct netbsd32___lstat50_args *, register_t *);
3112 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
3113 int netbsd32_____semctl50(struct lwp *, const struct netbsd32_____semctl50_args *, register_t *);
3115 #else
3116 #endif
3117 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
3118 int netbsd32___shmctl50(struct lwp *, const struct netbsd32___shmctl50_args *, register_t *);
3120 #else
3121 #endif
3122 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
3123 int netbsd32___msgctl50(struct lwp *, const struct netbsd32___msgctl50_args *, register_t *);
3125 #else
3126 #endif
3127 int netbsd32___getrusage50(struct lwp *, const struct netbsd32___getrusage50_args *, register_t *);
3129 int netbsd32___timer_settime50(struct lwp *, const struct netbsd32___timer_settime50_args *, register_t *);
3131 int netbsd32___timer_gettime50(struct lwp *, const struct netbsd32___timer_gettime50_args *, register_t *);
3133 #if defined(NTP) || !defined(_KERNEL_OPT)
3134 int netbsd32___ntp_gettime50(struct lwp *, const struct netbsd32___ntp_gettime50_args *, register_t *);
3136 #else
3137 #endif
3138 int netbsd32___wait450(struct lwp *, const struct netbsd32___wait450_args *, register_t *);
3140 int netbsd32___mknod50(struct lwp *, const struct netbsd32___mknod50_args *, register_t *);
3142 int netbsd32___fhstat50(struct lwp *, const struct netbsd32___fhstat50_args *, register_t *);
3144 #endif /* _NETBSD32_SYS_SYSCALLARGS_H_ */