2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically generated.
6 * This file is part of the DTrace syscall provider.
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *) uarg;
21 struct sys_exit_args *p = params;
22 iarg[0] = p->rval; /* int */
33 struct read_args *p = params;
34 iarg[0] = p->fd; /* int */
35 uarg[1] = (intptr_t) p->buf; /* void * */
36 uarg[2] = p->nbyte; /* size_t */
42 struct write_args *p = params;
43 iarg[0] = p->fd; /* int */
44 uarg[1] = (intptr_t) p->buf; /* const void * */
45 uarg[2] = p->nbyte; /* size_t */
51 struct open_args *p = params;
52 uarg[0] = (intptr_t) p->path; /* char * */
53 iarg[1] = p->flags; /* int */
54 iarg[2] = p->mode; /* int */
60 struct close_args *p = params;
61 iarg[0] = p->fd; /* int */
67 struct wait4_args *p = params;
68 iarg[0] = p->pid; /* int */
69 uarg[1] = (intptr_t) p->status; /* int * */
70 iarg[2] = p->options; /* int */
71 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
77 struct link_args *p = params;
78 uarg[0] = (intptr_t) p->path; /* char * */
79 uarg[1] = (intptr_t) p->link; /* char * */
85 struct unlink_args *p = params;
86 uarg[0] = (intptr_t) p->path; /* char * */
92 struct chdir_args *p = params;
93 uarg[0] = (intptr_t) p->path; /* char * */
99 struct fchdir_args *p = params;
100 iarg[0] = p->fd; /* int */
106 struct chmod_args *p = params;
107 uarg[0] = (intptr_t) p->path; /* char * */
108 iarg[1] = p->mode; /* int */
114 struct chown_args *p = params;
115 uarg[0] = (intptr_t) p->path; /* char * */
116 iarg[1] = p->uid; /* int */
117 iarg[2] = p->gid; /* int */
123 struct obreak_args *p = params;
124 uarg[0] = (intptr_t) p->nsize; /* char * */
135 struct mount_args *p = params;
136 uarg[0] = (intptr_t) p->type; /* char * */
137 uarg[1] = (intptr_t) p->path; /* char * */
138 iarg[2] = p->flags; /* int */
139 uarg[3] = (intptr_t) p->data; /* caddr_t */
145 struct unmount_args *p = params;
146 uarg[0] = (intptr_t) p->path; /* char * */
147 iarg[1] = p->flags; /* int */
153 struct setuid_args *p = params;
154 uarg[0] = p->uid; /* uid_t */
170 struct ptrace_args *p = params;
171 iarg[0] = p->req; /* int */
172 iarg[1] = p->pid; /* pid_t */
173 uarg[2] = (intptr_t) p->addr; /* caddr_t */
174 iarg[3] = p->data; /* int */
180 struct recvmsg_args *p = params;
181 iarg[0] = p->s; /* int */
182 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
183 iarg[2] = p->flags; /* int */
189 struct sendmsg_args *p = params;
190 iarg[0] = p->s; /* int */
191 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
192 iarg[2] = p->flags; /* int */
198 struct recvfrom_args *p = params;
199 iarg[0] = p->s; /* int */
200 uarg[1] = (intptr_t) p->buf; /* caddr_t */
201 uarg[2] = p->len; /* size_t */
202 iarg[3] = p->flags; /* int */
203 uarg[4] = (intptr_t) p->from; /* struct sockaddr * */
204 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
210 struct accept_args *p = params;
211 iarg[0] = p->s; /* int */
212 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
213 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
219 struct getpeername_args *p = params;
220 iarg[0] = p->fdes; /* int */
221 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */
222 uarg[2] = (intptr_t) p->alen; /* __socklen_t * */
228 struct getsockname_args *p = params;
229 iarg[0] = p->fdes; /* int */
230 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */
231 uarg[2] = (intptr_t) p->alen; /* __socklen_t * */
237 struct access_args *p = params;
238 uarg[0] = (intptr_t) p->path; /* char * */
239 iarg[1] = p->amode; /* int */
245 struct chflags_args *p = params;
246 uarg[0] = (intptr_t) p->path; /* const char * */
247 uarg[1] = p->flags; /* u_long */
253 struct fchflags_args *p = params;
254 iarg[0] = p->fd; /* int */
255 uarg[1] = p->flags; /* u_long */
266 struct kill_args *p = params;
267 iarg[0] = p->pid; /* int */
268 iarg[1] = p->signum; /* int */
279 struct dup_args *p = params;
280 uarg[0] = p->fd; /* u_int */
291 struct profil_args *p = params;
292 uarg[0] = (intptr_t) p->samples; /* caddr_t */
293 uarg[1] = p->size; /* size_t */
294 uarg[2] = p->offset; /* size_t */
295 uarg[3] = p->scale; /* u_int */
301 struct ktrace_args *p = params;
302 uarg[0] = (intptr_t) p->fname; /* const char * */
303 iarg[1] = p->ops; /* int */
304 iarg[2] = p->facs; /* int */
305 iarg[3] = p->pid; /* int */
316 struct getlogin_args *p = params;
317 uarg[0] = (intptr_t) p->namebuf; /* char * */
318 uarg[1] = p->namelen; /* u_int */
324 struct setlogin_args *p = params;
325 uarg[0] = (intptr_t) p->namebuf; /* char * */
331 struct acct_args *p = params;
332 uarg[0] = (intptr_t) p->path; /* char * */
338 struct sigaltstack_args *p = params;
339 uarg[0] = (intptr_t) p->ss; /* stack_t * */
340 uarg[1] = (intptr_t) p->oss; /* stack_t * */
346 struct ioctl_args *p = params;
347 iarg[0] = p->fd; /* int */
348 uarg[1] = p->com; /* u_long */
349 uarg[2] = (intptr_t) p->data; /* caddr_t */
355 struct reboot_args *p = params;
356 iarg[0] = p->opt; /* int */
362 struct revoke_args *p = params;
363 uarg[0] = (intptr_t) p->path; /* char * */
369 struct symlink_args *p = params;
370 uarg[0] = (intptr_t) p->path; /* char * */
371 uarg[1] = (intptr_t) p->link; /* char * */
377 struct readlink_args *p = params;
378 uarg[0] = (intptr_t) p->path; /* char * */
379 uarg[1] = (intptr_t) p->buf; /* char * */
380 uarg[2] = p->count; /* size_t */
386 struct execve_args *p = params;
387 uarg[0] = (intptr_t) p->fname; /* char * */
388 uarg[1] = (intptr_t) p->argv; /* char ** */
389 uarg[2] = (intptr_t) p->envv; /* char ** */
395 struct umask_args *p = params;
396 iarg[0] = p->newmask; /* int */
402 struct chroot_args *p = params;
403 uarg[0] = (intptr_t) p->path; /* char * */
409 struct msync_args *p = params;
410 uarg[0] = (intptr_t) p->addr; /* void * */
411 uarg[1] = p->len; /* size_t */
412 iarg[2] = p->flags; /* int */
423 struct sbrk_args *p = params;
424 iarg[0] = p->incr; /* int */
430 struct sstk_args *p = params;
431 iarg[0] = p->incr; /* int */
437 struct ovadvise_args *p = params;
438 iarg[0] = p->anom; /* int */
444 struct munmap_args *p = params;
445 uarg[0] = (intptr_t) p->addr; /* void * */
446 uarg[1] = p->len; /* size_t */
452 struct mprotect_args *p = params;
453 uarg[0] = (intptr_t) p->addr; /* void * */
454 uarg[1] = p->len; /* size_t */
455 iarg[2] = p->prot; /* int */
461 struct madvise_args *p = params;
462 uarg[0] = (intptr_t) p->addr; /* void * */
463 uarg[1] = p->len; /* size_t */
464 iarg[2] = p->behav; /* int */
470 struct mincore_args *p = params;
471 uarg[0] = (intptr_t) p->addr; /* const void * */
472 uarg[1] = p->len; /* size_t */
473 uarg[2] = (intptr_t) p->vec; /* char * */
479 struct getgroups_args *p = params;
480 uarg[0] = p->gidsetsize; /* u_int */
481 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
487 struct setgroups_args *p = params;
488 uarg[0] = p->gidsetsize; /* u_int */
489 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
500 struct setpgid_args *p = params;
501 iarg[0] = p->pid; /* int */
502 iarg[1] = p->pgid; /* int */
508 struct setitimer_args *p = params;
509 uarg[0] = p->which; /* u_int */
510 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
511 uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */
517 struct swapon_args *p = params;
518 uarg[0] = (intptr_t) p->name; /* char * */
524 struct getitimer_args *p = params;
525 uarg[0] = p->which; /* u_int */
526 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
537 struct dup2_args *p = params;
538 uarg[0] = p->from; /* u_int */
539 uarg[1] = p->to; /* u_int */
545 struct fcntl_args *p = params;
546 iarg[0] = p->fd; /* int */
547 iarg[1] = p->cmd; /* int */
548 iarg[2] = p->arg; /* long */
554 struct select_args *p = params;
555 iarg[0] = p->nd; /* int */
556 uarg[1] = (intptr_t) p->in; /* fd_set * */
557 uarg[2] = (intptr_t) p->ou; /* fd_set * */
558 uarg[3] = (intptr_t) p->ex; /* fd_set * */
559 uarg[4] = (intptr_t) p->tv; /* struct timeval * */
565 struct fsync_args *p = params;
566 iarg[0] = p->fd; /* int */
572 struct setpriority_args *p = params;
573 iarg[0] = p->which; /* int */
574 iarg[1] = p->who; /* int */
575 iarg[2] = p->prio; /* int */
581 struct socket_args *p = params;
582 iarg[0] = p->domain; /* int */
583 iarg[1] = p->type; /* int */
584 iarg[2] = p->protocol; /* int */
590 struct connect_args *p = params;
591 iarg[0] = p->s; /* int */
592 uarg[1] = (intptr_t) p->name; /* caddr_t */
593 iarg[2] = p->namelen; /* int */
599 struct getpriority_args *p = params;
600 iarg[0] = p->which; /* int */
601 iarg[1] = p->who; /* int */
607 struct bind_args *p = params;
608 iarg[0] = p->s; /* int */
609 uarg[1] = (intptr_t) p->name; /* caddr_t */
610 iarg[2] = p->namelen; /* int */
616 struct setsockopt_args *p = params;
617 iarg[0] = p->s; /* int */
618 iarg[1] = p->level; /* int */
619 iarg[2] = p->name; /* int */
620 uarg[3] = (intptr_t) p->val; /* caddr_t */
621 iarg[4] = p->valsize; /* int */
627 struct listen_args *p = params;
628 iarg[0] = p->s; /* int */
629 iarg[1] = p->backlog; /* int */
635 struct gettimeofday_args *p = params;
636 uarg[0] = (intptr_t) p->tp; /* struct timeval * */
637 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
643 struct getrusage_args *p = params;
644 iarg[0] = p->who; /* int */
645 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
651 struct getsockopt_args *p = params;
652 iarg[0] = p->s; /* int */
653 iarg[1] = p->level; /* int */
654 iarg[2] = p->name; /* int */
655 uarg[3] = (intptr_t) p->val; /* caddr_t */
656 uarg[4] = (intptr_t) p->avalsize; /* int * */
662 struct readv_args *p = params;
663 iarg[0] = p->fd; /* int */
664 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
665 uarg[2] = p->iovcnt; /* u_int */
671 struct writev_args *p = params;
672 iarg[0] = p->fd; /* int */
673 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
674 uarg[2] = p->iovcnt; /* u_int */
680 struct settimeofday_args *p = params;
681 uarg[0] = (intptr_t) p->tv; /* struct timeval * */
682 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
688 struct fchown_args *p = params;
689 iarg[0] = p->fd; /* int */
690 iarg[1] = p->uid; /* int */
691 iarg[2] = p->gid; /* int */
697 struct fchmod_args *p = params;
698 iarg[0] = p->fd; /* int */
699 iarg[1] = p->mode; /* int */
705 struct setreuid_args *p = params;
706 iarg[0] = p->ruid; /* int */
707 iarg[1] = p->euid; /* int */
713 struct setregid_args *p = params;
714 iarg[0] = p->rgid; /* int */
715 iarg[1] = p->egid; /* int */
721 struct rename_args *p = params;
722 uarg[0] = (intptr_t) p->from; /* char * */
723 uarg[1] = (intptr_t) p->to; /* char * */
729 struct flock_args *p = params;
730 iarg[0] = p->fd; /* int */
731 iarg[1] = p->how; /* int */
737 struct mkfifo_args *p = params;
738 uarg[0] = (intptr_t) p->path; /* char * */
739 iarg[1] = p->mode; /* int */
745 struct sendto_args *p = params;
746 iarg[0] = p->s; /* int */
747 uarg[1] = (intptr_t) p->buf; /* caddr_t */
748 uarg[2] = p->len; /* size_t */
749 iarg[3] = p->flags; /* int */
750 uarg[4] = (intptr_t) p->to; /* caddr_t */
751 iarg[5] = p->tolen; /* int */
757 struct shutdown_args *p = params;
758 iarg[0] = p->s; /* int */
759 iarg[1] = p->how; /* int */
765 struct socketpair_args *p = params;
766 iarg[0] = p->domain; /* int */
767 iarg[1] = p->type; /* int */
768 iarg[2] = p->protocol; /* int */
769 uarg[3] = (intptr_t) p->rsv; /* int * */
775 struct mkdir_args *p = params;
776 uarg[0] = (intptr_t) p->path; /* char * */
777 iarg[1] = p->mode; /* int */
783 struct rmdir_args *p = params;
784 uarg[0] = (intptr_t) p->path; /* char * */
790 struct utimes_args *p = params;
791 uarg[0] = (intptr_t) p->path; /* char * */
792 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
798 struct adjtime_args *p = params;
799 uarg[0] = (intptr_t) p->delta; /* struct timeval * */
800 uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */
811 struct quotactl_args *p = params;
812 uarg[0] = (intptr_t) p->path; /* char * */
813 iarg[1] = p->cmd; /* int */
814 iarg[2] = p->uid; /* int */
815 uarg[3] = (intptr_t) p->arg; /* caddr_t */
821 struct nlm_syscall_args *p = params;
822 iarg[0] = p->debug_level; /* int */
823 iarg[1] = p->grace_period; /* int */
824 iarg[2] = p->addr_count; /* int */
825 uarg[3] = (intptr_t) p->addrs; /* char ** */
831 struct nfssvc_args *p = params;
832 iarg[0] = p->flag; /* int */
833 uarg[1] = (intptr_t) p->argp; /* caddr_t */
839 struct lgetfh_args *p = params;
840 uarg[0] = (intptr_t) p->fname; /* char * */
841 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
847 struct getfh_args *p = params;
848 uarg[0] = (intptr_t) p->fname; /* char * */
849 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
855 struct sysarch_args *p = params;
856 iarg[0] = p->op; /* int */
857 uarg[1] = (intptr_t) p->parms; /* char * */
863 struct rtprio_args *p = params;
864 iarg[0] = p->function; /* int */
865 iarg[1] = p->pid; /* pid_t */
866 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
872 struct semsys_args *p = params;
873 iarg[0] = p->which; /* int */
874 iarg[1] = p->a2; /* int */
875 iarg[2] = p->a3; /* int */
876 iarg[3] = p->a4; /* int */
877 iarg[4] = p->a5; /* int */
883 struct msgsys_args *p = params;
884 iarg[0] = p->which; /* int */
885 iarg[1] = p->a2; /* int */
886 iarg[2] = p->a3; /* int */
887 iarg[3] = p->a4; /* int */
888 iarg[4] = p->a5; /* int */
889 iarg[5] = p->a6; /* int */
895 struct shmsys_args *p = params;
896 iarg[0] = p->which; /* int */
897 iarg[1] = p->a2; /* int */
898 iarg[2] = p->a3; /* int */
899 iarg[3] = p->a4; /* int */
905 struct setfib_args *p = params;
906 iarg[0] = p->fibnum; /* int */
912 struct ntp_adjtime_args *p = params;
913 uarg[0] = (intptr_t) p->tp; /* struct timex * */
919 struct setgid_args *p = params;
920 iarg[0] = p->gid; /* gid_t */
926 struct setegid_args *p = params;
927 iarg[0] = p->egid; /* gid_t */
933 struct seteuid_args *p = params;
934 uarg[0] = p->euid; /* uid_t */
940 struct pathconf_args *p = params;
941 uarg[0] = (intptr_t) p->path; /* char * */
942 iarg[1] = p->name; /* int */
948 struct fpathconf_args *p = params;
949 iarg[0] = p->fd; /* int */
950 iarg[1] = p->name; /* int */
956 struct __getrlimit_args *p = params;
957 uarg[0] = p->which; /* u_int */
958 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
964 struct __setrlimit_args *p = params;
965 uarg[0] = p->which; /* u_int */
966 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
977 struct sysctl_args *p = params;
978 uarg[0] = (intptr_t) p->name; /* int * */
979 uarg[1] = p->namelen; /* u_int */
980 uarg[2] = (intptr_t) p->old; /* void * */
981 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
982 uarg[4] = (intptr_t) p->new; /* void * */
983 uarg[5] = p->newlen; /* size_t */
989 struct mlock_args *p = params;
990 uarg[0] = (intptr_t) p->addr; /* const void * */
991 uarg[1] = p->len; /* size_t */
997 struct munlock_args *p = params;
998 uarg[0] = (intptr_t) p->addr; /* const void * */
999 uarg[1] = p->len; /* size_t */
1005 struct undelete_args *p = params;
1006 uarg[0] = (intptr_t) p->path; /* char * */
1012 struct futimes_args *p = params;
1013 iarg[0] = p->fd; /* int */
1014 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1020 struct getpgid_args *p = params;
1021 iarg[0] = p->pid; /* pid_t */
1027 struct poll_args *p = params;
1028 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1029 uarg[1] = p->nfds; /* u_int */
1030 iarg[2] = p->timeout; /* int */
1086 struct semget_args *p = params;
1087 iarg[0] = p->key; /* key_t */
1088 iarg[1] = p->nsems; /* int */
1089 iarg[2] = p->semflg; /* int */
1095 struct semop_args *p = params;
1096 iarg[0] = p->semid; /* int */
1097 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1098 uarg[2] = p->nsops; /* size_t */
1104 struct msgget_args *p = params;
1105 iarg[0] = p->key; /* key_t */
1106 iarg[1] = p->msgflg; /* int */
1112 struct msgsnd_args *p = params;
1113 iarg[0] = p->msqid; /* int */
1114 uarg[1] = (intptr_t) p->msgp; /* const void * */
1115 uarg[2] = p->msgsz; /* size_t */
1116 iarg[3] = p->msgflg; /* int */
1122 struct msgrcv_args *p = params;
1123 iarg[0] = p->msqid; /* int */
1124 uarg[1] = (intptr_t) p->msgp; /* void * */
1125 uarg[2] = p->msgsz; /* size_t */
1126 iarg[3] = p->msgtyp; /* long */
1127 iarg[4] = p->msgflg; /* int */
1133 struct shmat_args *p = params;
1134 iarg[0] = p->shmid; /* int */
1135 uarg[1] = (intptr_t) p->shmaddr; /* const void * */
1136 iarg[2] = p->shmflg; /* int */
1142 struct shmdt_args *p = params;
1143 uarg[0] = (intptr_t) p->shmaddr; /* const void * */
1149 struct shmget_args *p = params;
1150 iarg[0] = p->key; /* key_t */
1151 uarg[1] = p->size; /* size_t */
1152 iarg[2] = p->shmflg; /* int */
1158 struct clock_gettime_args *p = params;
1159 iarg[0] = p->clock_id; /* clockid_t */
1160 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1166 struct clock_settime_args *p = params;
1167 iarg[0] = p->clock_id; /* clockid_t */
1168 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */
1174 struct clock_getres_args *p = params;
1175 iarg[0] = p->clock_id; /* clockid_t */
1176 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1182 struct ktimer_create_args *p = params;
1183 iarg[0] = p->clock_id; /* clockid_t */
1184 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1185 uarg[2] = (intptr_t) p->timerid; /* int * */
1191 struct ktimer_delete_args *p = params;
1192 iarg[0] = p->timerid; /* int */
1196 /* ktimer_settime */
1198 struct ktimer_settime_args *p = params;
1199 iarg[0] = p->timerid; /* int */
1200 iarg[1] = p->flags; /* int */
1201 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */
1202 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */
1206 /* ktimer_gettime */
1208 struct ktimer_gettime_args *p = params;
1209 iarg[0] = p->timerid; /* int */
1210 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */
1214 /* ktimer_getoverrun */
1216 struct ktimer_getoverrun_args *p = params;
1217 iarg[0] = p->timerid; /* int */
1223 struct nanosleep_args *p = params;
1224 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */
1225 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */
1229 /* ffclock_getcounter */
1231 struct ffclock_getcounter_args *p = params;
1232 uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */
1236 /* ffclock_setestimate */
1238 struct ffclock_setestimate_args *p = params;
1239 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1243 /* ffclock_getestimate */
1245 struct ffclock_getestimate_args *p = params;
1246 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1250 /* clock_nanosleep */
1252 struct clock_nanosleep_args *p = params;
1253 iarg[0] = p->clock_id; /* clockid_t */
1254 iarg[1] = p->flags; /* int */
1255 uarg[2] = (intptr_t) p->rqtp; /* const struct timespec * */
1256 uarg[3] = (intptr_t) p->rmtp; /* struct timespec * */
1260 /* clock_getcpuclockid2 */
1262 struct clock_getcpuclockid2_args *p = params;
1263 iarg[0] = p->id; /* id_t */
1264 iarg[1] = p->which; /* int */
1265 uarg[2] = (intptr_t) p->clock_id; /* clockid_t * */
1271 struct ntp_gettime_args *p = params;
1272 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1278 struct minherit_args *p = params;
1279 uarg[0] = (intptr_t) p->addr; /* void * */
1280 uarg[1] = p->len; /* size_t */
1281 iarg[2] = p->inherit; /* int */
1287 struct rfork_args *p = params;
1288 iarg[0] = p->flags; /* int */
1299 struct lchown_args *p = params;
1300 uarg[0] = (intptr_t) p->path; /* char * */
1301 iarg[1] = p->uid; /* int */
1302 iarg[2] = p->gid; /* int */
1308 struct aio_read_args *p = params;
1309 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1315 struct aio_write_args *p = params;
1316 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1322 struct lio_listio_args *p = params;
1323 iarg[0] = p->mode; /* int */
1324 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1325 iarg[2] = p->nent; /* int */
1326 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1332 struct lchmod_args *p = params;
1333 uarg[0] = (intptr_t) p->path; /* char * */
1334 iarg[1] = p->mode; /* mode_t */
1340 struct lchown_args *p = params;
1341 uarg[0] = (intptr_t) p->path; /* char * */
1342 uarg[1] = p->uid; /* uid_t */
1343 iarg[2] = p->gid; /* gid_t */
1349 struct lutimes_args *p = params;
1350 uarg[0] = (intptr_t) p->path; /* char * */
1351 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1357 struct msync_args *p = params;
1358 uarg[0] = (intptr_t) p->addr; /* void * */
1359 uarg[1] = p->len; /* size_t */
1360 iarg[2] = p->flags; /* int */
1366 struct preadv_args *p = params;
1367 iarg[0] = p->fd; /* int */
1368 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1369 uarg[2] = p->iovcnt; /* u_int */
1370 iarg[3] = p->offset; /* off_t */
1376 struct pwritev_args *p = params;
1377 iarg[0] = p->fd; /* int */
1378 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1379 uarg[2] = p->iovcnt; /* u_int */
1380 iarg[3] = p->offset; /* off_t */
1386 struct fhopen_args *p = params;
1387 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1388 iarg[1] = p->flags; /* int */
1394 struct modnext_args *p = params;
1395 iarg[0] = p->modid; /* int */
1401 struct modstat_args *p = params;
1402 iarg[0] = p->modid; /* int */
1403 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1409 struct modfnext_args *p = params;
1410 iarg[0] = p->modid; /* int */
1416 struct modfind_args *p = params;
1417 uarg[0] = (intptr_t) p->name; /* const char * */
1423 struct kldload_args *p = params;
1424 uarg[0] = (intptr_t) p->file; /* const char * */
1430 struct kldunload_args *p = params;
1431 iarg[0] = p->fileid; /* int */
1437 struct kldfind_args *p = params;
1438 uarg[0] = (intptr_t) p->file; /* const char * */
1444 struct kldnext_args *p = params;
1445 iarg[0] = p->fileid; /* int */
1451 struct kldstat_args *p = params;
1452 iarg[0] = p->fileid; /* int */
1453 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1459 struct kldfirstmod_args *p = params;
1460 iarg[0] = p->fileid; /* int */
1466 struct getsid_args *p = params;
1467 iarg[0] = p->pid; /* pid_t */
1473 struct setresuid_args *p = params;
1474 uarg[0] = p->ruid; /* uid_t */
1475 uarg[1] = p->euid; /* uid_t */
1476 uarg[2] = p->suid; /* uid_t */
1482 struct setresgid_args *p = params;
1483 iarg[0] = p->rgid; /* gid_t */
1484 iarg[1] = p->egid; /* gid_t */
1485 iarg[2] = p->sgid; /* gid_t */
1491 struct aio_return_args *p = params;
1492 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1498 struct aio_suspend_args *p = params;
1499 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1500 iarg[1] = p->nent; /* int */
1501 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1507 struct aio_cancel_args *p = params;
1508 iarg[0] = p->fd; /* int */
1509 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1515 struct aio_error_args *p = params;
1516 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1527 struct mlockall_args *p = params;
1528 iarg[0] = p->how; /* int */
1539 struct __getcwd_args *p = params;
1540 uarg[0] = (intptr_t) p->buf; /* char * */
1541 uarg[1] = p->buflen; /* size_t */
1545 /* sched_setparam */
1547 struct sched_setparam_args *p = params;
1548 iarg[0] = p->pid; /* pid_t */
1549 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1553 /* sched_getparam */
1555 struct sched_getparam_args *p = params;
1556 iarg[0] = p->pid; /* pid_t */
1557 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1561 /* sched_setscheduler */
1563 struct sched_setscheduler_args *p = params;
1564 iarg[0] = p->pid; /* pid_t */
1565 iarg[1] = p->policy; /* int */
1566 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1570 /* sched_getscheduler */
1572 struct sched_getscheduler_args *p = params;
1573 iarg[0] = p->pid; /* pid_t */
1582 /* sched_get_priority_max */
1584 struct sched_get_priority_max_args *p = params;
1585 iarg[0] = p->policy; /* int */
1589 /* sched_get_priority_min */
1591 struct sched_get_priority_min_args *p = params;
1592 iarg[0] = p->policy; /* int */
1596 /* sched_rr_get_interval */
1598 struct sched_rr_get_interval_args *p = params;
1599 iarg[0] = p->pid; /* pid_t */
1600 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1606 struct utrace_args *p = params;
1607 uarg[0] = (intptr_t) p->addr; /* const void * */
1608 uarg[1] = p->len; /* size_t */
1614 struct kldsym_args *p = params;
1615 iarg[0] = p->fileid; /* int */
1616 iarg[1] = p->cmd; /* int */
1617 uarg[2] = (intptr_t) p->data; /* void * */
1623 struct jail_args *p = params;
1624 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1630 struct nnpfs_syscall_args *p = params;
1631 iarg[0] = p->operation; /* int */
1632 uarg[1] = (intptr_t) p->a_pathP; /* char * */
1633 iarg[2] = p->a_opcode; /* int */
1634 uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1635 iarg[4] = p->a_followSymlinks; /* int */
1641 struct sigprocmask_args *p = params;
1642 iarg[0] = p->how; /* int */
1643 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1644 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1650 struct sigsuspend_args *p = params;
1651 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1657 struct sigpending_args *p = params;
1658 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1664 struct sigtimedwait_args *p = params;
1665 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1666 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1667 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1673 struct sigwaitinfo_args *p = params;
1674 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1675 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1679 /* __acl_get_file */
1681 struct __acl_get_file_args *p = params;
1682 uarg[0] = (intptr_t) p->path; /* const char * */
1683 iarg[1] = p->type; /* acl_type_t */
1684 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1688 /* __acl_set_file */
1690 struct __acl_set_file_args *p = params;
1691 uarg[0] = (intptr_t) p->path; /* const char * */
1692 iarg[1] = p->type; /* acl_type_t */
1693 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1699 struct __acl_get_fd_args *p = params;
1700 iarg[0] = p->filedes; /* int */
1701 iarg[1] = p->type; /* acl_type_t */
1702 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1708 struct __acl_set_fd_args *p = params;
1709 iarg[0] = p->filedes; /* int */
1710 iarg[1] = p->type; /* acl_type_t */
1711 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1715 /* __acl_delete_file */
1717 struct __acl_delete_file_args *p = params;
1718 uarg[0] = (intptr_t) p->path; /* const char * */
1719 iarg[1] = p->type; /* acl_type_t */
1723 /* __acl_delete_fd */
1725 struct __acl_delete_fd_args *p = params;
1726 iarg[0] = p->filedes; /* int */
1727 iarg[1] = p->type; /* acl_type_t */
1731 /* __acl_aclcheck_file */
1733 struct __acl_aclcheck_file_args *p = params;
1734 uarg[0] = (intptr_t) p->path; /* const char * */
1735 iarg[1] = p->type; /* acl_type_t */
1736 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1740 /* __acl_aclcheck_fd */
1742 struct __acl_aclcheck_fd_args *p = params;
1743 iarg[0] = p->filedes; /* int */
1744 iarg[1] = p->type; /* acl_type_t */
1745 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1751 struct extattrctl_args *p = params;
1752 uarg[0] = (intptr_t) p->path; /* const char * */
1753 iarg[1] = p->cmd; /* int */
1754 uarg[2] = (intptr_t) p->filename; /* const char * */
1755 iarg[3] = p->attrnamespace; /* int */
1756 uarg[4] = (intptr_t) p->attrname; /* const char * */
1760 /* extattr_set_file */
1762 struct extattr_set_file_args *p = params;
1763 uarg[0] = (intptr_t) p->path; /* const char * */
1764 iarg[1] = p->attrnamespace; /* int */
1765 uarg[2] = (intptr_t) p->attrname; /* const char * */
1766 uarg[3] = (intptr_t) p->data; /* void * */
1767 uarg[4] = p->nbytes; /* size_t */
1771 /* extattr_get_file */
1773 struct extattr_get_file_args *p = params;
1774 uarg[0] = (intptr_t) p->path; /* const char * */
1775 iarg[1] = p->attrnamespace; /* int */
1776 uarg[2] = (intptr_t) p->attrname; /* const char * */
1777 uarg[3] = (intptr_t) p->data; /* void * */
1778 uarg[4] = p->nbytes; /* size_t */
1782 /* extattr_delete_file */
1784 struct extattr_delete_file_args *p = params;
1785 uarg[0] = (intptr_t) p->path; /* const char * */
1786 iarg[1] = p->attrnamespace; /* int */
1787 uarg[2] = (intptr_t) p->attrname; /* const char * */
1791 /* aio_waitcomplete */
1793 struct aio_waitcomplete_args *p = params;
1794 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1795 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1801 struct getresuid_args *p = params;
1802 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1803 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1804 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1810 struct getresgid_args *p = params;
1811 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1812 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1813 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1822 /* extattr_set_fd */
1824 struct extattr_set_fd_args *p = params;
1825 iarg[0] = p->fd; /* int */
1826 iarg[1] = p->attrnamespace; /* int */
1827 uarg[2] = (intptr_t) p->attrname; /* const char * */
1828 uarg[3] = (intptr_t) p->data; /* void * */
1829 uarg[4] = p->nbytes; /* size_t */
1833 /* extattr_get_fd */
1835 struct extattr_get_fd_args *p = params;
1836 iarg[0] = p->fd; /* int */
1837 iarg[1] = p->attrnamespace; /* int */
1838 uarg[2] = (intptr_t) p->attrname; /* const char * */
1839 uarg[3] = (intptr_t) p->data; /* void * */
1840 uarg[4] = p->nbytes; /* size_t */
1844 /* extattr_delete_fd */
1846 struct extattr_delete_fd_args *p = params;
1847 iarg[0] = p->fd; /* int */
1848 iarg[1] = p->attrnamespace; /* int */
1849 uarg[2] = (intptr_t) p->attrname; /* const char * */
1855 struct __setugid_args *p = params;
1856 iarg[0] = p->flag; /* int */
1862 struct eaccess_args *p = params;
1863 uarg[0] = (intptr_t) p->path; /* char * */
1864 iarg[1] = p->amode; /* int */
1870 struct afs3_syscall_args *p = params;
1871 iarg[0] = p->syscall; /* long */
1872 iarg[1] = p->parm1; /* long */
1873 iarg[2] = p->parm2; /* long */
1874 iarg[3] = p->parm3; /* long */
1875 iarg[4] = p->parm4; /* long */
1876 iarg[5] = p->parm5; /* long */
1877 iarg[6] = p->parm6; /* long */
1883 struct nmount_args *p = params;
1884 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
1885 uarg[1] = p->iovcnt; /* unsigned int */
1886 iarg[2] = p->flags; /* int */
1890 /* __mac_get_proc */
1892 struct __mac_get_proc_args *p = params;
1893 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
1897 /* __mac_set_proc */
1899 struct __mac_set_proc_args *p = params;
1900 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
1906 struct __mac_get_fd_args *p = params;
1907 iarg[0] = p->fd; /* int */
1908 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1912 /* __mac_get_file */
1914 struct __mac_get_file_args *p = params;
1915 uarg[0] = (intptr_t) p->path_p; /* const char * */
1916 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1922 struct __mac_set_fd_args *p = params;
1923 iarg[0] = p->fd; /* int */
1924 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1928 /* __mac_set_file */
1930 struct __mac_set_file_args *p = params;
1931 uarg[0] = (intptr_t) p->path_p; /* const char * */
1932 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1938 struct kenv_args *p = params;
1939 iarg[0] = p->what; /* int */
1940 uarg[1] = (intptr_t) p->name; /* const char * */
1941 uarg[2] = (intptr_t) p->value; /* char * */
1942 iarg[3] = p->len; /* int */
1948 struct lchflags_args *p = params;
1949 uarg[0] = (intptr_t) p->path; /* const char * */
1950 uarg[1] = p->flags; /* u_long */
1956 struct uuidgen_args *p = params;
1957 uarg[0] = (intptr_t) p->store; /* struct uuid * */
1958 iarg[1] = p->count; /* int */
1964 struct sendfile_args *p = params;
1965 iarg[0] = p->fd; /* int */
1966 iarg[1] = p->s; /* int */
1967 iarg[2] = p->offset; /* off_t */
1968 uarg[3] = p->nbytes; /* size_t */
1969 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
1970 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
1971 iarg[6] = p->flags; /* int */
1977 struct mac_syscall_args *p = params;
1978 uarg[0] = (intptr_t) p->policy; /* const char * */
1979 iarg[1] = p->call; /* int */
1980 uarg[2] = (intptr_t) p->arg; /* void * */
1986 struct ksem_close_args *p = params;
1987 iarg[0] = p->id; /* semid_t */
1993 struct ksem_post_args *p = params;
1994 iarg[0] = p->id; /* semid_t */
2000 struct ksem_wait_args *p = params;
2001 iarg[0] = p->id; /* semid_t */
2007 struct ksem_trywait_args *p = params;
2008 iarg[0] = p->id; /* semid_t */
2014 struct ksem_init_args *p = params;
2015 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2016 uarg[1] = p->value; /* unsigned int */
2022 struct ksem_open_args *p = params;
2023 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2024 uarg[1] = (intptr_t) p->name; /* const char * */
2025 iarg[2] = p->oflag; /* int */
2026 iarg[3] = p->mode; /* mode_t */
2027 uarg[4] = p->value; /* unsigned int */
2033 struct ksem_unlink_args *p = params;
2034 uarg[0] = (intptr_t) p->name; /* const char * */
2040 struct ksem_getvalue_args *p = params;
2041 iarg[0] = p->id; /* semid_t */
2042 uarg[1] = (intptr_t) p->val; /* int * */
2048 struct ksem_destroy_args *p = params;
2049 iarg[0] = p->id; /* semid_t */
2055 struct __mac_get_pid_args *p = params;
2056 iarg[0] = p->pid; /* pid_t */
2057 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2061 /* __mac_get_link */
2063 struct __mac_get_link_args *p = params;
2064 uarg[0] = (intptr_t) p->path_p; /* const char * */
2065 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2069 /* __mac_set_link */
2071 struct __mac_set_link_args *p = params;
2072 uarg[0] = (intptr_t) p->path_p; /* const char * */
2073 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2077 /* extattr_set_link */
2079 struct extattr_set_link_args *p = params;
2080 uarg[0] = (intptr_t) p->path; /* const char * */
2081 iarg[1] = p->attrnamespace; /* int */
2082 uarg[2] = (intptr_t) p->attrname; /* const char * */
2083 uarg[3] = (intptr_t) p->data; /* void * */
2084 uarg[4] = p->nbytes; /* size_t */
2088 /* extattr_get_link */
2090 struct extattr_get_link_args *p = params;
2091 uarg[0] = (intptr_t) p->path; /* const char * */
2092 iarg[1] = p->attrnamespace; /* int */
2093 uarg[2] = (intptr_t) p->attrname; /* const char * */
2094 uarg[3] = (intptr_t) p->data; /* void * */
2095 uarg[4] = p->nbytes; /* size_t */
2099 /* extattr_delete_link */
2101 struct extattr_delete_link_args *p = params;
2102 uarg[0] = (intptr_t) p->path; /* const char * */
2103 iarg[1] = p->attrnamespace; /* int */
2104 uarg[2] = (intptr_t) p->attrname; /* const char * */
2110 struct __mac_execve_args *p = params;
2111 uarg[0] = (intptr_t) p->fname; /* char * */
2112 uarg[1] = (intptr_t) p->argv; /* char ** */
2113 uarg[2] = (intptr_t) p->envv; /* char ** */
2114 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2120 struct sigaction_args *p = params;
2121 iarg[0] = p->sig; /* int */
2122 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2123 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2129 struct sigreturn_args *p = params;
2130 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2136 struct getcontext_args *p = params;
2137 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2143 struct setcontext_args *p = params;
2144 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2150 struct swapcontext_args *p = params;
2151 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2152 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2158 struct swapoff_args *p = params;
2159 uarg[0] = (intptr_t) p->name; /* const char * */
2163 /* __acl_get_link */
2165 struct __acl_get_link_args *p = params;
2166 uarg[0] = (intptr_t) p->path; /* const char * */
2167 iarg[1] = p->type; /* acl_type_t */
2168 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2172 /* __acl_set_link */
2174 struct __acl_set_link_args *p = params;
2175 uarg[0] = (intptr_t) p->path; /* const char * */
2176 iarg[1] = p->type; /* acl_type_t */
2177 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2181 /* __acl_delete_link */
2183 struct __acl_delete_link_args *p = params;
2184 uarg[0] = (intptr_t) p->path; /* const char * */
2185 iarg[1] = p->type; /* acl_type_t */
2189 /* __acl_aclcheck_link */
2191 struct __acl_aclcheck_link_args *p = params;
2192 uarg[0] = (intptr_t) p->path; /* const char * */
2193 iarg[1] = p->type; /* acl_type_t */
2194 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2200 struct sigwait_args *p = params;
2201 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2202 uarg[1] = (intptr_t) p->sig; /* int * */
2208 struct thr_create_args *p = params;
2209 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2210 uarg[1] = (intptr_t) p->id; /* long * */
2211 iarg[2] = p->flags; /* int */
2217 struct thr_exit_args *p = params;
2218 uarg[0] = (intptr_t) p->state; /* long * */
2224 struct thr_self_args *p = params;
2225 uarg[0] = (intptr_t) p->id; /* long * */
2231 struct thr_kill_args *p = params;
2232 iarg[0] = p->id; /* long */
2233 iarg[1] = p->sig; /* int */
2239 struct jail_attach_args *p = params;
2240 iarg[0] = p->jid; /* int */
2244 /* extattr_list_fd */
2246 struct extattr_list_fd_args *p = params;
2247 iarg[0] = p->fd; /* int */
2248 iarg[1] = p->attrnamespace; /* int */
2249 uarg[2] = (intptr_t) p->data; /* void * */
2250 uarg[3] = p->nbytes; /* size_t */
2254 /* extattr_list_file */
2256 struct extattr_list_file_args *p = params;
2257 uarg[0] = (intptr_t) p->path; /* const char * */
2258 iarg[1] = p->attrnamespace; /* int */
2259 uarg[2] = (intptr_t) p->data; /* void * */
2260 uarg[3] = p->nbytes; /* size_t */
2264 /* extattr_list_link */
2266 struct extattr_list_link_args *p = params;
2267 uarg[0] = (intptr_t) p->path; /* const char * */
2268 iarg[1] = p->attrnamespace; /* int */
2269 uarg[2] = (intptr_t) p->data; /* void * */
2270 uarg[3] = p->nbytes; /* size_t */
2274 /* ksem_timedwait */
2276 struct ksem_timedwait_args *p = params;
2277 iarg[0] = p->id; /* semid_t */
2278 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2284 struct thr_suspend_args *p = params;
2285 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2291 struct thr_wake_args *p = params;
2292 iarg[0] = p->id; /* long */
2298 struct kldunloadf_args *p = params;
2299 iarg[0] = p->fileid; /* int */
2300 iarg[1] = p->flags; /* int */
2306 struct audit_args *p = params;
2307 uarg[0] = (intptr_t) p->record; /* const void * */
2308 uarg[1] = p->length; /* u_int */
2314 struct auditon_args *p = params;
2315 iarg[0] = p->cmd; /* int */
2316 uarg[1] = (intptr_t) p->data; /* void * */
2317 uarg[2] = p->length; /* u_int */
2323 struct getauid_args *p = params;
2324 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2330 struct setauid_args *p = params;
2331 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2337 struct getaudit_args *p = params;
2338 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2344 struct setaudit_args *p = params;
2345 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2351 struct getaudit_addr_args *p = params;
2352 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2353 uarg[1] = p->length; /* u_int */
2359 struct setaudit_addr_args *p = params;
2360 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2361 uarg[1] = p->length; /* u_int */
2367 struct auditctl_args *p = params;
2368 uarg[0] = (intptr_t) p->path; /* char * */
2374 struct _umtx_op_args *p = params;
2375 uarg[0] = (intptr_t) p->obj; /* void * */
2376 iarg[1] = p->op; /* int */
2377 uarg[2] = p->val; /* u_long */
2378 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2379 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2385 struct thr_new_args *p = params;
2386 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2387 iarg[1] = p->param_size; /* int */
2393 struct sigqueue_args *p = params;
2394 iarg[0] = p->pid; /* pid_t */
2395 iarg[1] = p->signum; /* int */
2396 uarg[2] = (intptr_t) p->value; /* void * */
2402 struct kmq_open_args *p = params;
2403 uarg[0] = (intptr_t) p->path; /* const char * */
2404 iarg[1] = p->flags; /* int */
2405 iarg[2] = p->mode; /* mode_t */
2406 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2412 struct kmq_setattr_args *p = params;
2413 iarg[0] = p->mqd; /* int */
2414 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2415 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2419 /* kmq_timedreceive */
2421 struct kmq_timedreceive_args *p = params;
2422 iarg[0] = p->mqd; /* int */
2423 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2424 uarg[2] = p->msg_len; /* size_t */
2425 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2426 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2432 struct kmq_timedsend_args *p = params;
2433 iarg[0] = p->mqd; /* int */
2434 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2435 uarg[2] = p->msg_len; /* size_t */
2436 uarg[3] = p->msg_prio; /* unsigned */
2437 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2443 struct kmq_notify_args *p = params;
2444 iarg[0] = p->mqd; /* int */
2445 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2451 struct kmq_unlink_args *p = params;
2452 uarg[0] = (intptr_t) p->path; /* const char * */
2458 struct abort2_args *p = params;
2459 uarg[0] = (intptr_t) p->why; /* const char * */
2460 iarg[1] = p->nargs; /* int */
2461 uarg[2] = (intptr_t) p->args; /* void ** */
2467 struct thr_set_name_args *p = params;
2468 iarg[0] = p->id; /* long */
2469 uarg[1] = (intptr_t) p->name; /* const char * */
2475 struct aio_fsync_args *p = params;
2476 iarg[0] = p->op; /* int */
2477 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2483 struct rtprio_thread_args *p = params;
2484 iarg[0] = p->function; /* int */
2485 iarg[1] = p->lwpid; /* lwpid_t */
2486 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2492 struct sctp_peeloff_args *p = params;
2493 iarg[0] = p->sd; /* int */
2494 uarg[1] = p->name; /* uint32_t */
2498 /* sctp_generic_sendmsg */
2500 struct sctp_generic_sendmsg_args *p = params;
2501 iarg[0] = p->sd; /* int */
2502 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2503 iarg[2] = p->mlen; /* int */
2504 uarg[3] = (intptr_t) p->to; /* caddr_t */
2505 iarg[4] = p->tolen; /* __socklen_t */
2506 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2507 iarg[6] = p->flags; /* int */
2511 /* sctp_generic_sendmsg_iov */
2513 struct sctp_generic_sendmsg_iov_args *p = params;
2514 iarg[0] = p->sd; /* int */
2515 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2516 iarg[2] = p->iovlen; /* int */
2517 uarg[3] = (intptr_t) p->to; /* caddr_t */
2518 iarg[4] = p->tolen; /* __socklen_t */
2519 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2520 iarg[6] = p->flags; /* int */
2524 /* sctp_generic_recvmsg */
2526 struct sctp_generic_recvmsg_args *p = params;
2527 iarg[0] = p->sd; /* int */
2528 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2529 iarg[2] = p->iovlen; /* int */
2530 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2531 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2532 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2533 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2539 struct pread_args *p = params;
2540 iarg[0] = p->fd; /* int */
2541 uarg[1] = (intptr_t) p->buf; /* void * */
2542 uarg[2] = p->nbyte; /* size_t */
2543 iarg[3] = p->offset; /* off_t */
2549 struct pwrite_args *p = params;
2550 iarg[0] = p->fd; /* int */
2551 uarg[1] = (intptr_t) p->buf; /* const void * */
2552 uarg[2] = p->nbyte; /* size_t */
2553 iarg[3] = p->offset; /* off_t */
2559 struct mmap_args *p = params;
2560 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2561 uarg[1] = p->len; /* size_t */
2562 iarg[2] = p->prot; /* int */
2563 iarg[3] = p->flags; /* int */
2564 iarg[4] = p->fd; /* int */
2565 iarg[5] = p->pos; /* off_t */
2571 struct lseek_args *p = params;
2572 iarg[0] = p->fd; /* int */
2573 iarg[1] = p->offset; /* off_t */
2574 iarg[2] = p->whence; /* int */
2580 struct truncate_args *p = params;
2581 uarg[0] = (intptr_t) p->path; /* char * */
2582 iarg[1] = p->length; /* off_t */
2588 struct ftruncate_args *p = params;
2589 iarg[0] = p->fd; /* int */
2590 iarg[1] = p->length; /* off_t */
2596 struct thr_kill2_args *p = params;
2597 iarg[0] = p->pid; /* pid_t */
2598 iarg[1] = p->id; /* long */
2599 iarg[2] = p->sig; /* int */
2605 struct shm_open_args *p = params;
2606 uarg[0] = (intptr_t) p->path; /* const char * */
2607 iarg[1] = p->flags; /* int */
2608 iarg[2] = p->mode; /* mode_t */
2614 struct shm_unlink_args *p = params;
2615 uarg[0] = (intptr_t) p->path; /* const char * */
2621 struct cpuset_args *p = params;
2622 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2628 struct cpuset_setid_args *p = params;
2629 iarg[0] = p->which; /* cpuwhich_t */
2630 iarg[1] = p->id; /* id_t */
2631 iarg[2] = p->setid; /* cpusetid_t */
2637 struct cpuset_getid_args *p = params;
2638 iarg[0] = p->level; /* cpulevel_t */
2639 iarg[1] = p->which; /* cpuwhich_t */
2640 iarg[2] = p->id; /* id_t */
2641 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2645 /* cpuset_getaffinity */
2647 struct cpuset_getaffinity_args *p = params;
2648 iarg[0] = p->level; /* cpulevel_t */
2649 iarg[1] = p->which; /* cpuwhich_t */
2650 iarg[2] = p->id; /* id_t */
2651 uarg[3] = p->cpusetsize; /* size_t */
2652 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2656 /* cpuset_setaffinity */
2658 struct cpuset_setaffinity_args *p = params;
2659 iarg[0] = p->level; /* cpulevel_t */
2660 iarg[1] = p->which; /* cpuwhich_t */
2661 iarg[2] = p->id; /* id_t */
2662 uarg[3] = p->cpusetsize; /* size_t */
2663 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2669 struct faccessat_args *p = params;
2670 iarg[0] = p->fd; /* int */
2671 uarg[1] = (intptr_t) p->path; /* char * */
2672 iarg[2] = p->amode; /* int */
2673 iarg[3] = p->flag; /* int */
2679 struct fchmodat_args *p = params;
2680 iarg[0] = p->fd; /* int */
2681 uarg[1] = (intptr_t) p->path; /* char * */
2682 iarg[2] = p->mode; /* mode_t */
2683 iarg[3] = p->flag; /* int */
2689 struct fchownat_args *p = params;
2690 iarg[0] = p->fd; /* int */
2691 uarg[1] = (intptr_t) p->path; /* char * */
2692 uarg[2] = p->uid; /* uid_t */
2693 iarg[3] = p->gid; /* gid_t */
2694 iarg[4] = p->flag; /* int */
2700 struct fexecve_args *p = params;
2701 iarg[0] = p->fd; /* int */
2702 uarg[1] = (intptr_t) p->argv; /* char ** */
2703 uarg[2] = (intptr_t) p->envv; /* char ** */
2709 struct futimesat_args *p = params;
2710 iarg[0] = p->fd; /* int */
2711 uarg[1] = (intptr_t) p->path; /* char * */
2712 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2718 struct linkat_args *p = params;
2719 iarg[0] = p->fd1; /* int */
2720 uarg[1] = (intptr_t) p->path1; /* char * */
2721 iarg[2] = p->fd2; /* int */
2722 uarg[3] = (intptr_t) p->path2; /* char * */
2723 iarg[4] = p->flag; /* int */
2729 struct mkdirat_args *p = params;
2730 iarg[0] = p->fd; /* int */
2731 uarg[1] = (intptr_t) p->path; /* char * */
2732 iarg[2] = p->mode; /* mode_t */
2738 struct mkfifoat_args *p = params;
2739 iarg[0] = p->fd; /* int */
2740 uarg[1] = (intptr_t) p->path; /* char * */
2741 iarg[2] = p->mode; /* mode_t */
2747 struct openat_args *p = params;
2748 iarg[0] = p->fd; /* int */
2749 uarg[1] = (intptr_t) p->path; /* char * */
2750 iarg[2] = p->flag; /* int */
2751 iarg[3] = p->mode; /* mode_t */
2757 struct readlinkat_args *p = params;
2758 iarg[0] = p->fd; /* int */
2759 uarg[1] = (intptr_t) p->path; /* char * */
2760 uarg[2] = (intptr_t) p->buf; /* char * */
2761 uarg[3] = p->bufsize; /* size_t */
2767 struct renameat_args *p = params;
2768 iarg[0] = p->oldfd; /* int */
2769 uarg[1] = (intptr_t) p->old; /* char * */
2770 iarg[2] = p->newfd; /* int */
2771 uarg[3] = (intptr_t) p->new; /* char * */
2777 struct symlinkat_args *p = params;
2778 uarg[0] = (intptr_t) p->path1; /* char * */
2779 iarg[1] = p->fd; /* int */
2780 uarg[2] = (intptr_t) p->path2; /* char * */
2786 struct unlinkat_args *p = params;
2787 iarg[0] = p->fd; /* int */
2788 uarg[1] = (intptr_t) p->path; /* char * */
2789 iarg[2] = p->flag; /* int */
2795 struct posix_openpt_args *p = params;
2796 iarg[0] = p->flags; /* int */
2802 struct gssd_syscall_args *p = params;
2803 uarg[0] = (intptr_t) p->path; /* char * */
2809 struct jail_get_args *p = params;
2810 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2811 uarg[1] = p->iovcnt; /* unsigned int */
2812 iarg[2] = p->flags; /* int */
2818 struct jail_set_args *p = params;
2819 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2820 uarg[1] = p->iovcnt; /* unsigned int */
2821 iarg[2] = p->flags; /* int */
2827 struct jail_remove_args *p = params;
2828 iarg[0] = p->jid; /* int */
2834 struct closefrom_args *p = params;
2835 iarg[0] = p->lowfd; /* int */
2841 struct __semctl_args *p = params;
2842 iarg[0] = p->semid; /* int */
2843 iarg[1] = p->semnum; /* int */
2844 iarg[2] = p->cmd; /* int */
2845 uarg[3] = (intptr_t) p->arg; /* union semun * */
2851 struct msgctl_args *p = params;
2852 iarg[0] = p->msqid; /* int */
2853 iarg[1] = p->cmd; /* int */
2854 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
2860 struct shmctl_args *p = params;
2861 iarg[0] = p->shmid; /* int */
2862 iarg[1] = p->cmd; /* int */
2863 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
2869 struct lpathconf_args *p = params;
2870 uarg[0] = (intptr_t) p->path; /* char * */
2871 iarg[1] = p->name; /* int */
2875 /* __cap_rights_get */
2877 struct __cap_rights_get_args *p = params;
2878 iarg[0] = p->version; /* int */
2879 iarg[1] = p->fd; /* int */
2880 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */
2891 struct cap_getmode_args *p = params;
2892 uarg[0] = (intptr_t) p->modep; /* u_int * */
2898 struct pdfork_args *p = params;
2899 uarg[0] = (intptr_t) p->fdp; /* int * */
2900 iarg[1] = p->flags; /* int */
2906 struct pdkill_args *p = params;
2907 iarg[0] = p->fd; /* int */
2908 iarg[1] = p->signum; /* int */
2914 struct pdgetpid_args *p = params;
2915 iarg[0] = p->fd; /* int */
2916 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
2922 struct pselect_args *p = params;
2923 iarg[0] = p->nd; /* int */
2924 uarg[1] = (intptr_t) p->in; /* fd_set * */
2925 uarg[2] = (intptr_t) p->ou; /* fd_set * */
2926 uarg[3] = (intptr_t) p->ex; /* fd_set * */
2927 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
2928 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
2934 struct getloginclass_args *p = params;
2935 uarg[0] = (intptr_t) p->namebuf; /* char * */
2936 uarg[1] = p->namelen; /* size_t */
2942 struct setloginclass_args *p = params;
2943 uarg[0] = (intptr_t) p->namebuf; /* const char * */
2947 /* rctl_get_racct */
2949 struct rctl_get_racct_args *p = params;
2950 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2951 uarg[1] = p->inbuflen; /* size_t */
2952 uarg[2] = (intptr_t) p->outbufp; /* void * */
2953 uarg[3] = p->outbuflen; /* size_t */
2957 /* rctl_get_rules */
2959 struct rctl_get_rules_args *p = params;
2960 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2961 uarg[1] = p->inbuflen; /* size_t */
2962 uarg[2] = (intptr_t) p->outbufp; /* void * */
2963 uarg[3] = p->outbuflen; /* size_t */
2967 /* rctl_get_limits */
2969 struct rctl_get_limits_args *p = params;
2970 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2971 uarg[1] = p->inbuflen; /* size_t */
2972 uarg[2] = (intptr_t) p->outbufp; /* void * */
2973 uarg[3] = p->outbuflen; /* size_t */
2979 struct rctl_add_rule_args *p = params;
2980 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2981 uarg[1] = p->inbuflen; /* size_t */
2982 uarg[2] = (intptr_t) p->outbufp; /* void * */
2983 uarg[3] = p->outbuflen; /* size_t */
2987 /* rctl_remove_rule */
2989 struct rctl_remove_rule_args *p = params;
2990 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2991 uarg[1] = p->inbuflen; /* size_t */
2992 uarg[2] = (intptr_t) p->outbufp; /* void * */
2993 uarg[3] = p->outbuflen; /* size_t */
2997 /* posix_fallocate */
2999 struct posix_fallocate_args *p = params;
3000 iarg[0] = p->fd; /* int */
3001 iarg[1] = p->offset; /* off_t */
3002 iarg[2] = p->len; /* off_t */
3008 struct posix_fadvise_args *p = params;
3009 iarg[0] = p->fd; /* int */
3010 iarg[1] = p->offset; /* off_t */
3011 iarg[2] = p->len; /* off_t */
3012 iarg[3] = p->advice; /* int */
3018 struct wait6_args *p = params;
3019 iarg[0] = p->idtype; /* idtype_t */
3020 iarg[1] = p->id; /* id_t */
3021 uarg[2] = (intptr_t) p->status; /* int * */
3022 iarg[3] = p->options; /* int */
3023 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */
3024 uarg[5] = (intptr_t) p->info; /* siginfo_t * */
3028 /* cap_rights_limit */
3030 struct cap_rights_limit_args *p = params;
3031 iarg[0] = p->fd; /* int */
3032 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */
3036 /* cap_ioctls_limit */
3038 struct cap_ioctls_limit_args *p = params;
3039 iarg[0] = p->fd; /* int */
3040 uarg[1] = (intptr_t) p->cmds; /* const u_long * */
3041 uarg[2] = p->ncmds; /* size_t */
3045 /* cap_ioctls_get */
3047 struct cap_ioctls_get_args *p = params;
3048 iarg[0] = p->fd; /* int */
3049 uarg[1] = (intptr_t) p->cmds; /* u_long * */
3050 uarg[2] = p->maxcmds; /* size_t */
3054 /* cap_fcntls_limit */
3056 struct cap_fcntls_limit_args *p = params;
3057 iarg[0] = p->fd; /* int */
3058 uarg[1] = p->fcntlrights; /* uint32_t */
3062 /* cap_fcntls_get */
3064 struct cap_fcntls_get_args *p = params;
3065 iarg[0] = p->fd; /* int */
3066 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
3072 struct bindat_args *p = params;
3073 iarg[0] = p->fd; /* int */
3074 iarg[1] = p->s; /* int */
3075 uarg[2] = (intptr_t) p->name; /* caddr_t */
3076 iarg[3] = p->namelen; /* int */
3082 struct connectat_args *p = params;
3083 iarg[0] = p->fd; /* int */
3084 iarg[1] = p->s; /* int */
3085 uarg[2] = (intptr_t) p->name; /* caddr_t */
3086 iarg[3] = p->namelen; /* int */
3092 struct chflagsat_args *p = params;
3093 iarg[0] = p->fd; /* int */
3094 uarg[1] = (intptr_t) p->path; /* const char * */
3095 uarg[2] = p->flags; /* u_long */
3096 iarg[3] = p->atflag; /* int */
3102 struct accept4_args *p = params;
3103 iarg[0] = p->s; /* int */
3104 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
3105 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
3106 iarg[3] = p->flags; /* int */
3112 struct pipe2_args *p = params;
3113 uarg[0] = (intptr_t) p->fildes; /* int * */
3114 iarg[1] = p->flags; /* int */
3120 struct aio_mlock_args *p = params;
3121 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3127 struct procctl_args *p = params;
3128 iarg[0] = p->idtype; /* idtype_t */
3129 iarg[1] = p->id; /* id_t */
3130 iarg[2] = p->com; /* int */
3131 uarg[3] = (intptr_t) p->data; /* void * */
3137 struct ppoll_args *p = params;
3138 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
3139 uarg[1] = p->nfds; /* u_int */
3140 uarg[2] = (intptr_t) p->ts; /* const struct timespec * */
3141 uarg[3] = (intptr_t) p->set; /* const sigset_t * */
3147 struct futimens_args *p = params;
3148 iarg[0] = p->fd; /* int */
3149 uarg[1] = (intptr_t) p->times; /* struct timespec * */
3155 struct utimensat_args *p = params;
3156 iarg[0] = p->fd; /* int */
3157 uarg[1] = (intptr_t) p->path; /* char * */
3158 uarg[2] = (intptr_t) p->times; /* struct timespec * */
3159 iarg[3] = p->flag; /* int */
3163 /* numa_getaffinity */
3165 struct numa_getaffinity_args *p = params;
3166 iarg[0] = p->which; /* cpuwhich_t */
3167 iarg[1] = p->id; /* id_t */
3168 uarg[2] = (intptr_t) p->policy; /* struct vm_domain_policy_entry * */
3172 /* numa_setaffinity */
3174 struct numa_setaffinity_args *p = params;
3175 iarg[0] = p->which; /* cpuwhich_t */
3176 iarg[1] = p->id; /* id_t */
3177 uarg[2] = (intptr_t) p->policy; /* const struct vm_domain_policy_entry * */
3183 struct fdatasync_args *p = params;
3184 iarg[0] = p->fd; /* int */
3190 struct fstat_args *p = params;
3191 iarg[0] = p->fd; /* int */
3192 uarg[1] = (intptr_t) p->sb; /* struct stat * */
3198 struct fstatat_args *p = params;
3199 iarg[0] = p->fd; /* int */
3200 uarg[1] = (intptr_t) p->path; /* char * */
3201 uarg[2] = (intptr_t) p->buf; /* struct stat * */
3202 iarg[3] = p->flag; /* int */
3208 struct fhstat_args *p = params;
3209 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
3210 uarg[1] = (intptr_t) p->sb; /* struct stat * */
3216 struct getdirentries_args *p = params;
3217 iarg[0] = p->fd; /* int */
3218 uarg[1] = (intptr_t) p->buf; /* char * */
3219 uarg[2] = p->count; /* size_t */
3220 uarg[3] = (intptr_t) p->basep; /* off_t * */
3226 struct statfs_args *p = params;
3227 uarg[0] = (intptr_t) p->path; /* char * */
3228 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3234 struct fstatfs_args *p = params;
3235 iarg[0] = p->fd; /* int */
3236 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3242 struct getfsstat_args *p = params;
3243 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
3244 iarg[1] = p->bufsize; /* long */
3245 iarg[2] = p->mode; /* int */
3251 struct fhstatfs_args *p = params;
3252 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
3253 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3259 struct mknodat_args *p = params;
3260 iarg[0] = p->fd; /* int */
3261 uarg[1] = (intptr_t) p->path; /* char * */
3262 iarg[2] = p->mode; /* mode_t */
3263 iarg[3] = p->dev; /* dev_t */
3269 struct kevent_args *p = params;
3270 iarg[0] = p->fd; /* int */
3271 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
3272 iarg[2] = p->nchanges; /* int */
3273 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
3274 iarg[4] = p->nevents; /* int */
3275 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
3285 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3287 const char *p = NULL;
3312 p = "userland void *";
3328 p = "userland const void *";
3341 p = "userland char *";
3370 p = "userland int *";
3376 p = "userland struct rusage *";
3386 p = "userland char *";
3389 p = "userland char *";
3399 p = "userland char *";
3409 p = "userland char *";
3429 p = "userland char *";
3442 p = "userland char *";
3458 p = "userland char *";
3471 p = "userland char *";
3474 p = "userland char *";
3490 p = "userland char *";
3541 p = "userland struct msghdr *";
3557 p = "userland struct msghdr *";
3582 p = "userland struct sockaddr *";
3585 p = "userland __socklen_t *";
3598 p = "userland struct sockaddr *";
3601 p = "userland __socklen_t *";
3614 p = "userland struct sockaddr *";
3617 p = "userland __socklen_t *";
3630 p = "userland struct sockaddr *";
3633 p = "userland __socklen_t *";
3643 p = "userland char *";
3656 p = "userland const char *";
3733 p = "userland const char *";
3755 p = "userland char *";
3768 p = "userland char *";
3778 p = "userland char *";
3788 p = "userland stack_t *";
3791 p = "userland stack_t *";
3827 p = "userland char *";
3837 p = "userland char *";
3840 p = "userland char *";
3850 p = "userland char *";
3853 p = "userland char *";
3866 p = "userland char *";
3869 p = "userland char **";
3872 p = "userland char **";
3892 p = "userland char *";
3902 p = "userland void *";
3951 p = "userland void *";
3964 p = "userland void *";
3980 p = "userland void *";
3996 p = "userland const void *";
4002 p = "userland char *";
4015 p = "userland gid_t *";
4028 p = "userland gid_t *";
4057 p = "userland struct itimerval *";
4060 p = "userland struct itimerval *";
4070 p = "userland char *";
4083 p = "userland struct itimerval *";
4128 p = "userland fd_set *";
4131 p = "userland fd_set *";
4134 p = "userland fd_set *";
4137 p = "userland struct timeval *";
4269 p = "userland struct timeval *";
4272 p = "userland struct timezone *";
4285 p = "userland struct rusage *";
4307 p = "userland int *";
4320 p = "userland struct iovec *";
4336 p = "userland struct iovec *";
4349 p = "userland struct timeval *";
4352 p = "userland struct timezone *";
4417 p = "userland char *";
4420 p = "userland char *";
4443 p = "userland char *";
4503 p = "userland int *";
4513 p = "userland char *";
4526 p = "userland char *";
4536 p = "userland char *";
4539 p = "userland struct timeval *";
4549 p = "userland struct timeval *";
4552 p = "userland struct timeval *";
4565 p = "userland char *";
4593 p = "userland char **";
4616 p = "userland char *";
4619 p = "userland struct fhandle *";
4629 p = "userland char *";
4632 p = "userland struct fhandle *";
4645 p = "userland char *";
4661 p = "userland struct rtprio *";
4747 p = "userland struct timex *";
4787 p = "userland char *";
4816 p = "userland struct rlimit *";
4829 p = "userland struct rlimit *";
4842 p = "userland int *";
4848 p = "userland void *";
4851 p = "userland size_t *";
4854 p = "userland void *";
4867 p = "userland const void *";
4880 p = "userland const void *";
4893 p = "userland char *";
4906 p = "userland struct timeval *";
4926 p = "userland struct pollfd *";
4991 p = "userland struct sembuf *";
5020 p = "userland const void *";
5039 p = "userland void *";
5061 p = "userland const void *";
5074 p = "userland const void *";
5103 p = "userland struct timespec *";
5116 p = "userland const struct timespec *";
5129 p = "userland struct timespec *";
5142 p = "userland struct sigevent *";
5145 p = "userland int *";
5161 /* ktimer_settime */
5171 p = "userland const struct itimerspec *";
5174 p = "userland struct itimerspec *";
5180 /* ktimer_gettime */
5187 p = "userland struct itimerspec *";
5193 /* ktimer_getoverrun */
5207 p = "userland const struct timespec *";
5210 p = "userland struct timespec *";
5216 /* ffclock_getcounter */
5220 p = "userland ffcounter *";
5226 /* ffclock_setestimate */
5230 p = "userland struct ffclock_estimate *";
5236 /* ffclock_getestimate */
5240 p = "userland struct ffclock_estimate *";
5246 /* clock_nanosleep */
5256 p = "userland const struct timespec *";
5259 p = "userland struct timespec *";
5265 /* clock_getcpuclockid2 */
5275 p = "userland clockid_t *";
5285 p = "userland struct ntptimeval *";
5295 p = "userland void *";
5324 p = "userland char *";
5340 p = "userland struct aiocb *";
5350 p = "userland struct aiocb *";
5363 p = "userland struct aiocb *const *";
5369 p = "userland struct sigevent *";
5379 p = "userland char *";
5392 p = "userland char *";
5408 p = "userland char *";
5411 p = "userland struct timeval *";
5421 p = "userland void *";
5440 p = "userland struct iovec *";
5459 p = "userland struct iovec *";
5475 p = "userland const struct fhandle *";
5501 p = "userland struct module_stat *";
5521 p = "userland const char *";
5531 p = "userland const char *";
5551 p = "userland const char *";
5574 p = "userland struct kld_file_stat *";
5636 p = "userland struct aiocb *";
5646 p = "userland struct aiocb *const *";
5652 p = "userland const struct timespec *";
5665 p = "userland struct aiocb *";
5675 p = "userland struct aiocb *";
5701 p = "userland char *";
5710 /* sched_setparam */
5717 p = "userland const struct sched_param *";
5723 /* sched_getparam */
5730 p = "userland struct sched_param *";
5736 /* sched_setscheduler */
5746 p = "userland const struct sched_param *";
5752 /* sched_getscheduler */
5765 /* sched_get_priority_max */
5775 /* sched_get_priority_min */
5785 /* sched_rr_get_interval */
5792 p = "userland struct timespec *";
5802 p = "userland const void *";
5821 p = "userland void *";
5831 p = "userland struct jail *";
5844 p = "userland char *";
5850 p = "userland void *";
5866 p = "userland const sigset_t *";
5869 p = "userland sigset_t *";
5879 p = "userland const sigset_t *";
5889 p = "userland sigset_t *";
5899 p = "userland const sigset_t *";
5902 p = "userland siginfo_t *";
5905 p = "userland const struct timespec *";
5915 p = "userland const sigset_t *";
5918 p = "userland siginfo_t *";
5924 /* __acl_get_file */
5928 p = "userland const char *";
5934 p = "userland struct acl *";
5940 /* __acl_set_file */
5944 p = "userland const char *";
5950 p = "userland struct acl *";
5966 p = "userland struct acl *";
5982 p = "userland struct acl *";
5988 /* __acl_delete_file */
5992 p = "userland const char *";
6001 /* __acl_delete_fd */
6014 /* __acl_aclcheck_file */
6018 p = "userland const char *";
6024 p = "userland struct acl *";
6030 /* __acl_aclcheck_fd */
6040 p = "userland struct acl *";
6050 p = "userland const char *";
6056 p = "userland const char *";
6062 p = "userland const char *";
6068 /* extattr_set_file */
6072 p = "userland const char *";
6078 p = "userland const char *";
6081 p = "userland void *";
6090 /* extattr_get_file */
6094 p = "userland const char *";
6100 p = "userland const char *";
6103 p = "userland void *";
6112 /* extattr_delete_file */
6116 p = "userland const char *";
6122 p = "userland const char *";
6128 /* aio_waitcomplete */
6132 p = "userland struct aiocb **";
6135 p = "userland struct timespec *";
6145 p = "userland uid_t *";
6148 p = "userland uid_t *";
6151 p = "userland uid_t *";
6161 p = "userland gid_t *";
6164 p = "userland gid_t *";
6167 p = "userland gid_t *";
6176 /* extattr_set_fd */
6186 p = "userland const char *";
6189 p = "userland void *";
6198 /* extattr_get_fd */
6208 p = "userland const char *";
6211 p = "userland void *";
6220 /* extattr_delete_fd */
6230 p = "userland const char *";
6250 p = "userland char *";
6291 p = "userland struct iovec *";
6303 /* __mac_get_proc */
6307 p = "userland struct mac *";
6313 /* __mac_set_proc */
6317 p = "userland struct mac *";
6330 p = "userland struct mac *";
6336 /* __mac_get_file */
6340 p = "userland const char *";
6343 p = "userland struct mac *";
6356 p = "userland struct mac *";
6362 /* __mac_set_file */
6366 p = "userland const char *";
6369 p = "userland struct mac *";
6382 p = "userland const char *";
6385 p = "userland char *";
6398 p = "userland const char *";
6411 p = "userland struct uuid *";
6436 p = "userland struct sf_hdtr *";
6439 p = "userland off_t *";
6452 p = "userland const char *";
6458 p = "userland void *";
6508 p = "userland semid_t *";
6521 p = "userland semid_t *";
6524 p = "userland const char *";
6543 p = "userland const char *";
6556 p = "userland int *";
6579 p = "userland struct mac *";
6585 /* __mac_get_link */
6589 p = "userland const char *";
6592 p = "userland struct mac *";
6598 /* __mac_set_link */
6602 p = "userland const char *";
6605 p = "userland struct mac *";
6611 /* extattr_set_link */
6615 p = "userland const char *";
6621 p = "userland const char *";
6624 p = "userland void *";
6633 /* extattr_get_link */
6637 p = "userland const char *";
6643 p = "userland const char *";
6646 p = "userland void *";
6655 /* extattr_delete_link */
6659 p = "userland const char *";
6665 p = "userland const char *";
6675 p = "userland char *";
6678 p = "userland char **";
6681 p = "userland char **";
6684 p = "userland struct mac *";
6697 p = "userland const struct sigaction *";
6700 p = "userland struct sigaction *";
6710 p = "userland const struct __ucontext *";
6720 p = "userland struct __ucontext *";
6730 p = "userland const struct __ucontext *";
6740 p = "userland struct __ucontext *";
6743 p = "userland const struct __ucontext *";
6753 p = "userland const char *";
6759 /* __acl_get_link */
6763 p = "userland const char *";
6769 p = "userland struct acl *";
6775 /* __acl_set_link */
6779 p = "userland const char *";
6785 p = "userland struct acl *";
6791 /* __acl_delete_link */
6795 p = "userland const char *";
6804 /* __acl_aclcheck_link */
6808 p = "userland const char *";
6814 p = "userland struct acl *";
6824 p = "userland const sigset_t *";
6827 p = "userland int *";
6837 p = "userland ucontext_t *";
6840 p = "userland long *";
6853 p = "userland long *";
6863 p = "userland long *";
6892 /* extattr_list_fd */
6902 p = "userland void *";
6911 /* extattr_list_file */
6915 p = "userland const char *";
6921 p = "userland void *";
6930 /* extattr_list_link */
6934 p = "userland const char *";
6940 p = "userland void *";
6949 /* ksem_timedwait */
6956 p = "userland const struct timespec *";
6966 p = "userland const struct timespec *";
6999 p = "userland const void *";
7015 p = "userland void *";
7028 p = "userland uid_t *";
7038 p = "userland uid_t *";
7048 p = "userland struct auditinfo *";
7058 p = "userland struct auditinfo *";
7068 p = "userland struct auditinfo_addr *";
7081 p = "userland struct auditinfo_addr *";
7094 p = "userland char *";
7104 p = "userland void *";
7113 p = "userland void *";
7116 p = "userland void *";
7126 p = "userland struct thr_param *";
7145 p = "userland void *";
7155 p = "userland const char *";
7164 p = "userland const struct mq_attr *";
7177 p = "userland const struct mq_attr *";
7180 p = "userland struct mq_attr *";
7186 /* kmq_timedreceive */
7193 p = "userland char *";
7199 p = "userland unsigned *";
7202 p = "userland const struct timespec *";
7215 p = "userland const char *";
7224 p = "userland const struct timespec *";
7237 p = "userland const struct sigevent *";
7247 p = "userland const char *";
7257 p = "userland const char *";
7263 p = "userland void **";
7276 p = "userland const char *";
7289 p = "userland struct aiocb *";
7305 p = "userland struct rtprio *";
7324 /* sctp_generic_sendmsg */
7343 p = "userland struct sctp_sndrcvinfo *";
7352 /* sctp_generic_sendmsg_iov */
7359 p = "userland struct iovec *";
7371 p = "userland struct sctp_sndrcvinfo *";
7380 /* sctp_generic_recvmsg */
7387 p = "userland struct iovec *";
7393 p = "userland struct sockaddr *";
7396 p = "userland __socklen_t *";
7399 p = "userland struct sctp_sndrcvinfo *";
7402 p = "userland int *";
7415 p = "userland void *";
7434 p = "userland const void *";
7491 p = "userland char *";
7533 p = "userland const char *";
7549 p = "userland const char *";
7559 p = "userland cpusetid_t *";
7594 p = "userland cpusetid_t *";
7600 /* cpuset_getaffinity */
7616 p = "userland cpuset_t *";
7622 /* cpuset_setaffinity */
7638 p = "userland const cpuset_t *";
7651 p = "userland char *";
7670 p = "userland char *";
7689 p = "userland char *";
7711 p = "userland char **";
7714 p = "userland char **";
7727 p = "userland char *";
7730 p = "userland struct timeval *";
7743 p = "userland char *";
7749 p = "userland char *";
7765 p = "userland char *";
7781 p = "userland char *";
7797 p = "userland char *";
7816 p = "userland char *";
7819 p = "userland char *";
7835 p = "userland char *";
7841 p = "userland char *";
7851 p = "userland char *";
7857 p = "userland char *";
7870 p = "userland char *";
7893 p = "userland char *";
7903 p = "userland struct iovec *";
7919 p = "userland struct iovec *";
7964 p = "userland union semun *";
7980 p = "userland struct msqid_ds *";
7996 p = "userland struct shmid_ds *";
8006 p = "userland char *";
8015 /* __cap_rights_get */
8025 p = "userland cap_rights_t *";
8038 p = "userland u_int *";
8048 p = "userland int *";
8077 p = "userland pid_t *";
8090 p = "userland fd_set *";
8093 p = "userland fd_set *";
8096 p = "userland fd_set *";
8099 p = "userland const struct timespec *";
8102 p = "userland const sigset_t *";
8112 p = "userland char *";
8125 p = "userland const char *";
8131 /* rctl_get_racct */
8135 p = "userland const void *";
8141 p = "userland void *";
8150 /* rctl_get_rules */
8154 p = "userland const void *";
8160 p = "userland void *";
8169 /* rctl_get_limits */
8173 p = "userland const void *";
8179 p = "userland void *";
8192 p = "userland const void *";
8198 p = "userland void *";
8207 /* rctl_remove_rule */
8211 p = "userland const void *";
8217 p = "userland void *";
8226 /* posix_fallocate */
8271 p = "userland int *";
8277 p = "userland struct __wrusage *";
8280 p = "userland siginfo_t *";
8286 /* cap_rights_limit */
8293 p = "userland cap_rights_t *";
8299 /* cap_ioctls_limit */
8306 p = "userland const u_long *";
8315 /* cap_ioctls_get */
8322 p = "userland u_long *";
8331 /* cap_fcntls_limit */
8344 /* cap_fcntls_get */
8351 p = "userland uint32_t *";
8402 p = "userland const char *";
8421 p = "userland struct sockaddr *";
8424 p = "userland __socklen_t *";
8437 p = "userland int *";
8450 p = "userland struct aiocb *";
8469 p = "userland void *";
8479 p = "userland struct pollfd *";
8485 p = "userland const struct timespec *";
8488 p = "userland const sigset_t *";
8501 p = "userland struct timespec *";
8514 p = "userland char *";
8517 p = "userland struct timespec *";
8526 /* numa_getaffinity */
8536 p = "userland struct vm_domain_policy_entry *";
8542 /* numa_setaffinity */
8552 p = "userland const struct vm_domain_policy_entry *";
8575 p = "userland struct stat *";
8588 p = "userland char *";
8591 p = "userland struct stat *";
8604 p = "userland const struct fhandle *";
8607 p = "userland struct stat *";
8620 p = "userland char *";
8626 p = "userland off_t *";
8636 p = "userland char *";
8639 p = "userland struct statfs *";
8652 p = "userland struct statfs *";
8662 p = "userland struct statfs *";
8678 p = "userland const struct fhandle *";
8681 p = "userland struct statfs *";
8694 p = "userland char *";
8713 p = "userland struct kevent *";
8719 p = "userland struct kevent *";
8725 p = "userland const struct timespec *";
8735 strlcpy(desc, p, descsz);
8738 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8740 const char *p = NULL;
8746 if (ndx == 0 || ndx == 1)
8753 if (ndx == 0 || ndx == 1)
8758 if (ndx == 0 || ndx == 1)
8763 if (ndx == 0 || ndx == 1)
8768 if (ndx == 0 || ndx == 1)
8773 if (ndx == 0 || ndx == 1)
8778 if (ndx == 0 || ndx == 1)
8783 if (ndx == 0 || ndx == 1)
8788 if (ndx == 0 || ndx == 1)
8793 if (ndx == 0 || ndx == 1)
8798 if (ndx == 0 || ndx == 1)
8803 if (ndx == 0 || ndx == 1)
8808 if (ndx == 0 || ndx == 1)
8815 if (ndx == 0 || ndx == 1)
8820 if (ndx == 0 || ndx == 1)
8825 if (ndx == 0 || ndx == 1)
8834 if (ndx == 0 || ndx == 1)
8839 if (ndx == 0 || ndx == 1)
8844 if (ndx == 0 || ndx == 1)
8849 if (ndx == 0 || ndx == 1)
8854 if (ndx == 0 || ndx == 1)
8859 if (ndx == 0 || ndx == 1)
8864 if (ndx == 0 || ndx == 1)
8869 if (ndx == 0 || ndx == 1)
8874 if (ndx == 0 || ndx == 1)
8879 if (ndx == 0 || ndx == 1)
8886 if (ndx == 0 || ndx == 1)
8893 if (ndx == 0 || ndx == 1)
8900 if (ndx == 0 || ndx == 1)
8905 if (ndx == 0 || ndx == 1)
8912 if (ndx == 0 || ndx == 1)
8917 if (ndx == 0 || ndx == 1)
8922 if (ndx == 0 || ndx == 1)
8927 if (ndx == 0 || ndx == 1)
8932 if (ndx == 0 || ndx == 1)
8937 if (ndx == 0 || ndx == 1)
8942 if (ndx == 0 || ndx == 1)
8947 if (ndx == 0 || ndx == 1)
8952 if (ndx == 0 || ndx == 1)
8957 if (ndx == 0 || ndx == 1)
8962 if (ndx == 0 || ndx == 1)
8967 if (ndx == 0 || ndx == 1)
8972 if (ndx == 0 || ndx == 1)
8979 if (ndx == 0 || ndx == 1)
8984 if (ndx == 0 || ndx == 1)
8989 if (ndx == 0 || ndx == 1)
8994 if (ndx == 0 || ndx == 1)
8999 if (ndx == 0 || ndx == 1)
9004 if (ndx == 0 || ndx == 1)
9009 if (ndx == 0 || ndx == 1)
9014 if (ndx == 0 || ndx == 1)
9019 if (ndx == 0 || ndx == 1)
9026 if (ndx == 0 || ndx == 1)
9031 if (ndx == 0 || ndx == 1)
9036 if (ndx == 0 || ndx == 1)
9041 if (ndx == 0 || ndx == 1)
9048 if (ndx == 0 || ndx == 1)
9053 if (ndx == 0 || ndx == 1)
9058 if (ndx == 0 || ndx == 1)
9063 if (ndx == 0 || ndx == 1)
9068 if (ndx == 0 || ndx == 1)
9073 if (ndx == 0 || ndx == 1)
9078 if (ndx == 0 || ndx == 1)
9083 if (ndx == 0 || ndx == 1)
9088 if (ndx == 0 || ndx == 1)
9093 if (ndx == 0 || ndx == 1)
9098 if (ndx == 0 || ndx == 1)
9103 if (ndx == 0 || ndx == 1)
9108 if (ndx == 0 || ndx == 1)
9113 if (ndx == 0 || ndx == 1)
9118 if (ndx == 0 || ndx == 1)
9123 if (ndx == 0 || ndx == 1)
9128 if (ndx == 0 || ndx == 1)
9133 if (ndx == 0 || ndx == 1)
9138 if (ndx == 0 || ndx == 1)
9143 if (ndx == 0 || ndx == 1)
9148 if (ndx == 0 || ndx == 1)
9153 if (ndx == 0 || ndx == 1)
9158 if (ndx == 0 || ndx == 1)
9163 if (ndx == 0 || ndx == 1)
9168 if (ndx == 0 || ndx == 1)
9173 if (ndx == 0 || ndx == 1)
9178 if (ndx == 0 || ndx == 1)
9183 if (ndx == 0 || ndx == 1)
9188 if (ndx == 0 || ndx == 1)
9193 if (ndx == 0 || ndx == 1)
9198 if (ndx == 0 || ndx == 1)
9205 if (ndx == 0 || ndx == 1)
9210 if (ndx == 0 || ndx == 1)
9215 if (ndx == 0 || ndx == 1)
9220 if (ndx == 0 || ndx == 1)
9225 if (ndx == 0 || ndx == 1)
9230 if (ndx == 0 || ndx == 1)
9235 if (ndx == 0 || ndx == 1)
9240 if (ndx == 0 || ndx == 1)
9245 if (ndx == 0 || ndx == 1)
9250 if (ndx == 0 || ndx == 1)
9255 if (ndx == 0 || ndx == 1)
9260 if (ndx == 0 || ndx == 1)
9265 if (ndx == 0 || ndx == 1)
9270 if (ndx == 0 || ndx == 1)
9275 if (ndx == 0 || ndx == 1)
9280 if (ndx == 0 || ndx == 1)
9285 if (ndx == 0 || ndx == 1)
9290 if (ndx == 0 || ndx == 1)
9295 if (ndx == 0 || ndx == 1)
9302 if (ndx == 0 || ndx == 1)
9307 if (ndx == 0 || ndx == 1)
9312 if (ndx == 0 || ndx == 1)
9317 if (ndx == 0 || ndx == 1)
9322 if (ndx == 0 || ndx == 1)
9327 if (ndx == 0 || ndx == 1)
9332 if (ndx == 0 || ndx == 1)
9357 if (ndx == 0 || ndx == 1)
9362 if (ndx == 0 || ndx == 1)
9367 if (ndx == 0 || ndx == 1)
9372 if (ndx == 0 || ndx == 1)
9377 if (ndx == 0 || ndx == 1)
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)
9412 if (ndx == 0 || ndx == 1)
9417 if (ndx == 0 || ndx == 1)
9420 /* ktimer_settime */
9422 if (ndx == 0 || ndx == 1)
9425 /* ktimer_gettime */
9427 if (ndx == 0 || ndx == 1)
9430 /* ktimer_getoverrun */
9432 if (ndx == 0 || ndx == 1)
9437 if (ndx == 0 || ndx == 1)
9440 /* ffclock_getcounter */
9442 if (ndx == 0 || ndx == 1)
9445 /* ffclock_setestimate */
9447 if (ndx == 0 || ndx == 1)
9450 /* ffclock_getestimate */
9452 if (ndx == 0 || ndx == 1)
9455 /* clock_nanosleep */
9457 if (ndx == 0 || ndx == 1)
9460 /* clock_getcpuclockid2 */
9462 if (ndx == 0 || ndx == 1)
9467 if (ndx == 0 || ndx == 1)
9472 if (ndx == 0 || ndx == 1)
9477 if (ndx == 0 || ndx == 1)
9484 if (ndx == 0 || ndx == 1)
9489 if (ndx == 0 || ndx == 1)
9494 if (ndx == 0 || ndx == 1)
9499 if (ndx == 0 || ndx == 1)
9504 if (ndx == 0 || ndx == 1)
9509 if (ndx == 0 || ndx == 1)
9514 if (ndx == 0 || ndx == 1)
9519 if (ndx == 0 || ndx == 1)
9524 if (ndx == 0 || ndx == 1)
9529 if (ndx == 0 || ndx == 1)
9534 if (ndx == 0 || ndx == 1)
9539 if (ndx == 0 || ndx == 1)
9544 if (ndx == 0 || ndx == 1)
9549 if (ndx == 0 || ndx == 1)
9554 if (ndx == 0 || ndx == 1)
9559 if (ndx == 0 || ndx == 1)
9564 if (ndx == 0 || ndx == 1)
9569 if (ndx == 0 || ndx == 1)
9574 if (ndx == 0 || ndx == 1)
9579 if (ndx == 0 || ndx == 1)
9584 if (ndx == 0 || ndx == 1)
9589 if (ndx == 0 || ndx == 1)
9594 if (ndx == 0 || ndx == 1)
9599 if (ndx == 0 || ndx == 1)
9604 if (ndx == 0 || ndx == 1)
9609 if (ndx == 0 || ndx == 1)
9614 if (ndx == 0 || ndx == 1)
9619 if (ndx == 0 || ndx == 1)
9626 if (ndx == 0 || ndx == 1)
9633 if (ndx == 0 || ndx == 1)
9636 /* sched_setparam */
9638 if (ndx == 0 || ndx == 1)
9641 /* sched_getparam */
9643 if (ndx == 0 || ndx == 1)
9646 /* sched_setscheduler */
9648 if (ndx == 0 || ndx == 1)
9651 /* sched_getscheduler */
9653 if (ndx == 0 || ndx == 1)
9658 /* sched_get_priority_max */
9660 if (ndx == 0 || ndx == 1)
9663 /* sched_get_priority_min */
9665 if (ndx == 0 || ndx == 1)
9668 /* sched_rr_get_interval */
9670 if (ndx == 0 || ndx == 1)
9675 if (ndx == 0 || ndx == 1)
9680 if (ndx == 0 || ndx == 1)
9685 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)
9718 /* __acl_get_file */
9720 if (ndx == 0 || ndx == 1)
9723 /* __acl_set_file */
9725 if (ndx == 0 || ndx == 1)
9730 if (ndx == 0 || ndx == 1)
9735 if (ndx == 0 || ndx == 1)
9738 /* __acl_delete_file */
9740 if (ndx == 0 || ndx == 1)
9743 /* __acl_delete_fd */
9745 if (ndx == 0 || ndx == 1)
9748 /* __acl_aclcheck_file */
9750 if (ndx == 0 || ndx == 1)
9753 /* __acl_aclcheck_fd */
9755 if (ndx == 0 || ndx == 1)
9760 if (ndx == 0 || ndx == 1)
9763 /* extattr_set_file */
9765 if (ndx == 0 || ndx == 1)
9768 /* extattr_get_file */
9770 if (ndx == 0 || ndx == 1)
9773 /* extattr_delete_file */
9775 if (ndx == 0 || ndx == 1)
9778 /* aio_waitcomplete */
9780 if (ndx == 0 || ndx == 1)
9785 if (ndx == 0 || ndx == 1)
9790 if (ndx == 0 || ndx == 1)
9795 /* extattr_set_fd */
9797 if (ndx == 0 || ndx == 1)
9800 /* extattr_get_fd */
9802 if (ndx == 0 || ndx == 1)
9805 /* extattr_delete_fd */
9807 if (ndx == 0 || ndx == 1)
9812 if (ndx == 0 || ndx == 1)
9817 if (ndx == 0 || ndx == 1)
9822 if (ndx == 0 || ndx == 1)
9827 if (ndx == 0 || ndx == 1)
9830 /* __mac_get_proc */
9832 if (ndx == 0 || ndx == 1)
9835 /* __mac_set_proc */
9837 if (ndx == 0 || ndx == 1)
9842 if (ndx == 0 || ndx == 1)
9845 /* __mac_get_file */
9847 if (ndx == 0 || ndx == 1)
9852 if (ndx == 0 || ndx == 1)
9855 /* __mac_set_file */
9857 if (ndx == 0 || ndx == 1)
9862 if (ndx == 0 || ndx == 1)
9867 if (ndx == 0 || ndx == 1)
9872 if (ndx == 0 || ndx == 1)
9877 if (ndx == 0 || ndx == 1)
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)
9935 /* __mac_get_link */
9937 if (ndx == 0 || ndx == 1)
9940 /* __mac_set_link */
9942 if (ndx == 0 || ndx == 1)
9945 /* extattr_set_link */
9947 if (ndx == 0 || ndx == 1)
9950 /* extattr_get_link */
9952 if (ndx == 0 || ndx == 1)
9955 /* extattr_delete_link */
9957 if (ndx == 0 || ndx == 1)
9962 if (ndx == 0 || ndx == 1)
9967 if (ndx == 0 || ndx == 1)
9972 if (ndx == 0 || ndx == 1)
9977 if (ndx == 0 || ndx == 1)
9982 if (ndx == 0 || ndx == 1)
9987 if (ndx == 0 || ndx == 1)
9992 if (ndx == 0 || ndx == 1)
9995 /* __acl_get_link */
9997 if (ndx == 0 || ndx == 1)
10000 /* __acl_set_link */
10002 if (ndx == 0 || ndx == 1)
10005 /* __acl_delete_link */
10007 if (ndx == 0 || ndx == 1)
10010 /* __acl_aclcheck_link */
10012 if (ndx == 0 || ndx == 1)
10017 if (ndx == 0 || ndx == 1)
10022 if (ndx == 0 || ndx == 1)
10027 if (ndx == 0 || ndx == 1)
10032 if (ndx == 0 || ndx == 1)
10037 if (ndx == 0 || ndx == 1)
10042 if (ndx == 0 || ndx == 1)
10045 /* extattr_list_fd */
10047 if (ndx == 0 || ndx == 1)
10050 /* extattr_list_file */
10052 if (ndx == 0 || ndx == 1)
10055 /* extattr_list_link */
10057 if (ndx == 0 || ndx == 1)
10060 /* ksem_timedwait */
10062 if (ndx == 0 || ndx == 1)
10067 if (ndx == 0 || ndx == 1)
10072 if (ndx == 0 || ndx == 1)
10077 if (ndx == 0 || ndx == 1)
10082 if (ndx == 0 || ndx == 1)
10087 if (ndx == 0 || ndx == 1)
10092 if (ndx == 0 || ndx == 1)
10097 if (ndx == 0 || ndx == 1)
10102 if (ndx == 0 || ndx == 1)
10107 if (ndx == 0 || ndx == 1)
10110 /* getaudit_addr */
10112 if (ndx == 0 || ndx == 1)
10115 /* setaudit_addr */
10117 if (ndx == 0 || ndx == 1)
10122 if (ndx == 0 || ndx == 1)
10127 if (ndx == 0 || ndx == 1)
10132 if (ndx == 0 || ndx == 1)
10137 if (ndx == 0 || ndx == 1)
10142 if (ndx == 0 || ndx == 1)
10147 if (ndx == 0 || ndx == 1)
10150 /* kmq_timedreceive */
10152 if (ndx == 0 || ndx == 1)
10155 /* kmq_timedsend */
10157 if (ndx == 0 || ndx == 1)
10162 if (ndx == 0 || ndx == 1)
10167 if (ndx == 0 || ndx == 1)
10172 if (ndx == 0 || ndx == 1)
10177 if (ndx == 0 || ndx == 1)
10182 if (ndx == 0 || ndx == 1)
10185 /* rtprio_thread */
10187 if (ndx == 0 || ndx == 1)
10192 if (ndx == 0 || ndx == 1)
10195 /* sctp_generic_sendmsg */
10197 if (ndx == 0 || ndx == 1)
10200 /* sctp_generic_sendmsg_iov */
10202 if (ndx == 0 || ndx == 1)
10205 /* sctp_generic_recvmsg */
10207 if (ndx == 0 || ndx == 1)
10212 if (ndx == 0 || ndx == 1)
10217 if (ndx == 0 || ndx == 1)
10222 if (ndx == 0 || ndx == 1)
10227 if (ndx == 0 || ndx == 1)
10232 if (ndx == 0 || ndx == 1)
10237 if (ndx == 0 || ndx == 1)
10242 if (ndx == 0 || ndx == 1)
10247 if (ndx == 0 || ndx == 1)
10252 if (ndx == 0 || ndx == 1)
10257 if (ndx == 0 || ndx == 1)
10262 if (ndx == 0 || ndx == 1)
10267 if (ndx == 0 || ndx == 1)
10270 /* cpuset_getaffinity */
10272 if (ndx == 0 || ndx == 1)
10275 /* cpuset_setaffinity */
10277 if (ndx == 0 || ndx == 1)
10282 if (ndx == 0 || ndx == 1)
10287 if (ndx == 0 || ndx == 1)
10292 if (ndx == 0 || ndx == 1)
10297 if (ndx == 0 || ndx == 1)
10302 if (ndx == 0 || ndx == 1)
10307 if (ndx == 0 || ndx == 1)
10312 if (ndx == 0 || ndx == 1)
10317 if (ndx == 0 || ndx == 1)
10322 if (ndx == 0 || ndx == 1)
10327 if (ndx == 0 || ndx == 1)
10332 if (ndx == 0 || ndx == 1)
10337 if (ndx == 0 || ndx == 1)
10342 if (ndx == 0 || ndx == 1)
10347 if (ndx == 0 || ndx == 1)
10352 if (ndx == 0 || ndx == 1)
10357 if (ndx == 0 || ndx == 1)
10362 if (ndx == 0 || ndx == 1)
10367 if (ndx == 0 || ndx == 1)
10372 if (ndx == 0 || ndx == 1)
10377 if (ndx == 0 || ndx == 1)
10382 if (ndx == 0 || ndx == 1)
10387 if (ndx == 0 || ndx == 1)
10392 if (ndx == 0 || ndx == 1)
10395 /* __cap_rights_get */
10397 if (ndx == 0 || ndx == 1)
10404 if (ndx == 0 || ndx == 1)
10409 if (ndx == 0 || ndx == 1)
10414 if (ndx == 0 || ndx == 1)
10419 if (ndx == 0 || ndx == 1)
10424 if (ndx == 0 || ndx == 1)
10427 /* getloginclass */
10429 if (ndx == 0 || ndx == 1)
10432 /* setloginclass */
10434 if (ndx == 0 || ndx == 1)
10437 /* rctl_get_racct */
10439 if (ndx == 0 || ndx == 1)
10442 /* rctl_get_rules */
10444 if (ndx == 0 || ndx == 1)
10447 /* rctl_get_limits */
10449 if (ndx == 0 || ndx == 1)
10452 /* rctl_add_rule */
10454 if (ndx == 0 || ndx == 1)
10457 /* rctl_remove_rule */
10459 if (ndx == 0 || ndx == 1)
10462 /* posix_fallocate */
10464 if (ndx == 0 || ndx == 1)
10467 /* posix_fadvise */
10469 if (ndx == 0 || ndx == 1)
10474 if (ndx == 0 || ndx == 1)
10477 /* cap_rights_limit */
10479 if (ndx == 0 || ndx == 1)
10482 /* cap_ioctls_limit */
10484 if (ndx == 0 || ndx == 1)
10487 /* cap_ioctls_get */
10489 if (ndx == 0 || ndx == 1)
10492 /* cap_fcntls_limit */
10494 if (ndx == 0 || ndx == 1)
10497 /* cap_fcntls_get */
10499 if (ndx == 0 || ndx == 1)
10504 if (ndx == 0 || ndx == 1)
10509 if (ndx == 0 || ndx == 1)
10514 if (ndx == 0 || ndx == 1)
10519 if (ndx == 0 || ndx == 1)
10524 if (ndx == 0 || ndx == 1)
10529 if (ndx == 0 || ndx == 1)
10534 if (ndx == 0 || ndx == 1)
10539 if (ndx == 0 || ndx == 1)
10544 if (ndx == 0 || ndx == 1)
10549 if (ndx == 0 || ndx == 1)
10552 /* numa_getaffinity */
10554 if (ndx == 0 || ndx == 1)
10557 /* numa_setaffinity */
10559 if (ndx == 0 || ndx == 1)
10564 if (ndx == 0 || ndx == 1)
10569 if (ndx == 0 || ndx == 1)
10574 if (ndx == 0 || ndx == 1)
10579 if (ndx == 0 || ndx == 1)
10582 /* getdirentries */
10584 if (ndx == 0 || ndx == 1)
10589 if (ndx == 0 || ndx == 1)
10594 if (ndx == 0 || ndx == 1)
10599 if (ndx == 0 || ndx == 1)
10604 if (ndx == 0 || ndx == 1)
10609 if (ndx == 0 || ndx == 1)
10614 if (ndx == 0 || ndx == 1)
10621 strlcpy(desc, p, descsz);