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 obreak_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 lchown_args *p = params;
1334 uarg[0] = (intptr_t) p->path; /* char * */
1335 uarg[1] = p->uid; /* uid_t */
1336 iarg[2] = p->gid; /* gid_t */
1342 struct lutimes_args *p = params;
1343 uarg[0] = (intptr_t) p->path; /* char * */
1344 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1350 struct msync_args *p = params;
1351 uarg[0] = (intptr_t) p->addr; /* void * */
1352 uarg[1] = p->len; /* size_t */
1353 iarg[2] = p->flags; /* int */
1359 struct preadv_args *p = params;
1360 iarg[0] = p->fd; /* int */
1361 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1362 uarg[2] = p->iovcnt; /* u_int */
1363 iarg[3] = p->offset; /* off_t */
1369 struct pwritev_args *p = params;
1370 iarg[0] = p->fd; /* int */
1371 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1372 uarg[2] = p->iovcnt; /* u_int */
1373 iarg[3] = p->offset; /* off_t */
1379 struct fhopen_args *p = params;
1380 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1381 iarg[1] = p->flags; /* int */
1387 struct modnext_args *p = params;
1388 iarg[0] = p->modid; /* int */
1394 struct modstat_args *p = params;
1395 iarg[0] = p->modid; /* int */
1396 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1402 struct modfnext_args *p = params;
1403 iarg[0] = p->modid; /* int */
1409 struct modfind_args *p = params;
1410 uarg[0] = (intptr_t) p->name; /* const char * */
1416 struct kldload_args *p = params;
1417 uarg[0] = (intptr_t) p->file; /* const char * */
1423 struct kldunload_args *p = params;
1424 iarg[0] = p->fileid; /* int */
1430 struct kldfind_args *p = params;
1431 uarg[0] = (intptr_t) p->file; /* const char * */
1437 struct kldnext_args *p = params;
1438 iarg[0] = p->fileid; /* int */
1444 struct kldstat_args *p = params;
1445 iarg[0] = p->fileid; /* int */
1446 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1452 struct kldfirstmod_args *p = params;
1453 iarg[0] = p->fileid; /* int */
1459 struct getsid_args *p = params;
1460 iarg[0] = p->pid; /* pid_t */
1466 struct setresuid_args *p = params;
1467 uarg[0] = p->ruid; /* uid_t */
1468 uarg[1] = p->euid; /* uid_t */
1469 uarg[2] = p->suid; /* uid_t */
1475 struct setresgid_args *p = params;
1476 iarg[0] = p->rgid; /* gid_t */
1477 iarg[1] = p->egid; /* gid_t */
1478 iarg[2] = p->sgid; /* gid_t */
1484 struct aio_return_args *p = params;
1485 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1491 struct aio_suspend_args *p = params;
1492 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1493 iarg[1] = p->nent; /* int */
1494 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1500 struct aio_cancel_args *p = params;
1501 iarg[0] = p->fd; /* int */
1502 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1508 struct aio_error_args *p = params;
1509 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1520 struct mlockall_args *p = params;
1521 iarg[0] = p->how; /* int */
1532 struct __getcwd_args *p = params;
1533 uarg[0] = (intptr_t) p->buf; /* char * */
1534 uarg[1] = p->buflen; /* size_t */
1538 /* sched_setparam */
1540 struct sched_setparam_args *p = params;
1541 iarg[0] = p->pid; /* pid_t */
1542 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1546 /* sched_getparam */
1548 struct sched_getparam_args *p = params;
1549 iarg[0] = p->pid; /* pid_t */
1550 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1554 /* sched_setscheduler */
1556 struct sched_setscheduler_args *p = params;
1557 iarg[0] = p->pid; /* pid_t */
1558 iarg[1] = p->policy; /* int */
1559 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1563 /* sched_getscheduler */
1565 struct sched_getscheduler_args *p = params;
1566 iarg[0] = p->pid; /* pid_t */
1575 /* sched_get_priority_max */
1577 struct sched_get_priority_max_args *p = params;
1578 iarg[0] = p->policy; /* int */
1582 /* sched_get_priority_min */
1584 struct sched_get_priority_min_args *p = params;
1585 iarg[0] = p->policy; /* int */
1589 /* sched_rr_get_interval */
1591 struct sched_rr_get_interval_args *p = params;
1592 iarg[0] = p->pid; /* pid_t */
1593 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1599 struct utrace_args *p = params;
1600 uarg[0] = (intptr_t) p->addr; /* const void * */
1601 uarg[1] = p->len; /* size_t */
1607 struct kldsym_args *p = params;
1608 iarg[0] = p->fileid; /* int */
1609 iarg[1] = p->cmd; /* int */
1610 uarg[2] = (intptr_t) p->data; /* void * */
1616 struct jail_args *p = params;
1617 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1623 struct nnpfs_syscall_args *p = params;
1624 iarg[0] = p->operation; /* int */
1625 uarg[1] = (intptr_t) p->a_pathP; /* char * */
1626 iarg[2] = p->a_opcode; /* int */
1627 uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1628 iarg[4] = p->a_followSymlinks; /* int */
1634 struct sigprocmask_args *p = params;
1635 iarg[0] = p->how; /* int */
1636 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1637 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1643 struct sigsuspend_args *p = params;
1644 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1650 struct sigpending_args *p = params;
1651 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1657 struct sigtimedwait_args *p = params;
1658 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1659 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1660 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1666 struct sigwaitinfo_args *p = params;
1667 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1668 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1672 /* __acl_get_file */
1674 struct __acl_get_file_args *p = params;
1675 uarg[0] = (intptr_t) p->path; /* const char * */
1676 iarg[1] = p->type; /* acl_type_t */
1677 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1681 /* __acl_set_file */
1683 struct __acl_set_file_args *p = params;
1684 uarg[0] = (intptr_t) p->path; /* const char * */
1685 iarg[1] = p->type; /* acl_type_t */
1686 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1692 struct __acl_get_fd_args *p = params;
1693 iarg[0] = p->filedes; /* int */
1694 iarg[1] = p->type; /* acl_type_t */
1695 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1701 struct __acl_set_fd_args *p = params;
1702 iarg[0] = p->filedes; /* int */
1703 iarg[1] = p->type; /* acl_type_t */
1704 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1708 /* __acl_delete_file */
1710 struct __acl_delete_file_args *p = params;
1711 uarg[0] = (intptr_t) p->path; /* const char * */
1712 iarg[1] = p->type; /* acl_type_t */
1716 /* __acl_delete_fd */
1718 struct __acl_delete_fd_args *p = params;
1719 iarg[0] = p->filedes; /* int */
1720 iarg[1] = p->type; /* acl_type_t */
1724 /* __acl_aclcheck_file */
1726 struct __acl_aclcheck_file_args *p = params;
1727 uarg[0] = (intptr_t) p->path; /* const char * */
1728 iarg[1] = p->type; /* acl_type_t */
1729 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1733 /* __acl_aclcheck_fd */
1735 struct __acl_aclcheck_fd_args *p = params;
1736 iarg[0] = p->filedes; /* int */
1737 iarg[1] = p->type; /* acl_type_t */
1738 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1744 struct extattrctl_args *p = params;
1745 uarg[0] = (intptr_t) p->path; /* const char * */
1746 iarg[1] = p->cmd; /* int */
1747 uarg[2] = (intptr_t) p->filename; /* const char * */
1748 iarg[3] = p->attrnamespace; /* int */
1749 uarg[4] = (intptr_t) p->attrname; /* const char * */
1753 /* extattr_set_file */
1755 struct extattr_set_file_args *p = params;
1756 uarg[0] = (intptr_t) p->path; /* const char * */
1757 iarg[1] = p->attrnamespace; /* int */
1758 uarg[2] = (intptr_t) p->attrname; /* const char * */
1759 uarg[3] = (intptr_t) p->data; /* void * */
1760 uarg[4] = p->nbytes; /* size_t */
1764 /* extattr_get_file */
1766 struct extattr_get_file_args *p = params;
1767 uarg[0] = (intptr_t) p->path; /* const char * */
1768 iarg[1] = p->attrnamespace; /* int */
1769 uarg[2] = (intptr_t) p->attrname; /* const char * */
1770 uarg[3] = (intptr_t) p->data; /* void * */
1771 uarg[4] = p->nbytes; /* size_t */
1775 /* extattr_delete_file */
1777 struct extattr_delete_file_args *p = params;
1778 uarg[0] = (intptr_t) p->path; /* const char * */
1779 iarg[1] = p->attrnamespace; /* int */
1780 uarg[2] = (intptr_t) p->attrname; /* const char * */
1784 /* aio_waitcomplete */
1786 struct aio_waitcomplete_args *p = params;
1787 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1788 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1794 struct getresuid_args *p = params;
1795 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1796 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1797 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1803 struct getresgid_args *p = params;
1804 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1805 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1806 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1815 /* extattr_set_fd */
1817 struct extattr_set_fd_args *p = params;
1818 iarg[0] = p->fd; /* int */
1819 iarg[1] = p->attrnamespace; /* int */
1820 uarg[2] = (intptr_t) p->attrname; /* const char * */
1821 uarg[3] = (intptr_t) p->data; /* void * */
1822 uarg[4] = p->nbytes; /* size_t */
1826 /* extattr_get_fd */
1828 struct extattr_get_fd_args *p = params;
1829 iarg[0] = p->fd; /* int */
1830 iarg[1] = p->attrnamespace; /* int */
1831 uarg[2] = (intptr_t) p->attrname; /* const char * */
1832 uarg[3] = (intptr_t) p->data; /* void * */
1833 uarg[4] = p->nbytes; /* size_t */
1837 /* extattr_delete_fd */
1839 struct extattr_delete_fd_args *p = params;
1840 iarg[0] = p->fd; /* int */
1841 iarg[1] = p->attrnamespace; /* int */
1842 uarg[2] = (intptr_t) p->attrname; /* const char * */
1848 struct __setugid_args *p = params;
1849 iarg[0] = p->flag; /* int */
1855 struct eaccess_args *p = params;
1856 uarg[0] = (intptr_t) p->path; /* char * */
1857 iarg[1] = p->amode; /* int */
1863 struct afs3_syscall_args *p = params;
1864 iarg[0] = p->syscall; /* long */
1865 iarg[1] = p->parm1; /* long */
1866 iarg[2] = p->parm2; /* long */
1867 iarg[3] = p->parm3; /* long */
1868 iarg[4] = p->parm4; /* long */
1869 iarg[5] = p->parm5; /* long */
1870 iarg[6] = p->parm6; /* long */
1876 struct nmount_args *p = params;
1877 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
1878 uarg[1] = p->iovcnt; /* unsigned int */
1879 iarg[2] = p->flags; /* int */
1883 /* __mac_get_proc */
1885 struct __mac_get_proc_args *p = params;
1886 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
1890 /* __mac_set_proc */
1892 struct __mac_set_proc_args *p = params;
1893 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
1899 struct __mac_get_fd_args *p = params;
1900 iarg[0] = p->fd; /* int */
1901 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1905 /* __mac_get_file */
1907 struct __mac_get_file_args *p = params;
1908 uarg[0] = (intptr_t) p->path_p; /* const char * */
1909 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1915 struct __mac_set_fd_args *p = params;
1916 iarg[0] = p->fd; /* int */
1917 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1921 /* __mac_set_file */
1923 struct __mac_set_file_args *p = params;
1924 uarg[0] = (intptr_t) p->path_p; /* const char * */
1925 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1931 struct kenv_args *p = params;
1932 iarg[0] = p->what; /* int */
1933 uarg[1] = (intptr_t) p->name; /* const char * */
1934 uarg[2] = (intptr_t) p->value; /* char * */
1935 iarg[3] = p->len; /* int */
1941 struct lchflags_args *p = params;
1942 uarg[0] = (intptr_t) p->path; /* const char * */
1943 uarg[1] = p->flags; /* u_long */
1949 struct uuidgen_args *p = params;
1950 uarg[0] = (intptr_t) p->store; /* struct uuid * */
1951 iarg[1] = p->count; /* int */
1957 struct sendfile_args *p = params;
1958 iarg[0] = p->fd; /* int */
1959 iarg[1] = p->s; /* int */
1960 iarg[2] = p->offset; /* off_t */
1961 uarg[3] = p->nbytes; /* size_t */
1962 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
1963 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
1964 iarg[6] = p->flags; /* int */
1970 struct mac_syscall_args *p = params;
1971 uarg[0] = (intptr_t) p->policy; /* const char * */
1972 iarg[1] = p->call; /* int */
1973 uarg[2] = (intptr_t) p->arg; /* void * */
1979 struct ksem_close_args *p = params;
1980 iarg[0] = p->id; /* semid_t */
1986 struct ksem_post_args *p = params;
1987 iarg[0] = p->id; /* semid_t */
1993 struct ksem_wait_args *p = params;
1994 iarg[0] = p->id; /* semid_t */
2000 struct ksem_trywait_args *p = params;
2001 iarg[0] = p->id; /* semid_t */
2007 struct ksem_init_args *p = params;
2008 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2009 uarg[1] = p->value; /* unsigned int */
2015 struct ksem_open_args *p = params;
2016 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2017 uarg[1] = (intptr_t) p->name; /* const char * */
2018 iarg[2] = p->oflag; /* int */
2019 iarg[3] = p->mode; /* mode_t */
2020 uarg[4] = p->value; /* unsigned int */
2026 struct ksem_unlink_args *p = params;
2027 uarg[0] = (intptr_t) p->name; /* const char * */
2033 struct ksem_getvalue_args *p = params;
2034 iarg[0] = p->id; /* semid_t */
2035 uarg[1] = (intptr_t) p->val; /* int * */
2041 struct ksem_destroy_args *p = params;
2042 iarg[0] = p->id; /* semid_t */
2048 struct __mac_get_pid_args *p = params;
2049 iarg[0] = p->pid; /* pid_t */
2050 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2054 /* __mac_get_link */
2056 struct __mac_get_link_args *p = params;
2057 uarg[0] = (intptr_t) p->path_p; /* const char * */
2058 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2062 /* __mac_set_link */
2064 struct __mac_set_link_args *p = params;
2065 uarg[0] = (intptr_t) p->path_p; /* const char * */
2066 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2070 /* extattr_set_link */
2072 struct extattr_set_link_args *p = params;
2073 uarg[0] = (intptr_t) p->path; /* const char * */
2074 iarg[1] = p->attrnamespace; /* int */
2075 uarg[2] = (intptr_t) p->attrname; /* const char * */
2076 uarg[3] = (intptr_t) p->data; /* void * */
2077 uarg[4] = p->nbytes; /* size_t */
2081 /* extattr_get_link */
2083 struct extattr_get_link_args *p = params;
2084 uarg[0] = (intptr_t) p->path; /* const char * */
2085 iarg[1] = p->attrnamespace; /* int */
2086 uarg[2] = (intptr_t) p->attrname; /* const char * */
2087 uarg[3] = (intptr_t) p->data; /* void * */
2088 uarg[4] = p->nbytes; /* size_t */
2092 /* extattr_delete_link */
2094 struct extattr_delete_link_args *p = params;
2095 uarg[0] = (intptr_t) p->path; /* const char * */
2096 iarg[1] = p->attrnamespace; /* int */
2097 uarg[2] = (intptr_t) p->attrname; /* const char * */
2103 struct __mac_execve_args *p = params;
2104 uarg[0] = (intptr_t) p->fname; /* char * */
2105 uarg[1] = (intptr_t) p->argv; /* char ** */
2106 uarg[2] = (intptr_t) p->envv; /* char ** */
2107 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2113 struct sigaction_args *p = params;
2114 iarg[0] = p->sig; /* int */
2115 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2116 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2122 struct sigreturn_args *p = params;
2123 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2129 struct getcontext_args *p = params;
2130 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2136 struct setcontext_args *p = params;
2137 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2143 struct swapcontext_args *p = params;
2144 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2145 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2151 struct swapoff_args *p = params;
2152 uarg[0] = (intptr_t) p->name; /* const char * */
2156 /* __acl_get_link */
2158 struct __acl_get_link_args *p = params;
2159 uarg[0] = (intptr_t) p->path; /* const char * */
2160 iarg[1] = p->type; /* acl_type_t */
2161 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2165 /* __acl_set_link */
2167 struct __acl_set_link_args *p = params;
2168 uarg[0] = (intptr_t) p->path; /* const char * */
2169 iarg[1] = p->type; /* acl_type_t */
2170 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2174 /* __acl_delete_link */
2176 struct __acl_delete_link_args *p = params;
2177 uarg[0] = (intptr_t) p->path; /* const char * */
2178 iarg[1] = p->type; /* acl_type_t */
2182 /* __acl_aclcheck_link */
2184 struct __acl_aclcheck_link_args *p = params;
2185 uarg[0] = (intptr_t) p->path; /* const char * */
2186 iarg[1] = p->type; /* acl_type_t */
2187 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2193 struct sigwait_args *p = params;
2194 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2195 uarg[1] = (intptr_t) p->sig; /* int * */
2201 struct thr_create_args *p = params;
2202 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2203 uarg[1] = (intptr_t) p->id; /* long * */
2204 iarg[2] = p->flags; /* int */
2210 struct thr_exit_args *p = params;
2211 uarg[0] = (intptr_t) p->state; /* long * */
2217 struct thr_self_args *p = params;
2218 uarg[0] = (intptr_t) p->id; /* long * */
2224 struct thr_kill_args *p = params;
2225 iarg[0] = p->id; /* long */
2226 iarg[1] = p->sig; /* int */
2232 struct jail_attach_args *p = params;
2233 iarg[0] = p->jid; /* int */
2237 /* extattr_list_fd */
2239 struct extattr_list_fd_args *p = params;
2240 iarg[0] = p->fd; /* int */
2241 iarg[1] = p->attrnamespace; /* int */
2242 uarg[2] = (intptr_t) p->data; /* void * */
2243 uarg[3] = p->nbytes; /* size_t */
2247 /* extattr_list_file */
2249 struct extattr_list_file_args *p = params;
2250 uarg[0] = (intptr_t) p->path; /* const char * */
2251 iarg[1] = p->attrnamespace; /* int */
2252 uarg[2] = (intptr_t) p->data; /* void * */
2253 uarg[3] = p->nbytes; /* size_t */
2257 /* extattr_list_link */
2259 struct extattr_list_link_args *p = params;
2260 uarg[0] = (intptr_t) p->path; /* const char * */
2261 iarg[1] = p->attrnamespace; /* int */
2262 uarg[2] = (intptr_t) p->data; /* void * */
2263 uarg[3] = p->nbytes; /* size_t */
2267 /* ksem_timedwait */
2269 struct ksem_timedwait_args *p = params;
2270 iarg[0] = p->id; /* semid_t */
2271 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2277 struct thr_suspend_args *p = params;
2278 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2284 struct thr_wake_args *p = params;
2285 iarg[0] = p->id; /* long */
2291 struct kldunloadf_args *p = params;
2292 iarg[0] = p->fileid; /* int */
2293 iarg[1] = p->flags; /* int */
2299 struct audit_args *p = params;
2300 uarg[0] = (intptr_t) p->record; /* const void * */
2301 uarg[1] = p->length; /* u_int */
2307 struct auditon_args *p = params;
2308 iarg[0] = p->cmd; /* int */
2309 uarg[1] = (intptr_t) p->data; /* void * */
2310 uarg[2] = p->length; /* u_int */
2316 struct getauid_args *p = params;
2317 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2323 struct setauid_args *p = params;
2324 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2330 struct getaudit_args *p = params;
2331 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2337 struct setaudit_args *p = params;
2338 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2344 struct getaudit_addr_args *p = params;
2345 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2346 uarg[1] = p->length; /* u_int */
2352 struct setaudit_addr_args *p = params;
2353 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2354 uarg[1] = p->length; /* u_int */
2360 struct auditctl_args *p = params;
2361 uarg[0] = (intptr_t) p->path; /* char * */
2367 struct _umtx_op_args *p = params;
2368 uarg[0] = (intptr_t) p->obj; /* void * */
2369 iarg[1] = p->op; /* int */
2370 uarg[2] = p->val; /* u_long */
2371 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2372 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2378 struct thr_new_args *p = params;
2379 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2380 iarg[1] = p->param_size; /* int */
2386 struct sigqueue_args *p = params;
2387 iarg[0] = p->pid; /* pid_t */
2388 iarg[1] = p->signum; /* int */
2389 uarg[2] = (intptr_t) p->value; /* void * */
2395 struct kmq_open_args *p = params;
2396 uarg[0] = (intptr_t) p->path; /* const char * */
2397 iarg[1] = p->flags; /* int */
2398 iarg[2] = p->mode; /* mode_t */
2399 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2405 struct kmq_setattr_args *p = params;
2406 iarg[0] = p->mqd; /* int */
2407 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2408 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2412 /* kmq_timedreceive */
2414 struct kmq_timedreceive_args *p = params;
2415 iarg[0] = p->mqd; /* int */
2416 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2417 uarg[2] = p->msg_len; /* size_t */
2418 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2419 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2425 struct kmq_timedsend_args *p = params;
2426 iarg[0] = p->mqd; /* int */
2427 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2428 uarg[2] = p->msg_len; /* size_t */
2429 uarg[3] = p->msg_prio; /* unsigned */
2430 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2436 struct kmq_notify_args *p = params;
2437 iarg[0] = p->mqd; /* int */
2438 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2444 struct kmq_unlink_args *p = params;
2445 uarg[0] = (intptr_t) p->path; /* const char * */
2451 struct abort2_args *p = params;
2452 uarg[0] = (intptr_t) p->why; /* const char * */
2453 iarg[1] = p->nargs; /* int */
2454 uarg[2] = (intptr_t) p->args; /* void ** */
2460 struct thr_set_name_args *p = params;
2461 iarg[0] = p->id; /* long */
2462 uarg[1] = (intptr_t) p->name; /* const char * */
2468 struct aio_fsync_args *p = params;
2469 iarg[0] = p->op; /* int */
2470 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2476 struct rtprio_thread_args *p = params;
2477 iarg[0] = p->function; /* int */
2478 iarg[1] = p->lwpid; /* lwpid_t */
2479 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2485 struct sctp_peeloff_args *p = params;
2486 iarg[0] = p->sd; /* int */
2487 uarg[1] = p->name; /* uint32_t */
2491 /* sctp_generic_sendmsg */
2493 struct sctp_generic_sendmsg_args *p = params;
2494 iarg[0] = p->sd; /* int */
2495 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2496 iarg[2] = p->mlen; /* int */
2497 uarg[3] = (intptr_t) p->to; /* caddr_t */
2498 iarg[4] = p->tolen; /* __socklen_t */
2499 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2500 iarg[6] = p->flags; /* int */
2504 /* sctp_generic_sendmsg_iov */
2506 struct sctp_generic_sendmsg_iov_args *p = params;
2507 iarg[0] = p->sd; /* int */
2508 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2509 iarg[2] = p->iovlen; /* int */
2510 uarg[3] = (intptr_t) p->to; /* caddr_t */
2511 iarg[4] = p->tolen; /* __socklen_t */
2512 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2513 iarg[6] = p->flags; /* int */
2517 /* sctp_generic_recvmsg */
2519 struct sctp_generic_recvmsg_args *p = params;
2520 iarg[0] = p->sd; /* int */
2521 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2522 iarg[2] = p->iovlen; /* int */
2523 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2524 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2525 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2526 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2532 struct pread_args *p = params;
2533 iarg[0] = p->fd; /* int */
2534 uarg[1] = (intptr_t) p->buf; /* void * */
2535 uarg[2] = p->nbyte; /* size_t */
2536 iarg[3] = p->offset; /* off_t */
2542 struct pwrite_args *p = params;
2543 iarg[0] = p->fd; /* int */
2544 uarg[1] = (intptr_t) p->buf; /* const void * */
2545 uarg[2] = p->nbyte; /* size_t */
2546 iarg[3] = p->offset; /* off_t */
2552 struct mmap_args *p = params;
2553 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2554 uarg[1] = p->len; /* size_t */
2555 iarg[2] = p->prot; /* int */
2556 iarg[3] = p->flags; /* int */
2557 iarg[4] = p->fd; /* int */
2558 iarg[5] = p->pos; /* off_t */
2564 struct lseek_args *p = params;
2565 iarg[0] = p->fd; /* int */
2566 iarg[1] = p->offset; /* off_t */
2567 iarg[2] = p->whence; /* int */
2573 struct truncate_args *p = params;
2574 uarg[0] = (intptr_t) p->path; /* char * */
2575 iarg[1] = p->length; /* off_t */
2581 struct ftruncate_args *p = params;
2582 iarg[0] = p->fd; /* int */
2583 iarg[1] = p->length; /* off_t */
2589 struct thr_kill2_args *p = params;
2590 iarg[0] = p->pid; /* pid_t */
2591 iarg[1] = p->id; /* long */
2592 iarg[2] = p->sig; /* int */
2598 struct shm_open_args *p = params;
2599 uarg[0] = (intptr_t) p->path; /* const char * */
2600 iarg[1] = p->flags; /* int */
2601 iarg[2] = p->mode; /* mode_t */
2607 struct shm_unlink_args *p = params;
2608 uarg[0] = (intptr_t) p->path; /* const char * */
2614 struct cpuset_args *p = params;
2615 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2621 struct cpuset_setid_args *p = params;
2622 iarg[0] = p->which; /* cpuwhich_t */
2623 iarg[1] = p->id; /* id_t */
2624 iarg[2] = p->setid; /* cpusetid_t */
2630 struct cpuset_getid_args *p = params;
2631 iarg[0] = p->level; /* cpulevel_t */
2632 iarg[1] = p->which; /* cpuwhich_t */
2633 iarg[2] = p->id; /* id_t */
2634 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2638 /* cpuset_getaffinity */
2640 struct cpuset_getaffinity_args *p = params;
2641 iarg[0] = p->level; /* cpulevel_t */
2642 iarg[1] = p->which; /* cpuwhich_t */
2643 iarg[2] = p->id; /* id_t */
2644 uarg[3] = p->cpusetsize; /* size_t */
2645 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2649 /* cpuset_setaffinity */
2651 struct cpuset_setaffinity_args *p = params;
2652 iarg[0] = p->level; /* cpulevel_t */
2653 iarg[1] = p->which; /* cpuwhich_t */
2654 iarg[2] = p->id; /* id_t */
2655 uarg[3] = p->cpusetsize; /* size_t */
2656 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2662 struct faccessat_args *p = params;
2663 iarg[0] = p->fd; /* int */
2664 uarg[1] = (intptr_t) p->path; /* char * */
2665 iarg[2] = p->amode; /* int */
2666 iarg[3] = p->flag; /* int */
2672 struct fchmodat_args *p = params;
2673 iarg[0] = p->fd; /* int */
2674 uarg[1] = (intptr_t) p->path; /* char * */
2675 iarg[2] = p->mode; /* mode_t */
2676 iarg[3] = p->flag; /* int */
2682 struct fchownat_args *p = params;
2683 iarg[0] = p->fd; /* int */
2684 uarg[1] = (intptr_t) p->path; /* char * */
2685 uarg[2] = p->uid; /* uid_t */
2686 iarg[3] = p->gid; /* gid_t */
2687 iarg[4] = p->flag; /* int */
2693 struct fexecve_args *p = params;
2694 iarg[0] = p->fd; /* int */
2695 uarg[1] = (intptr_t) p->argv; /* char ** */
2696 uarg[2] = (intptr_t) p->envv; /* char ** */
2702 struct futimesat_args *p = params;
2703 iarg[0] = p->fd; /* int */
2704 uarg[1] = (intptr_t) p->path; /* char * */
2705 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2711 struct linkat_args *p = params;
2712 iarg[0] = p->fd1; /* int */
2713 uarg[1] = (intptr_t) p->path1; /* char * */
2714 iarg[2] = p->fd2; /* int */
2715 uarg[3] = (intptr_t) p->path2; /* char * */
2716 iarg[4] = p->flag; /* int */
2722 struct mkdirat_args *p = params;
2723 iarg[0] = p->fd; /* int */
2724 uarg[1] = (intptr_t) p->path; /* char * */
2725 iarg[2] = p->mode; /* mode_t */
2731 struct mkfifoat_args *p = params;
2732 iarg[0] = p->fd; /* int */
2733 uarg[1] = (intptr_t) p->path; /* char * */
2734 iarg[2] = p->mode; /* mode_t */
2740 struct openat_args *p = params;
2741 iarg[0] = p->fd; /* int */
2742 uarg[1] = (intptr_t) p->path; /* char * */
2743 iarg[2] = p->flag; /* int */
2744 iarg[3] = p->mode; /* mode_t */
2750 struct readlinkat_args *p = params;
2751 iarg[0] = p->fd; /* int */
2752 uarg[1] = (intptr_t) p->path; /* char * */
2753 uarg[2] = (intptr_t) p->buf; /* char * */
2754 uarg[3] = p->bufsize; /* size_t */
2760 struct renameat_args *p = params;
2761 iarg[0] = p->oldfd; /* int */
2762 uarg[1] = (intptr_t) p->old; /* char * */
2763 iarg[2] = p->newfd; /* int */
2764 uarg[3] = (intptr_t) p->new; /* char * */
2770 struct symlinkat_args *p = params;
2771 uarg[0] = (intptr_t) p->path1; /* char * */
2772 iarg[1] = p->fd; /* int */
2773 uarg[2] = (intptr_t) p->path2; /* char * */
2779 struct unlinkat_args *p = params;
2780 iarg[0] = p->fd; /* int */
2781 uarg[1] = (intptr_t) p->path; /* char * */
2782 iarg[2] = p->flag; /* int */
2788 struct posix_openpt_args *p = params;
2789 iarg[0] = p->flags; /* int */
2795 struct gssd_syscall_args *p = params;
2796 uarg[0] = (intptr_t) p->path; /* char * */
2802 struct jail_get_args *p = params;
2803 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2804 uarg[1] = p->iovcnt; /* unsigned int */
2805 iarg[2] = p->flags; /* int */
2811 struct jail_set_args *p = params;
2812 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2813 uarg[1] = p->iovcnt; /* unsigned int */
2814 iarg[2] = p->flags; /* int */
2820 struct jail_remove_args *p = params;
2821 iarg[0] = p->jid; /* int */
2827 struct closefrom_args *p = params;
2828 iarg[0] = p->lowfd; /* int */
2834 struct __semctl_args *p = params;
2835 iarg[0] = p->semid; /* int */
2836 iarg[1] = p->semnum; /* int */
2837 iarg[2] = p->cmd; /* int */
2838 uarg[3] = (intptr_t) p->arg; /* union semun * */
2844 struct msgctl_args *p = params;
2845 iarg[0] = p->msqid; /* int */
2846 iarg[1] = p->cmd; /* int */
2847 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
2853 struct shmctl_args *p = params;
2854 iarg[0] = p->shmid; /* int */
2855 iarg[1] = p->cmd; /* int */
2856 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
2862 struct lpathconf_args *p = params;
2863 uarg[0] = (intptr_t) p->path; /* char * */
2864 iarg[1] = p->name; /* int */
2868 /* __cap_rights_get */
2870 struct __cap_rights_get_args *p = params;
2871 iarg[0] = p->version; /* int */
2872 iarg[1] = p->fd; /* int */
2873 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */
2884 struct cap_getmode_args *p = params;
2885 uarg[0] = (intptr_t) p->modep; /* u_int * */
2891 struct pdfork_args *p = params;
2892 uarg[0] = (intptr_t) p->fdp; /* int * */
2893 iarg[1] = p->flags; /* int */
2899 struct pdkill_args *p = params;
2900 iarg[0] = p->fd; /* int */
2901 iarg[1] = p->signum; /* int */
2907 struct pdgetpid_args *p = params;
2908 iarg[0] = p->fd; /* int */
2909 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
2915 struct pselect_args *p = params;
2916 iarg[0] = p->nd; /* int */
2917 uarg[1] = (intptr_t) p->in; /* fd_set * */
2918 uarg[2] = (intptr_t) p->ou; /* fd_set * */
2919 uarg[3] = (intptr_t) p->ex; /* fd_set * */
2920 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
2921 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
2927 struct getloginclass_args *p = params;
2928 uarg[0] = (intptr_t) p->namebuf; /* char * */
2929 uarg[1] = p->namelen; /* size_t */
2935 struct setloginclass_args *p = params;
2936 uarg[0] = (intptr_t) p->namebuf; /* const char * */
2940 /* rctl_get_racct */
2942 struct rctl_get_racct_args *p = params;
2943 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2944 uarg[1] = p->inbuflen; /* size_t */
2945 uarg[2] = (intptr_t) p->outbufp; /* void * */
2946 uarg[3] = p->outbuflen; /* size_t */
2950 /* rctl_get_rules */
2952 struct rctl_get_rules_args *p = params;
2953 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2954 uarg[1] = p->inbuflen; /* size_t */
2955 uarg[2] = (intptr_t) p->outbufp; /* void * */
2956 uarg[3] = p->outbuflen; /* size_t */
2960 /* rctl_get_limits */
2962 struct rctl_get_limits_args *p = params;
2963 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2964 uarg[1] = p->inbuflen; /* size_t */
2965 uarg[2] = (intptr_t) p->outbufp; /* void * */
2966 uarg[3] = p->outbuflen; /* size_t */
2972 struct rctl_add_rule_args *p = params;
2973 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2974 uarg[1] = p->inbuflen; /* size_t */
2975 uarg[2] = (intptr_t) p->outbufp; /* void * */
2976 uarg[3] = p->outbuflen; /* size_t */
2980 /* rctl_remove_rule */
2982 struct rctl_remove_rule_args *p = params;
2983 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2984 uarg[1] = p->inbuflen; /* size_t */
2985 uarg[2] = (intptr_t) p->outbufp; /* void * */
2986 uarg[3] = p->outbuflen; /* size_t */
2990 /* posix_fallocate */
2992 struct posix_fallocate_args *p = params;
2993 iarg[0] = p->fd; /* int */
2994 iarg[1] = p->offset; /* off_t */
2995 iarg[2] = p->len; /* off_t */
3001 struct posix_fadvise_args *p = params;
3002 iarg[0] = p->fd; /* int */
3003 iarg[1] = p->offset; /* off_t */
3004 iarg[2] = p->len; /* off_t */
3005 iarg[3] = p->advice; /* int */
3011 struct wait6_args *p = params;
3012 iarg[0] = p->idtype; /* idtype_t */
3013 iarg[1] = p->id; /* id_t */
3014 uarg[2] = (intptr_t) p->status; /* int * */
3015 iarg[3] = p->options; /* int */
3016 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */
3017 uarg[5] = (intptr_t) p->info; /* siginfo_t * */
3021 /* cap_rights_limit */
3023 struct cap_rights_limit_args *p = params;
3024 iarg[0] = p->fd; /* int */
3025 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */
3029 /* cap_ioctls_limit */
3031 struct cap_ioctls_limit_args *p = params;
3032 iarg[0] = p->fd; /* int */
3033 uarg[1] = (intptr_t) p->cmds; /* const u_long * */
3034 uarg[2] = p->ncmds; /* size_t */
3038 /* cap_ioctls_get */
3040 struct cap_ioctls_get_args *p = params;
3041 iarg[0] = p->fd; /* int */
3042 uarg[1] = (intptr_t) p->cmds; /* u_long * */
3043 uarg[2] = p->maxcmds; /* size_t */
3047 /* cap_fcntls_limit */
3049 struct cap_fcntls_limit_args *p = params;
3050 iarg[0] = p->fd; /* int */
3051 uarg[1] = p->fcntlrights; /* uint32_t */
3055 /* cap_fcntls_get */
3057 struct cap_fcntls_get_args *p = params;
3058 iarg[0] = p->fd; /* int */
3059 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
3065 struct bindat_args *p = params;
3066 iarg[0] = p->fd; /* int */
3067 iarg[1] = p->s; /* int */
3068 uarg[2] = (intptr_t) p->name; /* caddr_t */
3069 iarg[3] = p->namelen; /* int */
3075 struct connectat_args *p = params;
3076 iarg[0] = p->fd; /* int */
3077 iarg[1] = p->s; /* int */
3078 uarg[2] = (intptr_t) p->name; /* caddr_t */
3079 iarg[3] = p->namelen; /* int */
3085 struct chflagsat_args *p = params;
3086 iarg[0] = p->fd; /* int */
3087 uarg[1] = (intptr_t) p->path; /* const char * */
3088 uarg[2] = p->flags; /* u_long */
3089 iarg[3] = p->atflag; /* int */
3095 struct accept4_args *p = params;
3096 iarg[0] = p->s; /* int */
3097 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
3098 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
3099 iarg[3] = p->flags; /* int */
3105 struct pipe2_args *p = params;
3106 uarg[0] = (intptr_t) p->fildes; /* int * */
3107 iarg[1] = p->flags; /* int */
3113 struct aio_mlock_args *p = params;
3114 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3120 struct procctl_args *p = params;
3121 iarg[0] = p->idtype; /* idtype_t */
3122 iarg[1] = p->id; /* id_t */
3123 iarg[2] = p->com; /* int */
3124 uarg[3] = (intptr_t) p->data; /* void * */
3130 struct ppoll_args *p = params;
3131 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
3132 uarg[1] = p->nfds; /* u_int */
3133 uarg[2] = (intptr_t) p->ts; /* const struct timespec * */
3134 uarg[3] = (intptr_t) p->set; /* const sigset_t * */
3140 struct futimens_args *p = params;
3141 iarg[0] = p->fd; /* int */
3142 uarg[1] = (intptr_t) p->times; /* struct timespec * */
3148 struct utimensat_args *p = params;
3149 iarg[0] = p->fd; /* int */
3150 uarg[1] = (intptr_t) p->path; /* char * */
3151 uarg[2] = (intptr_t) p->times; /* struct timespec * */
3152 iarg[3] = p->flag; /* int */
3158 struct fdatasync_args *p = params;
3159 iarg[0] = p->fd; /* int */
3165 struct fstat_args *p = params;
3166 iarg[0] = p->fd; /* int */
3167 uarg[1] = (intptr_t) p->sb; /* struct stat * */
3173 struct fstatat_args *p = params;
3174 iarg[0] = p->fd; /* int */
3175 uarg[1] = (intptr_t) p->path; /* char * */
3176 uarg[2] = (intptr_t) p->buf; /* struct stat * */
3177 iarg[3] = p->flag; /* int */
3183 struct fhstat_args *p = params;
3184 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
3185 uarg[1] = (intptr_t) p->sb; /* struct stat * */
3191 struct getdirentries_args *p = params;
3192 iarg[0] = p->fd; /* int */
3193 uarg[1] = (intptr_t) p->buf; /* char * */
3194 uarg[2] = p->count; /* size_t */
3195 uarg[3] = (intptr_t) p->basep; /* off_t * */
3201 struct statfs_args *p = params;
3202 uarg[0] = (intptr_t) p->path; /* char * */
3203 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3209 struct fstatfs_args *p = params;
3210 iarg[0] = p->fd; /* int */
3211 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3217 struct getfsstat_args *p = params;
3218 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
3219 iarg[1] = p->bufsize; /* long */
3220 iarg[2] = p->mode; /* int */
3226 struct fhstatfs_args *p = params;
3227 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
3228 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3234 struct mknodat_args *p = params;
3235 iarg[0] = p->fd; /* int */
3236 uarg[1] = (intptr_t) p->path; /* char * */
3237 iarg[2] = p->mode; /* mode_t */
3238 iarg[3] = p->dev; /* dev_t */
3244 struct kevent_args *p = params;
3245 iarg[0] = p->fd; /* int */
3246 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
3247 iarg[2] = p->nchanges; /* int */
3248 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
3249 iarg[4] = p->nevents; /* int */
3250 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
3254 /* cpuset_getdomain */
3256 struct cpuset_getdomain_args *p = params;
3257 iarg[0] = p->level; /* cpulevel_t */
3258 iarg[1] = p->which; /* cpuwhich_t */
3259 iarg[2] = p->id; /* id_t */
3260 uarg[3] = p->domainsetsize; /* size_t */
3261 uarg[4] = (intptr_t) p->mask; /* domainset_t * */
3262 uarg[5] = (intptr_t) p->policy; /* int * */
3266 /* cpuset_setdomain */
3268 struct cpuset_setdomain_args *p = params;
3269 iarg[0] = p->level; /* cpulevel_t */
3270 iarg[1] = p->which; /* cpuwhich_t */
3271 iarg[2] = p->id; /* id_t */
3272 uarg[3] = p->domainsetsize; /* size_t */
3273 uarg[4] = (intptr_t) p->mask; /* domainset_t * */
3274 iarg[5] = p->policy; /* int */
3280 struct getrandom_args *p = params;
3281 uarg[0] = (intptr_t) p->buf; /* void * */
3282 uarg[1] = p->buflen; /* size_t */
3283 uarg[2] = p->flags; /* unsigned int */
3293 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3295 const char *p = NULL;
3320 p = "userland void *";
3336 p = "userland const void *";
3349 p = "userland char *";
3378 p = "userland int *";
3384 p = "userland struct rusage *";
3394 p = "userland char *";
3397 p = "userland char *";
3407 p = "userland char *";
3417 p = "userland char *";
3437 p = "userland char *";
3450 p = "userland char *";
3466 p = "userland char *";
3479 p = "userland char *";
3482 p = "userland char *";
3498 p = "userland char *";
3549 p = "userland struct msghdr *";
3565 p = "userland struct msghdr *";
3590 p = "userland struct sockaddr *";
3593 p = "userland __socklen_t *";
3606 p = "userland struct sockaddr *";
3609 p = "userland __socklen_t *";
3622 p = "userland struct sockaddr *";
3625 p = "userland __socklen_t *";
3638 p = "userland struct sockaddr *";
3641 p = "userland __socklen_t *";
3651 p = "userland char *";
3664 p = "userland const char *";
3741 p = "userland const char *";
3763 p = "userland char *";
3776 p = "userland char *";
3786 p = "userland char *";
3796 p = "userland stack_t *";
3799 p = "userland stack_t *";
3835 p = "userland char *";
3845 p = "userland char *";
3848 p = "userland char *";
3858 p = "userland char *";
3861 p = "userland char *";
3874 p = "userland char *";
3877 p = "userland char **";
3880 p = "userland char **";
3900 p = "userland char *";
3910 p = "userland void *";
3949 p = "userland void *";
3962 p = "userland void *";
3978 p = "userland void *";
3994 p = "userland const void *";
4000 p = "userland char *";
4013 p = "userland gid_t *";
4026 p = "userland gid_t *";
4055 p = "userland struct itimerval *";
4058 p = "userland struct itimerval *";
4068 p = "userland char *";
4081 p = "userland struct itimerval *";
4126 p = "userland fd_set *";
4129 p = "userland fd_set *";
4132 p = "userland fd_set *";
4135 p = "userland struct timeval *";
4267 p = "userland struct timeval *";
4270 p = "userland struct timezone *";
4283 p = "userland struct rusage *";
4305 p = "userland int *";
4318 p = "userland struct iovec *";
4334 p = "userland struct iovec *";
4347 p = "userland struct timeval *";
4350 p = "userland struct timezone *";
4415 p = "userland char *";
4418 p = "userland char *";
4441 p = "userland char *";
4501 p = "userland int *";
4511 p = "userland char *";
4524 p = "userland char *";
4534 p = "userland char *";
4537 p = "userland struct timeval *";
4547 p = "userland struct timeval *";
4550 p = "userland struct timeval *";
4563 p = "userland char *";
4591 p = "userland char **";
4614 p = "userland char *";
4617 p = "userland struct fhandle *";
4627 p = "userland char *";
4630 p = "userland struct fhandle *";
4643 p = "userland char *";
4659 p = "userland struct rtprio *";
4745 p = "userland struct timex *";
4785 p = "userland char *";
4814 p = "userland struct rlimit *";
4827 p = "userland struct rlimit *";
4840 p = "userland int *";
4846 p = "userland void *";
4849 p = "userland size_t *";
4852 p = "userland void *";
4865 p = "userland const void *";
4878 p = "userland const void *";
4891 p = "userland char *";
4904 p = "userland struct timeval *";
4924 p = "userland struct pollfd *";
4989 p = "userland struct sembuf *";
5018 p = "userland const void *";
5037 p = "userland void *";
5059 p = "userland const void *";
5072 p = "userland const void *";
5101 p = "userland struct timespec *";
5114 p = "userland const struct timespec *";
5127 p = "userland struct timespec *";
5140 p = "userland struct sigevent *";
5143 p = "userland int *";
5159 /* ktimer_settime */
5169 p = "userland const struct itimerspec *";
5172 p = "userland struct itimerspec *";
5178 /* ktimer_gettime */
5185 p = "userland struct itimerspec *";
5191 /* ktimer_getoverrun */
5205 p = "userland const struct timespec *";
5208 p = "userland struct timespec *";
5214 /* ffclock_getcounter */
5218 p = "userland ffcounter *";
5224 /* ffclock_setestimate */
5228 p = "userland struct ffclock_estimate *";
5234 /* ffclock_getestimate */
5238 p = "userland struct ffclock_estimate *";
5244 /* clock_nanosleep */
5254 p = "userland const struct timespec *";
5257 p = "userland struct timespec *";
5263 /* clock_getcpuclockid2 */
5273 p = "userland clockid_t *";
5283 p = "userland struct ntptimeval *";
5293 p = "userland void *";
5322 p = "userland char *";
5338 p = "userland struct aiocb *";
5348 p = "userland struct aiocb *";
5361 p = "userland struct aiocb *const *";
5367 p = "userland struct sigevent *";
5377 p = "userland char *";
5390 p = "userland char *";
5406 p = "userland char *";
5409 p = "userland struct timeval *";
5419 p = "userland void *";
5438 p = "userland struct iovec *";
5457 p = "userland struct iovec *";
5473 p = "userland const struct fhandle *";
5499 p = "userland struct module_stat *";
5519 p = "userland const char *";
5529 p = "userland const char *";
5549 p = "userland const char *";
5572 p = "userland struct kld_file_stat *";
5634 p = "userland struct aiocb *";
5644 p = "userland struct aiocb *const *";
5650 p = "userland const struct timespec *";
5663 p = "userland struct aiocb *";
5673 p = "userland struct aiocb *";
5699 p = "userland char *";
5708 /* sched_setparam */
5715 p = "userland const struct sched_param *";
5721 /* sched_getparam */
5728 p = "userland struct sched_param *";
5734 /* sched_setscheduler */
5744 p = "userland const struct sched_param *";
5750 /* sched_getscheduler */
5763 /* sched_get_priority_max */
5773 /* sched_get_priority_min */
5783 /* sched_rr_get_interval */
5790 p = "userland struct timespec *";
5800 p = "userland const void *";
5819 p = "userland void *";
5829 p = "userland struct jail *";
5842 p = "userland char *";
5848 p = "userland void *";
5864 p = "userland const sigset_t *";
5867 p = "userland sigset_t *";
5877 p = "userland const sigset_t *";
5887 p = "userland sigset_t *";
5897 p = "userland const sigset_t *";
5900 p = "userland siginfo_t *";
5903 p = "userland const struct timespec *";
5913 p = "userland const sigset_t *";
5916 p = "userland siginfo_t *";
5922 /* __acl_get_file */
5926 p = "userland const char *";
5932 p = "userland struct acl *";
5938 /* __acl_set_file */
5942 p = "userland const char *";
5948 p = "userland struct acl *";
5964 p = "userland struct acl *";
5980 p = "userland struct acl *";
5986 /* __acl_delete_file */
5990 p = "userland const char *";
5999 /* __acl_delete_fd */
6012 /* __acl_aclcheck_file */
6016 p = "userland const char *";
6022 p = "userland struct acl *";
6028 /* __acl_aclcheck_fd */
6038 p = "userland struct acl *";
6048 p = "userland const char *";
6054 p = "userland const char *";
6060 p = "userland const char *";
6066 /* extattr_set_file */
6070 p = "userland const char *";
6076 p = "userland const char *";
6079 p = "userland void *";
6088 /* extattr_get_file */
6092 p = "userland const char *";
6098 p = "userland const char *";
6101 p = "userland void *";
6110 /* extattr_delete_file */
6114 p = "userland const char *";
6120 p = "userland const char *";
6126 /* aio_waitcomplete */
6130 p = "userland struct aiocb **";
6133 p = "userland struct timespec *";
6143 p = "userland uid_t *";
6146 p = "userland uid_t *";
6149 p = "userland uid_t *";
6159 p = "userland gid_t *";
6162 p = "userland gid_t *";
6165 p = "userland gid_t *";
6174 /* extattr_set_fd */
6184 p = "userland const char *";
6187 p = "userland void *";
6196 /* extattr_get_fd */
6206 p = "userland const char *";
6209 p = "userland void *";
6218 /* extattr_delete_fd */
6228 p = "userland const char *";
6248 p = "userland char *";
6289 p = "userland struct iovec *";
6301 /* __mac_get_proc */
6305 p = "userland struct mac *";
6311 /* __mac_set_proc */
6315 p = "userland struct mac *";
6328 p = "userland struct mac *";
6334 /* __mac_get_file */
6338 p = "userland const char *";
6341 p = "userland struct mac *";
6354 p = "userland struct mac *";
6360 /* __mac_set_file */
6364 p = "userland const char *";
6367 p = "userland struct mac *";
6380 p = "userland const char *";
6383 p = "userland char *";
6396 p = "userland const char *";
6409 p = "userland struct uuid *";
6434 p = "userland struct sf_hdtr *";
6437 p = "userland off_t *";
6450 p = "userland const char *";
6456 p = "userland void *";
6506 p = "userland semid_t *";
6519 p = "userland semid_t *";
6522 p = "userland const char *";
6541 p = "userland const char *";
6554 p = "userland int *";
6577 p = "userland struct mac *";
6583 /* __mac_get_link */
6587 p = "userland const char *";
6590 p = "userland struct mac *";
6596 /* __mac_set_link */
6600 p = "userland const char *";
6603 p = "userland struct mac *";
6609 /* extattr_set_link */
6613 p = "userland const char *";
6619 p = "userland const char *";
6622 p = "userland void *";
6631 /* extattr_get_link */
6635 p = "userland const char *";
6641 p = "userland const char *";
6644 p = "userland void *";
6653 /* extattr_delete_link */
6657 p = "userland const char *";
6663 p = "userland const char *";
6673 p = "userland char *";
6676 p = "userland char **";
6679 p = "userland char **";
6682 p = "userland struct mac *";
6695 p = "userland const struct sigaction *";
6698 p = "userland struct sigaction *";
6708 p = "userland const struct __ucontext *";
6718 p = "userland struct __ucontext *";
6728 p = "userland const struct __ucontext *";
6738 p = "userland struct __ucontext *";
6741 p = "userland const struct __ucontext *";
6751 p = "userland const char *";
6757 /* __acl_get_link */
6761 p = "userland const char *";
6767 p = "userland struct acl *";
6773 /* __acl_set_link */
6777 p = "userland const char *";
6783 p = "userland struct acl *";
6789 /* __acl_delete_link */
6793 p = "userland const char *";
6802 /* __acl_aclcheck_link */
6806 p = "userland const char *";
6812 p = "userland struct acl *";
6822 p = "userland const sigset_t *";
6825 p = "userland int *";
6835 p = "userland ucontext_t *";
6838 p = "userland long *";
6851 p = "userland long *";
6861 p = "userland long *";
6890 /* extattr_list_fd */
6900 p = "userland void *";
6909 /* extattr_list_file */
6913 p = "userland const char *";
6919 p = "userland void *";
6928 /* extattr_list_link */
6932 p = "userland const char *";
6938 p = "userland void *";
6947 /* ksem_timedwait */
6954 p = "userland const struct timespec *";
6964 p = "userland const struct timespec *";
6997 p = "userland const void *";
7013 p = "userland void *";
7026 p = "userland uid_t *";
7036 p = "userland uid_t *";
7046 p = "userland struct auditinfo *";
7056 p = "userland struct auditinfo *";
7066 p = "userland struct auditinfo_addr *";
7079 p = "userland struct auditinfo_addr *";
7092 p = "userland char *";
7102 p = "userland void *";
7111 p = "userland void *";
7114 p = "userland void *";
7124 p = "userland struct thr_param *";
7143 p = "userland void *";
7153 p = "userland const char *";
7162 p = "userland const struct mq_attr *";
7175 p = "userland const struct mq_attr *";
7178 p = "userland struct mq_attr *";
7184 /* kmq_timedreceive */
7191 p = "userland char *";
7197 p = "userland unsigned *";
7200 p = "userland const struct timespec *";
7213 p = "userland const char *";
7222 p = "userland const struct timespec *";
7235 p = "userland const struct sigevent *";
7245 p = "userland const char *";
7255 p = "userland const char *";
7261 p = "userland void **";
7274 p = "userland const char *";
7287 p = "userland struct aiocb *";
7303 p = "userland struct rtprio *";
7322 /* sctp_generic_sendmsg */
7341 p = "userland struct sctp_sndrcvinfo *";
7350 /* sctp_generic_sendmsg_iov */
7357 p = "userland struct iovec *";
7369 p = "userland struct sctp_sndrcvinfo *";
7378 /* sctp_generic_recvmsg */
7385 p = "userland struct iovec *";
7391 p = "userland struct sockaddr *";
7394 p = "userland __socklen_t *";
7397 p = "userland struct sctp_sndrcvinfo *";
7400 p = "userland int *";
7413 p = "userland void *";
7432 p = "userland const void *";
7489 p = "userland char *";
7531 p = "userland const char *";
7547 p = "userland const char *";
7557 p = "userland cpusetid_t *";
7592 p = "userland cpusetid_t *";
7598 /* cpuset_getaffinity */
7614 p = "userland cpuset_t *";
7620 /* cpuset_setaffinity */
7636 p = "userland const cpuset_t *";
7649 p = "userland char *";
7668 p = "userland char *";
7687 p = "userland char *";
7709 p = "userland char **";
7712 p = "userland char **";
7725 p = "userland char *";
7728 p = "userland struct timeval *";
7741 p = "userland char *";
7747 p = "userland char *";
7763 p = "userland char *";
7779 p = "userland char *";
7795 p = "userland char *";
7814 p = "userland char *";
7817 p = "userland char *";
7833 p = "userland char *";
7839 p = "userland char *";
7849 p = "userland char *";
7855 p = "userland char *";
7868 p = "userland char *";
7891 p = "userland char *";
7901 p = "userland struct iovec *";
7917 p = "userland struct iovec *";
7962 p = "userland union semun *";
7978 p = "userland struct msqid_ds *";
7994 p = "userland struct shmid_ds *";
8004 p = "userland char *";
8013 /* __cap_rights_get */
8023 p = "userland cap_rights_t *";
8036 p = "userland u_int *";
8046 p = "userland int *";
8075 p = "userland pid_t *";
8088 p = "userland fd_set *";
8091 p = "userland fd_set *";
8094 p = "userland fd_set *";
8097 p = "userland const struct timespec *";
8100 p = "userland const sigset_t *";
8110 p = "userland char *";
8123 p = "userland const char *";
8129 /* rctl_get_racct */
8133 p = "userland const void *";
8139 p = "userland void *";
8148 /* rctl_get_rules */
8152 p = "userland const void *";
8158 p = "userland void *";
8167 /* rctl_get_limits */
8171 p = "userland const void *";
8177 p = "userland void *";
8190 p = "userland const void *";
8196 p = "userland void *";
8205 /* rctl_remove_rule */
8209 p = "userland const void *";
8215 p = "userland void *";
8224 /* posix_fallocate */
8269 p = "userland int *";
8275 p = "userland struct __wrusage *";
8278 p = "userland siginfo_t *";
8284 /* cap_rights_limit */
8291 p = "userland cap_rights_t *";
8297 /* cap_ioctls_limit */
8304 p = "userland const u_long *";
8313 /* cap_ioctls_get */
8320 p = "userland u_long *";
8329 /* cap_fcntls_limit */
8342 /* cap_fcntls_get */
8349 p = "userland uint32_t *";
8400 p = "userland const char *";
8419 p = "userland struct sockaddr *";
8422 p = "userland __socklen_t *";
8435 p = "userland int *";
8448 p = "userland struct aiocb *";
8467 p = "userland void *";
8477 p = "userland struct pollfd *";
8483 p = "userland const struct timespec *";
8486 p = "userland const sigset_t *";
8499 p = "userland struct timespec *";
8512 p = "userland char *";
8515 p = "userland struct timespec *";
8541 p = "userland struct stat *";
8554 p = "userland char *";
8557 p = "userland struct stat *";
8570 p = "userland const struct fhandle *";
8573 p = "userland struct stat *";
8586 p = "userland char *";
8592 p = "userland off_t *";
8602 p = "userland char *";
8605 p = "userland struct statfs *";
8618 p = "userland struct statfs *";
8628 p = "userland struct statfs *";
8644 p = "userland const struct fhandle *";
8647 p = "userland struct statfs *";
8660 p = "userland char *";
8679 p = "userland struct kevent *";
8685 p = "userland struct kevent *";
8691 p = "userland const struct timespec *";
8697 /* cpuset_getdomain */
8713 p = "userland domainset_t *";
8716 p = "userland int *";
8722 /* cpuset_setdomain */
8738 p = "userland domainset_t *";
8751 p = "userland void *";
8767 strlcpy(desc, p, descsz);
8770 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8772 const char *p = NULL;
8778 if (ndx == 0 || ndx == 1)
8785 if (ndx == 0 || ndx == 1)
8790 if (ndx == 0 || ndx == 1)
8795 if (ndx == 0 || ndx == 1)
8800 if (ndx == 0 || ndx == 1)
8805 if (ndx == 0 || ndx == 1)
8810 if (ndx == 0 || ndx == 1)
8815 if (ndx == 0 || ndx == 1)
8820 if (ndx == 0 || ndx == 1)
8825 if (ndx == 0 || ndx == 1)
8830 if (ndx == 0 || ndx == 1)
8835 if (ndx == 0 || ndx == 1)
8840 if (ndx == 0 || ndx == 1)
8847 if (ndx == 0 || ndx == 1)
8852 if (ndx == 0 || ndx == 1)
8857 if (ndx == 0 || ndx == 1)
8866 if (ndx == 0 || ndx == 1)
8871 if (ndx == 0 || ndx == 1)
8876 if (ndx == 0 || ndx == 1)
8881 if (ndx == 0 || ndx == 1)
8886 if (ndx == 0 || ndx == 1)
8891 if (ndx == 0 || ndx == 1)
8896 if (ndx == 0 || ndx == 1)
8901 if (ndx == 0 || ndx == 1)
8906 if (ndx == 0 || ndx == 1)
8911 if (ndx == 0 || ndx == 1)
8918 if (ndx == 0 || ndx == 1)
8925 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)
8984 if (ndx == 0 || ndx == 1)
8989 if (ndx == 0 || ndx == 1)
8994 if (ndx == 0 || ndx == 1)
8999 if (ndx == 0 || ndx == 1)
9004 if (ndx == 0 || ndx == 1)
9011 if (ndx == 0 || ndx == 1)
9016 if (ndx == 0 || ndx == 1)
9021 if (ndx == 0 || ndx == 1)
9026 if (ndx == 0 || ndx == 1)
9031 if (ndx == 0 || ndx == 1)
9036 if (ndx == 0 || ndx == 1)
9041 if (ndx == 0 || ndx == 1)
9046 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)
9075 if (ndx == 0 || ndx == 1)
9080 if (ndx == 0 || ndx == 1)
9085 if (ndx == 0 || ndx == 1)
9090 if (ndx == 0 || ndx == 1)
9095 if (ndx == 0 || ndx == 1)
9100 if (ndx == 0 || ndx == 1)
9105 if (ndx == 0 || ndx == 1)
9110 if (ndx == 0 || ndx == 1)
9115 if (ndx == 0 || ndx == 1)
9120 if (ndx == 0 || ndx == 1)
9125 if (ndx == 0 || ndx == 1)
9130 if (ndx == 0 || ndx == 1)
9135 if (ndx == 0 || ndx == 1)
9140 if (ndx == 0 || ndx == 1)
9145 if (ndx == 0 || ndx == 1)
9150 if (ndx == 0 || ndx == 1)
9155 if (ndx == 0 || ndx == 1)
9160 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)
9232 if (ndx == 0 || ndx == 1)
9237 if (ndx == 0 || ndx == 1)
9242 if (ndx == 0 || ndx == 1)
9247 if (ndx == 0 || ndx == 1)
9252 if (ndx == 0 || ndx == 1)
9257 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)
9297 if (ndx == 0 || ndx == 1)
9302 if (ndx == 0 || ndx == 1)
9307 if (ndx == 0 || ndx == 1)
9312 if (ndx == 0 || ndx == 1)
9317 if (ndx == 0 || ndx == 1)
9322 if (ndx == 0 || ndx == 1)
9329 if (ndx == 0 || ndx == 1)
9334 if (ndx == 0 || ndx == 1)
9339 if (ndx == 0 || ndx == 1)
9344 if (ndx == 0 || ndx == 1)
9349 if (ndx == 0 || ndx == 1)
9354 if (ndx == 0 || ndx == 1)
9359 if (ndx == 0 || ndx == 1)
9384 if (ndx == 0 || ndx == 1)
9389 if (ndx == 0 || ndx == 1)
9394 if (ndx == 0 || ndx == 1)
9399 if (ndx == 0 || ndx == 1)
9404 if (ndx == 0 || ndx == 1)
9409 if (ndx == 0 || ndx == 1)
9414 if (ndx == 0 || ndx == 1)
9419 if (ndx == 0 || ndx == 1)
9424 if (ndx == 0 || ndx == 1)
9429 if (ndx == 0 || ndx == 1)
9434 if (ndx == 0 || ndx == 1)
9439 if (ndx == 0 || ndx == 1)
9444 if (ndx == 0 || ndx == 1)
9447 /* ktimer_settime */
9449 if (ndx == 0 || ndx == 1)
9452 /* ktimer_gettime */
9454 if (ndx == 0 || ndx == 1)
9457 /* ktimer_getoverrun */
9459 if (ndx == 0 || ndx == 1)
9464 if (ndx == 0 || ndx == 1)
9467 /* ffclock_getcounter */
9469 if (ndx == 0 || ndx == 1)
9472 /* ffclock_setestimate */
9474 if (ndx == 0 || ndx == 1)
9477 /* ffclock_getestimate */
9479 if (ndx == 0 || ndx == 1)
9482 /* clock_nanosleep */
9484 if (ndx == 0 || ndx == 1)
9487 /* clock_getcpuclockid2 */
9489 if (ndx == 0 || ndx == 1)
9494 if (ndx == 0 || ndx == 1)
9499 if (ndx == 0 || ndx == 1)
9504 if (ndx == 0 || ndx == 1)
9511 if (ndx == 0 || ndx == 1)
9516 if (ndx == 0 || ndx == 1)
9521 if (ndx == 0 || ndx == 1)
9526 if (ndx == 0 || ndx == 1)
9531 if (ndx == 0 || ndx == 1)
9536 if (ndx == 0 || ndx == 1)
9541 if (ndx == 0 || ndx == 1)
9546 if (ndx == 0 || ndx == 1)
9551 if (ndx == 0 || ndx == 1)
9556 if (ndx == 0 || ndx == 1)
9561 if (ndx == 0 || ndx == 1)
9566 if (ndx == 0 || ndx == 1)
9571 if (ndx == 0 || ndx == 1)
9576 if (ndx == 0 || ndx == 1)
9581 if (ndx == 0 || ndx == 1)
9586 if (ndx == 0 || ndx == 1)
9591 if (ndx == 0 || ndx == 1)
9596 if (ndx == 0 || ndx == 1)
9601 if (ndx == 0 || ndx == 1)
9606 if (ndx == 0 || ndx == 1)
9611 if (ndx == 0 || ndx == 1)
9616 if (ndx == 0 || ndx == 1)
9621 if (ndx == 0 || ndx == 1)
9626 if (ndx == 0 || ndx == 1)
9631 if (ndx == 0 || ndx == 1)
9636 if (ndx == 0 || ndx == 1)
9641 if (ndx == 0 || ndx == 1)
9646 if (ndx == 0 || ndx == 1)
9653 if (ndx == 0 || ndx == 1)
9660 if (ndx == 0 || ndx == 1)
9663 /* sched_setparam */
9665 if (ndx == 0 || ndx == 1)
9668 /* sched_getparam */
9670 if (ndx == 0 || ndx == 1)
9673 /* sched_setscheduler */
9675 if (ndx == 0 || ndx == 1)
9678 /* sched_getscheduler */
9680 if (ndx == 0 || ndx == 1)
9685 /* sched_get_priority_max */
9687 if (ndx == 0 || ndx == 1)
9690 /* sched_get_priority_min */
9692 if (ndx == 0 || ndx == 1)
9695 /* sched_rr_get_interval */
9697 if (ndx == 0 || ndx == 1)
9702 if (ndx == 0 || ndx == 1)
9707 if (ndx == 0 || ndx == 1)
9712 if (ndx == 0 || ndx == 1)
9717 if (ndx == 0 || ndx == 1)
9722 if (ndx == 0 || ndx == 1)
9727 if (ndx == 0 || ndx == 1)
9732 if (ndx == 0 || ndx == 1)
9737 if (ndx == 0 || ndx == 1)
9742 if (ndx == 0 || ndx == 1)
9745 /* __acl_get_file */
9747 if (ndx == 0 || ndx == 1)
9750 /* __acl_set_file */
9752 if (ndx == 0 || ndx == 1)
9757 if (ndx == 0 || ndx == 1)
9762 if (ndx == 0 || ndx == 1)
9765 /* __acl_delete_file */
9767 if (ndx == 0 || ndx == 1)
9770 /* __acl_delete_fd */
9772 if (ndx == 0 || ndx == 1)
9775 /* __acl_aclcheck_file */
9777 if (ndx == 0 || ndx == 1)
9780 /* __acl_aclcheck_fd */
9782 if (ndx == 0 || ndx == 1)
9787 if (ndx == 0 || ndx == 1)
9790 /* extattr_set_file */
9792 if (ndx == 0 || ndx == 1)
9795 /* extattr_get_file */
9797 if (ndx == 0 || ndx == 1)
9800 /* extattr_delete_file */
9802 if (ndx == 0 || ndx == 1)
9805 /* aio_waitcomplete */
9807 if (ndx == 0 || ndx == 1)
9812 if (ndx == 0 || ndx == 1)
9817 if (ndx == 0 || ndx == 1)
9822 /* extattr_set_fd */
9824 if (ndx == 0 || ndx == 1)
9827 /* extattr_get_fd */
9829 if (ndx == 0 || ndx == 1)
9832 /* extattr_delete_fd */
9834 if (ndx == 0 || ndx == 1)
9839 if (ndx == 0 || ndx == 1)
9844 if (ndx == 0 || ndx == 1)
9849 if (ndx == 0 || ndx == 1)
9854 if (ndx == 0 || ndx == 1)
9857 /* __mac_get_proc */
9859 if (ndx == 0 || ndx == 1)
9862 /* __mac_set_proc */
9864 if (ndx == 0 || ndx == 1)
9869 if (ndx == 0 || ndx == 1)
9872 /* __mac_get_file */
9874 if (ndx == 0 || ndx == 1)
9879 if (ndx == 0 || ndx == 1)
9882 /* __mac_set_file */
9884 if (ndx == 0 || ndx == 1)
9889 if (ndx == 0 || ndx == 1)
9894 if (ndx == 0 || ndx == 1)
9899 if (ndx == 0 || ndx == 1)
9904 if (ndx == 0 || ndx == 1)
9909 if (ndx == 0 || ndx == 1)
9914 if (ndx == 0 || ndx == 1)
9919 if (ndx == 0 || ndx == 1)
9924 if (ndx == 0 || ndx == 1)
9929 if (ndx == 0 || ndx == 1)
9934 if (ndx == 0 || ndx == 1)
9939 if (ndx == 0 || ndx == 1)
9944 if (ndx == 0 || ndx == 1)
9949 if (ndx == 0 || ndx == 1)
9954 if (ndx == 0 || ndx == 1)
9959 if (ndx == 0 || ndx == 1)
9962 /* __mac_get_link */
9964 if (ndx == 0 || ndx == 1)
9967 /* __mac_set_link */
9969 if (ndx == 0 || ndx == 1)
9972 /* extattr_set_link */
9974 if (ndx == 0 || ndx == 1)
9977 /* extattr_get_link */
9979 if (ndx == 0 || ndx == 1)
9982 /* extattr_delete_link */
9984 if (ndx == 0 || ndx == 1)
9989 if (ndx == 0 || ndx == 1)
9994 if (ndx == 0 || ndx == 1)
9999 if (ndx == 0 || ndx == 1)
10004 if (ndx == 0 || ndx == 1)
10009 if (ndx == 0 || ndx == 1)
10014 if (ndx == 0 || ndx == 1)
10019 if (ndx == 0 || ndx == 1)
10022 /* __acl_get_link */
10024 if (ndx == 0 || ndx == 1)
10027 /* __acl_set_link */
10029 if (ndx == 0 || ndx == 1)
10032 /* __acl_delete_link */
10034 if (ndx == 0 || ndx == 1)
10037 /* __acl_aclcheck_link */
10039 if (ndx == 0 || ndx == 1)
10044 if (ndx == 0 || ndx == 1)
10049 if (ndx == 0 || ndx == 1)
10054 if (ndx == 0 || ndx == 1)
10059 if (ndx == 0 || ndx == 1)
10064 if (ndx == 0 || ndx == 1)
10069 if (ndx == 0 || ndx == 1)
10072 /* extattr_list_fd */
10074 if (ndx == 0 || ndx == 1)
10077 /* extattr_list_file */
10079 if (ndx == 0 || ndx == 1)
10082 /* extattr_list_link */
10084 if (ndx == 0 || ndx == 1)
10087 /* ksem_timedwait */
10089 if (ndx == 0 || ndx == 1)
10094 if (ndx == 0 || ndx == 1)
10099 if (ndx == 0 || ndx == 1)
10104 if (ndx == 0 || ndx == 1)
10109 if (ndx == 0 || ndx == 1)
10114 if (ndx == 0 || ndx == 1)
10119 if (ndx == 0 || ndx == 1)
10124 if (ndx == 0 || ndx == 1)
10129 if (ndx == 0 || ndx == 1)
10134 if (ndx == 0 || ndx == 1)
10137 /* getaudit_addr */
10139 if (ndx == 0 || ndx == 1)
10142 /* setaudit_addr */
10144 if (ndx == 0 || ndx == 1)
10149 if (ndx == 0 || ndx == 1)
10154 if (ndx == 0 || ndx == 1)
10159 if (ndx == 0 || ndx == 1)
10164 if (ndx == 0 || ndx == 1)
10169 if (ndx == 0 || ndx == 1)
10174 if (ndx == 0 || ndx == 1)
10177 /* kmq_timedreceive */
10179 if (ndx == 0 || ndx == 1)
10182 /* kmq_timedsend */
10184 if (ndx == 0 || ndx == 1)
10189 if (ndx == 0 || ndx == 1)
10194 if (ndx == 0 || ndx == 1)
10199 if (ndx == 0 || ndx == 1)
10204 if (ndx == 0 || ndx == 1)
10209 if (ndx == 0 || ndx == 1)
10212 /* rtprio_thread */
10214 if (ndx == 0 || ndx == 1)
10219 if (ndx == 0 || ndx == 1)
10222 /* sctp_generic_sendmsg */
10224 if (ndx == 0 || ndx == 1)
10227 /* sctp_generic_sendmsg_iov */
10229 if (ndx == 0 || ndx == 1)
10232 /* sctp_generic_recvmsg */
10234 if (ndx == 0 || ndx == 1)
10239 if (ndx == 0 || ndx == 1)
10244 if (ndx == 0 || ndx == 1)
10249 if (ndx == 0 || ndx == 1)
10254 if (ndx == 0 || ndx == 1)
10259 if (ndx == 0 || ndx == 1)
10264 if (ndx == 0 || ndx == 1)
10269 if (ndx == 0 || ndx == 1)
10274 if (ndx == 0 || ndx == 1)
10279 if (ndx == 0 || ndx == 1)
10284 if (ndx == 0 || ndx == 1)
10289 if (ndx == 0 || ndx == 1)
10294 if (ndx == 0 || ndx == 1)
10297 /* cpuset_getaffinity */
10299 if (ndx == 0 || ndx == 1)
10302 /* cpuset_setaffinity */
10304 if (ndx == 0 || ndx == 1)
10309 if (ndx == 0 || ndx == 1)
10314 if (ndx == 0 || ndx == 1)
10319 if (ndx == 0 || ndx == 1)
10324 if (ndx == 0 || ndx == 1)
10329 if (ndx == 0 || ndx == 1)
10334 if (ndx == 0 || ndx == 1)
10339 if (ndx == 0 || ndx == 1)
10344 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)
10374 if (ndx == 0 || ndx == 1)
10379 if (ndx == 0 || ndx == 1)
10384 if (ndx == 0 || ndx == 1)
10389 if (ndx == 0 || ndx == 1)
10394 if (ndx == 0 || ndx == 1)
10399 if (ndx == 0 || ndx == 1)
10404 if (ndx == 0 || ndx == 1)
10409 if (ndx == 0 || ndx == 1)
10414 if (ndx == 0 || ndx == 1)
10419 if (ndx == 0 || ndx == 1)
10422 /* __cap_rights_get */
10424 if (ndx == 0 || ndx == 1)
10431 if (ndx == 0 || ndx == 1)
10436 if (ndx == 0 || ndx == 1)
10441 if (ndx == 0 || ndx == 1)
10446 if (ndx == 0 || ndx == 1)
10451 if (ndx == 0 || ndx == 1)
10454 /* getloginclass */
10456 if (ndx == 0 || ndx == 1)
10459 /* setloginclass */
10461 if (ndx == 0 || ndx == 1)
10464 /* rctl_get_racct */
10466 if (ndx == 0 || ndx == 1)
10469 /* rctl_get_rules */
10471 if (ndx == 0 || ndx == 1)
10474 /* rctl_get_limits */
10476 if (ndx == 0 || ndx == 1)
10479 /* rctl_add_rule */
10481 if (ndx == 0 || ndx == 1)
10484 /* rctl_remove_rule */
10486 if (ndx == 0 || ndx == 1)
10489 /* posix_fallocate */
10491 if (ndx == 0 || ndx == 1)
10494 /* posix_fadvise */
10496 if (ndx == 0 || ndx == 1)
10501 if (ndx == 0 || ndx == 1)
10504 /* cap_rights_limit */
10506 if (ndx == 0 || ndx == 1)
10509 /* cap_ioctls_limit */
10511 if (ndx == 0 || ndx == 1)
10514 /* cap_ioctls_get */
10516 if (ndx == 0 || ndx == 1)
10519 /* cap_fcntls_limit */
10521 if (ndx == 0 || ndx == 1)
10524 /* cap_fcntls_get */
10526 if (ndx == 0 || ndx == 1)
10531 if (ndx == 0 || ndx == 1)
10536 if (ndx == 0 || ndx == 1)
10541 if (ndx == 0 || ndx == 1)
10546 if (ndx == 0 || ndx == 1)
10551 if (ndx == 0 || ndx == 1)
10556 if (ndx == 0 || ndx == 1)
10561 if (ndx == 0 || ndx == 1)
10566 if (ndx == 0 || ndx == 1)
10571 if (ndx == 0 || ndx == 1)
10576 if (ndx == 0 || ndx == 1)
10581 if (ndx == 0 || ndx == 1)
10586 if (ndx == 0 || ndx == 1)
10591 if (ndx == 0 || ndx == 1)
10596 if (ndx == 0 || ndx == 1)
10599 /* getdirentries */
10601 if (ndx == 0 || ndx == 1)
10606 if (ndx == 0 || ndx == 1)
10611 if (ndx == 0 || ndx == 1)
10616 if (ndx == 0 || ndx == 1)
10621 if (ndx == 0 || ndx == 1)
10626 if (ndx == 0 || ndx == 1)
10631 if (ndx == 0 || ndx == 1)
10634 /* cpuset_getdomain */
10636 if (ndx == 0 || ndx == 1)
10639 /* cpuset_setdomain */
10641 if (ndx == 0 || ndx == 1)
10646 if (ndx == 0 || ndx == 1)
10653 strlcpy(desc, p, descsz);