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; /* const char * */
53 iarg[1] = p->flags; /* int */
54 iarg[2] = p->mode; /* mode_t */
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; /* const char * */
79 uarg[1] = (intptr_t)p->link; /* const char * */
85 struct unlink_args *p = params;
86 uarg[0] = (intptr_t)p->path; /* const char * */
92 struct chdir_args *p = params;
93 uarg[0] = (intptr_t)p->path; /* const 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; /* const char * */
108 iarg[1] = p->mode; /* mode_t */
114 struct chown_args *p = params;
115 uarg[0] = (intptr_t)p->path; /* const 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; /* const char * */
137 uarg[1] = (intptr_t)p->path; /* const char * */
138 iarg[2] = p->flags; /* int */
139 uarg[3] = (intptr_t)p->data; /* void * */
145 struct unmount_args *p = params;
146 uarg[0] = (intptr_t)p->path; /* const 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; /* void * */
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; /* const 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; /* char * */
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; /* const char * */
331 struct acct_args *p = params;
332 uarg[0] = (intptr_t)p->path; /* const 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; /* char * */
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; /* const char * */
369 struct symlink_args *p = params;
370 uarg[0] = (intptr_t)p->path; /* const char * */
371 uarg[1] = (intptr_t)p->link; /* const char * */
377 struct readlink_args *p = params;
378 uarg[0] = (intptr_t)p->path; /* const 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; /* const 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; /* mode_t */
402 struct chroot_args *p = params;
403 uarg[0] = (intptr_t)p->path; /* const 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 iarg[0] = p->gidsetsize; /* int */
474 uarg[1] = (intptr_t)p->gidset; /* gid_t * */
480 struct setgroups_args *p = params;
481 iarg[0] = p->gidsetsize; /* 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; /* const 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; /* const struct sockaddr * */
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; /* const struct sockaddr * */
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; /* const void * */
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; /* void * */
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; /* mode_t */
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; /* const char * */
716 uarg[1] = (intptr_t)p->to; /* const 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; /* const char * */
732 iarg[1] = p->mode; /* mode_t */
738 struct sendto_args *p = params;
739 iarg[0] = p->s; /* int */
740 uarg[1] = (intptr_t)p->buf; /* const void * */
741 uarg[2] = p->len; /* size_t */
742 iarg[3] = p->flags; /* int */
743 uarg[4] = (intptr_t)p->to; /* const struct sockaddr * */
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; /* const char * */
770 iarg[1] = p->mode; /* mode_t */
776 struct rmdir_args *p = params;
777 uarg[0] = (intptr_t)p->path; /* const char * */
783 struct utimes_args *p = params;
784 uarg[0] = (intptr_t)p->path; /* const 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; /* const char * */
806 iarg[1] = p->cmd; /* int */
807 iarg[2] = p->uid; /* int */
808 uarg[3] = (intptr_t)p->arg; /* void * */
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; /* void * */
832 struct lgetfh_args *p = params;
833 uarg[0] = (intptr_t)p->fname; /* const char * */
834 uarg[1] = (intptr_t)p->fhp; /* struct fhandle * */
840 struct getfh_args *p = params;
841 uarg[0] = (intptr_t)p->fname; /* const 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; /* const 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; /* const 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; /* const 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; /* const 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; /* const char * */
1327 iarg[1] = p->mode; /* mode_t */
1333 struct lutimes_args *p = params;
1334 uarg[0] = (intptr_t)p->path; /* const 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 jail_args *p = params;
1599 uarg[0] = (intptr_t)p->jail; /* struct jail * */
1605 struct nnpfs_syscall_args *p = params;
1606 iarg[0] = p->operation; /* int */
1607 uarg[1] = (intptr_t)p->a_pathP; /* char * */
1608 iarg[2] = p->a_opcode; /* int */
1609 uarg[3] = (intptr_t)p->a_paramsP; /* void * */
1610 iarg[4] = p->a_followSymlinks; /* int */
1616 struct sigprocmask_args *p = params;
1617 iarg[0] = p->how; /* int */
1618 uarg[1] = (intptr_t)p->set; /* const sigset_t * */
1619 uarg[2] = (intptr_t)p->oset; /* sigset_t * */
1625 struct sigsuspend_args *p = params;
1626 uarg[0] = (intptr_t)p->sigmask; /* const sigset_t * */
1632 struct sigpending_args *p = params;
1633 uarg[0] = (intptr_t)p->set; /* sigset_t * */
1639 struct sigtimedwait_args *p = params;
1640 uarg[0] = (intptr_t)p->set; /* const sigset_t * */
1641 uarg[1] = (intptr_t)p->info; /* siginfo_t * */
1642 uarg[2] = (intptr_t)p->timeout; /* const struct timespec * */
1648 struct sigwaitinfo_args *p = params;
1649 uarg[0] = (intptr_t)p->set; /* const sigset_t * */
1650 uarg[1] = (intptr_t)p->info; /* siginfo_t * */
1654 /* __acl_get_file */
1656 struct __acl_get_file_args *p = params;
1657 uarg[0] = (intptr_t)p->path; /* const char * */
1658 iarg[1] = p->type; /* acl_type_t */
1659 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
1663 /* __acl_set_file */
1665 struct __acl_set_file_args *p = params;
1666 uarg[0] = (intptr_t)p->path; /* const char * */
1667 iarg[1] = p->type; /* acl_type_t */
1668 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
1674 struct __acl_get_fd_args *p = params;
1675 iarg[0] = p->filedes; /* int */
1676 iarg[1] = p->type; /* acl_type_t */
1677 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
1683 struct __acl_set_fd_args *p = params;
1684 iarg[0] = p->filedes; /* int */
1685 iarg[1] = p->type; /* acl_type_t */
1686 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
1690 /* __acl_delete_file */
1692 struct __acl_delete_file_args *p = params;
1693 uarg[0] = (intptr_t)p->path; /* const char * */
1694 iarg[1] = p->type; /* acl_type_t */
1698 /* __acl_delete_fd */
1700 struct __acl_delete_fd_args *p = params;
1701 iarg[0] = p->filedes; /* int */
1702 iarg[1] = p->type; /* acl_type_t */
1706 /* __acl_aclcheck_file */
1708 struct __acl_aclcheck_file_args *p = params;
1709 uarg[0] = (intptr_t)p->path; /* const char * */
1710 iarg[1] = p->type; /* acl_type_t */
1711 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
1715 /* __acl_aclcheck_fd */
1717 struct __acl_aclcheck_fd_args *p = params;
1718 iarg[0] = p->filedes; /* int */
1719 iarg[1] = p->type; /* acl_type_t */
1720 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
1726 struct extattrctl_args *p = params;
1727 uarg[0] = (intptr_t)p->path; /* const char * */
1728 iarg[1] = p->cmd; /* int */
1729 uarg[2] = (intptr_t)p->filename; /* const char * */
1730 iarg[3] = p->attrnamespace; /* int */
1731 uarg[4] = (intptr_t)p->attrname; /* const char * */
1735 /* extattr_set_file */
1737 struct extattr_set_file_args *p = params;
1738 uarg[0] = (intptr_t)p->path; /* const char * */
1739 iarg[1] = p->attrnamespace; /* int */
1740 uarg[2] = (intptr_t)p->attrname; /* const char * */
1741 uarg[3] = (intptr_t)p->data; /* void * */
1742 uarg[4] = p->nbytes; /* size_t */
1746 /* extattr_get_file */
1748 struct extattr_get_file_args *p = params;
1749 uarg[0] = (intptr_t)p->path; /* const char * */
1750 iarg[1] = p->attrnamespace; /* int */
1751 uarg[2] = (intptr_t)p->attrname; /* const char * */
1752 uarg[3] = (intptr_t)p->data; /* void * */
1753 uarg[4] = p->nbytes; /* size_t */
1757 /* extattr_delete_file */
1759 struct extattr_delete_file_args *p = params;
1760 uarg[0] = (intptr_t)p->path; /* const char * */
1761 iarg[1] = p->attrnamespace; /* int */
1762 uarg[2] = (intptr_t)p->attrname; /* const char * */
1766 /* aio_waitcomplete */
1768 struct aio_waitcomplete_args *p = params;
1769 uarg[0] = (intptr_t)p->aiocbp; /* struct aiocb ** */
1770 uarg[1] = (intptr_t)p->timeout; /* struct timespec * */
1776 struct getresuid_args *p = params;
1777 uarg[0] = (intptr_t)p->ruid; /* uid_t * */
1778 uarg[1] = (intptr_t)p->euid; /* uid_t * */
1779 uarg[2] = (intptr_t)p->suid; /* uid_t * */
1785 struct getresgid_args *p = params;
1786 uarg[0] = (intptr_t)p->rgid; /* gid_t * */
1787 uarg[1] = (intptr_t)p->egid; /* gid_t * */
1788 uarg[2] = (intptr_t)p->sgid; /* gid_t * */
1797 /* extattr_set_fd */
1799 struct extattr_set_fd_args *p = params;
1800 iarg[0] = p->fd; /* int */
1801 iarg[1] = p->attrnamespace; /* int */
1802 uarg[2] = (intptr_t)p->attrname; /* const char * */
1803 uarg[3] = (intptr_t)p->data; /* void * */
1804 uarg[4] = p->nbytes; /* size_t */
1808 /* extattr_get_fd */
1810 struct extattr_get_fd_args *p = params;
1811 iarg[0] = p->fd; /* int */
1812 iarg[1] = p->attrnamespace; /* int */
1813 uarg[2] = (intptr_t)p->attrname; /* const char * */
1814 uarg[3] = (intptr_t)p->data; /* void * */
1815 uarg[4] = p->nbytes; /* size_t */
1819 /* extattr_delete_fd */
1821 struct extattr_delete_fd_args *p = params;
1822 iarg[0] = p->fd; /* int */
1823 iarg[1] = p->attrnamespace; /* int */
1824 uarg[2] = (intptr_t)p->attrname; /* const char * */
1830 struct __setugid_args *p = params;
1831 iarg[0] = p->flag; /* int */
1837 struct eaccess_args *p = params;
1838 uarg[0] = (intptr_t)p->path; /* const char * */
1839 iarg[1] = p->amode; /* int */
1845 struct afs3_syscall_args *p = params;
1846 iarg[0] = p->syscall; /* long */
1847 iarg[1] = p->parm1; /* long */
1848 iarg[2] = p->parm2; /* long */
1849 iarg[3] = p->parm3; /* long */
1850 iarg[4] = p->parm4; /* long */
1851 iarg[5] = p->parm5; /* long */
1852 iarg[6] = p->parm6; /* long */
1858 struct nmount_args *p = params;
1859 uarg[0] = (intptr_t)p->iovp; /* struct iovec * */
1860 uarg[1] = p->iovcnt; /* unsigned int */
1861 iarg[2] = p->flags; /* int */
1865 /* __mac_get_proc */
1867 struct __mac_get_proc_args *p = params;
1868 uarg[0] = (intptr_t)p->mac_p; /* struct mac * */
1872 /* __mac_set_proc */
1874 struct __mac_set_proc_args *p = params;
1875 uarg[0] = (intptr_t)p->mac_p; /* struct mac * */
1881 struct __mac_get_fd_args *p = params;
1882 iarg[0] = p->fd; /* int */
1883 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
1887 /* __mac_get_file */
1889 struct __mac_get_file_args *p = params;
1890 uarg[0] = (intptr_t)p->path_p; /* const char * */
1891 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
1897 struct __mac_set_fd_args *p = params;
1898 iarg[0] = p->fd; /* int */
1899 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
1903 /* __mac_set_file */
1905 struct __mac_set_file_args *p = params;
1906 uarg[0] = (intptr_t)p->path_p; /* const char * */
1907 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
1913 struct kenv_args *p = params;
1914 iarg[0] = p->what; /* int */
1915 uarg[1] = (intptr_t)p->name; /* const char * */
1916 uarg[2] = (intptr_t)p->value; /* char * */
1917 iarg[3] = p->len; /* int */
1923 struct lchflags_args *p = params;
1924 uarg[0] = (intptr_t)p->path; /* const char * */
1925 uarg[1] = p->flags; /* u_long */
1931 struct uuidgen_args *p = params;
1932 uarg[0] = (intptr_t)p->store; /* struct uuid * */
1933 iarg[1] = p->count; /* int */
1939 struct sendfile_args *p = params;
1940 iarg[0] = p->fd; /* int */
1941 iarg[1] = p->s; /* int */
1942 iarg[2] = p->offset; /* off_t */
1943 uarg[3] = p->nbytes; /* size_t */
1944 uarg[4] = (intptr_t)p->hdtr; /* struct sf_hdtr * */
1945 uarg[5] = (intptr_t)p->sbytes; /* off_t * */
1946 iarg[6] = p->flags; /* int */
1952 struct mac_syscall_args *p = params;
1953 uarg[0] = (intptr_t)p->policy; /* const char * */
1954 iarg[1] = p->call; /* int */
1955 uarg[2] = (intptr_t)p->arg; /* void * */
1961 struct ksem_close_args *p = params;
1962 iarg[0] = p->id; /* semid_t */
1968 struct ksem_post_args *p = params;
1969 iarg[0] = p->id; /* semid_t */
1975 struct ksem_wait_args *p = params;
1976 iarg[0] = p->id; /* semid_t */
1982 struct ksem_trywait_args *p = params;
1983 iarg[0] = p->id; /* semid_t */
1989 struct ksem_init_args *p = params;
1990 uarg[0] = (intptr_t)p->idp; /* semid_t * */
1991 uarg[1] = p->value; /* unsigned int */
1997 struct ksem_open_args *p = params;
1998 uarg[0] = (intptr_t)p->idp; /* semid_t * */
1999 uarg[1] = (intptr_t)p->name; /* const char * */
2000 iarg[2] = p->oflag; /* int */
2001 iarg[3] = p->mode; /* mode_t */
2002 uarg[4] = p->value; /* unsigned int */
2008 struct ksem_unlink_args *p = params;
2009 uarg[0] = (intptr_t)p->name; /* const char * */
2015 struct ksem_getvalue_args *p = params;
2016 iarg[0] = p->id; /* semid_t */
2017 uarg[1] = (intptr_t)p->val; /* int * */
2023 struct ksem_destroy_args *p = params;
2024 iarg[0] = p->id; /* semid_t */
2030 struct __mac_get_pid_args *p = params;
2031 iarg[0] = p->pid; /* pid_t */
2032 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
2036 /* __mac_get_link */
2038 struct __mac_get_link_args *p = params;
2039 uarg[0] = (intptr_t)p->path_p; /* const char * */
2040 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
2044 /* __mac_set_link */
2046 struct __mac_set_link_args *p = params;
2047 uarg[0] = (intptr_t)p->path_p; /* const char * */
2048 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
2052 /* extattr_set_link */
2054 struct extattr_set_link_args *p = params;
2055 uarg[0] = (intptr_t)p->path; /* const char * */
2056 iarg[1] = p->attrnamespace; /* int */
2057 uarg[2] = (intptr_t)p->attrname; /* const char * */
2058 uarg[3] = (intptr_t)p->data; /* void * */
2059 uarg[4] = p->nbytes; /* size_t */
2063 /* extattr_get_link */
2065 struct extattr_get_link_args *p = params;
2066 uarg[0] = (intptr_t)p->path; /* const char * */
2067 iarg[1] = p->attrnamespace; /* int */
2068 uarg[2] = (intptr_t)p->attrname; /* const char * */
2069 uarg[3] = (intptr_t)p->data; /* void * */
2070 uarg[4] = p->nbytes; /* size_t */
2074 /* extattr_delete_link */
2076 struct extattr_delete_link_args *p = params;
2077 uarg[0] = (intptr_t)p->path; /* const char * */
2078 iarg[1] = p->attrnamespace; /* int */
2079 uarg[2] = (intptr_t)p->attrname; /* const char * */
2085 struct __mac_execve_args *p = params;
2086 uarg[0] = (intptr_t)p->fname; /* const char * */
2087 uarg[1] = (intptr_t)p->argv; /* char ** */
2088 uarg[2] = (intptr_t)p->envv; /* char ** */
2089 uarg[3] = (intptr_t)p->mac_p; /* struct mac * */
2095 struct sigaction_args *p = params;
2096 iarg[0] = p->sig; /* int */
2097 uarg[1] = (intptr_t)p->act; /* const struct sigaction * */
2098 uarg[2] = (intptr_t)p->oact; /* struct sigaction * */
2104 struct sigreturn_args *p = params;
2105 uarg[0] = (intptr_t)p->sigcntxp; /* const struct __ucontext * */
2111 struct getcontext_args *p = params;
2112 uarg[0] = (intptr_t)p->ucp; /* struct __ucontext * */
2118 struct setcontext_args *p = params;
2119 uarg[0] = (intptr_t)p->ucp; /* const struct __ucontext * */
2125 struct swapcontext_args *p = params;
2126 uarg[0] = (intptr_t)p->oucp; /* struct __ucontext * */
2127 uarg[1] = (intptr_t)p->ucp; /* const struct __ucontext * */
2133 struct swapoff_args *p = params;
2134 uarg[0] = (intptr_t)p->name; /* const char * */
2138 /* __acl_get_link */
2140 struct __acl_get_link_args *p = params;
2141 uarg[0] = (intptr_t)p->path; /* const char * */
2142 iarg[1] = p->type; /* acl_type_t */
2143 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
2147 /* __acl_set_link */
2149 struct __acl_set_link_args *p = params;
2150 uarg[0] = (intptr_t)p->path; /* const char * */
2151 iarg[1] = p->type; /* acl_type_t */
2152 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
2156 /* __acl_delete_link */
2158 struct __acl_delete_link_args *p = params;
2159 uarg[0] = (intptr_t)p->path; /* const char * */
2160 iarg[1] = p->type; /* acl_type_t */
2164 /* __acl_aclcheck_link */
2166 struct __acl_aclcheck_link_args *p = params;
2167 uarg[0] = (intptr_t)p->path; /* const char * */
2168 iarg[1] = p->type; /* acl_type_t */
2169 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
2175 struct sigwait_args *p = params;
2176 uarg[0] = (intptr_t)p->set; /* const sigset_t * */
2177 uarg[1] = (intptr_t)p->sig; /* int * */
2183 struct thr_create_args *p = params;
2184 uarg[0] = (intptr_t)p->ctx; /* ucontext_t * */
2185 uarg[1] = (intptr_t)p->id; /* long * */
2186 iarg[2] = p->flags; /* int */
2192 struct thr_exit_args *p = params;
2193 uarg[0] = (intptr_t)p->state; /* long * */
2199 struct thr_self_args *p = params;
2200 uarg[0] = (intptr_t)p->id; /* long * */
2206 struct thr_kill_args *p = params;
2207 iarg[0] = p->id; /* long */
2208 iarg[1] = p->sig; /* int */
2214 struct jail_attach_args *p = params;
2215 iarg[0] = p->jid; /* int */
2219 /* extattr_list_fd */
2221 struct extattr_list_fd_args *p = params;
2222 iarg[0] = p->fd; /* int */
2223 iarg[1] = p->attrnamespace; /* int */
2224 uarg[2] = (intptr_t)p->data; /* void * */
2225 uarg[3] = p->nbytes; /* size_t */
2229 /* extattr_list_file */
2231 struct extattr_list_file_args *p = params;
2232 uarg[0] = (intptr_t)p->path; /* const char * */
2233 iarg[1] = p->attrnamespace; /* int */
2234 uarg[2] = (intptr_t)p->data; /* void * */
2235 uarg[3] = p->nbytes; /* size_t */
2239 /* extattr_list_link */
2241 struct extattr_list_link_args *p = params;
2242 uarg[0] = (intptr_t)p->path; /* const char * */
2243 iarg[1] = p->attrnamespace; /* int */
2244 uarg[2] = (intptr_t)p->data; /* void * */
2245 uarg[3] = p->nbytes; /* size_t */
2249 /* ksem_timedwait */
2251 struct ksem_timedwait_args *p = params;
2252 iarg[0] = p->id; /* semid_t */
2253 uarg[1] = (intptr_t)p->abstime; /* const struct timespec * */
2259 struct thr_suspend_args *p = params;
2260 uarg[0] = (intptr_t)p->timeout; /* const struct timespec * */
2266 struct thr_wake_args *p = params;
2267 iarg[0] = p->id; /* long */
2273 struct kldunloadf_args *p = params;
2274 iarg[0] = p->fileid; /* int */
2275 iarg[1] = p->flags; /* int */
2281 struct audit_args *p = params;
2282 uarg[0] = (intptr_t)p->record; /* const void * */
2283 uarg[1] = p->length; /* u_int */
2289 struct auditon_args *p = params;
2290 iarg[0] = p->cmd; /* int */
2291 uarg[1] = (intptr_t)p->data; /* void * */
2292 uarg[2] = p->length; /* u_int */
2298 struct getauid_args *p = params;
2299 uarg[0] = (intptr_t)p->auid; /* uid_t * */
2305 struct setauid_args *p = params;
2306 uarg[0] = (intptr_t)p->auid; /* uid_t * */
2312 struct getaudit_args *p = params;
2313 uarg[0] = (intptr_t)p->auditinfo; /* struct auditinfo * */
2319 struct setaudit_args *p = params;
2320 uarg[0] = (intptr_t)p->auditinfo; /* struct auditinfo * */
2326 struct getaudit_addr_args *p = params;
2327 uarg[0] = (intptr_t)p->auditinfo_addr; /* struct auditinfo_addr * */
2328 uarg[1] = p->length; /* u_int */
2334 struct setaudit_addr_args *p = params;
2335 uarg[0] = (intptr_t)p->auditinfo_addr; /* struct auditinfo_addr * */
2336 uarg[1] = p->length; /* u_int */
2342 struct auditctl_args *p = params;
2343 uarg[0] = (intptr_t)p->path; /* const char * */
2349 struct _umtx_op_args *p = params;
2350 uarg[0] = (intptr_t)p->obj; /* void * */
2351 iarg[1] = p->op; /* int */
2352 uarg[2] = p->val; /* u_long */
2353 uarg[3] = (intptr_t)p->uaddr1; /* void * */
2354 uarg[4] = (intptr_t)p->uaddr2; /* void * */
2360 struct thr_new_args *p = params;
2361 uarg[0] = (intptr_t)p->param; /* struct thr_param * */
2362 iarg[1] = p->param_size; /* int */
2368 struct sigqueue_args *p = params;
2369 iarg[0] = p->pid; /* pid_t */
2370 iarg[1] = p->signum; /* int */
2371 uarg[2] = (intptr_t)p->value; /* void * */
2377 struct kmq_open_args *p = params;
2378 uarg[0] = (intptr_t)p->path; /* const char * */
2379 iarg[1] = p->flags; /* int */
2380 iarg[2] = p->mode; /* mode_t */
2381 uarg[3] = (intptr_t)p->attr; /* const struct mq_attr * */
2387 struct kmq_setattr_args *p = params;
2388 iarg[0] = p->mqd; /* int */
2389 uarg[1] = (intptr_t)p->attr; /* const struct mq_attr * */
2390 uarg[2] = (intptr_t)p->oattr; /* struct mq_attr * */
2394 /* kmq_timedreceive */
2396 struct kmq_timedreceive_args *p = params;
2397 iarg[0] = p->mqd; /* int */
2398 uarg[1] = (intptr_t)p->msg_ptr; /* char * */
2399 uarg[2] = p->msg_len; /* size_t */
2400 uarg[3] = (intptr_t)p->msg_prio; /* unsigned * */
2401 uarg[4] = (intptr_t)p->abs_timeout; /* const struct timespec * */
2407 struct kmq_timedsend_args *p = params;
2408 iarg[0] = p->mqd; /* int */
2409 uarg[1] = (intptr_t)p->msg_ptr; /* const char * */
2410 uarg[2] = p->msg_len; /* size_t */
2411 uarg[3] = p->msg_prio; /* unsigned */
2412 uarg[4] = (intptr_t)p->abs_timeout; /* const struct timespec * */
2418 struct kmq_notify_args *p = params;
2419 iarg[0] = p->mqd; /* int */
2420 uarg[1] = (intptr_t)p->sigev; /* const struct sigevent * */
2426 struct kmq_unlink_args *p = params;
2427 uarg[0] = (intptr_t)p->path; /* const char * */
2433 struct abort2_args *p = params;
2434 uarg[0] = (intptr_t)p->why; /* const char * */
2435 iarg[1] = p->nargs; /* int */
2436 uarg[2] = (intptr_t)p->args; /* void ** */
2442 struct thr_set_name_args *p = params;
2443 iarg[0] = p->id; /* long */
2444 uarg[1] = (intptr_t)p->name; /* const char * */
2450 struct aio_fsync_args *p = params;
2451 iarg[0] = p->op; /* int */
2452 uarg[1] = (intptr_t)p->aiocbp; /* struct aiocb * */
2458 struct rtprio_thread_args *p = params;
2459 iarg[0] = p->function; /* int */
2460 iarg[1] = p->lwpid; /* lwpid_t */
2461 uarg[2] = (intptr_t)p->rtp; /* struct rtprio * */
2467 struct sctp_peeloff_args *p = params;
2468 iarg[0] = p->sd; /* int */
2469 uarg[1] = p->name; /* uint32_t */
2473 /* sctp_generic_sendmsg */
2475 struct sctp_generic_sendmsg_args *p = params;
2476 iarg[0] = p->sd; /* int */
2477 uarg[1] = (intptr_t)p->msg; /* void * */
2478 iarg[2] = p->mlen; /* int */
2479 uarg[3] = (intptr_t)p->to; /* struct sockaddr * */
2480 iarg[4] = p->tolen; /* __socklen_t */
2481 uarg[5] = (intptr_t)p->sinfo; /* struct sctp_sndrcvinfo * */
2482 iarg[6] = p->flags; /* int */
2486 /* sctp_generic_sendmsg_iov */
2488 struct sctp_generic_sendmsg_iov_args *p = params;
2489 iarg[0] = p->sd; /* int */
2490 uarg[1] = (intptr_t)p->iov; /* struct iovec * */
2491 iarg[2] = p->iovlen; /* int */
2492 uarg[3] = (intptr_t)p->to; /* struct sockaddr * */
2493 iarg[4] = p->tolen; /* __socklen_t */
2494 uarg[5] = (intptr_t)p->sinfo; /* struct sctp_sndrcvinfo * */
2495 iarg[6] = p->flags; /* int */
2499 /* sctp_generic_recvmsg */
2501 struct sctp_generic_recvmsg_args *p = params;
2502 iarg[0] = p->sd; /* int */
2503 uarg[1] = (intptr_t)p->iov; /* struct iovec * */
2504 iarg[2] = p->iovlen; /* int */
2505 uarg[3] = (intptr_t)p->from; /* struct sockaddr * */
2506 uarg[4] = (intptr_t)p->fromlenaddr; /* __socklen_t * */
2507 uarg[5] = (intptr_t)p->sinfo; /* struct sctp_sndrcvinfo * */
2508 uarg[6] = (intptr_t)p->msg_flags; /* int * */
2514 struct pread_args *p = params;
2515 iarg[0] = p->fd; /* int */
2516 uarg[1] = (intptr_t)p->buf; /* void * */
2517 uarg[2] = p->nbyte; /* size_t */
2518 iarg[3] = p->offset; /* off_t */
2524 struct pwrite_args *p = params;
2525 iarg[0] = p->fd; /* int */
2526 uarg[1] = (intptr_t)p->buf; /* const void * */
2527 uarg[2] = p->nbyte; /* size_t */
2528 iarg[3] = p->offset; /* off_t */
2534 struct mmap_args *p = params;
2535 uarg[0] = (intptr_t)p->addr; /* void * */
2536 uarg[1] = p->len; /* size_t */
2537 iarg[2] = p->prot; /* int */
2538 iarg[3] = p->flags; /* int */
2539 iarg[4] = p->fd; /* int */
2540 iarg[5] = p->pos; /* off_t */
2546 struct lseek_args *p = params;
2547 iarg[0] = p->fd; /* int */
2548 iarg[1] = p->offset; /* off_t */
2549 iarg[2] = p->whence; /* int */
2555 struct truncate_args *p = params;
2556 uarg[0] = (intptr_t)p->path; /* const char * */
2557 iarg[1] = p->length; /* off_t */
2563 struct ftruncate_args *p = params;
2564 iarg[0] = p->fd; /* int */
2565 iarg[1] = p->length; /* off_t */
2571 struct thr_kill2_args *p = params;
2572 iarg[0] = p->pid; /* pid_t */
2573 iarg[1] = p->id; /* long */
2574 iarg[2] = p->sig; /* int */
2580 struct shm_unlink_args *p = params;
2581 uarg[0] = (intptr_t)p->path; /* const char * */
2587 struct cpuset_args *p = params;
2588 uarg[0] = (intptr_t)p->setid; /* cpusetid_t * */
2594 struct cpuset_setid_args *p = params;
2595 iarg[0] = p->which; /* cpuwhich_t */
2596 iarg[1] = p->id; /* id_t */
2597 iarg[2] = p->setid; /* cpusetid_t */
2603 struct cpuset_getid_args *p = params;
2604 iarg[0] = p->level; /* cpulevel_t */
2605 iarg[1] = p->which; /* cpuwhich_t */
2606 iarg[2] = p->id; /* id_t */
2607 uarg[3] = (intptr_t)p->setid; /* cpusetid_t * */
2611 /* cpuset_getaffinity */
2613 struct cpuset_getaffinity_args *p = params;
2614 iarg[0] = p->level; /* cpulevel_t */
2615 iarg[1] = p->which; /* cpuwhich_t */
2616 iarg[2] = p->id; /* id_t */
2617 uarg[3] = p->cpusetsize; /* size_t */
2618 uarg[4] = (intptr_t)p->mask; /* cpuset_t * */
2622 /* cpuset_setaffinity */
2624 struct cpuset_setaffinity_args *p = params;
2625 iarg[0] = p->level; /* cpulevel_t */
2626 iarg[1] = p->which; /* cpuwhich_t */
2627 iarg[2] = p->id; /* id_t */
2628 uarg[3] = p->cpusetsize; /* size_t */
2629 uarg[4] = (intptr_t)p->mask; /* const cpuset_t * */
2635 struct faccessat_args *p = params;
2636 iarg[0] = p->fd; /* int */
2637 uarg[1] = (intptr_t)p->path; /* const char * */
2638 iarg[2] = p->amode; /* int */
2639 iarg[3] = p->flag; /* int */
2645 struct fchmodat_args *p = params;
2646 iarg[0] = p->fd; /* int */
2647 uarg[1] = (intptr_t)p->path; /* const char * */
2648 iarg[2] = p->mode; /* mode_t */
2649 iarg[3] = p->flag; /* int */
2655 struct fchownat_args *p = params;
2656 iarg[0] = p->fd; /* int */
2657 uarg[1] = (intptr_t)p->path; /* const char * */
2658 uarg[2] = p->uid; /* uid_t */
2659 iarg[3] = p->gid; /* gid_t */
2660 iarg[4] = p->flag; /* int */
2666 struct fexecve_args *p = params;
2667 iarg[0] = p->fd; /* int */
2668 uarg[1] = (intptr_t)p->argv; /* char ** */
2669 uarg[2] = (intptr_t)p->envv; /* char ** */
2675 struct futimesat_args *p = params;
2676 iarg[0] = p->fd; /* int */
2677 uarg[1] = (intptr_t)p->path; /* const char * */
2678 uarg[2] = (intptr_t)p->times; /* struct timeval * */
2684 struct linkat_args *p = params;
2685 iarg[0] = p->fd1; /* int */
2686 uarg[1] = (intptr_t)p->path1; /* const char * */
2687 iarg[2] = p->fd2; /* int */
2688 uarg[3] = (intptr_t)p->path2; /* const char * */
2689 iarg[4] = p->flag; /* int */
2695 struct mkdirat_args *p = params;
2696 iarg[0] = p->fd; /* int */
2697 uarg[1] = (intptr_t)p->path; /* const char * */
2698 iarg[2] = p->mode; /* mode_t */
2704 struct mkfifoat_args *p = params;
2705 iarg[0] = p->fd; /* int */
2706 uarg[1] = (intptr_t)p->path; /* const char * */
2707 iarg[2] = p->mode; /* mode_t */
2713 struct openat_args *p = params;
2714 iarg[0] = p->fd; /* int */
2715 uarg[1] = (intptr_t)p->path; /* const char * */
2716 iarg[2] = p->flag; /* int */
2717 iarg[3] = p->mode; /* mode_t */
2723 struct readlinkat_args *p = params;
2724 iarg[0] = p->fd; /* int */
2725 uarg[1] = (intptr_t)p->path; /* const char * */
2726 uarg[2] = (intptr_t)p->buf; /* char * */
2727 uarg[3] = p->bufsize; /* size_t */
2733 struct renameat_args *p = params;
2734 iarg[0] = p->oldfd; /* int */
2735 uarg[1] = (intptr_t)p->old; /* const char * */
2736 iarg[2] = p->newfd; /* int */
2737 uarg[3] = (intptr_t)p->new; /* const char * */
2743 struct symlinkat_args *p = params;
2744 uarg[0] = (intptr_t)p->path1; /* const char * */
2745 iarg[1] = p->fd; /* int */
2746 uarg[2] = (intptr_t)p->path2; /* const char * */
2752 struct unlinkat_args *p = params;
2753 iarg[0] = p->fd; /* int */
2754 uarg[1] = (intptr_t)p->path; /* const char * */
2755 iarg[2] = p->flag; /* int */
2761 struct posix_openpt_args *p = params;
2762 iarg[0] = p->flags; /* int */
2768 struct gssd_syscall_args *p = params;
2769 uarg[0] = (intptr_t)p->path; /* const char * */
2775 struct jail_get_args *p = params;
2776 uarg[0] = (intptr_t)p->iovp; /* struct iovec * */
2777 uarg[1] = p->iovcnt; /* unsigned int */
2778 iarg[2] = p->flags; /* int */
2784 struct jail_set_args *p = params;
2785 uarg[0] = (intptr_t)p->iovp; /* struct iovec * */
2786 uarg[1] = p->iovcnt; /* unsigned int */
2787 iarg[2] = p->flags; /* int */
2793 struct jail_remove_args *p = params;
2794 iarg[0] = p->jid; /* int */
2800 struct __semctl_args *p = params;
2801 iarg[0] = p->semid; /* int */
2802 iarg[1] = p->semnum; /* int */
2803 iarg[2] = p->cmd; /* int */
2804 uarg[3] = (intptr_t)p->arg; /* union semun * */
2810 struct msgctl_args *p = params;
2811 iarg[0] = p->msqid; /* int */
2812 iarg[1] = p->cmd; /* int */
2813 uarg[2] = (intptr_t)p->buf; /* struct msqid_ds * */
2819 struct shmctl_args *p = params;
2820 iarg[0] = p->shmid; /* int */
2821 iarg[1] = p->cmd; /* int */
2822 uarg[2] = (intptr_t)p->buf; /* struct shmid_ds * */
2828 struct lpathconf_args *p = params;
2829 uarg[0] = (intptr_t)p->path; /* const char * */
2830 iarg[1] = p->name; /* int */
2834 /* __cap_rights_get */
2836 struct __cap_rights_get_args *p = params;
2837 iarg[0] = p->version; /* int */
2838 iarg[1] = p->fd; /* int */
2839 uarg[2] = (intptr_t)p->rightsp; /* cap_rights_t * */
2850 struct cap_getmode_args *p = params;
2851 uarg[0] = (intptr_t)p->modep; /* u_int * */
2857 struct pdfork_args *p = params;
2858 uarg[0] = (intptr_t)p->fdp; /* int * */
2859 iarg[1] = p->flags; /* int */
2865 struct pdkill_args *p = params;
2866 iarg[0] = p->fd; /* int */
2867 iarg[1] = p->signum; /* int */
2873 struct pdgetpid_args *p = params;
2874 iarg[0] = p->fd; /* int */
2875 uarg[1] = (intptr_t)p->pidp; /* pid_t * */
2881 struct pselect_args *p = params;
2882 iarg[0] = p->nd; /* int */
2883 uarg[1] = (intptr_t)p->in; /* fd_set * */
2884 uarg[2] = (intptr_t)p->ou; /* fd_set * */
2885 uarg[3] = (intptr_t)p->ex; /* fd_set * */
2886 uarg[4] = (intptr_t)p->ts; /* const struct timespec * */
2887 uarg[5] = (intptr_t)p->sm; /* const sigset_t * */
2893 struct getloginclass_args *p = params;
2894 uarg[0] = (intptr_t)p->namebuf; /* char * */
2895 uarg[1] = p->namelen; /* size_t */
2901 struct setloginclass_args *p = params;
2902 uarg[0] = (intptr_t)p->namebuf; /* const char * */
2906 /* rctl_get_racct */
2908 struct rctl_get_racct_args *p = params;
2909 uarg[0] = (intptr_t)p->inbufp; /* const void * */
2910 uarg[1] = p->inbuflen; /* size_t */
2911 uarg[2] = (intptr_t)p->outbufp; /* void * */
2912 uarg[3] = p->outbuflen; /* size_t */
2916 /* rctl_get_rules */
2918 struct rctl_get_rules_args *p = params;
2919 uarg[0] = (intptr_t)p->inbufp; /* const void * */
2920 uarg[1] = p->inbuflen; /* size_t */
2921 uarg[2] = (intptr_t)p->outbufp; /* void * */
2922 uarg[3] = p->outbuflen; /* size_t */
2926 /* rctl_get_limits */
2928 struct rctl_get_limits_args *p = params;
2929 uarg[0] = (intptr_t)p->inbufp; /* const void * */
2930 uarg[1] = p->inbuflen; /* size_t */
2931 uarg[2] = (intptr_t)p->outbufp; /* void * */
2932 uarg[3] = p->outbuflen; /* size_t */
2938 struct rctl_add_rule_args *p = params;
2939 uarg[0] = (intptr_t)p->inbufp; /* const void * */
2940 uarg[1] = p->inbuflen; /* size_t */
2941 uarg[2] = (intptr_t)p->outbufp; /* void * */
2942 uarg[3] = p->outbuflen; /* size_t */
2946 /* rctl_remove_rule */
2948 struct rctl_remove_rule_args *p = params;
2949 uarg[0] = (intptr_t)p->inbufp; /* const void * */
2950 uarg[1] = p->inbuflen; /* size_t */
2951 uarg[2] = (intptr_t)p->outbufp; /* void * */
2952 uarg[3] = p->outbuflen; /* size_t */
2956 /* posix_fallocate */
2958 struct posix_fallocate_args *p = params;
2959 iarg[0] = p->fd; /* int */
2960 iarg[1] = p->offset; /* off_t */
2961 iarg[2] = p->len; /* off_t */
2967 struct posix_fadvise_args *p = params;
2968 iarg[0] = p->fd; /* int */
2969 iarg[1] = p->offset; /* off_t */
2970 iarg[2] = p->len; /* off_t */
2971 iarg[3] = p->advice; /* int */
2977 struct wait6_args *p = params;
2978 iarg[0] = p->idtype; /* idtype_t */
2979 iarg[1] = p->id; /* id_t */
2980 uarg[2] = (intptr_t)p->status; /* int * */
2981 iarg[3] = p->options; /* int */
2982 uarg[4] = (intptr_t)p->wrusage; /* struct __wrusage * */
2983 uarg[5] = (intptr_t)p->info; /* siginfo_t * */
2987 /* cap_rights_limit */
2989 struct cap_rights_limit_args *p = params;
2990 iarg[0] = p->fd; /* int */
2991 uarg[1] = (intptr_t)p->rightsp; /* cap_rights_t * */
2995 /* cap_ioctls_limit */
2997 struct cap_ioctls_limit_args *p = params;
2998 iarg[0] = p->fd; /* int */
2999 uarg[1] = (intptr_t)p->cmds; /* const u_long * */
3000 uarg[2] = p->ncmds; /* size_t */
3004 /* cap_ioctls_get */
3006 struct cap_ioctls_get_args *p = params;
3007 iarg[0] = p->fd; /* int */
3008 uarg[1] = (intptr_t)p->cmds; /* u_long * */
3009 uarg[2] = p->maxcmds; /* size_t */
3013 /* cap_fcntls_limit */
3015 struct cap_fcntls_limit_args *p = params;
3016 iarg[0] = p->fd; /* int */
3017 uarg[1] = p->fcntlrights; /* uint32_t */
3021 /* cap_fcntls_get */
3023 struct cap_fcntls_get_args *p = params;
3024 iarg[0] = p->fd; /* int */
3025 uarg[1] = (intptr_t)p->fcntlrightsp; /* uint32_t * */
3031 struct bindat_args *p = params;
3032 iarg[0] = p->fd; /* int */
3033 iarg[1] = p->s; /* int */
3034 uarg[2] = (intptr_t)p->name; /* const struct sockaddr * */
3035 iarg[3] = p->namelen; /* int */
3041 struct connectat_args *p = params;
3042 iarg[0] = p->fd; /* int */
3043 iarg[1] = p->s; /* int */
3044 uarg[2] = (intptr_t)p->name; /* const struct sockaddr * */
3045 iarg[3] = p->namelen; /* int */
3051 struct chflagsat_args *p = params;
3052 iarg[0] = p->fd; /* int */
3053 uarg[1] = (intptr_t)p->path; /* const char * */
3054 uarg[2] = p->flags; /* u_long */
3055 iarg[3] = p->atflag; /* int */
3061 struct accept4_args *p = params;
3062 iarg[0] = p->s; /* int */
3063 uarg[1] = (intptr_t)p->name; /* struct sockaddr * */
3064 uarg[2] = (intptr_t)p->anamelen; /* __socklen_t * */
3065 iarg[3] = p->flags; /* int */
3071 struct pipe2_args *p = params;
3072 uarg[0] = (intptr_t)p->fildes; /* int * */
3073 iarg[1] = p->flags; /* int */
3079 struct aio_mlock_args *p = params;
3080 uarg[0] = (intptr_t)p->aiocbp; /* struct aiocb * */
3086 struct procctl_args *p = params;
3087 iarg[0] = p->idtype; /* idtype_t */
3088 iarg[1] = p->id; /* id_t */
3089 iarg[2] = p->com; /* int */
3090 uarg[3] = (intptr_t)p->data; /* void * */
3096 struct ppoll_args *p = params;
3097 uarg[0] = (intptr_t)p->fds; /* struct pollfd * */
3098 uarg[1] = p->nfds; /* u_int */
3099 uarg[2] = (intptr_t)p->ts; /* const struct timespec * */
3100 uarg[3] = (intptr_t)p->set; /* const sigset_t * */
3106 struct futimens_args *p = params;
3107 iarg[0] = p->fd; /* int */
3108 uarg[1] = (intptr_t)p->times; /* struct timespec * */
3114 struct utimensat_args *p = params;
3115 iarg[0] = p->fd; /* int */
3116 uarg[1] = (intptr_t)p->path; /* const char * */
3117 uarg[2] = (intptr_t)p->times; /* struct timespec * */
3118 iarg[3] = p->flag; /* int */
3124 struct fdatasync_args *p = params;
3125 iarg[0] = p->fd; /* int */
3131 struct fstat_args *p = params;
3132 iarg[0] = p->fd; /* int */
3133 uarg[1] = (intptr_t)p->sb; /* struct stat * */
3139 struct fstatat_args *p = params;
3140 iarg[0] = p->fd; /* int */
3141 uarg[1] = (intptr_t)p->path; /* const char * */
3142 uarg[2] = (intptr_t)p->buf; /* struct stat * */
3143 iarg[3] = p->flag; /* int */
3149 struct fhstat_args *p = params;
3150 uarg[0] = (intptr_t)p->u_fhp; /* const struct fhandle * */
3151 uarg[1] = (intptr_t)p->sb; /* struct stat * */
3157 struct getdirentries_args *p = params;
3158 iarg[0] = p->fd; /* int */
3159 uarg[1] = (intptr_t)p->buf; /* char * */
3160 uarg[2] = p->count; /* size_t */
3161 uarg[3] = (intptr_t)p->basep; /* off_t * */
3167 struct statfs_args *p = params;
3168 uarg[0] = (intptr_t)p->path; /* const char * */
3169 uarg[1] = (intptr_t)p->buf; /* struct statfs * */
3175 struct fstatfs_args *p = params;
3176 iarg[0] = p->fd; /* int */
3177 uarg[1] = (intptr_t)p->buf; /* struct statfs * */
3183 struct getfsstat_args *p = params;
3184 uarg[0] = (intptr_t)p->buf; /* struct statfs * */
3185 iarg[1] = p->bufsize; /* long */
3186 iarg[2] = p->mode; /* int */
3192 struct fhstatfs_args *p = params;
3193 uarg[0] = (intptr_t)p->u_fhp; /* const struct fhandle * */
3194 uarg[1] = (intptr_t)p->buf; /* struct statfs * */
3200 struct mknodat_args *p = params;
3201 iarg[0] = p->fd; /* int */
3202 uarg[1] = (intptr_t)p->path; /* const char * */
3203 iarg[2] = p->mode; /* mode_t */
3204 iarg[3] = p->dev; /* dev_t */
3210 struct kevent_args *p = params;
3211 iarg[0] = p->fd; /* int */
3212 uarg[1] = (intptr_t)p->changelist; /* struct kevent * */
3213 iarg[2] = p->nchanges; /* int */
3214 uarg[3] = (intptr_t)p->eventlist; /* struct kevent * */
3215 iarg[4] = p->nevents; /* int */
3216 uarg[5] = (intptr_t)p->timeout; /* const struct timespec * */
3220 /* cpuset_getdomain */
3222 struct cpuset_getdomain_args *p = params;
3223 iarg[0] = p->level; /* cpulevel_t */
3224 iarg[1] = p->which; /* cpuwhich_t */
3225 iarg[2] = p->id; /* id_t */
3226 uarg[3] = p->domainsetsize; /* size_t */
3227 uarg[4] = (intptr_t)p->mask; /* domainset_t * */
3228 uarg[5] = (intptr_t)p->policy; /* int * */
3232 /* cpuset_setdomain */
3234 struct cpuset_setdomain_args *p = params;
3235 iarg[0] = p->level; /* cpulevel_t */
3236 iarg[1] = p->which; /* cpuwhich_t */
3237 iarg[2] = p->id; /* id_t */
3238 uarg[3] = p->domainsetsize; /* size_t */
3239 uarg[4] = (intptr_t)p->mask; /* domainset_t * */
3240 iarg[5] = p->policy; /* int */
3246 struct getrandom_args *p = params;
3247 uarg[0] = (intptr_t)p->buf; /* void * */
3248 uarg[1] = p->buflen; /* size_t */
3249 uarg[2] = p->flags; /* unsigned int */
3255 struct getfhat_args *p = params;
3256 iarg[0] = p->fd; /* int */
3257 uarg[1] = (intptr_t)p->path; /* char * */
3258 uarg[2] = (intptr_t)p->fhp; /* struct fhandle * */
3259 iarg[3] = p->flags; /* int */
3265 struct fhlink_args *p = params;
3266 uarg[0] = (intptr_t)p->fhp; /* struct fhandle * */
3267 uarg[1] = (intptr_t)p->to; /* const char * */
3273 struct fhlinkat_args *p = params;
3274 uarg[0] = (intptr_t)p->fhp; /* struct fhandle * */
3275 iarg[1] = p->tofd; /* int */
3276 uarg[2] = (intptr_t)p->to; /* const char * */
3282 struct fhreadlink_args *p = params;
3283 uarg[0] = (intptr_t)p->fhp; /* struct fhandle * */
3284 uarg[1] = (intptr_t)p->buf; /* char * */
3285 uarg[2] = p->bufsize; /* size_t */
3291 struct funlinkat_args *p = params;
3292 iarg[0] = p->dfd; /* int */
3293 uarg[1] = (intptr_t)p->path; /* const char * */
3294 iarg[2] = p->fd; /* int */
3295 iarg[3] = p->flag; /* int */
3299 /* copy_file_range */
3301 struct copy_file_range_args *p = params;
3302 iarg[0] = p->infd; /* int */
3303 uarg[1] = (intptr_t)p->inoffp; /* off_t * */
3304 iarg[2] = p->outfd; /* int */
3305 uarg[3] = (intptr_t)p->outoffp; /* off_t * */
3306 uarg[4] = p->len; /* size_t */
3307 uarg[5] = p->flags; /* unsigned int */
3311 /* __sysctlbyname */
3313 struct __sysctlbyname_args *p = params;
3314 uarg[0] = (intptr_t)p->name; /* const char * */
3315 uarg[1] = p->namelen; /* size_t */
3316 uarg[2] = (intptr_t)p->old; /* void * */
3317 uarg[3] = (intptr_t)p->oldlenp; /* size_t * */
3318 uarg[4] = (intptr_t)p->new; /* void * */
3319 uarg[5] = p->newlen; /* size_t */
3325 struct shm_open2_args *p = params;
3326 uarg[0] = (intptr_t)p->path; /* const char * */
3327 iarg[1] = p->flags; /* int */
3328 iarg[2] = p->mode; /* mode_t */
3329 iarg[3] = p->shmflags; /* int */
3330 uarg[4] = (intptr_t)p->name; /* const char * */
3336 struct shm_rename_args *p = params;
3337 uarg[0] = (intptr_t)p->path_from; /* const char * */
3338 uarg[1] = (intptr_t)p->path_to; /* const char * */
3339 iarg[2] = p->flags; /* int */
3345 struct sigfastblock_args *p = params;
3346 iarg[0] = p->cmd; /* int */
3347 uarg[1] = (intptr_t)p->ptr; /* uint32_t * */
3353 struct __realpathat_args *p = params;
3354 iarg[0] = p->fd; /* int */
3355 uarg[1] = (intptr_t)p->path; /* const char * */
3356 uarg[2] = (intptr_t)p->buf; /* char * */
3357 uarg[3] = p->size; /* size_t */
3358 iarg[4] = p->flags; /* int */
3364 struct close_range_args *p = params;
3365 uarg[0] = p->lowfd; /* u_int */
3366 uarg[1] = p->highfd; /* u_int */
3367 iarg[2] = p->flags; /* int */
3371 /* rpctls_syscall */
3373 struct rpctls_syscall_args *p = params;
3374 iarg[0] = p->op; /* int */
3375 uarg[1] = (intptr_t)p->path; /* const char * */
3381 struct __specialfd_args *p = params;
3382 iarg[0] = p->type; /* int */
3383 uarg[1] = (intptr_t)p->req; /* const void * */
3384 uarg[2] = p->len; /* size_t */
3390 struct aio_writev_args *p = params;
3391 uarg[0] = (intptr_t)p->aiocbp; /* struct aiocb * */
3397 struct aio_readv_args *p = params;
3398 uarg[0] = (intptr_t)p->aiocbp; /* struct aiocb * */
3404 struct fspacectl_args *p = params;
3405 iarg[0] = p->fd; /* int */
3406 iarg[1] = p->cmd; /* int */
3407 uarg[2] = (intptr_t)p->rqsr; /* const struct spacectl_range * */
3408 iarg[3] = p->flags; /* int */
3409 uarg[4] = (intptr_t)p->rmsr; /* struct spacectl_range * */
3419 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3421 const char *p = NULL;
3446 p = "userland void *";
3462 p = "userland const void *";
3475 p = "userland const char *";
3504 p = "userland int *";
3510 p = "userland struct rusage *";
3520 p = "userland const char *";
3523 p = "userland const char *";
3533 p = "userland const char *";
3543 p = "userland const char *";
3563 p = "userland const char *";
3576 p = "userland const char *";
3592 p = "userland char *";
3605 p = "userland const char *";
3608 p = "userland const char *";
3614 p = "userland void *";
3624 p = "userland const char *";
3675 p = "userland struct msghdr *";
3691 p = "userland struct msghdr *";
3707 p = "userland void *";
3716 p = "userland struct sockaddr *";
3719 p = "userland __socklen_t *";
3732 p = "userland struct sockaddr *";
3735 p = "userland __socklen_t *";
3748 p = "userland struct sockaddr *";
3751 p = "userland __socklen_t *";
3764 p = "userland struct sockaddr *";
3767 p = "userland __socklen_t *";
3777 p = "userland const char *";
3790 p = "userland const char *";
3848 p = "userland char *";
3867 p = "userland const char *";
3889 p = "userland char *";
3902 p = "userland const char *";
3912 p = "userland const char *";
3922 p = "userland stack_t *";
3925 p = "userland stack_t *";
3941 p = "userland char *";
3961 p = "userland const char *";
3971 p = "userland const char *";
3974 p = "userland const char *";
3984 p = "userland const char *";
3987 p = "userland char *";
4000 p = "userland const char *";
4003 p = "userland char **";
4006 p = "userland char **";
4026 p = "userland const char *";
4036 p = "userland void *";
4075 p = "userland void *";
4088 p = "userland void *";
4104 p = "userland void *";
4120 p = "userland const void *";
4126 p = "userland char *";
4139 p = "userland gid_t *";
4152 p = "userland gid_t *";
4181 p = "userland struct itimerval *";
4184 p = "userland struct itimerval *";
4194 p = "userland const char *";
4207 p = "userland struct itimerval *";
4252 p = "userland fd_set *";
4255 p = "userland fd_set *";
4258 p = "userland fd_set *";
4261 p = "userland struct timeval *";
4316 p = "userland const struct sockaddr *";
4345 p = "userland const struct sockaddr *";
4367 p = "userland const void *";
4393 p = "userland struct timeval *";
4396 p = "userland struct timezone *";
4409 p = "userland struct rusage *";
4428 p = "userland void *";
4431 p = "userland int *";
4444 p = "userland struct iovec *";
4460 p = "userland struct iovec *";
4473 p = "userland struct timeval *";
4476 p = "userland struct timezone *";
4541 p = "userland const char *";
4544 p = "userland const char *";
4567 p = "userland const char *";
4583 p = "userland const void *";
4592 p = "userland const struct sockaddr *";
4627 p = "userland int *";
4637 p = "userland const char *";
4650 p = "userland const char *";
4660 p = "userland const char *";
4663 p = "userland struct timeval *";
4673 p = "userland struct timeval *";
4676 p = "userland struct timeval *";
4689 p = "userland const char *";
4698 p = "userland void *";
4717 p = "userland char **";
4730 p = "userland void *";
4740 p = "userland const char *";
4743 p = "userland struct fhandle *";
4753 p = "userland const char *";
4756 p = "userland struct fhandle *";
4769 p = "userland char *";
4785 p = "userland struct rtprio *";
4871 p = "userland struct timex *";
4911 p = "userland const char *";
4940 p = "userland struct rlimit *";
4953 p = "userland struct rlimit *";
4966 p = "userland int *";
4972 p = "userland void *";
4975 p = "userland size_t *";
4978 p = "userland const void *";
4991 p = "userland const void *";
5004 p = "userland const void *";
5017 p = "userland const char *";
5030 p = "userland struct timeval *";
5050 p = "userland struct pollfd *";
5115 p = "userland struct sembuf *";
5144 p = "userland const void *";
5163 p = "userland void *";
5185 p = "userland const void *";
5198 p = "userland const void *";
5227 p = "userland struct timespec *";
5240 p = "userland const struct timespec *";
5253 p = "userland struct timespec *";
5266 p = "userland struct sigevent *";
5269 p = "userland int *";
5285 /* ktimer_settime */
5295 p = "userland const struct itimerspec *";
5298 p = "userland struct itimerspec *";
5304 /* ktimer_gettime */
5311 p = "userland struct itimerspec *";
5317 /* ktimer_getoverrun */
5331 p = "userland const struct timespec *";
5334 p = "userland struct timespec *";
5340 /* ffclock_getcounter */
5344 p = "userland ffcounter *";
5350 /* ffclock_setestimate */
5354 p = "userland struct ffclock_estimate *";
5360 /* ffclock_getestimate */
5364 p = "userland struct ffclock_estimate *";
5370 /* clock_nanosleep */
5380 p = "userland const struct timespec *";
5383 p = "userland struct timespec *";
5389 /* clock_getcpuclockid2 */
5399 p = "userland clockid_t *";
5409 p = "userland struct ntptimeval *";
5419 p = "userland void *";
5448 p = "userland const char *";
5464 p = "userland struct aiocb *";
5474 p = "userland struct aiocb *";
5487 p = "userland struct aiocb * const *";
5493 p = "userland struct sigevent *";
5503 p = "userland const char *";
5516 p = "userland const char *";
5519 p = "userland struct timeval *";
5532 p = "userland struct iovec *";
5551 p = "userland struct iovec *";
5567 p = "userland const struct fhandle *";
5593 p = "userland struct module_stat *";
5613 p = "userland const char *";
5623 p = "userland const char *";
5643 p = "userland const char *";
5666 p = "userland struct kld_file_stat *";
5728 p = "userland struct aiocb *";
5738 p = "userland struct aiocb * const *";
5744 p = "userland const struct timespec *";
5757 p = "userland struct aiocb *";
5767 p = "userland struct aiocb *";
5793 p = "userland char *";
5802 /* sched_setparam */
5809 p = "userland const struct sched_param *";
5815 /* sched_getparam */
5822 p = "userland struct sched_param *";
5828 /* sched_setscheduler */
5838 p = "userland const struct sched_param *";
5844 /* sched_getscheduler */
5857 /* sched_get_priority_max */
5867 /* sched_get_priority_min */
5877 /* sched_rr_get_interval */
5884 p = "userland struct timespec *";
5894 p = "userland const void *";
5913 p = "userland void *";
5923 p = "userland struct jail *";
5936 p = "userland char *";
5942 p = "userland void *";
5958 p = "userland const sigset_t *";
5961 p = "userland sigset_t *";
5971 p = "userland const sigset_t *";
5981 p = "userland sigset_t *";
5991 p = "userland const sigset_t *";
5994 p = "userland siginfo_t *";
5997 p = "userland const struct timespec *";
6007 p = "userland const sigset_t *";
6010 p = "userland siginfo_t *";
6016 /* __acl_get_file */
6020 p = "userland const char *";
6026 p = "userland struct acl *";
6032 /* __acl_set_file */
6036 p = "userland const char *";
6042 p = "userland struct acl *";
6058 p = "userland struct acl *";
6074 p = "userland struct acl *";
6080 /* __acl_delete_file */
6084 p = "userland const char *";
6093 /* __acl_delete_fd */
6106 /* __acl_aclcheck_file */
6110 p = "userland const char *";
6116 p = "userland struct acl *";
6122 /* __acl_aclcheck_fd */
6132 p = "userland struct acl *";
6142 p = "userland const char *";
6148 p = "userland const char *";
6154 p = "userland const char *";
6160 /* extattr_set_file */
6164 p = "userland const char *";
6170 p = "userland const char *";
6173 p = "userland void *";
6182 /* extattr_get_file */
6186 p = "userland const char *";
6192 p = "userland const char *";
6195 p = "userland void *";
6204 /* extattr_delete_file */
6208 p = "userland const char *";
6214 p = "userland const char *";
6220 /* aio_waitcomplete */
6224 p = "userland struct aiocb **";
6227 p = "userland struct timespec *";
6237 p = "userland uid_t *";
6240 p = "userland uid_t *";
6243 p = "userland uid_t *";
6253 p = "userland gid_t *";
6256 p = "userland gid_t *";
6259 p = "userland gid_t *";
6268 /* extattr_set_fd */
6278 p = "userland const char *";
6281 p = "userland void *";
6290 /* extattr_get_fd */
6300 p = "userland const char *";
6303 p = "userland void *";
6312 /* extattr_delete_fd */
6322 p = "userland const char *";
6342 p = "userland const char *";
6383 p = "userland struct iovec *";
6395 /* __mac_get_proc */
6399 p = "userland struct mac *";
6405 /* __mac_set_proc */
6409 p = "userland struct mac *";
6422 p = "userland struct mac *";
6428 /* __mac_get_file */
6432 p = "userland const char *";
6435 p = "userland struct mac *";
6448 p = "userland struct mac *";
6454 /* __mac_set_file */
6458 p = "userland const char *";
6461 p = "userland struct mac *";
6474 p = "userland const char *";
6477 p = "userland char *";
6490 p = "userland const char *";
6503 p = "userland struct uuid *";
6528 p = "userland struct sf_hdtr *";
6531 p = "userland off_t *";
6544 p = "userland const char *";
6550 p = "userland void *";
6600 p = "userland semid_t *";
6613 p = "userland semid_t *";
6616 p = "userland const char *";
6635 p = "userland const char *";
6648 p = "userland int *";
6671 p = "userland struct mac *";
6677 /* __mac_get_link */
6681 p = "userland const char *";
6684 p = "userland struct mac *";
6690 /* __mac_set_link */
6694 p = "userland const char *";
6697 p = "userland struct mac *";
6703 /* extattr_set_link */
6707 p = "userland const char *";
6713 p = "userland const char *";
6716 p = "userland void *";
6725 /* extattr_get_link */
6729 p = "userland const char *";
6735 p = "userland const char *";
6738 p = "userland void *";
6747 /* extattr_delete_link */
6751 p = "userland const char *";
6757 p = "userland const char *";
6767 p = "userland const char *";
6770 p = "userland char **";
6773 p = "userland char **";
6776 p = "userland struct mac *";
6789 p = "userland const struct sigaction *";
6792 p = "userland struct sigaction *";
6802 p = "userland const struct __ucontext *";
6812 p = "userland struct __ucontext *";
6822 p = "userland const struct __ucontext *";
6832 p = "userland struct __ucontext *";
6835 p = "userland const struct __ucontext *";
6845 p = "userland const char *";
6851 /* __acl_get_link */
6855 p = "userland const char *";
6861 p = "userland struct acl *";
6867 /* __acl_set_link */
6871 p = "userland const char *";
6877 p = "userland struct acl *";
6883 /* __acl_delete_link */
6887 p = "userland const char *";
6896 /* __acl_aclcheck_link */
6900 p = "userland const char *";
6906 p = "userland struct acl *";
6916 p = "userland const sigset_t *";
6919 p = "userland int *";
6929 p = "userland ucontext_t *";
6932 p = "userland long *";
6945 p = "userland long *";
6955 p = "userland long *";
6984 /* extattr_list_fd */
6994 p = "userland void *";
7003 /* extattr_list_file */
7007 p = "userland const char *";
7013 p = "userland void *";
7022 /* extattr_list_link */
7026 p = "userland const char *";
7032 p = "userland void *";
7041 /* ksem_timedwait */
7048 p = "userland const struct timespec *";
7058 p = "userland const struct timespec *";
7091 p = "userland const void *";
7107 p = "userland void *";
7120 p = "userland uid_t *";
7130 p = "userland uid_t *";
7140 p = "userland struct auditinfo *";
7150 p = "userland struct auditinfo *";
7160 p = "userland struct auditinfo_addr *";
7173 p = "userland struct auditinfo_addr *";
7186 p = "userland const char *";
7196 p = "userland void *";
7205 p = "userland void *";
7208 p = "userland void *";
7218 p = "userland struct thr_param *";
7237 p = "userland void *";
7247 p = "userland const char *";
7256 p = "userland const struct mq_attr *";
7269 p = "userland const struct mq_attr *";
7272 p = "userland struct mq_attr *";
7278 /* kmq_timedreceive */
7285 p = "userland char *";
7291 p = "userland unsigned *";
7294 p = "userland const struct timespec *";
7307 p = "userland const char *";
7316 p = "userland const struct timespec *";
7329 p = "userland const struct sigevent *";
7339 p = "userland const char *";
7349 p = "userland const char *";
7355 p = "userland void **";
7368 p = "userland const char *";
7381 p = "userland struct aiocb *";
7397 p = "userland struct rtprio *";
7416 /* sctp_generic_sendmsg */
7423 p = "userland void *";
7429 p = "userland struct sockaddr *";
7435 p = "userland struct sctp_sndrcvinfo *";
7444 /* sctp_generic_sendmsg_iov */
7451 p = "userland struct iovec *";
7457 p = "userland struct sockaddr *";
7463 p = "userland struct sctp_sndrcvinfo *";
7472 /* sctp_generic_recvmsg */
7479 p = "userland struct iovec *";
7485 p = "userland struct sockaddr *";
7488 p = "userland __socklen_t *";
7491 p = "userland struct sctp_sndrcvinfo *";
7494 p = "userland int *";
7507 p = "userland void *";
7526 p = "userland const void *";
7542 p = "userland void *";
7583 p = "userland const char *";
7625 p = "userland const char *";
7635 p = "userland cpusetid_t *";
7670 p = "userland cpusetid_t *";
7676 /* cpuset_getaffinity */
7692 p = "userland cpuset_t *";
7698 /* cpuset_setaffinity */
7714 p = "userland const cpuset_t *";
7727 p = "userland const char *";
7746 p = "userland const char *";
7765 p = "userland const char *";
7787 p = "userland char **";
7790 p = "userland char **";
7803 p = "userland const char *";
7806 p = "userland struct timeval *";
7819 p = "userland const char *";
7825 p = "userland const char *";
7841 p = "userland const char *";
7857 p = "userland const char *";
7873 p = "userland const char *";
7892 p = "userland const char *";
7895 p = "userland char *";
7911 p = "userland const char *";
7917 p = "userland const char *";
7927 p = "userland const char *";
7933 p = "userland const char *";
7946 p = "userland const char *";
7969 p = "userland const char *";
7979 p = "userland struct iovec *";
7995 p = "userland struct iovec *";
8030 p = "userland union semun *";
8046 p = "userland struct msqid_ds *";
8062 p = "userland struct shmid_ds *";
8072 p = "userland const char *";
8081 /* __cap_rights_get */
8091 p = "userland cap_rights_t *";
8104 p = "userland u_int *";
8114 p = "userland int *";
8143 p = "userland pid_t *";
8156 p = "userland fd_set *";
8159 p = "userland fd_set *";
8162 p = "userland fd_set *";
8165 p = "userland const struct timespec *";
8168 p = "userland const sigset_t *";
8178 p = "userland char *";
8191 p = "userland const char *";
8197 /* rctl_get_racct */
8201 p = "userland const void *";
8207 p = "userland void *";
8216 /* rctl_get_rules */
8220 p = "userland const void *";
8226 p = "userland void *";
8235 /* rctl_get_limits */
8239 p = "userland const void *";
8245 p = "userland void *";
8258 p = "userland const void *";
8264 p = "userland void *";
8273 /* rctl_remove_rule */
8277 p = "userland const void *";
8283 p = "userland void *";
8292 /* posix_fallocate */
8337 p = "userland int *";
8343 p = "userland struct __wrusage *";
8346 p = "userland siginfo_t *";
8352 /* cap_rights_limit */
8359 p = "userland cap_rights_t *";
8365 /* cap_ioctls_limit */
8372 p = "userland const u_long *";
8381 /* cap_ioctls_get */
8388 p = "userland u_long *";
8397 /* cap_fcntls_limit */
8410 /* cap_fcntls_get */
8417 p = "userland uint32_t *";
8433 p = "userland const struct sockaddr *";
8452 p = "userland const struct sockaddr *";
8468 p = "userland const char *";
8487 p = "userland struct sockaddr *";
8490 p = "userland __socklen_t *";
8503 p = "userland int *";
8516 p = "userland struct aiocb *";
8535 p = "userland void *";
8545 p = "userland struct pollfd *";
8551 p = "userland const struct timespec *";
8554 p = "userland const sigset_t *";
8567 p = "userland struct timespec *";
8580 p = "userland const char *";
8583 p = "userland struct timespec *";
8609 p = "userland struct stat *";
8622 p = "userland const char *";
8625 p = "userland struct stat *";
8638 p = "userland const struct fhandle *";
8641 p = "userland struct stat *";
8654 p = "userland char *";
8660 p = "userland off_t *";
8670 p = "userland const char *";
8673 p = "userland struct statfs *";
8686 p = "userland struct statfs *";
8696 p = "userland struct statfs *";
8712 p = "userland const struct fhandle *";
8715 p = "userland struct statfs *";
8728 p = "userland const char *";
8747 p = "userland struct kevent *";
8753 p = "userland struct kevent *";
8759 p = "userland const struct timespec *";
8765 /* cpuset_getdomain */
8781 p = "userland domainset_t *";
8784 p = "userland int *";
8790 /* cpuset_setdomain */
8806 p = "userland domainset_t *";
8819 p = "userland void *";
8838 p = "userland char *";
8841 p = "userland struct fhandle *";
8854 p = "userland struct fhandle *";
8857 p = "userland const char *";
8867 p = "userland struct fhandle *";
8873 p = "userland const char *";
8883 p = "userland struct fhandle *";
8886 p = "userland char *";
8902 p = "userland const char *";
8914 /* copy_file_range */
8921 p = "userland off_t *";
8927 p = "userland off_t *";
8939 /* __sysctlbyname */
8943 p = "userland const char *";
8949 p = "userland void *";
8952 p = "userland size_t *";
8955 p = "userland void *";
8968 p = "userland const char *";
8980 p = "userland const char *";
8990 p = "userland const char *";
8993 p = "userland const char *";
9009 p = "userland uint32_t *";
9022 p = "userland const char *";
9025 p = "userland char *";
9053 /* rpctls_syscall */
9060 p = "userland const char *";
9073 p = "userland const void *";
9086 p = "userland struct aiocb *";
9096 p = "userland struct aiocb *";
9112 p = "userland const struct spacectl_range *";
9118 p = "userland struct spacectl_range *";
9128 strlcpy(desc, p, descsz);
9131 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
9133 const char *p = NULL;
9139 if (ndx == 0 || ndx == 1)
9146 if (ndx == 0 || ndx == 1)
9151 if (ndx == 0 || ndx == 1)
9156 if (ndx == 0 || ndx == 1)
9161 if (ndx == 0 || ndx == 1)
9166 if (ndx == 0 || ndx == 1)
9171 if (ndx == 0 || ndx == 1)
9176 if (ndx == 0 || ndx == 1)
9181 if (ndx == 0 || ndx == 1)
9186 if (ndx == 0 || ndx == 1)
9191 if (ndx == 0 || ndx == 1)
9196 if (ndx == 0 || ndx == 1)
9201 if (ndx == 0 || ndx == 1)
9208 if (ndx == 0 || ndx == 1)
9213 if (ndx == 0 || ndx == 1)
9218 if (ndx == 0 || ndx == 1)
9227 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)
9279 if (ndx == 0 || ndx == 1)
9286 if (ndx == 0 || ndx == 1)
9293 if (ndx == 0 || ndx == 1)
9298 if (ndx == 0 || ndx == 1)
9305 if (ndx == 0 || ndx == 1)
9310 if (ndx == 0 || ndx == 1)
9315 if (ndx == 0 || ndx == 1)
9320 if (ndx == 0 || ndx == 1)
9325 if (ndx == 0 || ndx == 1)
9330 if (ndx == 0 || ndx == 1)
9335 if (ndx == 0 || ndx == 1)
9340 if (ndx == 0 || ndx == 1)
9345 if (ndx == 0 || ndx == 1)
9350 if (ndx == 0 || ndx == 1)
9355 if (ndx == 0 || ndx == 1)
9360 if (ndx == 0 || ndx == 1)
9365 if (ndx == 0 || ndx == 1)
9372 if (ndx == 0 || ndx == 1)
9377 if (ndx == 0 || ndx == 1)
9382 if (ndx == 0 || ndx == 1)
9387 if (ndx == 0 || ndx == 1)
9392 if (ndx == 0 || ndx == 1)
9397 if (ndx == 0 || ndx == 1)
9402 if (ndx == 0 || ndx == 1)
9407 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)
9436 if (ndx == 0 || ndx == 1)
9441 if (ndx == 0 || ndx == 1)
9446 if (ndx == 0 || ndx == 1)
9451 if (ndx == 0 || ndx == 1)
9456 if (ndx == 0 || ndx == 1)
9461 if (ndx == 0 || ndx == 1)
9466 if (ndx == 0 || ndx == 1)
9471 if (ndx == 0 || ndx == 1)
9476 if (ndx == 0 || ndx == 1)
9481 if (ndx == 0 || ndx == 1)
9486 if (ndx == 0 || ndx == 1)
9491 if (ndx == 0 || ndx == 1)
9496 if (ndx == 0 || ndx == 1)
9501 if (ndx == 0 || ndx == 1)
9506 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)
9593 if (ndx == 0 || ndx == 1)
9598 if (ndx == 0 || ndx == 1)
9603 if (ndx == 0 || ndx == 1)
9608 if (ndx == 0 || ndx == 1)
9613 if (ndx == 0 || ndx == 1)
9618 if (ndx == 0 || ndx == 1)
9623 if (ndx == 0 || ndx == 1)
9628 if (ndx == 0 || ndx == 1)
9633 if (ndx == 0 || ndx == 1)
9638 if (ndx == 0 || ndx == 1)
9643 if (ndx == 0 || ndx == 1)
9648 if (ndx == 0 || ndx == 1)
9653 if (ndx == 0 || ndx == 1)
9658 if (ndx == 0 || ndx == 1)
9663 if (ndx == 0 || ndx == 1)
9668 if (ndx == 0 || ndx == 1)
9673 if (ndx == 0 || ndx == 1)
9678 if (ndx == 0 || ndx == 1)
9683 if (ndx == 0 || ndx == 1)
9690 if (ndx == 0 || ndx == 1)
9695 if (ndx == 0 || ndx == 1)
9700 if (ndx == 0 || ndx == 1)
9705 if (ndx == 0 || ndx == 1)
9710 if (ndx == 0 || ndx == 1)
9715 if (ndx == 0 || ndx == 1)
9720 if (ndx == 0 || ndx == 1)
9745 if (ndx == 0 || ndx == 1)
9750 if (ndx == 0 || ndx == 1)
9755 if (ndx == 0 || ndx == 1)
9760 if (ndx == 0 || ndx == 1)
9765 if (ndx == 0 || ndx == 1)
9770 if (ndx == 0 || ndx == 1)
9775 if (ndx == 0 || ndx == 1)
9780 if (ndx == 0 || ndx == 1)
9785 if (ndx == 0 || ndx == 1)
9790 if (ndx == 0 || ndx == 1)
9795 if (ndx == 0 || ndx == 1)
9800 if (ndx == 0 || ndx == 1)
9805 if (ndx == 0 || ndx == 1)
9808 /* ktimer_settime */
9810 if (ndx == 0 || ndx == 1)
9813 /* ktimer_gettime */
9815 if (ndx == 0 || ndx == 1)
9818 /* ktimer_getoverrun */
9820 if (ndx == 0 || ndx == 1)
9825 if (ndx == 0 || ndx == 1)
9828 /* ffclock_getcounter */
9830 if (ndx == 0 || ndx == 1)
9833 /* ffclock_setestimate */
9835 if (ndx == 0 || ndx == 1)
9838 /* ffclock_getestimate */
9840 if (ndx == 0 || ndx == 1)
9843 /* clock_nanosleep */
9845 if (ndx == 0 || ndx == 1)
9848 /* clock_getcpuclockid2 */
9850 if (ndx == 0 || ndx == 1)
9855 if (ndx == 0 || ndx == 1)
9860 if (ndx == 0 || ndx == 1)
9865 if (ndx == 0 || ndx == 1)
9872 if (ndx == 0 || ndx == 1)
9877 if (ndx == 0 || ndx == 1)
9882 if (ndx == 0 || ndx == 1)
9887 if (ndx == 0 || ndx == 1)
9892 if (ndx == 0 || ndx == 1)
9897 if (ndx == 0 || ndx == 1)
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)
9942 if (ndx == 0 || ndx == 1)
9947 if (ndx == 0 || ndx == 1)
9952 if (ndx == 0 || ndx == 1)
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)
9992 if (ndx == 0 || ndx == 1)
9997 if (ndx == 0 || ndx == 1)
10004 if (ndx == 0 || ndx == 1)
10011 if (ndx == 0 || ndx == 1)
10014 /* sched_setparam */
10016 if (ndx == 0 || ndx == 1)
10019 /* sched_getparam */
10021 if (ndx == 0 || ndx == 1)
10024 /* sched_setscheduler */
10026 if (ndx == 0 || ndx == 1)
10029 /* sched_getscheduler */
10031 if (ndx == 0 || ndx == 1)
10036 /* sched_get_priority_max */
10038 if (ndx == 0 || ndx == 1)
10041 /* sched_get_priority_min */
10043 if (ndx == 0 || ndx == 1)
10046 /* sched_rr_get_interval */
10048 if (ndx == 0 || ndx == 1)
10053 if (ndx == 0 || ndx == 1)
10058 if (ndx == 0 || ndx == 1)
10063 if (ndx == 0 || ndx == 1)
10066 /* nnpfs_syscall */
10068 if (ndx == 0 || ndx == 1)
10073 if (ndx == 0 || ndx == 1)
10078 if (ndx == 0 || ndx == 1)
10083 if (ndx == 0 || ndx == 1)
10088 if (ndx == 0 || ndx == 1)
10093 if (ndx == 0 || ndx == 1)
10096 /* __acl_get_file */
10098 if (ndx == 0 || ndx == 1)
10101 /* __acl_set_file */
10103 if (ndx == 0 || ndx == 1)
10108 if (ndx == 0 || ndx == 1)
10113 if (ndx == 0 || ndx == 1)
10116 /* __acl_delete_file */
10118 if (ndx == 0 || ndx == 1)
10121 /* __acl_delete_fd */
10123 if (ndx == 0 || ndx == 1)
10126 /* __acl_aclcheck_file */
10128 if (ndx == 0 || ndx == 1)
10131 /* __acl_aclcheck_fd */
10133 if (ndx == 0 || ndx == 1)
10138 if (ndx == 0 || ndx == 1)
10141 /* extattr_set_file */
10143 if (ndx == 0 || ndx == 1)
10146 /* extattr_get_file */
10148 if (ndx == 0 || ndx == 1)
10151 /* extattr_delete_file */
10153 if (ndx == 0 || ndx == 1)
10156 /* aio_waitcomplete */
10158 if (ndx == 0 || ndx == 1)
10163 if (ndx == 0 || ndx == 1)
10168 if (ndx == 0 || ndx == 1)
10173 /* extattr_set_fd */
10175 if (ndx == 0 || ndx == 1)
10178 /* extattr_get_fd */
10180 if (ndx == 0 || ndx == 1)
10183 /* extattr_delete_fd */
10185 if (ndx == 0 || ndx == 1)
10190 if (ndx == 0 || ndx == 1)
10195 if (ndx == 0 || ndx == 1)
10200 if (ndx == 0 || ndx == 1)
10205 if (ndx == 0 || ndx == 1)
10208 /* __mac_get_proc */
10210 if (ndx == 0 || ndx == 1)
10213 /* __mac_set_proc */
10215 if (ndx == 0 || ndx == 1)
10220 if (ndx == 0 || ndx == 1)
10223 /* __mac_get_file */
10225 if (ndx == 0 || ndx == 1)
10230 if (ndx == 0 || ndx == 1)
10233 /* __mac_set_file */
10235 if (ndx == 0 || ndx == 1)
10240 if (ndx == 0 || ndx == 1)
10245 if (ndx == 0 || ndx == 1)
10250 if (ndx == 0 || ndx == 1)
10255 if (ndx == 0 || ndx == 1)
10260 if (ndx == 0 || ndx == 1)
10265 if (ndx == 0 || ndx == 1)
10270 if (ndx == 0 || ndx == 1)
10275 if (ndx == 0 || ndx == 1)
10280 if (ndx == 0 || ndx == 1)
10285 if (ndx == 0 || ndx == 1)
10290 if (ndx == 0 || ndx == 1)
10295 if (ndx == 0 || ndx == 1)
10298 /* ksem_getvalue */
10300 if (ndx == 0 || ndx == 1)
10305 if (ndx == 0 || ndx == 1)
10308 /* __mac_get_pid */
10310 if (ndx == 0 || ndx == 1)
10313 /* __mac_get_link */
10315 if (ndx == 0 || ndx == 1)
10318 /* __mac_set_link */
10320 if (ndx == 0 || ndx == 1)
10323 /* extattr_set_link */
10325 if (ndx == 0 || ndx == 1)
10328 /* extattr_get_link */
10330 if (ndx == 0 || ndx == 1)
10333 /* extattr_delete_link */
10335 if (ndx == 0 || ndx == 1)
10340 if (ndx == 0 || ndx == 1)
10345 if (ndx == 0 || ndx == 1)
10350 if (ndx == 0 || ndx == 1)
10355 if (ndx == 0 || ndx == 1)
10360 if (ndx == 0 || ndx == 1)
10365 if (ndx == 0 || ndx == 1)
10370 if (ndx == 0 || ndx == 1)
10373 /* __acl_get_link */
10375 if (ndx == 0 || ndx == 1)
10378 /* __acl_set_link */
10380 if (ndx == 0 || ndx == 1)
10383 /* __acl_delete_link */
10385 if (ndx == 0 || ndx == 1)
10388 /* __acl_aclcheck_link */
10390 if (ndx == 0 || ndx == 1)
10395 if (ndx == 0 || ndx == 1)
10400 if (ndx == 0 || ndx == 1)
10405 if (ndx == 0 || ndx == 1)
10410 if (ndx == 0 || ndx == 1)
10415 if (ndx == 0 || ndx == 1)
10420 if (ndx == 0 || ndx == 1)
10423 /* extattr_list_fd */
10425 if (ndx == 0 || ndx == 1)
10428 /* extattr_list_file */
10430 if (ndx == 0 || ndx == 1)
10433 /* extattr_list_link */
10435 if (ndx == 0 || ndx == 1)
10438 /* ksem_timedwait */
10440 if (ndx == 0 || ndx == 1)
10445 if (ndx == 0 || ndx == 1)
10450 if (ndx == 0 || ndx == 1)
10455 if (ndx == 0 || ndx == 1)
10460 if (ndx == 0 || ndx == 1)
10465 if (ndx == 0 || ndx == 1)
10470 if (ndx == 0 || ndx == 1)
10475 if (ndx == 0 || ndx == 1)
10480 if (ndx == 0 || ndx == 1)
10485 if (ndx == 0 || ndx == 1)
10488 /* getaudit_addr */
10490 if (ndx == 0 || ndx == 1)
10493 /* setaudit_addr */
10495 if (ndx == 0 || ndx == 1)
10500 if (ndx == 0 || ndx == 1)
10505 if (ndx == 0 || ndx == 1)
10510 if (ndx == 0 || ndx == 1)
10515 if (ndx == 0 || ndx == 1)
10520 if (ndx == 0 || ndx == 1)
10525 if (ndx == 0 || ndx == 1)
10528 /* kmq_timedreceive */
10530 if (ndx == 0 || ndx == 1)
10533 /* kmq_timedsend */
10535 if (ndx == 0 || ndx == 1)
10540 if (ndx == 0 || ndx == 1)
10545 if (ndx == 0 || ndx == 1)
10550 if (ndx == 0 || ndx == 1)
10555 if (ndx == 0 || ndx == 1)
10560 if (ndx == 0 || ndx == 1)
10563 /* rtprio_thread */
10565 if (ndx == 0 || ndx == 1)
10570 if (ndx == 0 || ndx == 1)
10573 /* sctp_generic_sendmsg */
10575 if (ndx == 0 || ndx == 1)
10578 /* sctp_generic_sendmsg_iov */
10580 if (ndx == 0 || ndx == 1)
10583 /* sctp_generic_recvmsg */
10585 if (ndx == 0 || ndx == 1)
10590 if (ndx == 0 || ndx == 1)
10595 if (ndx == 0 || ndx == 1)
10600 if (ndx == 0 || ndx == 1)
10605 if (ndx == 0 || ndx == 1)
10610 if (ndx == 0 || ndx == 1)
10615 if (ndx == 0 || ndx == 1)
10620 if (ndx == 0 || ndx == 1)
10625 if (ndx == 0 || ndx == 1)
10630 if (ndx == 0 || ndx == 1)
10635 if (ndx == 0 || ndx == 1)
10640 if (ndx == 0 || ndx == 1)
10643 /* cpuset_getaffinity */
10645 if (ndx == 0 || ndx == 1)
10648 /* cpuset_setaffinity */
10650 if (ndx == 0 || ndx == 1)
10655 if (ndx == 0 || ndx == 1)
10660 if (ndx == 0 || ndx == 1)
10665 if (ndx == 0 || ndx == 1)
10670 if (ndx == 0 || ndx == 1)
10675 if (ndx == 0 || ndx == 1)
10680 if (ndx == 0 || ndx == 1)
10685 if (ndx == 0 || ndx == 1)
10690 if (ndx == 0 || ndx == 1)
10695 if (ndx == 0 || ndx == 1)
10700 if (ndx == 0 || ndx == 1)
10705 if (ndx == 0 || ndx == 1)
10710 if (ndx == 0 || ndx == 1)
10715 if (ndx == 0 || ndx == 1)
10720 if (ndx == 0 || ndx == 1)
10725 if (ndx == 0 || ndx == 1)
10730 if (ndx == 0 || ndx == 1)
10735 if (ndx == 0 || ndx == 1)
10740 if (ndx == 0 || ndx == 1)
10745 if (ndx == 0 || ndx == 1)
10750 if (ndx == 0 || ndx == 1)
10755 if (ndx == 0 || ndx == 1)
10760 if (ndx == 0 || ndx == 1)
10763 /* __cap_rights_get */
10765 if (ndx == 0 || ndx == 1)
10772 if (ndx == 0 || ndx == 1)
10777 if (ndx == 0 || ndx == 1)
10782 if (ndx == 0 || ndx == 1)
10787 if (ndx == 0 || ndx == 1)
10792 if (ndx == 0 || ndx == 1)
10795 /* getloginclass */
10797 if (ndx == 0 || ndx == 1)
10800 /* setloginclass */
10802 if (ndx == 0 || ndx == 1)
10805 /* rctl_get_racct */
10807 if (ndx == 0 || ndx == 1)
10810 /* rctl_get_rules */
10812 if (ndx == 0 || ndx == 1)
10815 /* rctl_get_limits */
10817 if (ndx == 0 || ndx == 1)
10820 /* rctl_add_rule */
10822 if (ndx == 0 || ndx == 1)
10825 /* rctl_remove_rule */
10827 if (ndx == 0 || ndx == 1)
10830 /* posix_fallocate */
10832 if (ndx == 0 || ndx == 1)
10835 /* posix_fadvise */
10837 if (ndx == 0 || ndx == 1)
10842 if (ndx == 0 || ndx == 1)
10845 /* cap_rights_limit */
10847 if (ndx == 0 || ndx == 1)
10850 /* cap_ioctls_limit */
10852 if (ndx == 0 || ndx == 1)
10855 /* cap_ioctls_get */
10857 if (ndx == 0 || ndx == 1)
10860 /* cap_fcntls_limit */
10862 if (ndx == 0 || ndx == 1)
10865 /* cap_fcntls_get */
10867 if (ndx == 0 || ndx == 1)
10872 if (ndx == 0 || ndx == 1)
10877 if (ndx == 0 || ndx == 1)
10882 if (ndx == 0 || ndx == 1)
10887 if (ndx == 0 || ndx == 1)
10892 if (ndx == 0 || ndx == 1)
10897 if (ndx == 0 || ndx == 1)
10902 if (ndx == 0 || ndx == 1)
10907 if (ndx == 0 || ndx == 1)
10912 if (ndx == 0 || ndx == 1)
10917 if (ndx == 0 || ndx == 1)
10922 if (ndx == 0 || ndx == 1)
10927 if (ndx == 0 || ndx == 1)
10932 if (ndx == 0 || ndx == 1)
10937 if (ndx == 0 || ndx == 1)
10940 /* getdirentries */
10942 if (ndx == 0 || ndx == 1)
10947 if (ndx == 0 || ndx == 1)
10952 if (ndx == 0 || ndx == 1)
10957 if (ndx == 0 || ndx == 1)
10962 if (ndx == 0 || ndx == 1)
10967 if (ndx == 0 || ndx == 1)
10972 if (ndx == 0 || ndx == 1)
10975 /* cpuset_getdomain */
10977 if (ndx == 0 || ndx == 1)
10980 /* cpuset_setdomain */
10982 if (ndx == 0 || ndx == 1)
10987 if (ndx == 0 || ndx == 1)
10992 if (ndx == 0 || ndx == 1)
10997 if (ndx == 0 || ndx == 1)
11002 if (ndx == 0 || ndx == 1)
11007 if (ndx == 0 || ndx == 1)
11012 if (ndx == 0 || ndx == 1)
11015 /* copy_file_range */
11017 if (ndx == 0 || ndx == 1)
11020 /* __sysctlbyname */
11022 if (ndx == 0 || ndx == 1)
11027 if (ndx == 0 || ndx == 1)
11032 if (ndx == 0 || ndx == 1)
11037 if (ndx == 0 || ndx == 1)
11042 if (ndx == 0 || ndx == 1)
11047 if (ndx == 0 || ndx == 1)
11050 /* rpctls_syscall */
11052 if (ndx == 0 || ndx == 1)
11057 if (ndx == 0 || ndx == 1)
11062 if (ndx == 0 || ndx == 1)
11067 if (ndx == 0 || ndx == 1)
11072 if (ndx == 0 || ndx == 1)
11079 strlcpy(desc, p, descsz);