2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically generated.
6 * This file is part of the DTrace syscall provider.
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *) uarg;
21 struct sys_exit_args *p = params;
22 iarg[0] = p->rval; /* int */
33 struct read_args *p = params;
34 iarg[0] = p->fd; /* int */
35 uarg[1] = (intptr_t) p->buf; /* void * */
36 uarg[2] = p->nbyte; /* size_t */
42 struct write_args *p = params;
43 iarg[0] = p->fd; /* int */
44 uarg[1] = (intptr_t) p->buf; /* const void * */
45 uarg[2] = p->nbyte; /* size_t */
51 struct open_args *p = params;
52 uarg[0] = (intptr_t) p->path; /* char * */
53 iarg[1] = p->flags; /* int */
54 iarg[2] = p->mode; /* int */
60 struct close_args *p = params;
61 iarg[0] = p->fd; /* int */
67 struct wait4_args *p = params;
68 iarg[0] = p->pid; /* int */
69 uarg[1] = (intptr_t) p->status; /* int * */
70 iarg[2] = p->options; /* int */
71 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
77 struct link_args *p = params;
78 uarg[0] = (intptr_t) p->path; /* char * */
79 uarg[1] = (intptr_t) p->link; /* char * */
85 struct unlink_args *p = params;
86 uarg[0] = (intptr_t) p->path; /* char * */
92 struct chdir_args *p = params;
93 uarg[0] = (intptr_t) p->path; /* char * */
99 struct fchdir_args *p = params;
100 iarg[0] = p->fd; /* int */
106 struct chmod_args *p = params;
107 uarg[0] = (intptr_t) p->path; /* char * */
108 iarg[1] = p->mode; /* int */
114 struct chown_args *p = params;
115 uarg[0] = (intptr_t) p->path; /* char * */
116 iarg[1] = p->uid; /* int */
117 iarg[2] = p->gid; /* int */
123 struct break_args *p = params;
124 uarg[0] = (intptr_t) p->nsize; /* char * */
135 struct mount_args *p = params;
136 uarg[0] = (intptr_t) p->type; /* char * */
137 uarg[1] = (intptr_t) p->path; /* char * */
138 iarg[2] = p->flags; /* int */
139 uarg[3] = (intptr_t) p->data; /* caddr_t */
145 struct unmount_args *p = params;
146 uarg[0] = (intptr_t) p->path; /* char * */
147 iarg[1] = p->flags; /* int */
153 struct setuid_args *p = params;
154 uarg[0] = p->uid; /* uid_t */
170 struct ptrace_args *p = params;
171 iarg[0] = p->req; /* int */
172 iarg[1] = p->pid; /* pid_t */
173 uarg[2] = (intptr_t) p->addr; /* caddr_t */
174 iarg[3] = p->data; /* int */
180 struct recvmsg_args *p = params;
181 iarg[0] = p->s; /* int */
182 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
183 iarg[2] = p->flags; /* int */
189 struct sendmsg_args *p = params;
190 iarg[0] = p->s; /* int */
191 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
192 iarg[2] = p->flags; /* int */
198 struct recvfrom_args *p = params;
199 iarg[0] = p->s; /* int */
200 uarg[1] = (intptr_t) p->buf; /* caddr_t */
201 uarg[2] = p->len; /* size_t */
202 iarg[3] = p->flags; /* int */
203 uarg[4] = (intptr_t) p->from; /* struct sockaddr * */
204 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
210 struct accept_args *p = params;
211 iarg[0] = p->s; /* int */
212 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
213 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
219 struct getpeername_args *p = params;
220 iarg[0] = p->fdes; /* int */
221 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */
222 uarg[2] = (intptr_t) p->alen; /* __socklen_t * */
228 struct getsockname_args *p = params;
229 iarg[0] = p->fdes; /* int */
230 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */
231 uarg[2] = (intptr_t) p->alen; /* __socklen_t * */
237 struct access_args *p = params;
238 uarg[0] = (intptr_t) p->path; /* char * */
239 iarg[1] = p->amode; /* int */
245 struct chflags_args *p = params;
246 uarg[0] = (intptr_t) p->path; /* const char * */
247 uarg[1] = p->flags; /* u_long */
253 struct fchflags_args *p = params;
254 iarg[0] = p->fd; /* int */
255 uarg[1] = p->flags; /* u_long */
266 struct kill_args *p = params;
267 iarg[0] = p->pid; /* int */
268 iarg[1] = p->signum; /* int */
279 struct dup_args *p = params;
280 uarg[0] = p->fd; /* u_int */
291 struct profil_args *p = params;
292 uarg[0] = (intptr_t) p->samples; /* caddr_t */
293 uarg[1] = p->size; /* size_t */
294 uarg[2] = p->offset; /* size_t */
295 uarg[3] = p->scale; /* u_int */
301 struct ktrace_args *p = params;
302 uarg[0] = (intptr_t) p->fname; /* const char * */
303 iarg[1] = p->ops; /* int */
304 iarg[2] = p->facs; /* int */
305 iarg[3] = p->pid; /* int */
316 struct getlogin_args *p = params;
317 uarg[0] = (intptr_t) p->namebuf; /* char * */
318 uarg[1] = p->namelen; /* u_int */
324 struct setlogin_args *p = params;
325 uarg[0] = (intptr_t) p->namebuf; /* char * */
331 struct acct_args *p = params;
332 uarg[0] = (intptr_t) p->path; /* char * */
338 struct sigaltstack_args *p = params;
339 uarg[0] = (intptr_t) p->ss; /* stack_t * */
340 uarg[1] = (intptr_t) p->oss; /* stack_t * */
346 struct ioctl_args *p = params;
347 iarg[0] = p->fd; /* int */
348 uarg[1] = p->com; /* u_long */
349 uarg[2] = (intptr_t) p->data; /* caddr_t */
355 struct reboot_args *p = params;
356 iarg[0] = p->opt; /* int */
362 struct revoke_args *p = params;
363 uarg[0] = (intptr_t) p->path; /* char * */
369 struct symlink_args *p = params;
370 uarg[0] = (intptr_t) p->path; /* char * */
371 uarg[1] = (intptr_t) p->link; /* char * */
377 struct readlink_args *p = params;
378 uarg[0] = (intptr_t) p->path; /* char * */
379 uarg[1] = (intptr_t) p->buf; /* char * */
380 uarg[2] = p->count; /* size_t */
386 struct execve_args *p = params;
387 uarg[0] = (intptr_t) p->fname; /* char * */
388 uarg[1] = (intptr_t) p->argv; /* char ** */
389 uarg[2] = (intptr_t) p->envv; /* char ** */
395 struct umask_args *p = params;
396 iarg[0] = p->newmask; /* int */
402 struct chroot_args *p = params;
403 uarg[0] = (intptr_t) p->path; /* char * */
409 struct msync_args *p = params;
410 uarg[0] = (intptr_t) p->addr; /* void * */
411 uarg[1] = p->len; /* size_t */
412 iarg[2] = p->flags; /* int */
423 struct sbrk_args *p = params;
424 iarg[0] = p->incr; /* int */
430 struct sstk_args *p = params;
431 iarg[0] = p->incr; /* int */
437 struct munmap_args *p = params;
438 uarg[0] = (intptr_t) p->addr; /* void * */
439 uarg[1] = p->len; /* size_t */
445 struct mprotect_args *p = params;
446 uarg[0] = (intptr_t) p->addr; /* void * */
447 uarg[1] = p->len; /* size_t */
448 iarg[2] = p->prot; /* int */
454 struct madvise_args *p = params;
455 uarg[0] = (intptr_t) p->addr; /* void * */
456 uarg[1] = p->len; /* size_t */
457 iarg[2] = p->behav; /* int */
463 struct mincore_args *p = params;
464 uarg[0] = (intptr_t) p->addr; /* const void * */
465 uarg[1] = p->len; /* size_t */
466 uarg[2] = (intptr_t) p->vec; /* char * */
472 struct getgroups_args *p = params;
473 uarg[0] = p->gidsetsize; /* u_int */
474 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
480 struct setgroups_args *p = params;
481 uarg[0] = p->gidsetsize; /* u_int */
482 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
493 struct setpgid_args *p = params;
494 iarg[0] = p->pid; /* int */
495 iarg[1] = p->pgid; /* int */
501 struct setitimer_args *p = params;
502 uarg[0] = p->which; /* u_int */
503 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
504 uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */
510 struct swapon_args *p = params;
511 uarg[0] = (intptr_t) p->name; /* char * */
517 struct getitimer_args *p = params;
518 uarg[0] = p->which; /* u_int */
519 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
530 struct dup2_args *p = params;
531 uarg[0] = p->from; /* u_int */
532 uarg[1] = p->to; /* u_int */
538 struct fcntl_args *p = params;
539 iarg[0] = p->fd; /* int */
540 iarg[1] = p->cmd; /* int */
541 iarg[2] = p->arg; /* long */
547 struct select_args *p = params;
548 iarg[0] = p->nd; /* int */
549 uarg[1] = (intptr_t) p->in; /* fd_set * */
550 uarg[2] = (intptr_t) p->ou; /* fd_set * */
551 uarg[3] = (intptr_t) p->ex; /* fd_set * */
552 uarg[4] = (intptr_t) p->tv; /* struct timeval * */
558 struct fsync_args *p = params;
559 iarg[0] = p->fd; /* int */
565 struct setpriority_args *p = params;
566 iarg[0] = p->which; /* int */
567 iarg[1] = p->who; /* int */
568 iarg[2] = p->prio; /* int */
574 struct socket_args *p = params;
575 iarg[0] = p->domain; /* int */
576 iarg[1] = p->type; /* int */
577 iarg[2] = p->protocol; /* int */
583 struct connect_args *p = params;
584 iarg[0] = p->s; /* int */
585 uarg[1] = (intptr_t) p->name; /* caddr_t */
586 iarg[2] = p->namelen; /* int */
592 struct getpriority_args *p = params;
593 iarg[0] = p->which; /* int */
594 iarg[1] = p->who; /* int */
600 struct bind_args *p = params;
601 iarg[0] = p->s; /* int */
602 uarg[1] = (intptr_t) p->name; /* caddr_t */
603 iarg[2] = p->namelen; /* int */
609 struct setsockopt_args *p = params;
610 iarg[0] = p->s; /* int */
611 iarg[1] = p->level; /* int */
612 iarg[2] = p->name; /* int */
613 uarg[3] = (intptr_t) p->val; /* caddr_t */
614 iarg[4] = p->valsize; /* int */
620 struct listen_args *p = params;
621 iarg[0] = p->s; /* int */
622 iarg[1] = p->backlog; /* int */
628 struct gettimeofday_args *p = params;
629 uarg[0] = (intptr_t) p->tp; /* struct timeval * */
630 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
636 struct getrusage_args *p = params;
637 iarg[0] = p->who; /* int */
638 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
644 struct getsockopt_args *p = params;
645 iarg[0] = p->s; /* int */
646 iarg[1] = p->level; /* int */
647 iarg[2] = p->name; /* int */
648 uarg[3] = (intptr_t) p->val; /* caddr_t */
649 uarg[4] = (intptr_t) p->avalsize; /* int * */
655 struct readv_args *p = params;
656 iarg[0] = p->fd; /* int */
657 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
658 uarg[2] = p->iovcnt; /* u_int */
664 struct writev_args *p = params;
665 iarg[0] = p->fd; /* int */
666 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
667 uarg[2] = p->iovcnt; /* u_int */
673 struct settimeofday_args *p = params;
674 uarg[0] = (intptr_t) p->tv; /* struct timeval * */
675 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
681 struct fchown_args *p = params;
682 iarg[0] = p->fd; /* int */
683 iarg[1] = p->uid; /* int */
684 iarg[2] = p->gid; /* int */
690 struct fchmod_args *p = params;
691 iarg[0] = p->fd; /* int */
692 iarg[1] = p->mode; /* int */
698 struct setreuid_args *p = params;
699 iarg[0] = p->ruid; /* int */
700 iarg[1] = p->euid; /* int */
706 struct setregid_args *p = params;
707 iarg[0] = p->rgid; /* int */
708 iarg[1] = p->egid; /* int */
714 struct rename_args *p = params;
715 uarg[0] = (intptr_t) p->from; /* char * */
716 uarg[1] = (intptr_t) p->to; /* char * */
722 struct flock_args *p = params;
723 iarg[0] = p->fd; /* int */
724 iarg[1] = p->how; /* int */
730 struct mkfifo_args *p = params;
731 uarg[0] = (intptr_t) p->path; /* char * */
732 iarg[1] = p->mode; /* int */
738 struct sendto_args *p = params;
739 iarg[0] = p->s; /* int */
740 uarg[1] = (intptr_t) p->buf; /* caddr_t */
741 uarg[2] = p->len; /* size_t */
742 iarg[3] = p->flags; /* int */
743 uarg[4] = (intptr_t) p->to; /* caddr_t */
744 iarg[5] = p->tolen; /* int */
750 struct shutdown_args *p = params;
751 iarg[0] = p->s; /* int */
752 iarg[1] = p->how; /* int */
758 struct socketpair_args *p = params;
759 iarg[0] = p->domain; /* int */
760 iarg[1] = p->type; /* int */
761 iarg[2] = p->protocol; /* int */
762 uarg[3] = (intptr_t) p->rsv; /* int * */
768 struct mkdir_args *p = params;
769 uarg[0] = (intptr_t) p->path; /* char * */
770 iarg[1] = p->mode; /* int */
776 struct rmdir_args *p = params;
777 uarg[0] = (intptr_t) p->path; /* char * */
783 struct utimes_args *p = params;
784 uarg[0] = (intptr_t) p->path; /* char * */
785 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
791 struct adjtime_args *p = params;
792 uarg[0] = (intptr_t) p->delta; /* struct timeval * */
793 uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */
804 struct quotactl_args *p = params;
805 uarg[0] = (intptr_t) p->path; /* char * */
806 iarg[1] = p->cmd; /* int */
807 iarg[2] = p->uid; /* int */
808 uarg[3] = (intptr_t) p->arg; /* caddr_t */
814 struct nlm_syscall_args *p = params;
815 iarg[0] = p->debug_level; /* int */
816 iarg[1] = p->grace_period; /* int */
817 iarg[2] = p->addr_count; /* int */
818 uarg[3] = (intptr_t) p->addrs; /* char ** */
824 struct nfssvc_args *p = params;
825 iarg[0] = p->flag; /* int */
826 uarg[1] = (intptr_t) p->argp; /* caddr_t */
832 struct lgetfh_args *p = params;
833 uarg[0] = (intptr_t) p->fname; /* char * */
834 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
840 struct getfh_args *p = params;
841 uarg[0] = (intptr_t) p->fname; /* char * */
842 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
848 struct sysarch_args *p = params;
849 iarg[0] = p->op; /* int */
850 uarg[1] = (intptr_t) p->parms; /* char * */
856 struct rtprio_args *p = params;
857 iarg[0] = p->function; /* int */
858 iarg[1] = p->pid; /* pid_t */
859 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
865 struct semsys_args *p = params;
866 iarg[0] = p->which; /* int */
867 iarg[1] = p->a2; /* int */
868 iarg[2] = p->a3; /* int */
869 iarg[3] = p->a4; /* int */
870 iarg[4] = p->a5; /* int */
876 struct msgsys_args *p = params;
877 iarg[0] = p->which; /* int */
878 iarg[1] = p->a2; /* int */
879 iarg[2] = p->a3; /* int */
880 iarg[3] = p->a4; /* int */
881 iarg[4] = p->a5; /* int */
882 iarg[5] = p->a6; /* int */
888 struct shmsys_args *p = params;
889 iarg[0] = p->which; /* int */
890 iarg[1] = p->a2; /* int */
891 iarg[2] = p->a3; /* int */
892 iarg[3] = p->a4; /* int */
898 struct setfib_args *p = params;
899 iarg[0] = p->fibnum; /* int */
905 struct ntp_adjtime_args *p = params;
906 uarg[0] = (intptr_t) p->tp; /* struct timex * */
912 struct setgid_args *p = params;
913 iarg[0] = p->gid; /* gid_t */
919 struct setegid_args *p = params;
920 iarg[0] = p->egid; /* gid_t */
926 struct seteuid_args *p = params;
927 uarg[0] = p->euid; /* uid_t */
933 struct pathconf_args *p = params;
934 uarg[0] = (intptr_t) p->path; /* char * */
935 iarg[1] = p->name; /* int */
941 struct fpathconf_args *p = params;
942 iarg[0] = p->fd; /* int */
943 iarg[1] = p->name; /* int */
949 struct __getrlimit_args *p = params;
950 uarg[0] = p->which; /* u_int */
951 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
957 struct __setrlimit_args *p = params;
958 uarg[0] = p->which; /* u_int */
959 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
970 struct sysctl_args *p = params;
971 uarg[0] = (intptr_t) p->name; /* int * */
972 uarg[1] = p->namelen; /* u_int */
973 uarg[2] = (intptr_t) p->old; /* void * */
974 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
975 uarg[4] = (intptr_t) p->new; /* void * */
976 uarg[5] = p->newlen; /* size_t */
982 struct mlock_args *p = params;
983 uarg[0] = (intptr_t) p->addr; /* const void * */
984 uarg[1] = p->len; /* size_t */
990 struct munlock_args *p = params;
991 uarg[0] = (intptr_t) p->addr; /* const void * */
992 uarg[1] = p->len; /* size_t */
998 struct undelete_args *p = params;
999 uarg[0] = (intptr_t) p->path; /* char * */
1005 struct futimes_args *p = params;
1006 iarg[0] = p->fd; /* int */
1007 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1013 struct getpgid_args *p = params;
1014 iarg[0] = p->pid; /* pid_t */
1020 struct poll_args *p = params;
1021 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1022 uarg[1] = p->nfds; /* u_int */
1023 iarg[2] = p->timeout; /* int */
1079 struct semget_args *p = params;
1080 iarg[0] = p->key; /* key_t */
1081 iarg[1] = p->nsems; /* int */
1082 iarg[2] = p->semflg; /* int */
1088 struct semop_args *p = params;
1089 iarg[0] = p->semid; /* int */
1090 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1091 uarg[2] = p->nsops; /* size_t */
1097 struct msgget_args *p = params;
1098 iarg[0] = p->key; /* key_t */
1099 iarg[1] = p->msgflg; /* int */
1105 struct msgsnd_args *p = params;
1106 iarg[0] = p->msqid; /* int */
1107 uarg[1] = (intptr_t) p->msgp; /* const void * */
1108 uarg[2] = p->msgsz; /* size_t */
1109 iarg[3] = p->msgflg; /* int */
1115 struct msgrcv_args *p = params;
1116 iarg[0] = p->msqid; /* int */
1117 uarg[1] = (intptr_t) p->msgp; /* void * */
1118 uarg[2] = p->msgsz; /* size_t */
1119 iarg[3] = p->msgtyp; /* long */
1120 iarg[4] = p->msgflg; /* int */
1126 struct shmat_args *p = params;
1127 iarg[0] = p->shmid; /* int */
1128 uarg[1] = (intptr_t) p->shmaddr; /* const void * */
1129 iarg[2] = p->shmflg; /* int */
1135 struct shmdt_args *p = params;
1136 uarg[0] = (intptr_t) p->shmaddr; /* const void * */
1142 struct shmget_args *p = params;
1143 iarg[0] = p->key; /* key_t */
1144 uarg[1] = p->size; /* size_t */
1145 iarg[2] = p->shmflg; /* int */
1151 struct clock_gettime_args *p = params;
1152 iarg[0] = p->clock_id; /* clockid_t */
1153 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1159 struct clock_settime_args *p = params;
1160 iarg[0] = p->clock_id; /* clockid_t */
1161 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */
1167 struct clock_getres_args *p = params;
1168 iarg[0] = p->clock_id; /* clockid_t */
1169 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1175 struct ktimer_create_args *p = params;
1176 iarg[0] = p->clock_id; /* clockid_t */
1177 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1178 uarg[2] = (intptr_t) p->timerid; /* int * */
1184 struct ktimer_delete_args *p = params;
1185 iarg[0] = p->timerid; /* int */
1189 /* ktimer_settime */
1191 struct ktimer_settime_args *p = params;
1192 iarg[0] = p->timerid; /* int */
1193 iarg[1] = p->flags; /* int */
1194 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */
1195 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */
1199 /* ktimer_gettime */
1201 struct ktimer_gettime_args *p = params;
1202 iarg[0] = p->timerid; /* int */
1203 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */
1207 /* ktimer_getoverrun */
1209 struct ktimer_getoverrun_args *p = params;
1210 iarg[0] = p->timerid; /* int */
1216 struct nanosleep_args *p = params;
1217 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */
1218 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */
1222 /* ffclock_getcounter */
1224 struct ffclock_getcounter_args *p = params;
1225 uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */
1229 /* ffclock_setestimate */
1231 struct ffclock_setestimate_args *p = params;
1232 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1236 /* ffclock_getestimate */
1238 struct ffclock_getestimate_args *p = params;
1239 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1243 /* clock_nanosleep */
1245 struct clock_nanosleep_args *p = params;
1246 iarg[0] = p->clock_id; /* clockid_t */
1247 iarg[1] = p->flags; /* int */
1248 uarg[2] = (intptr_t) p->rqtp; /* const struct timespec * */
1249 uarg[3] = (intptr_t) p->rmtp; /* struct timespec * */
1253 /* clock_getcpuclockid2 */
1255 struct clock_getcpuclockid2_args *p = params;
1256 iarg[0] = p->id; /* id_t */
1257 iarg[1] = p->which; /* int */
1258 uarg[2] = (intptr_t) p->clock_id; /* clockid_t * */
1264 struct ntp_gettime_args *p = params;
1265 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1271 struct minherit_args *p = params;
1272 uarg[0] = (intptr_t) p->addr; /* void * */
1273 uarg[1] = p->len; /* size_t */
1274 iarg[2] = p->inherit; /* int */
1280 struct rfork_args *p = params;
1281 iarg[0] = p->flags; /* int */
1292 struct lchown_args *p = params;
1293 uarg[0] = (intptr_t) p->path; /* char * */
1294 iarg[1] = p->uid; /* int */
1295 iarg[2] = p->gid; /* int */
1301 struct aio_read_args *p = params;
1302 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1308 struct aio_write_args *p = params;
1309 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1315 struct lio_listio_args *p = params;
1316 iarg[0] = p->mode; /* int */
1317 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1318 iarg[2] = p->nent; /* int */
1319 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1325 struct lchmod_args *p = params;
1326 uarg[0] = (intptr_t) p->path; /* char * */
1327 iarg[1] = p->mode; /* mode_t */
1333 struct lutimes_args *p = params;
1334 uarg[0] = (intptr_t) p->path; /* char * */
1335 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1341 struct preadv_args *p = params;
1342 iarg[0] = p->fd; /* int */
1343 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1344 uarg[2] = p->iovcnt; /* u_int */
1345 iarg[3] = p->offset; /* off_t */
1351 struct pwritev_args *p = params;
1352 iarg[0] = p->fd; /* int */
1353 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1354 uarg[2] = p->iovcnt; /* u_int */
1355 iarg[3] = p->offset; /* off_t */
1361 struct fhopen_args *p = params;
1362 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1363 iarg[1] = p->flags; /* int */
1369 struct modnext_args *p = params;
1370 iarg[0] = p->modid; /* int */
1376 struct modstat_args *p = params;
1377 iarg[0] = p->modid; /* int */
1378 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1384 struct modfnext_args *p = params;
1385 iarg[0] = p->modid; /* int */
1391 struct modfind_args *p = params;
1392 uarg[0] = (intptr_t) p->name; /* const char * */
1398 struct kldload_args *p = params;
1399 uarg[0] = (intptr_t) p->file; /* const char * */
1405 struct kldunload_args *p = params;
1406 iarg[0] = p->fileid; /* int */
1412 struct kldfind_args *p = params;
1413 uarg[0] = (intptr_t) p->file; /* const char * */
1419 struct kldnext_args *p = params;
1420 iarg[0] = p->fileid; /* int */
1426 struct kldstat_args *p = params;
1427 iarg[0] = p->fileid; /* int */
1428 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1434 struct kldfirstmod_args *p = params;
1435 iarg[0] = p->fileid; /* int */
1441 struct getsid_args *p = params;
1442 iarg[0] = p->pid; /* pid_t */
1448 struct setresuid_args *p = params;
1449 uarg[0] = p->ruid; /* uid_t */
1450 uarg[1] = p->euid; /* uid_t */
1451 uarg[2] = p->suid; /* uid_t */
1457 struct setresgid_args *p = params;
1458 iarg[0] = p->rgid; /* gid_t */
1459 iarg[1] = p->egid; /* gid_t */
1460 iarg[2] = p->sgid; /* gid_t */
1466 struct aio_return_args *p = params;
1467 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1473 struct aio_suspend_args *p = params;
1474 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1475 iarg[1] = p->nent; /* int */
1476 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1482 struct aio_cancel_args *p = params;
1483 iarg[0] = p->fd; /* int */
1484 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1490 struct aio_error_args *p = params;
1491 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1502 struct mlockall_args *p = params;
1503 iarg[0] = p->how; /* int */
1514 struct __getcwd_args *p = params;
1515 uarg[0] = (intptr_t) p->buf; /* char * */
1516 uarg[1] = p->buflen; /* size_t */
1520 /* sched_setparam */
1522 struct sched_setparam_args *p = params;
1523 iarg[0] = p->pid; /* pid_t */
1524 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1528 /* sched_getparam */
1530 struct sched_getparam_args *p = params;
1531 iarg[0] = p->pid; /* pid_t */
1532 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1536 /* sched_setscheduler */
1538 struct sched_setscheduler_args *p = params;
1539 iarg[0] = p->pid; /* pid_t */
1540 iarg[1] = p->policy; /* int */
1541 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1545 /* sched_getscheduler */
1547 struct sched_getscheduler_args *p = params;
1548 iarg[0] = p->pid; /* pid_t */
1557 /* sched_get_priority_max */
1559 struct sched_get_priority_max_args *p = params;
1560 iarg[0] = p->policy; /* int */
1564 /* sched_get_priority_min */
1566 struct sched_get_priority_min_args *p = params;
1567 iarg[0] = p->policy; /* int */
1571 /* sched_rr_get_interval */
1573 struct sched_rr_get_interval_args *p = params;
1574 iarg[0] = p->pid; /* pid_t */
1575 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1581 struct utrace_args *p = params;
1582 uarg[0] = (intptr_t) p->addr; /* const void * */
1583 uarg[1] = p->len; /* size_t */
1589 struct kldsym_args *p = params;
1590 iarg[0] = p->fileid; /* int */
1591 iarg[1] = p->cmd; /* int */
1592 uarg[2] = (intptr_t) p->data; /* void * */
1598 struct nnpfs_syscall_args *p = params;
1599 iarg[0] = p->operation; /* int */
1600 uarg[1] = (intptr_t) p->a_pathP; /* char * */
1601 iarg[2] = p->a_opcode; /* int */
1602 uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1603 iarg[4] = p->a_followSymlinks; /* int */
1609 struct sigprocmask_args *p = params;
1610 iarg[0] = p->how; /* int */
1611 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1612 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1618 struct sigsuspend_args *p = params;
1619 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1625 struct sigpending_args *p = params;
1626 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1632 struct sigtimedwait_args *p = params;
1633 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1634 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1635 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1641 struct sigwaitinfo_args *p = params;
1642 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1643 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1647 /* __acl_get_file */
1649 struct __acl_get_file_args *p = params;
1650 uarg[0] = (intptr_t) p->path; /* const char * */
1651 iarg[1] = p->type; /* acl_type_t */
1652 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1656 /* __acl_set_file */
1658 struct __acl_set_file_args *p = params;
1659 uarg[0] = (intptr_t) p->path; /* const char * */
1660 iarg[1] = p->type; /* acl_type_t */
1661 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1667 struct __acl_get_fd_args *p = params;
1668 iarg[0] = p->filedes; /* int */
1669 iarg[1] = p->type; /* acl_type_t */
1670 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1676 struct __acl_set_fd_args *p = params;
1677 iarg[0] = p->filedes; /* int */
1678 iarg[1] = p->type; /* acl_type_t */
1679 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1683 /* __acl_delete_file */
1685 struct __acl_delete_file_args *p = params;
1686 uarg[0] = (intptr_t) p->path; /* const char * */
1687 iarg[1] = p->type; /* acl_type_t */
1691 /* __acl_delete_fd */
1693 struct __acl_delete_fd_args *p = params;
1694 iarg[0] = p->filedes; /* int */
1695 iarg[1] = p->type; /* acl_type_t */
1699 /* __acl_aclcheck_file */
1701 struct __acl_aclcheck_file_args *p = params;
1702 uarg[0] = (intptr_t) p->path; /* const char * */
1703 iarg[1] = p->type; /* acl_type_t */
1704 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1708 /* __acl_aclcheck_fd */
1710 struct __acl_aclcheck_fd_args *p = params;
1711 iarg[0] = p->filedes; /* int */
1712 iarg[1] = p->type; /* acl_type_t */
1713 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1719 struct extattrctl_args *p = params;
1720 uarg[0] = (intptr_t) p->path; /* const char * */
1721 iarg[1] = p->cmd; /* int */
1722 uarg[2] = (intptr_t) p->filename; /* const char * */
1723 iarg[3] = p->attrnamespace; /* int */
1724 uarg[4] = (intptr_t) p->attrname; /* const char * */
1728 /* extattr_set_file */
1730 struct extattr_set_file_args *p = params;
1731 uarg[0] = (intptr_t) p->path; /* const char * */
1732 iarg[1] = p->attrnamespace; /* int */
1733 uarg[2] = (intptr_t) p->attrname; /* const char * */
1734 uarg[3] = (intptr_t) p->data; /* void * */
1735 uarg[4] = p->nbytes; /* size_t */
1739 /* extattr_get_file */
1741 struct extattr_get_file_args *p = params;
1742 uarg[0] = (intptr_t) p->path; /* const char * */
1743 iarg[1] = p->attrnamespace; /* int */
1744 uarg[2] = (intptr_t) p->attrname; /* const char * */
1745 uarg[3] = (intptr_t) p->data; /* void * */
1746 uarg[4] = p->nbytes; /* size_t */
1750 /* extattr_delete_file */
1752 struct extattr_delete_file_args *p = params;
1753 uarg[0] = (intptr_t) p->path; /* const char * */
1754 iarg[1] = p->attrnamespace; /* int */
1755 uarg[2] = (intptr_t) p->attrname; /* const char * */
1759 /* aio_waitcomplete */
1761 struct aio_waitcomplete_args *p = params;
1762 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1763 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1769 struct getresuid_args *p = params;
1770 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1771 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1772 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1778 struct getresgid_args *p = params;
1779 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1780 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1781 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1790 /* extattr_set_fd */
1792 struct extattr_set_fd_args *p = params;
1793 iarg[0] = p->fd; /* int */
1794 iarg[1] = p->attrnamespace; /* int */
1795 uarg[2] = (intptr_t) p->attrname; /* const char * */
1796 uarg[3] = (intptr_t) p->data; /* void * */
1797 uarg[4] = p->nbytes; /* size_t */
1801 /* extattr_get_fd */
1803 struct extattr_get_fd_args *p = params;
1804 iarg[0] = p->fd; /* int */
1805 iarg[1] = p->attrnamespace; /* int */
1806 uarg[2] = (intptr_t) p->attrname; /* const char * */
1807 uarg[3] = (intptr_t) p->data; /* void * */
1808 uarg[4] = p->nbytes; /* size_t */
1812 /* extattr_delete_fd */
1814 struct extattr_delete_fd_args *p = params;
1815 iarg[0] = p->fd; /* int */
1816 iarg[1] = p->attrnamespace; /* int */
1817 uarg[2] = (intptr_t) p->attrname; /* const char * */
1823 struct __setugid_args *p = params;
1824 iarg[0] = p->flag; /* int */
1830 struct eaccess_args *p = params;
1831 uarg[0] = (intptr_t) p->path; /* char * */
1832 iarg[1] = p->amode; /* int */
1838 struct afs3_syscall_args *p = params;
1839 iarg[0] = p->syscall; /* long */
1840 iarg[1] = p->parm1; /* long */
1841 iarg[2] = p->parm2; /* long */
1842 iarg[3] = p->parm3; /* long */
1843 iarg[4] = p->parm4; /* long */
1844 iarg[5] = p->parm5; /* long */
1845 iarg[6] = p->parm6; /* long */
1851 struct nmount_args *p = params;
1852 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
1853 uarg[1] = p->iovcnt; /* unsigned int */
1854 iarg[2] = p->flags; /* int */
1858 /* __mac_get_proc */
1860 struct __mac_get_proc_args *p = params;
1861 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
1865 /* __mac_set_proc */
1867 struct __mac_set_proc_args *p = params;
1868 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
1874 struct __mac_get_fd_args *p = params;
1875 iarg[0] = p->fd; /* int */
1876 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1880 /* __mac_get_file */
1882 struct __mac_get_file_args *p = params;
1883 uarg[0] = (intptr_t) p->path_p; /* const char * */
1884 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1890 struct __mac_set_fd_args *p = params;
1891 iarg[0] = p->fd; /* int */
1892 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1896 /* __mac_set_file */
1898 struct __mac_set_file_args *p = params;
1899 uarg[0] = (intptr_t) p->path_p; /* const char * */
1900 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1906 struct kenv_args *p = params;
1907 iarg[0] = p->what; /* int */
1908 uarg[1] = (intptr_t) p->name; /* const char * */
1909 uarg[2] = (intptr_t) p->value; /* char * */
1910 iarg[3] = p->len; /* int */
1916 struct lchflags_args *p = params;
1917 uarg[0] = (intptr_t) p->path; /* const char * */
1918 uarg[1] = p->flags; /* u_long */
1924 struct uuidgen_args *p = params;
1925 uarg[0] = (intptr_t) p->store; /* struct uuid * */
1926 iarg[1] = p->count; /* int */
1932 struct sendfile_args *p = params;
1933 iarg[0] = p->fd; /* int */
1934 iarg[1] = p->s; /* int */
1935 iarg[2] = p->offset; /* off_t */
1936 uarg[3] = p->nbytes; /* size_t */
1937 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
1938 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
1939 iarg[6] = p->flags; /* int */
1945 struct mac_syscall_args *p = params;
1946 uarg[0] = (intptr_t) p->policy; /* const char * */
1947 iarg[1] = p->call; /* int */
1948 uarg[2] = (intptr_t) p->arg; /* void * */
1954 struct ksem_close_args *p = params;
1955 iarg[0] = p->id; /* semid_t */
1961 struct ksem_post_args *p = params;
1962 iarg[0] = p->id; /* semid_t */
1968 struct ksem_wait_args *p = params;
1969 iarg[0] = p->id; /* semid_t */
1975 struct ksem_trywait_args *p = params;
1976 iarg[0] = p->id; /* semid_t */
1982 struct ksem_init_args *p = params;
1983 uarg[0] = (intptr_t) p->idp; /* semid_t * */
1984 uarg[1] = p->value; /* unsigned int */
1990 struct ksem_open_args *p = params;
1991 uarg[0] = (intptr_t) p->idp; /* semid_t * */
1992 uarg[1] = (intptr_t) p->name; /* const char * */
1993 iarg[2] = p->oflag; /* int */
1994 iarg[3] = p->mode; /* mode_t */
1995 uarg[4] = p->value; /* unsigned int */
2001 struct ksem_unlink_args *p = params;
2002 uarg[0] = (intptr_t) p->name; /* const char * */
2008 struct ksem_getvalue_args *p = params;
2009 iarg[0] = p->id; /* semid_t */
2010 uarg[1] = (intptr_t) p->val; /* int * */
2016 struct ksem_destroy_args *p = params;
2017 iarg[0] = p->id; /* semid_t */
2023 struct __mac_get_pid_args *p = params;
2024 iarg[0] = p->pid; /* pid_t */
2025 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2029 /* __mac_get_link */
2031 struct __mac_get_link_args *p = params;
2032 uarg[0] = (intptr_t) p->path_p; /* const char * */
2033 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2037 /* __mac_set_link */
2039 struct __mac_set_link_args *p = params;
2040 uarg[0] = (intptr_t) p->path_p; /* const char * */
2041 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2045 /* extattr_set_link */
2047 struct extattr_set_link_args *p = params;
2048 uarg[0] = (intptr_t) p->path; /* const char * */
2049 iarg[1] = p->attrnamespace; /* int */
2050 uarg[2] = (intptr_t) p->attrname; /* const char * */
2051 uarg[3] = (intptr_t) p->data; /* void * */
2052 uarg[4] = p->nbytes; /* size_t */
2056 /* extattr_get_link */
2058 struct extattr_get_link_args *p = params;
2059 uarg[0] = (intptr_t) p->path; /* const char * */
2060 iarg[1] = p->attrnamespace; /* int */
2061 uarg[2] = (intptr_t) p->attrname; /* const char * */
2062 uarg[3] = (intptr_t) p->data; /* void * */
2063 uarg[4] = p->nbytes; /* size_t */
2067 /* extattr_delete_link */
2069 struct extattr_delete_link_args *p = params;
2070 uarg[0] = (intptr_t) p->path; /* const char * */
2071 iarg[1] = p->attrnamespace; /* int */
2072 uarg[2] = (intptr_t) p->attrname; /* const char * */
2078 struct __mac_execve_args *p = params;
2079 uarg[0] = (intptr_t) p->fname; /* char * */
2080 uarg[1] = (intptr_t) p->argv; /* char ** */
2081 uarg[2] = (intptr_t) p->envv; /* char ** */
2082 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2088 struct sigaction_args *p = params;
2089 iarg[0] = p->sig; /* int */
2090 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2091 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2097 struct sigreturn_args *p = params;
2098 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2104 struct getcontext_args *p = params;
2105 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2111 struct setcontext_args *p = params;
2112 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2118 struct swapcontext_args *p = params;
2119 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2120 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2126 struct swapoff_args *p = params;
2127 uarg[0] = (intptr_t) p->name; /* const char * */
2131 /* __acl_get_link */
2133 struct __acl_get_link_args *p = params;
2134 uarg[0] = (intptr_t) p->path; /* const char * */
2135 iarg[1] = p->type; /* acl_type_t */
2136 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2140 /* __acl_set_link */
2142 struct __acl_set_link_args *p = params;
2143 uarg[0] = (intptr_t) p->path; /* const char * */
2144 iarg[1] = p->type; /* acl_type_t */
2145 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2149 /* __acl_delete_link */
2151 struct __acl_delete_link_args *p = params;
2152 uarg[0] = (intptr_t) p->path; /* const char * */
2153 iarg[1] = p->type; /* acl_type_t */
2157 /* __acl_aclcheck_link */
2159 struct __acl_aclcheck_link_args *p = params;
2160 uarg[0] = (intptr_t) p->path; /* const char * */
2161 iarg[1] = p->type; /* acl_type_t */
2162 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2168 struct sigwait_args *p = params;
2169 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2170 uarg[1] = (intptr_t) p->sig; /* int * */
2176 struct thr_create_args *p = params;
2177 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2178 uarg[1] = (intptr_t) p->id; /* long * */
2179 iarg[2] = p->flags; /* int */
2185 struct thr_exit_args *p = params;
2186 uarg[0] = (intptr_t) p->state; /* long * */
2192 struct thr_self_args *p = params;
2193 uarg[0] = (intptr_t) p->id; /* long * */
2199 struct thr_kill_args *p = params;
2200 iarg[0] = p->id; /* long */
2201 iarg[1] = p->sig; /* int */
2207 struct jail_attach_args *p = params;
2208 iarg[0] = p->jid; /* int */
2212 /* extattr_list_fd */
2214 struct extattr_list_fd_args *p = params;
2215 iarg[0] = p->fd; /* int */
2216 iarg[1] = p->attrnamespace; /* int */
2217 uarg[2] = (intptr_t) p->data; /* void * */
2218 uarg[3] = p->nbytes; /* size_t */
2222 /* extattr_list_file */
2224 struct extattr_list_file_args *p = params;
2225 uarg[0] = (intptr_t) p->path; /* const char * */
2226 iarg[1] = p->attrnamespace; /* int */
2227 uarg[2] = (intptr_t) p->data; /* void * */
2228 uarg[3] = p->nbytes; /* size_t */
2232 /* extattr_list_link */
2234 struct extattr_list_link_args *p = params;
2235 uarg[0] = (intptr_t) p->path; /* const char * */
2236 iarg[1] = p->attrnamespace; /* int */
2237 uarg[2] = (intptr_t) p->data; /* void * */
2238 uarg[3] = p->nbytes; /* size_t */
2242 /* ksem_timedwait */
2244 struct ksem_timedwait_args *p = params;
2245 iarg[0] = p->id; /* semid_t */
2246 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2252 struct thr_suspend_args *p = params;
2253 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2259 struct thr_wake_args *p = params;
2260 iarg[0] = p->id; /* long */
2266 struct kldunloadf_args *p = params;
2267 iarg[0] = p->fileid; /* int */
2268 iarg[1] = p->flags; /* int */
2274 struct audit_args *p = params;
2275 uarg[0] = (intptr_t) p->record; /* const void * */
2276 uarg[1] = p->length; /* u_int */
2282 struct auditon_args *p = params;
2283 iarg[0] = p->cmd; /* int */
2284 uarg[1] = (intptr_t) p->data; /* void * */
2285 uarg[2] = p->length; /* u_int */
2291 struct getauid_args *p = params;
2292 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2298 struct setauid_args *p = params;
2299 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2305 struct getaudit_args *p = params;
2306 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2312 struct setaudit_args *p = params;
2313 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2319 struct getaudit_addr_args *p = params;
2320 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2321 uarg[1] = p->length; /* u_int */
2327 struct setaudit_addr_args *p = params;
2328 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2329 uarg[1] = p->length; /* u_int */
2335 struct auditctl_args *p = params;
2336 uarg[0] = (intptr_t) p->path; /* char * */
2342 struct _umtx_op_args *p = params;
2343 uarg[0] = (intptr_t) p->obj; /* void * */
2344 iarg[1] = p->op; /* int */
2345 uarg[2] = p->val; /* u_long */
2346 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2347 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2353 struct thr_new_args *p = params;
2354 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2355 iarg[1] = p->param_size; /* int */
2361 struct sigqueue_args *p = params;
2362 iarg[0] = p->pid; /* pid_t */
2363 iarg[1] = p->signum; /* int */
2364 uarg[2] = (intptr_t) p->value; /* void * */
2370 struct kmq_open_args *p = params;
2371 uarg[0] = (intptr_t) p->path; /* const char * */
2372 iarg[1] = p->flags; /* int */
2373 iarg[2] = p->mode; /* mode_t */
2374 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2380 struct kmq_setattr_args *p = params;
2381 iarg[0] = p->mqd; /* int */
2382 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2383 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2387 /* kmq_timedreceive */
2389 struct kmq_timedreceive_args *p = params;
2390 iarg[0] = p->mqd; /* int */
2391 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2392 uarg[2] = p->msg_len; /* size_t */
2393 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2394 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2400 struct kmq_timedsend_args *p = params;
2401 iarg[0] = p->mqd; /* int */
2402 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2403 uarg[2] = p->msg_len; /* size_t */
2404 uarg[3] = p->msg_prio; /* unsigned */
2405 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2411 struct kmq_notify_args *p = params;
2412 iarg[0] = p->mqd; /* int */
2413 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2419 struct kmq_unlink_args *p = params;
2420 uarg[0] = (intptr_t) p->path; /* const char * */
2426 struct abort2_args *p = params;
2427 uarg[0] = (intptr_t) p->why; /* const char * */
2428 iarg[1] = p->nargs; /* int */
2429 uarg[2] = (intptr_t) p->args; /* void ** */
2435 struct thr_set_name_args *p = params;
2436 iarg[0] = p->id; /* long */
2437 uarg[1] = (intptr_t) p->name; /* const char * */
2443 struct aio_fsync_args *p = params;
2444 iarg[0] = p->op; /* int */
2445 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2451 struct rtprio_thread_args *p = params;
2452 iarg[0] = p->function; /* int */
2453 iarg[1] = p->lwpid; /* lwpid_t */
2454 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2460 struct sctp_peeloff_args *p = params;
2461 iarg[0] = p->sd; /* int */
2462 uarg[1] = p->name; /* uint32_t */
2466 /* sctp_generic_sendmsg */
2468 struct sctp_generic_sendmsg_args *p = params;
2469 iarg[0] = p->sd; /* int */
2470 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2471 iarg[2] = p->mlen; /* int */
2472 uarg[3] = (intptr_t) p->to; /* caddr_t */
2473 iarg[4] = p->tolen; /* __socklen_t */
2474 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2475 iarg[6] = p->flags; /* int */
2479 /* sctp_generic_sendmsg_iov */
2481 struct sctp_generic_sendmsg_iov_args *p = params;
2482 iarg[0] = p->sd; /* int */
2483 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2484 iarg[2] = p->iovlen; /* int */
2485 uarg[3] = (intptr_t) p->to; /* caddr_t */
2486 iarg[4] = p->tolen; /* __socklen_t */
2487 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2488 iarg[6] = p->flags; /* int */
2492 /* sctp_generic_recvmsg */
2494 struct sctp_generic_recvmsg_args *p = params;
2495 iarg[0] = p->sd; /* int */
2496 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2497 iarg[2] = p->iovlen; /* int */
2498 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2499 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2500 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2501 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2507 struct pread_args *p = params;
2508 iarg[0] = p->fd; /* int */
2509 uarg[1] = (intptr_t) p->buf; /* void * */
2510 uarg[2] = p->nbyte; /* size_t */
2511 iarg[3] = p->offset; /* off_t */
2517 struct pwrite_args *p = params;
2518 iarg[0] = p->fd; /* int */
2519 uarg[1] = (intptr_t) p->buf; /* const void * */
2520 uarg[2] = p->nbyte; /* size_t */
2521 iarg[3] = p->offset; /* off_t */
2527 struct mmap_args *p = params;
2528 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2529 uarg[1] = p->len; /* size_t */
2530 iarg[2] = p->prot; /* int */
2531 iarg[3] = p->flags; /* int */
2532 iarg[4] = p->fd; /* int */
2533 iarg[5] = p->pos; /* off_t */
2539 struct lseek_args *p = params;
2540 iarg[0] = p->fd; /* int */
2541 iarg[1] = p->offset; /* off_t */
2542 iarg[2] = p->whence; /* int */
2548 struct truncate_args *p = params;
2549 uarg[0] = (intptr_t) p->path; /* char * */
2550 iarg[1] = p->length; /* off_t */
2556 struct ftruncate_args *p = params;
2557 iarg[0] = p->fd; /* int */
2558 iarg[1] = p->length; /* off_t */
2564 struct thr_kill2_args *p = params;
2565 iarg[0] = p->pid; /* pid_t */
2566 iarg[1] = p->id; /* long */
2567 iarg[2] = p->sig; /* int */
2573 struct shm_open_args *p = params;
2574 uarg[0] = (intptr_t) p->path; /* const char * */
2575 iarg[1] = p->flags; /* int */
2576 iarg[2] = p->mode; /* mode_t */
2582 struct shm_unlink_args *p = params;
2583 uarg[0] = (intptr_t) p->path; /* const char * */
2589 struct cpuset_args *p = params;
2590 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2596 struct cpuset_setid_args *p = params;
2597 iarg[0] = p->which; /* cpuwhich_t */
2598 iarg[1] = p->id; /* id_t */
2599 iarg[2] = p->setid; /* cpusetid_t */
2605 struct cpuset_getid_args *p = params;
2606 iarg[0] = p->level; /* cpulevel_t */
2607 iarg[1] = p->which; /* cpuwhich_t */
2608 iarg[2] = p->id; /* id_t */
2609 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2613 /* cpuset_getaffinity */
2615 struct cpuset_getaffinity_args *p = params;
2616 iarg[0] = p->level; /* cpulevel_t */
2617 iarg[1] = p->which; /* cpuwhich_t */
2618 iarg[2] = p->id; /* id_t */
2619 uarg[3] = p->cpusetsize; /* size_t */
2620 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2624 /* cpuset_setaffinity */
2626 struct cpuset_setaffinity_args *p = params;
2627 iarg[0] = p->level; /* cpulevel_t */
2628 iarg[1] = p->which; /* cpuwhich_t */
2629 iarg[2] = p->id; /* id_t */
2630 uarg[3] = p->cpusetsize; /* size_t */
2631 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2637 struct faccessat_args *p = params;
2638 iarg[0] = p->fd; /* int */
2639 uarg[1] = (intptr_t) p->path; /* char * */
2640 iarg[2] = p->amode; /* int */
2641 iarg[3] = p->flag; /* int */
2647 struct fchmodat_args *p = params;
2648 iarg[0] = p->fd; /* int */
2649 uarg[1] = (intptr_t) p->path; /* char * */
2650 iarg[2] = p->mode; /* mode_t */
2651 iarg[3] = p->flag; /* int */
2657 struct fchownat_args *p = params;
2658 iarg[0] = p->fd; /* int */
2659 uarg[1] = (intptr_t) p->path; /* char * */
2660 uarg[2] = p->uid; /* uid_t */
2661 iarg[3] = p->gid; /* gid_t */
2662 iarg[4] = p->flag; /* int */
2668 struct fexecve_args *p = params;
2669 iarg[0] = p->fd; /* int */
2670 uarg[1] = (intptr_t) p->argv; /* char ** */
2671 uarg[2] = (intptr_t) p->envv; /* char ** */
2677 struct futimesat_args *p = params;
2678 iarg[0] = p->fd; /* int */
2679 uarg[1] = (intptr_t) p->path; /* char * */
2680 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2686 struct linkat_args *p = params;
2687 iarg[0] = p->fd1; /* int */
2688 uarg[1] = (intptr_t) p->path1; /* char * */
2689 iarg[2] = p->fd2; /* int */
2690 uarg[3] = (intptr_t) p->path2; /* char * */
2691 iarg[4] = p->flag; /* int */
2697 struct mkdirat_args *p = params;
2698 iarg[0] = p->fd; /* int */
2699 uarg[1] = (intptr_t) p->path; /* char * */
2700 iarg[2] = p->mode; /* mode_t */
2706 struct mkfifoat_args *p = params;
2707 iarg[0] = p->fd; /* int */
2708 uarg[1] = (intptr_t) p->path; /* char * */
2709 iarg[2] = p->mode; /* mode_t */
2715 struct openat_args *p = params;
2716 iarg[0] = p->fd; /* int */
2717 uarg[1] = (intptr_t) p->path; /* char * */
2718 iarg[2] = p->flag; /* int */
2719 iarg[3] = p->mode; /* mode_t */
2725 struct readlinkat_args *p = params;
2726 iarg[0] = p->fd; /* int */
2727 uarg[1] = (intptr_t) p->path; /* char * */
2728 uarg[2] = (intptr_t) p->buf; /* char * */
2729 uarg[3] = p->bufsize; /* size_t */
2735 struct renameat_args *p = params;
2736 iarg[0] = p->oldfd; /* int */
2737 uarg[1] = (intptr_t) p->old; /* char * */
2738 iarg[2] = p->newfd; /* int */
2739 uarg[3] = (intptr_t) p->new; /* char * */
2745 struct symlinkat_args *p = params;
2746 uarg[0] = (intptr_t) p->path1; /* char * */
2747 iarg[1] = p->fd; /* int */
2748 uarg[2] = (intptr_t) p->path2; /* char * */
2754 struct unlinkat_args *p = params;
2755 iarg[0] = p->fd; /* int */
2756 uarg[1] = (intptr_t) p->path; /* char * */
2757 iarg[2] = p->flag; /* int */
2763 struct posix_openpt_args *p = params;
2764 iarg[0] = p->flags; /* int */
2770 struct gssd_syscall_args *p = params;
2771 uarg[0] = (intptr_t) p->path; /* char * */
2777 struct jail_get_args *p = params;
2778 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2779 uarg[1] = p->iovcnt; /* unsigned int */
2780 iarg[2] = p->flags; /* int */
2786 struct jail_set_args *p = params;
2787 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2788 uarg[1] = p->iovcnt; /* unsigned int */
2789 iarg[2] = p->flags; /* int */
2795 struct jail_remove_args *p = params;
2796 iarg[0] = p->jid; /* int */
2802 struct closefrom_args *p = params;
2803 iarg[0] = p->lowfd; /* int */
2809 struct __semctl_args *p = params;
2810 iarg[0] = p->semid; /* int */
2811 iarg[1] = p->semnum; /* int */
2812 iarg[2] = p->cmd; /* int */
2813 uarg[3] = (intptr_t) p->arg; /* union semun * */
2819 struct msgctl_args *p = params;
2820 iarg[0] = p->msqid; /* int */
2821 iarg[1] = p->cmd; /* int */
2822 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
2828 struct shmctl_args *p = params;
2829 iarg[0] = p->shmid; /* int */
2830 iarg[1] = p->cmd; /* int */
2831 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
2837 struct lpathconf_args *p = params;
2838 uarg[0] = (intptr_t) p->path; /* char * */
2839 iarg[1] = p->name; /* int */
2843 /* __cap_rights_get */
2845 struct __cap_rights_get_args *p = params;
2846 iarg[0] = p->version; /* int */
2847 iarg[1] = p->fd; /* int */
2848 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */
2859 struct cap_getmode_args *p = params;
2860 uarg[0] = (intptr_t) p->modep; /* u_int * */
2866 struct pdfork_args *p = params;
2867 uarg[0] = (intptr_t) p->fdp; /* int * */
2868 iarg[1] = p->flags; /* int */
2874 struct pdkill_args *p = params;
2875 iarg[0] = p->fd; /* int */
2876 iarg[1] = p->signum; /* int */
2882 struct pdgetpid_args *p = params;
2883 iarg[0] = p->fd; /* int */
2884 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
2890 struct pselect_args *p = params;
2891 iarg[0] = p->nd; /* int */
2892 uarg[1] = (intptr_t) p->in; /* fd_set * */
2893 uarg[2] = (intptr_t) p->ou; /* fd_set * */
2894 uarg[3] = (intptr_t) p->ex; /* fd_set * */
2895 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
2896 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
2902 struct getloginclass_args *p = params;
2903 uarg[0] = (intptr_t) p->namebuf; /* char * */
2904 uarg[1] = p->namelen; /* size_t */
2910 struct setloginclass_args *p = params;
2911 uarg[0] = (intptr_t) p->namebuf; /* const char * */
2915 /* rctl_get_racct */
2917 struct rctl_get_racct_args *p = params;
2918 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2919 uarg[1] = p->inbuflen; /* size_t */
2920 uarg[2] = (intptr_t) p->outbufp; /* void * */
2921 uarg[3] = p->outbuflen; /* size_t */
2925 /* rctl_get_rules */
2927 struct rctl_get_rules_args *p = params;
2928 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2929 uarg[1] = p->inbuflen; /* size_t */
2930 uarg[2] = (intptr_t) p->outbufp; /* void * */
2931 uarg[3] = p->outbuflen; /* size_t */
2935 /* rctl_get_limits */
2937 struct rctl_get_limits_args *p = params;
2938 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2939 uarg[1] = p->inbuflen; /* size_t */
2940 uarg[2] = (intptr_t) p->outbufp; /* void * */
2941 uarg[3] = p->outbuflen; /* size_t */
2947 struct rctl_add_rule_args *p = params;
2948 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2949 uarg[1] = p->inbuflen; /* size_t */
2950 uarg[2] = (intptr_t) p->outbufp; /* void * */
2951 uarg[3] = p->outbuflen; /* size_t */
2955 /* rctl_remove_rule */
2957 struct rctl_remove_rule_args *p = params;
2958 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2959 uarg[1] = p->inbuflen; /* size_t */
2960 uarg[2] = (intptr_t) p->outbufp; /* void * */
2961 uarg[3] = p->outbuflen; /* size_t */
2965 /* posix_fallocate */
2967 struct posix_fallocate_args *p = params;
2968 iarg[0] = p->fd; /* int */
2969 iarg[1] = p->offset; /* off_t */
2970 iarg[2] = p->len; /* off_t */
2976 struct posix_fadvise_args *p = params;
2977 iarg[0] = p->fd; /* int */
2978 iarg[1] = p->offset; /* off_t */
2979 iarg[2] = p->len; /* off_t */
2980 iarg[3] = p->advice; /* int */
2986 struct wait6_args *p = params;
2987 iarg[0] = p->idtype; /* idtype_t */
2988 iarg[1] = p->id; /* id_t */
2989 uarg[2] = (intptr_t) p->status; /* int * */
2990 iarg[3] = p->options; /* int */
2991 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */
2992 uarg[5] = (intptr_t) p->info; /* siginfo_t * */
2996 /* cap_rights_limit */
2998 struct cap_rights_limit_args *p = params;
2999 iarg[0] = p->fd; /* int */
3000 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */
3004 /* cap_ioctls_limit */
3006 struct cap_ioctls_limit_args *p = params;
3007 iarg[0] = p->fd; /* int */
3008 uarg[1] = (intptr_t) p->cmds; /* const u_long * */
3009 uarg[2] = p->ncmds; /* size_t */
3013 /* cap_ioctls_get */
3015 struct cap_ioctls_get_args *p = params;
3016 iarg[0] = p->fd; /* int */
3017 uarg[1] = (intptr_t) p->cmds; /* u_long * */
3018 uarg[2] = p->maxcmds; /* size_t */
3022 /* cap_fcntls_limit */
3024 struct cap_fcntls_limit_args *p = params;
3025 iarg[0] = p->fd; /* int */
3026 uarg[1] = p->fcntlrights; /* uint32_t */
3030 /* cap_fcntls_get */
3032 struct cap_fcntls_get_args *p = params;
3033 iarg[0] = p->fd; /* int */
3034 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
3040 struct bindat_args *p = params;
3041 iarg[0] = p->fd; /* int */
3042 iarg[1] = p->s; /* int */
3043 uarg[2] = (intptr_t) p->name; /* caddr_t */
3044 iarg[3] = p->namelen; /* int */
3050 struct connectat_args *p = params;
3051 iarg[0] = p->fd; /* int */
3052 iarg[1] = p->s; /* int */
3053 uarg[2] = (intptr_t) p->name; /* caddr_t */
3054 iarg[3] = p->namelen; /* int */
3060 struct chflagsat_args *p = params;
3061 iarg[0] = p->fd; /* int */
3062 uarg[1] = (intptr_t) p->path; /* const char * */
3063 uarg[2] = p->flags; /* u_long */
3064 iarg[3] = p->atflag; /* int */
3070 struct accept4_args *p = params;
3071 iarg[0] = p->s; /* int */
3072 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
3073 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
3074 iarg[3] = p->flags; /* int */
3080 struct pipe2_args *p = params;
3081 uarg[0] = (intptr_t) p->fildes; /* int * */
3082 iarg[1] = p->flags; /* int */
3088 struct aio_mlock_args *p = params;
3089 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3095 struct procctl_args *p = params;
3096 iarg[0] = p->idtype; /* idtype_t */
3097 iarg[1] = p->id; /* id_t */
3098 iarg[2] = p->com; /* int */
3099 uarg[3] = (intptr_t) p->data; /* void * */
3105 struct ppoll_args *p = params;
3106 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
3107 uarg[1] = p->nfds; /* u_int */
3108 uarg[2] = (intptr_t) p->ts; /* const struct timespec * */
3109 uarg[3] = (intptr_t) p->set; /* const sigset_t * */
3115 struct futimens_args *p = params;
3116 iarg[0] = p->fd; /* int */
3117 uarg[1] = (intptr_t) p->times; /* struct timespec * */
3123 struct utimensat_args *p = params;
3124 iarg[0] = p->fd; /* int */
3125 uarg[1] = (intptr_t) p->path; /* char * */
3126 uarg[2] = (intptr_t) p->times; /* struct timespec * */
3127 iarg[3] = p->flag; /* int */
3133 struct fdatasync_args *p = params;
3134 iarg[0] = p->fd; /* int */
3140 struct fstat_args *p = params;
3141 iarg[0] = p->fd; /* int */
3142 uarg[1] = (intptr_t) p->sb; /* struct stat * */
3148 struct fstatat_args *p = params;
3149 iarg[0] = p->fd; /* int */
3150 uarg[1] = (intptr_t) p->path; /* char * */
3151 uarg[2] = (intptr_t) p->buf; /* struct stat * */
3152 iarg[3] = p->flag; /* int */
3158 struct fhstat_args *p = params;
3159 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
3160 uarg[1] = (intptr_t) p->sb; /* struct stat * */
3166 struct getdirentries_args *p = params;
3167 iarg[0] = p->fd; /* int */
3168 uarg[1] = (intptr_t) p->buf; /* char * */
3169 uarg[2] = p->count; /* size_t */
3170 uarg[3] = (intptr_t) p->basep; /* off_t * */
3176 struct statfs_args *p = params;
3177 uarg[0] = (intptr_t) p->path; /* char * */
3178 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3184 struct fstatfs_args *p = params;
3185 iarg[0] = p->fd; /* int */
3186 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3192 struct getfsstat_args *p = params;
3193 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
3194 iarg[1] = p->bufsize; /* long */
3195 iarg[2] = p->mode; /* int */
3201 struct fhstatfs_args *p = params;
3202 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
3203 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3209 struct mknodat_args *p = params;
3210 iarg[0] = p->fd; /* int */
3211 uarg[1] = (intptr_t) p->path; /* char * */
3212 iarg[2] = p->mode; /* mode_t */
3213 iarg[3] = p->dev; /* dev_t */
3219 struct kevent_args *p = params;
3220 iarg[0] = p->fd; /* int */
3221 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
3222 iarg[2] = p->nchanges; /* int */
3223 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
3224 iarg[4] = p->nevents; /* int */
3225 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
3229 /* cpuset_getdomain */
3231 struct cpuset_getdomain_args *p = params;
3232 iarg[0] = p->level; /* cpulevel_t */
3233 iarg[1] = p->which; /* cpuwhich_t */
3234 iarg[2] = p->id; /* id_t */
3235 uarg[3] = p->domainsetsize; /* size_t */
3236 uarg[4] = (intptr_t) p->mask; /* domainset_t * */
3237 uarg[5] = (intptr_t) p->policy; /* int * */
3241 /* cpuset_setdomain */
3243 struct cpuset_setdomain_args *p = params;
3244 iarg[0] = p->level; /* cpulevel_t */
3245 iarg[1] = p->which; /* cpuwhich_t */
3246 iarg[2] = p->id; /* id_t */
3247 uarg[3] = p->domainsetsize; /* size_t */
3248 uarg[4] = (intptr_t) p->mask; /* domainset_t * */
3249 iarg[5] = p->policy; /* int */
3255 struct getrandom_args *p = params;
3256 uarg[0] = (intptr_t) p->buf; /* void * */
3257 uarg[1] = p->buflen; /* size_t */
3258 uarg[2] = p->flags; /* unsigned int */
3268 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3270 const char *p = NULL;
3295 p = "userland void *";
3311 p = "userland const void *";
3324 p = "userland char *";
3353 p = "userland int *";
3359 p = "userland struct rusage *";
3369 p = "userland char *";
3372 p = "userland char *";
3382 p = "userland char *";
3392 p = "userland char *";
3412 p = "userland char *";
3425 p = "userland char *";
3441 p = "userland char *";
3454 p = "userland char *";
3457 p = "userland char *";
3473 p = "userland char *";
3524 p = "userland struct msghdr *";
3540 p = "userland struct msghdr *";
3565 p = "userland struct sockaddr *";
3568 p = "userland __socklen_t *";
3581 p = "userland struct sockaddr *";
3584 p = "userland __socklen_t *";
3597 p = "userland struct sockaddr *";
3600 p = "userland __socklen_t *";
3613 p = "userland struct sockaddr *";
3616 p = "userland __socklen_t *";
3626 p = "userland char *";
3639 p = "userland const char *";
3716 p = "userland const char *";
3738 p = "userland char *";
3751 p = "userland char *";
3761 p = "userland char *";
3771 p = "userland stack_t *";
3774 p = "userland stack_t *";
3810 p = "userland char *";
3820 p = "userland char *";
3823 p = "userland char *";
3833 p = "userland char *";
3836 p = "userland char *";
3849 p = "userland char *";
3852 p = "userland char **";
3855 p = "userland char **";
3875 p = "userland char *";
3885 p = "userland void *";
3924 p = "userland void *";
3937 p = "userland void *";
3953 p = "userland void *";
3969 p = "userland const void *";
3975 p = "userland char *";
3988 p = "userland gid_t *";
4001 p = "userland gid_t *";
4030 p = "userland struct itimerval *";
4033 p = "userland struct itimerval *";
4043 p = "userland char *";
4056 p = "userland struct itimerval *";
4101 p = "userland fd_set *";
4104 p = "userland fd_set *";
4107 p = "userland fd_set *";
4110 p = "userland struct timeval *";
4242 p = "userland struct timeval *";
4245 p = "userland struct timezone *";
4258 p = "userland struct rusage *";
4280 p = "userland int *";
4293 p = "userland struct iovec *";
4309 p = "userland struct iovec *";
4322 p = "userland struct timeval *";
4325 p = "userland struct timezone *";
4390 p = "userland char *";
4393 p = "userland char *";
4416 p = "userland char *";
4476 p = "userland int *";
4486 p = "userland char *";
4499 p = "userland char *";
4509 p = "userland char *";
4512 p = "userland struct timeval *";
4522 p = "userland struct timeval *";
4525 p = "userland struct timeval *";
4538 p = "userland char *";
4566 p = "userland char **";
4589 p = "userland char *";
4592 p = "userland struct fhandle *";
4602 p = "userland char *";
4605 p = "userland struct fhandle *";
4618 p = "userland char *";
4634 p = "userland struct rtprio *";
4720 p = "userland struct timex *";
4760 p = "userland char *";
4789 p = "userland struct rlimit *";
4802 p = "userland struct rlimit *";
4815 p = "userland int *";
4821 p = "userland void *";
4824 p = "userland size_t *";
4827 p = "userland void *";
4840 p = "userland const void *";
4853 p = "userland const void *";
4866 p = "userland char *";
4879 p = "userland struct timeval *";
4899 p = "userland struct pollfd *";
4964 p = "userland struct sembuf *";
4993 p = "userland const void *";
5012 p = "userland void *";
5034 p = "userland const void *";
5047 p = "userland const void *";
5076 p = "userland struct timespec *";
5089 p = "userland const struct timespec *";
5102 p = "userland struct timespec *";
5115 p = "userland struct sigevent *";
5118 p = "userland int *";
5134 /* ktimer_settime */
5144 p = "userland const struct itimerspec *";
5147 p = "userland struct itimerspec *";
5153 /* ktimer_gettime */
5160 p = "userland struct itimerspec *";
5166 /* ktimer_getoverrun */
5180 p = "userland const struct timespec *";
5183 p = "userland struct timespec *";
5189 /* ffclock_getcounter */
5193 p = "userland ffcounter *";
5199 /* ffclock_setestimate */
5203 p = "userland struct ffclock_estimate *";
5209 /* ffclock_getestimate */
5213 p = "userland struct ffclock_estimate *";
5219 /* clock_nanosleep */
5229 p = "userland const struct timespec *";
5232 p = "userland struct timespec *";
5238 /* clock_getcpuclockid2 */
5248 p = "userland clockid_t *";
5258 p = "userland struct ntptimeval *";
5268 p = "userland void *";
5297 p = "userland char *";
5313 p = "userland struct aiocb *";
5323 p = "userland struct aiocb *";
5336 p = "userland struct aiocb *const *";
5342 p = "userland struct sigevent *";
5352 p = "userland char *";
5365 p = "userland char *";
5368 p = "userland struct timeval *";
5381 p = "userland struct iovec *";
5400 p = "userland struct iovec *";
5416 p = "userland const struct fhandle *";
5442 p = "userland struct module_stat *";
5462 p = "userland const char *";
5472 p = "userland const char *";
5492 p = "userland const char *";
5515 p = "userland struct kld_file_stat *";
5577 p = "userland struct aiocb *";
5587 p = "userland struct aiocb *const *";
5593 p = "userland const struct timespec *";
5606 p = "userland struct aiocb *";
5616 p = "userland struct aiocb *";
5642 p = "userland char *";
5651 /* sched_setparam */
5658 p = "userland const struct sched_param *";
5664 /* sched_getparam */
5671 p = "userland struct sched_param *";
5677 /* sched_setscheduler */
5687 p = "userland const struct sched_param *";
5693 /* sched_getscheduler */
5706 /* sched_get_priority_max */
5716 /* sched_get_priority_min */
5726 /* sched_rr_get_interval */
5733 p = "userland struct timespec *";
5743 p = "userland const void *";
5762 p = "userland void *";
5775 p = "userland char *";
5781 p = "userland void *";
5797 p = "userland const sigset_t *";
5800 p = "userland sigset_t *";
5810 p = "userland const sigset_t *";
5820 p = "userland sigset_t *";
5830 p = "userland const sigset_t *";
5833 p = "userland siginfo_t *";
5836 p = "userland const struct timespec *";
5846 p = "userland const sigset_t *";
5849 p = "userland siginfo_t *";
5855 /* __acl_get_file */
5859 p = "userland const char *";
5865 p = "userland struct acl *";
5871 /* __acl_set_file */
5875 p = "userland const char *";
5881 p = "userland struct acl *";
5897 p = "userland struct acl *";
5913 p = "userland struct acl *";
5919 /* __acl_delete_file */
5923 p = "userland const char *";
5932 /* __acl_delete_fd */
5945 /* __acl_aclcheck_file */
5949 p = "userland const char *";
5955 p = "userland struct acl *";
5961 /* __acl_aclcheck_fd */
5971 p = "userland struct acl *";
5981 p = "userland const char *";
5987 p = "userland const char *";
5993 p = "userland const char *";
5999 /* extattr_set_file */
6003 p = "userland const char *";
6009 p = "userland const char *";
6012 p = "userland void *";
6021 /* extattr_get_file */
6025 p = "userland const char *";
6031 p = "userland const char *";
6034 p = "userland void *";
6043 /* extattr_delete_file */
6047 p = "userland const char *";
6053 p = "userland const char *";
6059 /* aio_waitcomplete */
6063 p = "userland struct aiocb **";
6066 p = "userland struct timespec *";
6076 p = "userland uid_t *";
6079 p = "userland uid_t *";
6082 p = "userland uid_t *";
6092 p = "userland gid_t *";
6095 p = "userland gid_t *";
6098 p = "userland gid_t *";
6107 /* extattr_set_fd */
6117 p = "userland const char *";
6120 p = "userland void *";
6129 /* extattr_get_fd */
6139 p = "userland const char *";
6142 p = "userland void *";
6151 /* extattr_delete_fd */
6161 p = "userland const char *";
6181 p = "userland char *";
6222 p = "userland struct iovec *";
6234 /* __mac_get_proc */
6238 p = "userland struct mac *";
6244 /* __mac_set_proc */
6248 p = "userland struct mac *";
6261 p = "userland struct mac *";
6267 /* __mac_get_file */
6271 p = "userland const char *";
6274 p = "userland struct mac *";
6287 p = "userland struct mac *";
6293 /* __mac_set_file */
6297 p = "userland const char *";
6300 p = "userland struct mac *";
6313 p = "userland const char *";
6316 p = "userland char *";
6329 p = "userland const char *";
6342 p = "userland struct uuid *";
6367 p = "userland struct sf_hdtr *";
6370 p = "userland off_t *";
6383 p = "userland const char *";
6389 p = "userland void *";
6439 p = "userland semid_t *";
6452 p = "userland semid_t *";
6455 p = "userland const char *";
6474 p = "userland const char *";
6487 p = "userland int *";
6510 p = "userland struct mac *";
6516 /* __mac_get_link */
6520 p = "userland const char *";
6523 p = "userland struct mac *";
6529 /* __mac_set_link */
6533 p = "userland const char *";
6536 p = "userland struct mac *";
6542 /* extattr_set_link */
6546 p = "userland const char *";
6552 p = "userland const char *";
6555 p = "userland void *";
6564 /* extattr_get_link */
6568 p = "userland const char *";
6574 p = "userland const char *";
6577 p = "userland void *";
6586 /* extattr_delete_link */
6590 p = "userland const char *";
6596 p = "userland const char *";
6606 p = "userland char *";
6609 p = "userland char **";
6612 p = "userland char **";
6615 p = "userland struct mac *";
6628 p = "userland const struct sigaction *";
6631 p = "userland struct sigaction *";
6641 p = "userland const struct __ucontext *";
6651 p = "userland struct __ucontext *";
6661 p = "userland const struct __ucontext *";
6671 p = "userland struct __ucontext *";
6674 p = "userland const struct __ucontext *";
6684 p = "userland const char *";
6690 /* __acl_get_link */
6694 p = "userland const char *";
6700 p = "userland struct acl *";
6706 /* __acl_set_link */
6710 p = "userland const char *";
6716 p = "userland struct acl *";
6722 /* __acl_delete_link */
6726 p = "userland const char *";
6735 /* __acl_aclcheck_link */
6739 p = "userland const char *";
6745 p = "userland struct acl *";
6755 p = "userland const sigset_t *";
6758 p = "userland int *";
6768 p = "userland ucontext_t *";
6771 p = "userland long *";
6784 p = "userland long *";
6794 p = "userland long *";
6823 /* extattr_list_fd */
6833 p = "userland void *";
6842 /* extattr_list_file */
6846 p = "userland const char *";
6852 p = "userland void *";
6861 /* extattr_list_link */
6865 p = "userland const char *";
6871 p = "userland void *";
6880 /* ksem_timedwait */
6887 p = "userland const struct timespec *";
6897 p = "userland const struct timespec *";
6930 p = "userland const void *";
6946 p = "userland void *";
6959 p = "userland uid_t *";
6969 p = "userland uid_t *";
6979 p = "userland struct auditinfo *";
6989 p = "userland struct auditinfo *";
6999 p = "userland struct auditinfo_addr *";
7012 p = "userland struct auditinfo_addr *";
7025 p = "userland char *";
7035 p = "userland void *";
7044 p = "userland void *";
7047 p = "userland void *";
7057 p = "userland struct thr_param *";
7076 p = "userland void *";
7086 p = "userland const char *";
7095 p = "userland const struct mq_attr *";
7108 p = "userland const struct mq_attr *";
7111 p = "userland struct mq_attr *";
7117 /* kmq_timedreceive */
7124 p = "userland char *";
7130 p = "userland unsigned *";
7133 p = "userland const struct timespec *";
7146 p = "userland const char *";
7155 p = "userland const struct timespec *";
7168 p = "userland const struct sigevent *";
7178 p = "userland const char *";
7188 p = "userland const char *";
7194 p = "userland void **";
7207 p = "userland const char *";
7220 p = "userland struct aiocb *";
7236 p = "userland struct rtprio *";
7255 /* sctp_generic_sendmsg */
7274 p = "userland struct sctp_sndrcvinfo *";
7283 /* sctp_generic_sendmsg_iov */
7290 p = "userland struct iovec *";
7302 p = "userland struct sctp_sndrcvinfo *";
7311 /* sctp_generic_recvmsg */
7318 p = "userland struct iovec *";
7324 p = "userland struct sockaddr *";
7327 p = "userland __socklen_t *";
7330 p = "userland struct sctp_sndrcvinfo *";
7333 p = "userland int *";
7346 p = "userland void *";
7365 p = "userland const void *";
7422 p = "userland char *";
7464 p = "userland const char *";
7480 p = "userland const char *";
7490 p = "userland cpusetid_t *";
7525 p = "userland cpusetid_t *";
7531 /* cpuset_getaffinity */
7547 p = "userland cpuset_t *";
7553 /* cpuset_setaffinity */
7569 p = "userland const cpuset_t *";
7582 p = "userland char *";
7601 p = "userland char *";
7620 p = "userland char *";
7642 p = "userland char **";
7645 p = "userland char **";
7658 p = "userland char *";
7661 p = "userland struct timeval *";
7674 p = "userland char *";
7680 p = "userland char *";
7696 p = "userland char *";
7712 p = "userland char *";
7728 p = "userland char *";
7747 p = "userland char *";
7750 p = "userland char *";
7766 p = "userland char *";
7772 p = "userland char *";
7782 p = "userland char *";
7788 p = "userland char *";
7801 p = "userland char *";
7824 p = "userland char *";
7834 p = "userland struct iovec *";
7850 p = "userland struct iovec *";
7895 p = "userland union semun *";
7911 p = "userland struct msqid_ds *";
7927 p = "userland struct shmid_ds *";
7937 p = "userland char *";
7946 /* __cap_rights_get */
7956 p = "userland cap_rights_t *";
7969 p = "userland u_int *";
7979 p = "userland int *";
8008 p = "userland pid_t *";
8021 p = "userland fd_set *";
8024 p = "userland fd_set *";
8027 p = "userland fd_set *";
8030 p = "userland const struct timespec *";
8033 p = "userland const sigset_t *";
8043 p = "userland char *";
8056 p = "userland const char *";
8062 /* rctl_get_racct */
8066 p = "userland const void *";
8072 p = "userland void *";
8081 /* rctl_get_rules */
8085 p = "userland const void *";
8091 p = "userland void *";
8100 /* rctl_get_limits */
8104 p = "userland const void *";
8110 p = "userland void *";
8123 p = "userland const void *";
8129 p = "userland void *";
8138 /* rctl_remove_rule */
8142 p = "userland const void *";
8148 p = "userland void *";
8157 /* posix_fallocate */
8202 p = "userland int *";
8208 p = "userland struct __wrusage *";
8211 p = "userland siginfo_t *";
8217 /* cap_rights_limit */
8224 p = "userland cap_rights_t *";
8230 /* cap_ioctls_limit */
8237 p = "userland const u_long *";
8246 /* cap_ioctls_get */
8253 p = "userland u_long *";
8262 /* cap_fcntls_limit */
8275 /* cap_fcntls_get */
8282 p = "userland uint32_t *";
8333 p = "userland const char *";
8352 p = "userland struct sockaddr *";
8355 p = "userland __socklen_t *";
8368 p = "userland int *";
8381 p = "userland struct aiocb *";
8400 p = "userland void *";
8410 p = "userland struct pollfd *";
8416 p = "userland const struct timespec *";
8419 p = "userland const sigset_t *";
8432 p = "userland struct timespec *";
8445 p = "userland char *";
8448 p = "userland struct timespec *";
8474 p = "userland struct stat *";
8487 p = "userland char *";
8490 p = "userland struct stat *";
8503 p = "userland const struct fhandle *";
8506 p = "userland struct stat *";
8519 p = "userland char *";
8525 p = "userland off_t *";
8535 p = "userland char *";
8538 p = "userland struct statfs *";
8551 p = "userland struct statfs *";
8561 p = "userland struct statfs *";
8577 p = "userland const struct fhandle *";
8580 p = "userland struct statfs *";
8593 p = "userland char *";
8612 p = "userland struct kevent *";
8618 p = "userland struct kevent *";
8624 p = "userland const struct timespec *";
8630 /* cpuset_getdomain */
8646 p = "userland domainset_t *";
8649 p = "userland int *";
8655 /* cpuset_setdomain */
8671 p = "userland domainset_t *";
8684 p = "userland void *";
8700 strlcpy(desc, p, descsz);
8703 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8705 const char *p = NULL;
8711 if (ndx == 0 || ndx == 1)
8718 if (ndx == 0 || ndx == 1)
8723 if (ndx == 0 || ndx == 1)
8728 if (ndx == 0 || ndx == 1)
8733 if (ndx == 0 || ndx == 1)
8738 if (ndx == 0 || ndx == 1)
8743 if (ndx == 0 || ndx == 1)
8748 if (ndx == 0 || ndx == 1)
8753 if (ndx == 0 || ndx == 1)
8758 if (ndx == 0 || ndx == 1)
8763 if (ndx == 0 || ndx == 1)
8768 if (ndx == 0 || ndx == 1)
8773 if (ndx == 0 || ndx == 1)
8780 if (ndx == 0 || ndx == 1)
8785 if (ndx == 0 || ndx == 1)
8790 if (ndx == 0 || ndx == 1)
8799 if (ndx == 0 || ndx == 1)
8804 if (ndx == 0 || ndx == 1)
8809 if (ndx == 0 || ndx == 1)
8814 if (ndx == 0 || ndx == 1)
8819 if (ndx == 0 || ndx == 1)
8824 if (ndx == 0 || ndx == 1)
8829 if (ndx == 0 || ndx == 1)
8834 if (ndx == 0 || ndx == 1)
8839 if (ndx == 0 || ndx == 1)
8844 if (ndx == 0 || ndx == 1)
8851 if (ndx == 0 || ndx == 1)
8858 if (ndx == 0 || ndx == 1)
8865 if (ndx == 0 || ndx == 1)
8870 if (ndx == 0 || ndx == 1)
8877 if (ndx == 0 || ndx == 1)
8882 if (ndx == 0 || ndx == 1)
8887 if (ndx == 0 || ndx == 1)
8892 if (ndx == 0 || ndx == 1)
8897 if (ndx == 0 || ndx == 1)
8902 if (ndx == 0 || ndx == 1)
8907 if (ndx == 0 || ndx == 1)
8912 if (ndx == 0 || ndx == 1)
8917 if (ndx == 0 || ndx == 1)
8922 if (ndx == 0 || ndx == 1)
8927 if (ndx == 0 || ndx == 1)
8932 if (ndx == 0 || ndx == 1)
8937 if (ndx == 0 || ndx == 1)
8944 if (ndx == 0 || ndx == 1)
8949 if (ndx == 0 || ndx == 1)
8954 if (ndx == 0 || ndx == 1)
8959 if (ndx == 0 || ndx == 1)
8964 if (ndx == 0 || ndx == 1)
8969 if (ndx == 0 || ndx == 1)
8974 if (ndx == 0 || ndx == 1)
8979 if (ndx == 0 || ndx == 1)
8986 if (ndx == 0 || ndx == 1)
8991 if (ndx == 0 || ndx == 1)
8996 if (ndx == 0 || ndx == 1)
9001 if (ndx == 0 || ndx == 1)
9008 if (ndx == 0 || ndx == 1)
9013 if (ndx == 0 || ndx == 1)
9018 if (ndx == 0 || ndx == 1)
9023 if (ndx == 0 || ndx == 1)
9028 if (ndx == 0 || ndx == 1)
9033 if (ndx == 0 || ndx == 1)
9038 if (ndx == 0 || ndx == 1)
9043 if (ndx == 0 || ndx == 1)
9048 if (ndx == 0 || ndx == 1)
9053 if (ndx == 0 || ndx == 1)
9058 if (ndx == 0 || ndx == 1)
9063 if (ndx == 0 || ndx == 1)
9068 if (ndx == 0 || ndx == 1)
9073 if (ndx == 0 || ndx == 1)
9078 if (ndx == 0 || ndx == 1)
9083 if (ndx == 0 || ndx == 1)
9088 if (ndx == 0 || ndx == 1)
9093 if (ndx == 0 || ndx == 1)
9098 if (ndx == 0 || ndx == 1)
9103 if (ndx == 0 || ndx == 1)
9108 if (ndx == 0 || ndx == 1)
9113 if (ndx == 0 || ndx == 1)
9118 if (ndx == 0 || ndx == 1)
9123 if (ndx == 0 || ndx == 1)
9128 if (ndx == 0 || ndx == 1)
9133 if (ndx == 0 || ndx == 1)
9138 if (ndx == 0 || ndx == 1)
9143 if (ndx == 0 || ndx == 1)
9148 if (ndx == 0 || ndx == 1)
9153 if (ndx == 0 || ndx == 1)
9158 if (ndx == 0 || ndx == 1)
9165 if (ndx == 0 || ndx == 1)
9170 if (ndx == 0 || ndx == 1)
9175 if (ndx == 0 || ndx == 1)
9180 if (ndx == 0 || ndx == 1)
9185 if (ndx == 0 || ndx == 1)
9190 if (ndx == 0 || ndx == 1)
9195 if (ndx == 0 || ndx == 1)
9200 if (ndx == 0 || ndx == 1)
9205 if (ndx == 0 || ndx == 1)
9210 if (ndx == 0 || ndx == 1)
9215 if (ndx == 0 || ndx == 1)
9220 if (ndx == 0 || ndx == 1)
9225 if (ndx == 0 || ndx == 1)
9230 if (ndx == 0 || ndx == 1)
9235 if (ndx == 0 || ndx == 1)
9240 if (ndx == 0 || ndx == 1)
9245 if (ndx == 0 || ndx == 1)
9250 if (ndx == 0 || ndx == 1)
9255 if (ndx == 0 || ndx == 1)
9262 if (ndx == 0 || ndx == 1)
9267 if (ndx == 0 || ndx == 1)
9272 if (ndx == 0 || ndx == 1)
9277 if (ndx == 0 || ndx == 1)
9282 if (ndx == 0 || ndx == 1)
9287 if (ndx == 0 || ndx == 1)
9292 if (ndx == 0 || ndx == 1)
9317 if (ndx == 0 || ndx == 1)
9322 if (ndx == 0 || ndx == 1)
9327 if (ndx == 0 || ndx == 1)
9332 if (ndx == 0 || ndx == 1)
9337 if (ndx == 0 || ndx == 1)
9342 if (ndx == 0 || ndx == 1)
9347 if (ndx == 0 || ndx == 1)
9352 if (ndx == 0 || ndx == 1)
9357 if (ndx == 0 || ndx == 1)
9362 if (ndx == 0 || ndx == 1)
9367 if (ndx == 0 || ndx == 1)
9372 if (ndx == 0 || ndx == 1)
9377 if (ndx == 0 || ndx == 1)
9380 /* ktimer_settime */
9382 if (ndx == 0 || ndx == 1)
9385 /* ktimer_gettime */
9387 if (ndx == 0 || ndx == 1)
9390 /* ktimer_getoverrun */
9392 if (ndx == 0 || ndx == 1)
9397 if (ndx == 0 || ndx == 1)
9400 /* ffclock_getcounter */
9402 if (ndx == 0 || ndx == 1)
9405 /* ffclock_setestimate */
9407 if (ndx == 0 || ndx == 1)
9410 /* ffclock_getestimate */
9412 if (ndx == 0 || ndx == 1)
9415 /* clock_nanosleep */
9417 if (ndx == 0 || ndx == 1)
9420 /* clock_getcpuclockid2 */
9422 if (ndx == 0 || ndx == 1)
9427 if (ndx == 0 || ndx == 1)
9432 if (ndx == 0 || ndx == 1)
9437 if (ndx == 0 || ndx == 1)
9444 if (ndx == 0 || ndx == 1)
9449 if (ndx == 0 || ndx == 1)
9454 if (ndx == 0 || ndx == 1)
9459 if (ndx == 0 || ndx == 1)
9464 if (ndx == 0 || ndx == 1)
9469 if (ndx == 0 || ndx == 1)
9474 if (ndx == 0 || ndx == 1)
9479 if (ndx == 0 || ndx == 1)
9484 if (ndx == 0 || ndx == 1)
9489 if (ndx == 0 || ndx == 1)
9494 if (ndx == 0 || ndx == 1)
9499 if (ndx == 0 || ndx == 1)
9504 if (ndx == 0 || ndx == 1)
9509 if (ndx == 0 || ndx == 1)
9514 if (ndx == 0 || ndx == 1)
9519 if (ndx == 0 || ndx == 1)
9524 if (ndx == 0 || ndx == 1)
9529 if (ndx == 0 || ndx == 1)
9534 if (ndx == 0 || ndx == 1)
9539 if (ndx == 0 || ndx == 1)
9544 if (ndx == 0 || ndx == 1)
9549 if (ndx == 0 || ndx == 1)
9554 if (ndx == 0 || ndx == 1)
9559 if (ndx == 0 || ndx == 1)
9564 if (ndx == 0 || ndx == 1)
9569 if (ndx == 0 || ndx == 1)
9576 if (ndx == 0 || ndx == 1)
9583 if (ndx == 0 || ndx == 1)
9586 /* sched_setparam */
9588 if (ndx == 0 || ndx == 1)
9591 /* sched_getparam */
9593 if (ndx == 0 || ndx == 1)
9596 /* sched_setscheduler */
9598 if (ndx == 0 || ndx == 1)
9601 /* sched_getscheduler */
9603 if (ndx == 0 || ndx == 1)
9608 /* sched_get_priority_max */
9610 if (ndx == 0 || ndx == 1)
9613 /* sched_get_priority_min */
9615 if (ndx == 0 || ndx == 1)
9618 /* sched_rr_get_interval */
9620 if (ndx == 0 || ndx == 1)
9625 if (ndx == 0 || ndx == 1)
9630 if (ndx == 0 || ndx == 1)
9635 if (ndx == 0 || ndx == 1)
9640 if (ndx == 0 || ndx == 1)
9645 if (ndx == 0 || ndx == 1)
9650 if (ndx == 0 || ndx == 1)
9655 if (ndx == 0 || ndx == 1)
9660 if (ndx == 0 || ndx == 1)
9663 /* __acl_get_file */
9665 if (ndx == 0 || ndx == 1)
9668 /* __acl_set_file */
9670 if (ndx == 0 || ndx == 1)
9675 if (ndx == 0 || ndx == 1)
9680 if (ndx == 0 || ndx == 1)
9683 /* __acl_delete_file */
9685 if (ndx == 0 || ndx == 1)
9688 /* __acl_delete_fd */
9690 if (ndx == 0 || ndx == 1)
9693 /* __acl_aclcheck_file */
9695 if (ndx == 0 || ndx == 1)
9698 /* __acl_aclcheck_fd */
9700 if (ndx == 0 || ndx == 1)
9705 if (ndx == 0 || ndx == 1)
9708 /* extattr_set_file */
9710 if (ndx == 0 || ndx == 1)
9713 /* extattr_get_file */
9715 if (ndx == 0 || ndx == 1)
9718 /* extattr_delete_file */
9720 if (ndx == 0 || ndx == 1)
9723 /* aio_waitcomplete */
9725 if (ndx == 0 || ndx == 1)
9730 if (ndx == 0 || ndx == 1)
9735 if (ndx == 0 || ndx == 1)
9740 /* extattr_set_fd */
9742 if (ndx == 0 || ndx == 1)
9745 /* extattr_get_fd */
9747 if (ndx == 0 || ndx == 1)
9750 /* extattr_delete_fd */
9752 if (ndx == 0 || ndx == 1)
9757 if (ndx == 0 || ndx == 1)
9762 if (ndx == 0 || ndx == 1)
9767 if (ndx == 0 || ndx == 1)
9772 if (ndx == 0 || ndx == 1)
9775 /* __mac_get_proc */
9777 if (ndx == 0 || ndx == 1)
9780 /* __mac_set_proc */
9782 if (ndx == 0 || ndx == 1)
9787 if (ndx == 0 || ndx == 1)
9790 /* __mac_get_file */
9792 if (ndx == 0 || ndx == 1)
9797 if (ndx == 0 || ndx == 1)
9800 /* __mac_set_file */
9802 if (ndx == 0 || ndx == 1)
9807 if (ndx == 0 || ndx == 1)
9812 if (ndx == 0 || ndx == 1)
9817 if (ndx == 0 || ndx == 1)
9822 if (ndx == 0 || ndx == 1)
9827 if (ndx == 0 || ndx == 1)
9832 if (ndx == 0 || ndx == 1)
9837 if (ndx == 0 || ndx == 1)
9842 if (ndx == 0 || ndx == 1)
9847 if (ndx == 0 || ndx == 1)
9852 if (ndx == 0 || ndx == 1)
9857 if (ndx == 0 || ndx == 1)
9862 if (ndx == 0 || ndx == 1)
9867 if (ndx == 0 || ndx == 1)
9872 if (ndx == 0 || ndx == 1)
9877 if (ndx == 0 || ndx == 1)
9880 /* __mac_get_link */
9882 if (ndx == 0 || ndx == 1)
9885 /* __mac_set_link */
9887 if (ndx == 0 || ndx == 1)
9890 /* extattr_set_link */
9892 if (ndx == 0 || ndx == 1)
9895 /* extattr_get_link */
9897 if (ndx == 0 || ndx == 1)
9900 /* extattr_delete_link */
9902 if (ndx == 0 || ndx == 1)
9907 if (ndx == 0 || ndx == 1)
9912 if (ndx == 0 || ndx == 1)
9917 if (ndx == 0 || ndx == 1)
9922 if (ndx == 0 || ndx == 1)
9927 if (ndx == 0 || ndx == 1)
9932 if (ndx == 0 || ndx == 1)
9937 if (ndx == 0 || ndx == 1)
9940 /* __acl_get_link */
9942 if (ndx == 0 || ndx == 1)
9945 /* __acl_set_link */
9947 if (ndx == 0 || ndx == 1)
9950 /* __acl_delete_link */
9952 if (ndx == 0 || ndx == 1)
9955 /* __acl_aclcheck_link */
9957 if (ndx == 0 || ndx == 1)
9962 if (ndx == 0 || ndx == 1)
9967 if (ndx == 0 || ndx == 1)
9972 if (ndx == 0 || ndx == 1)
9977 if (ndx == 0 || ndx == 1)
9982 if (ndx == 0 || ndx == 1)
9987 if (ndx == 0 || ndx == 1)
9990 /* extattr_list_fd */
9992 if (ndx == 0 || ndx == 1)
9995 /* extattr_list_file */
9997 if (ndx == 0 || ndx == 1)
10000 /* extattr_list_link */
10002 if (ndx == 0 || ndx == 1)
10005 /* ksem_timedwait */
10007 if (ndx == 0 || ndx == 1)
10012 if (ndx == 0 || ndx == 1)
10017 if (ndx == 0 || ndx == 1)
10022 if (ndx == 0 || ndx == 1)
10027 if (ndx == 0 || ndx == 1)
10032 if (ndx == 0 || ndx == 1)
10037 if (ndx == 0 || ndx == 1)
10042 if (ndx == 0 || ndx == 1)
10047 if (ndx == 0 || ndx == 1)
10052 if (ndx == 0 || ndx == 1)
10055 /* getaudit_addr */
10057 if (ndx == 0 || ndx == 1)
10060 /* setaudit_addr */
10062 if (ndx == 0 || ndx == 1)
10067 if (ndx == 0 || ndx == 1)
10072 if (ndx == 0 || ndx == 1)
10077 if (ndx == 0 || ndx == 1)
10082 if (ndx == 0 || ndx == 1)
10087 if (ndx == 0 || ndx == 1)
10092 if (ndx == 0 || ndx == 1)
10095 /* kmq_timedreceive */
10097 if (ndx == 0 || ndx == 1)
10100 /* kmq_timedsend */
10102 if (ndx == 0 || ndx == 1)
10107 if (ndx == 0 || ndx == 1)
10112 if (ndx == 0 || ndx == 1)
10117 if (ndx == 0 || ndx == 1)
10122 if (ndx == 0 || ndx == 1)
10127 if (ndx == 0 || ndx == 1)
10130 /* rtprio_thread */
10132 if (ndx == 0 || ndx == 1)
10137 if (ndx == 0 || ndx == 1)
10140 /* sctp_generic_sendmsg */
10142 if (ndx == 0 || ndx == 1)
10145 /* sctp_generic_sendmsg_iov */
10147 if (ndx == 0 || ndx == 1)
10150 /* sctp_generic_recvmsg */
10152 if (ndx == 0 || ndx == 1)
10157 if (ndx == 0 || ndx == 1)
10162 if (ndx == 0 || ndx == 1)
10167 if (ndx == 0 || ndx == 1)
10172 if (ndx == 0 || ndx == 1)
10177 if (ndx == 0 || ndx == 1)
10182 if (ndx == 0 || ndx == 1)
10187 if (ndx == 0 || ndx == 1)
10192 if (ndx == 0 || ndx == 1)
10197 if (ndx == 0 || ndx == 1)
10202 if (ndx == 0 || ndx == 1)
10207 if (ndx == 0 || ndx == 1)
10212 if (ndx == 0 || ndx == 1)
10215 /* cpuset_getaffinity */
10217 if (ndx == 0 || ndx == 1)
10220 /* cpuset_setaffinity */
10222 if (ndx == 0 || ndx == 1)
10227 if (ndx == 0 || ndx == 1)
10232 if (ndx == 0 || ndx == 1)
10237 if (ndx == 0 || ndx == 1)
10242 if (ndx == 0 || ndx == 1)
10247 if (ndx == 0 || ndx == 1)
10252 if (ndx == 0 || ndx == 1)
10257 if (ndx == 0 || ndx == 1)
10262 if (ndx == 0 || ndx == 1)
10267 if (ndx == 0 || ndx == 1)
10272 if (ndx == 0 || ndx == 1)
10277 if (ndx == 0 || ndx == 1)
10282 if (ndx == 0 || ndx == 1)
10287 if (ndx == 0 || ndx == 1)
10292 if (ndx == 0 || ndx == 1)
10297 if (ndx == 0 || ndx == 1)
10302 if (ndx == 0 || ndx == 1)
10307 if (ndx == 0 || ndx == 1)
10312 if (ndx == 0 || ndx == 1)
10317 if (ndx == 0 || ndx == 1)
10322 if (ndx == 0 || ndx == 1)
10327 if (ndx == 0 || ndx == 1)
10332 if (ndx == 0 || ndx == 1)
10337 if (ndx == 0 || ndx == 1)
10340 /* __cap_rights_get */
10342 if (ndx == 0 || ndx == 1)
10349 if (ndx == 0 || ndx == 1)
10354 if (ndx == 0 || ndx == 1)
10359 if (ndx == 0 || ndx == 1)
10364 if (ndx == 0 || ndx == 1)
10369 if (ndx == 0 || ndx == 1)
10372 /* getloginclass */
10374 if (ndx == 0 || ndx == 1)
10377 /* setloginclass */
10379 if (ndx == 0 || ndx == 1)
10382 /* rctl_get_racct */
10384 if (ndx == 0 || ndx == 1)
10387 /* rctl_get_rules */
10389 if (ndx == 0 || ndx == 1)
10392 /* rctl_get_limits */
10394 if (ndx == 0 || ndx == 1)
10397 /* rctl_add_rule */
10399 if (ndx == 0 || ndx == 1)
10402 /* rctl_remove_rule */
10404 if (ndx == 0 || ndx == 1)
10407 /* posix_fallocate */
10409 if (ndx == 0 || ndx == 1)
10412 /* posix_fadvise */
10414 if (ndx == 0 || ndx == 1)
10419 if (ndx == 0 || ndx == 1)
10422 /* cap_rights_limit */
10424 if (ndx == 0 || ndx == 1)
10427 /* cap_ioctls_limit */
10429 if (ndx == 0 || ndx == 1)
10432 /* cap_ioctls_get */
10434 if (ndx == 0 || ndx == 1)
10437 /* cap_fcntls_limit */
10439 if (ndx == 0 || ndx == 1)
10442 /* cap_fcntls_get */
10444 if (ndx == 0 || ndx == 1)
10449 if (ndx == 0 || ndx == 1)
10454 if (ndx == 0 || ndx == 1)
10459 if (ndx == 0 || ndx == 1)
10464 if (ndx == 0 || ndx == 1)
10469 if (ndx == 0 || ndx == 1)
10474 if (ndx == 0 || ndx == 1)
10479 if (ndx == 0 || ndx == 1)
10484 if (ndx == 0 || ndx == 1)
10489 if (ndx == 0 || ndx == 1)
10494 if (ndx == 0 || ndx == 1)
10499 if (ndx == 0 || ndx == 1)
10504 if (ndx == 0 || ndx == 1)
10509 if (ndx == 0 || ndx == 1)
10514 if (ndx == 0 || ndx == 1)
10517 /* getdirentries */
10519 if (ndx == 0 || ndx == 1)
10524 if (ndx == 0 || ndx == 1)
10529 if (ndx == 0 || ndx == 1)
10534 if (ndx == 0 || ndx == 1)
10539 if (ndx == 0 || ndx == 1)
10544 if (ndx == 0 || ndx == 1)
10549 if (ndx == 0 || ndx == 1)
10552 /* cpuset_getdomain */
10554 if (ndx == 0 || ndx == 1)
10557 /* cpuset_setdomain */
10559 if (ndx == 0 || ndx == 1)
10564 if (ndx == 0 || ndx == 1)
10571 strlcpy(desc, p, descsz);