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 */
3165 struct fdatasync_args *p = params;
3166 iarg[0] = p->fd; /* int */
3172 struct fstat_args *p = params;
3173 iarg[0] = p->fd; /* int */
3174 uarg[1] = (intptr_t) p->sb; /* struct stat * */
3180 struct fstatat_args *p = params;
3181 iarg[0] = p->fd; /* int */
3182 uarg[1] = (intptr_t) p->path; /* char * */
3183 uarg[2] = (intptr_t) p->buf; /* struct stat * */
3184 iarg[3] = p->flag; /* int */
3190 struct fhstat_args *p = params;
3191 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
3192 uarg[1] = (intptr_t) p->sb; /* struct stat * */
3198 struct getdirentries_args *p = params;
3199 iarg[0] = p->fd; /* int */
3200 uarg[1] = (intptr_t) p->buf; /* char * */
3201 uarg[2] = p->count; /* size_t */
3202 uarg[3] = (intptr_t) p->basep; /* off_t * */
3208 struct statfs_args *p = params;
3209 uarg[0] = (intptr_t) p->path; /* char * */
3210 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3216 struct fstatfs_args *p = params;
3217 iarg[0] = p->fd; /* int */
3218 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3224 struct getfsstat_args *p = params;
3225 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
3226 iarg[1] = p->bufsize; /* long */
3227 iarg[2] = p->mode; /* int */
3233 struct fhstatfs_args *p = params;
3234 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
3235 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
3241 struct mknodat_args *p = params;
3242 iarg[0] = p->fd; /* int */
3243 uarg[1] = (intptr_t) p->path; /* char * */
3244 iarg[2] = p->mode; /* mode_t */
3245 iarg[3] = p->dev; /* dev_t */
3251 struct kevent_args *p = params;
3252 iarg[0] = p->fd; /* int */
3253 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
3254 iarg[2] = p->nchanges; /* int */
3255 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
3256 iarg[4] = p->nevents; /* int */
3257 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
3261 /* cpuset_getdomain */
3263 struct cpuset_getdomain_args *p = params;
3264 iarg[0] = p->level; /* cpulevel_t */
3265 iarg[1] = p->which; /* cpuwhich_t */
3266 iarg[2] = p->id; /* id_t */
3267 uarg[3] = p->domainsetsize; /* size_t */
3268 uarg[4] = (intptr_t) p->mask; /* domainset_t * */
3269 uarg[5] = (intptr_t) p->policy; /* int * */
3273 /* cpuset_setdomain */
3275 struct cpuset_setdomain_args *p = params;
3276 iarg[0] = p->level; /* cpulevel_t */
3277 iarg[1] = p->which; /* cpuwhich_t */
3278 iarg[2] = p->id; /* id_t */
3279 uarg[3] = p->domainsetsize; /* size_t */
3280 uarg[4] = (intptr_t) p->mask; /* domainset_t * */
3281 iarg[5] = p->policy; /* int */
3291 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3293 const char *p = NULL;
3318 p = "userland void *";
3334 p = "userland const void *";
3347 p = "userland char *";
3376 p = "userland int *";
3382 p = "userland struct rusage *";
3392 p = "userland char *";
3395 p = "userland char *";
3405 p = "userland char *";
3415 p = "userland char *";
3435 p = "userland char *";
3448 p = "userland char *";
3464 p = "userland char *";
3477 p = "userland char *";
3480 p = "userland char *";
3496 p = "userland char *";
3547 p = "userland struct msghdr *";
3563 p = "userland struct msghdr *";
3588 p = "userland struct sockaddr *";
3591 p = "userland __socklen_t *";
3604 p = "userland struct sockaddr *";
3607 p = "userland __socklen_t *";
3620 p = "userland struct sockaddr *";
3623 p = "userland __socklen_t *";
3636 p = "userland struct sockaddr *";
3639 p = "userland __socklen_t *";
3649 p = "userland char *";
3662 p = "userland const char *";
3739 p = "userland const char *";
3761 p = "userland char *";
3774 p = "userland char *";
3784 p = "userland char *";
3794 p = "userland stack_t *";
3797 p = "userland stack_t *";
3833 p = "userland char *";
3843 p = "userland char *";
3846 p = "userland char *";
3856 p = "userland char *";
3859 p = "userland char *";
3872 p = "userland char *";
3875 p = "userland char **";
3878 p = "userland char **";
3898 p = "userland char *";
3908 p = "userland void *";
3957 p = "userland void *";
3970 p = "userland void *";
3986 p = "userland void *";
4002 p = "userland const void *";
4008 p = "userland char *";
4021 p = "userland gid_t *";
4034 p = "userland gid_t *";
4063 p = "userland struct itimerval *";
4066 p = "userland struct itimerval *";
4076 p = "userland char *";
4089 p = "userland struct itimerval *";
4134 p = "userland fd_set *";
4137 p = "userland fd_set *";
4140 p = "userland fd_set *";
4143 p = "userland struct timeval *";
4275 p = "userland struct timeval *";
4278 p = "userland struct timezone *";
4291 p = "userland struct rusage *";
4313 p = "userland int *";
4326 p = "userland struct iovec *";
4342 p = "userland struct iovec *";
4355 p = "userland struct timeval *";
4358 p = "userland struct timezone *";
4423 p = "userland char *";
4426 p = "userland char *";
4449 p = "userland char *";
4509 p = "userland int *";
4519 p = "userland char *";
4532 p = "userland char *";
4542 p = "userland char *";
4545 p = "userland struct timeval *";
4555 p = "userland struct timeval *";
4558 p = "userland struct timeval *";
4571 p = "userland char *";
4599 p = "userland char **";
4622 p = "userland char *";
4625 p = "userland struct fhandle *";
4635 p = "userland char *";
4638 p = "userland struct fhandle *";
4651 p = "userland char *";
4667 p = "userland struct rtprio *";
4753 p = "userland struct timex *";
4793 p = "userland char *";
4822 p = "userland struct rlimit *";
4835 p = "userland struct rlimit *";
4848 p = "userland int *";
4854 p = "userland void *";
4857 p = "userland size_t *";
4860 p = "userland void *";
4873 p = "userland const void *";
4886 p = "userland const void *";
4899 p = "userland char *";
4912 p = "userland struct timeval *";
4932 p = "userland struct pollfd *";
4997 p = "userland struct sembuf *";
5026 p = "userland const void *";
5045 p = "userland void *";
5067 p = "userland const void *";
5080 p = "userland const void *";
5109 p = "userland struct timespec *";
5122 p = "userland const struct timespec *";
5135 p = "userland struct timespec *";
5148 p = "userland struct sigevent *";
5151 p = "userland int *";
5167 /* ktimer_settime */
5177 p = "userland const struct itimerspec *";
5180 p = "userland struct itimerspec *";
5186 /* ktimer_gettime */
5193 p = "userland struct itimerspec *";
5199 /* ktimer_getoverrun */
5213 p = "userland const struct timespec *";
5216 p = "userland struct timespec *";
5222 /* ffclock_getcounter */
5226 p = "userland ffcounter *";
5232 /* ffclock_setestimate */
5236 p = "userland struct ffclock_estimate *";
5242 /* ffclock_getestimate */
5246 p = "userland struct ffclock_estimate *";
5252 /* clock_nanosleep */
5262 p = "userland const struct timespec *";
5265 p = "userland struct timespec *";
5271 /* clock_getcpuclockid2 */
5281 p = "userland clockid_t *";
5291 p = "userland struct ntptimeval *";
5301 p = "userland void *";
5330 p = "userland char *";
5346 p = "userland struct aiocb *";
5356 p = "userland struct aiocb *";
5369 p = "userland struct aiocb *const *";
5375 p = "userland struct sigevent *";
5385 p = "userland char *";
5398 p = "userland char *";
5414 p = "userland char *";
5417 p = "userland struct timeval *";
5427 p = "userland void *";
5446 p = "userland struct iovec *";
5465 p = "userland struct iovec *";
5481 p = "userland const struct fhandle *";
5507 p = "userland struct module_stat *";
5527 p = "userland const char *";
5537 p = "userland const char *";
5557 p = "userland const char *";
5580 p = "userland struct kld_file_stat *";
5642 p = "userland struct aiocb *";
5652 p = "userland struct aiocb *const *";
5658 p = "userland const struct timespec *";
5671 p = "userland struct aiocb *";
5681 p = "userland struct aiocb *";
5707 p = "userland char *";
5716 /* sched_setparam */
5723 p = "userland const struct sched_param *";
5729 /* sched_getparam */
5736 p = "userland struct sched_param *";
5742 /* sched_setscheduler */
5752 p = "userland const struct sched_param *";
5758 /* sched_getscheduler */
5771 /* sched_get_priority_max */
5781 /* sched_get_priority_min */
5791 /* sched_rr_get_interval */
5798 p = "userland struct timespec *";
5808 p = "userland const void *";
5827 p = "userland void *";
5837 p = "userland struct jail *";
5850 p = "userland char *";
5856 p = "userland void *";
5872 p = "userland const sigset_t *";
5875 p = "userland sigset_t *";
5885 p = "userland const sigset_t *";
5895 p = "userland sigset_t *";
5905 p = "userland const sigset_t *";
5908 p = "userland siginfo_t *";
5911 p = "userland const struct timespec *";
5921 p = "userland const sigset_t *";
5924 p = "userland siginfo_t *";
5930 /* __acl_get_file */
5934 p = "userland const char *";
5940 p = "userland struct acl *";
5946 /* __acl_set_file */
5950 p = "userland const char *";
5956 p = "userland struct acl *";
5972 p = "userland struct acl *";
5988 p = "userland struct acl *";
5994 /* __acl_delete_file */
5998 p = "userland const char *";
6007 /* __acl_delete_fd */
6020 /* __acl_aclcheck_file */
6024 p = "userland const char *";
6030 p = "userland struct acl *";
6036 /* __acl_aclcheck_fd */
6046 p = "userland struct acl *";
6056 p = "userland const char *";
6062 p = "userland const char *";
6068 p = "userland const char *";
6074 /* extattr_set_file */
6078 p = "userland const char *";
6084 p = "userland const char *";
6087 p = "userland void *";
6096 /* extattr_get_file */
6100 p = "userland const char *";
6106 p = "userland const char *";
6109 p = "userland void *";
6118 /* extattr_delete_file */
6122 p = "userland const char *";
6128 p = "userland const char *";
6134 /* aio_waitcomplete */
6138 p = "userland struct aiocb **";
6141 p = "userland struct timespec *";
6151 p = "userland uid_t *";
6154 p = "userland uid_t *";
6157 p = "userland uid_t *";
6167 p = "userland gid_t *";
6170 p = "userland gid_t *";
6173 p = "userland gid_t *";
6182 /* extattr_set_fd */
6192 p = "userland const char *";
6195 p = "userland void *";
6204 /* extattr_get_fd */
6214 p = "userland const char *";
6217 p = "userland void *";
6226 /* extattr_delete_fd */
6236 p = "userland const char *";
6256 p = "userland char *";
6297 p = "userland struct iovec *";
6309 /* __mac_get_proc */
6313 p = "userland struct mac *";
6319 /* __mac_set_proc */
6323 p = "userland struct mac *";
6336 p = "userland struct mac *";
6342 /* __mac_get_file */
6346 p = "userland const char *";
6349 p = "userland struct mac *";
6362 p = "userland struct mac *";
6368 /* __mac_set_file */
6372 p = "userland const char *";
6375 p = "userland struct mac *";
6388 p = "userland const char *";
6391 p = "userland char *";
6404 p = "userland const char *";
6417 p = "userland struct uuid *";
6442 p = "userland struct sf_hdtr *";
6445 p = "userland off_t *";
6458 p = "userland const char *";
6464 p = "userland void *";
6514 p = "userland semid_t *";
6527 p = "userland semid_t *";
6530 p = "userland const char *";
6549 p = "userland const char *";
6562 p = "userland int *";
6585 p = "userland struct mac *";
6591 /* __mac_get_link */
6595 p = "userland const char *";
6598 p = "userland struct mac *";
6604 /* __mac_set_link */
6608 p = "userland const char *";
6611 p = "userland struct mac *";
6617 /* extattr_set_link */
6621 p = "userland const char *";
6627 p = "userland const char *";
6630 p = "userland void *";
6639 /* extattr_get_link */
6643 p = "userland const char *";
6649 p = "userland const char *";
6652 p = "userland void *";
6661 /* extattr_delete_link */
6665 p = "userland const char *";
6671 p = "userland const char *";
6681 p = "userland char *";
6684 p = "userland char **";
6687 p = "userland char **";
6690 p = "userland struct mac *";
6703 p = "userland const struct sigaction *";
6706 p = "userland struct sigaction *";
6716 p = "userland const struct __ucontext *";
6726 p = "userland struct __ucontext *";
6736 p = "userland const struct __ucontext *";
6746 p = "userland struct __ucontext *";
6749 p = "userland const struct __ucontext *";
6759 p = "userland const char *";
6765 /* __acl_get_link */
6769 p = "userland const char *";
6775 p = "userland struct acl *";
6781 /* __acl_set_link */
6785 p = "userland const char *";
6791 p = "userland struct acl *";
6797 /* __acl_delete_link */
6801 p = "userland const char *";
6810 /* __acl_aclcheck_link */
6814 p = "userland const char *";
6820 p = "userland struct acl *";
6830 p = "userland const sigset_t *";
6833 p = "userland int *";
6843 p = "userland ucontext_t *";
6846 p = "userland long *";
6859 p = "userland long *";
6869 p = "userland long *";
6898 /* extattr_list_fd */
6908 p = "userland void *";
6917 /* extattr_list_file */
6921 p = "userland const char *";
6927 p = "userland void *";
6936 /* extattr_list_link */
6940 p = "userland const char *";
6946 p = "userland void *";
6955 /* ksem_timedwait */
6962 p = "userland const struct timespec *";
6972 p = "userland const struct timespec *";
7005 p = "userland const void *";
7021 p = "userland void *";
7034 p = "userland uid_t *";
7044 p = "userland uid_t *";
7054 p = "userland struct auditinfo *";
7064 p = "userland struct auditinfo *";
7074 p = "userland struct auditinfo_addr *";
7087 p = "userland struct auditinfo_addr *";
7100 p = "userland char *";
7110 p = "userland void *";
7119 p = "userland void *";
7122 p = "userland void *";
7132 p = "userland struct thr_param *";
7151 p = "userland void *";
7161 p = "userland const char *";
7170 p = "userland const struct mq_attr *";
7183 p = "userland const struct mq_attr *";
7186 p = "userland struct mq_attr *";
7192 /* kmq_timedreceive */
7199 p = "userland char *";
7205 p = "userland unsigned *";
7208 p = "userland const struct timespec *";
7221 p = "userland const char *";
7230 p = "userland const struct timespec *";
7243 p = "userland const struct sigevent *";
7253 p = "userland const char *";
7263 p = "userland const char *";
7269 p = "userland void **";
7282 p = "userland const char *";
7295 p = "userland struct aiocb *";
7311 p = "userland struct rtprio *";
7330 /* sctp_generic_sendmsg */
7349 p = "userland struct sctp_sndrcvinfo *";
7358 /* sctp_generic_sendmsg_iov */
7365 p = "userland struct iovec *";
7377 p = "userland struct sctp_sndrcvinfo *";
7386 /* sctp_generic_recvmsg */
7393 p = "userland struct iovec *";
7399 p = "userland struct sockaddr *";
7402 p = "userland __socklen_t *";
7405 p = "userland struct sctp_sndrcvinfo *";
7408 p = "userland int *";
7421 p = "userland void *";
7440 p = "userland const void *";
7497 p = "userland char *";
7539 p = "userland const char *";
7555 p = "userland const char *";
7565 p = "userland cpusetid_t *";
7600 p = "userland cpusetid_t *";
7606 /* cpuset_getaffinity */
7622 p = "userland cpuset_t *";
7628 /* cpuset_setaffinity */
7644 p = "userland const cpuset_t *";
7657 p = "userland char *";
7676 p = "userland char *";
7695 p = "userland char *";
7717 p = "userland char **";
7720 p = "userland char **";
7733 p = "userland char *";
7736 p = "userland struct timeval *";
7749 p = "userland char *";
7755 p = "userland char *";
7771 p = "userland char *";
7787 p = "userland char *";
7803 p = "userland char *";
7822 p = "userland char *";
7825 p = "userland char *";
7841 p = "userland char *";
7847 p = "userland char *";
7857 p = "userland char *";
7863 p = "userland char *";
7876 p = "userland char *";
7899 p = "userland char *";
7909 p = "userland struct iovec *";
7925 p = "userland struct iovec *";
7970 p = "userland union semun *";
7986 p = "userland struct msqid_ds *";
8002 p = "userland struct shmid_ds *";
8012 p = "userland char *";
8021 /* __cap_rights_get */
8031 p = "userland cap_rights_t *";
8044 p = "userland u_int *";
8054 p = "userland int *";
8083 p = "userland pid_t *";
8096 p = "userland fd_set *";
8099 p = "userland fd_set *";
8102 p = "userland fd_set *";
8105 p = "userland const struct timespec *";
8108 p = "userland const sigset_t *";
8118 p = "userland char *";
8131 p = "userland const char *";
8137 /* rctl_get_racct */
8141 p = "userland const void *";
8147 p = "userland void *";
8156 /* rctl_get_rules */
8160 p = "userland const void *";
8166 p = "userland void *";
8175 /* rctl_get_limits */
8179 p = "userland const void *";
8185 p = "userland void *";
8198 p = "userland const void *";
8204 p = "userland void *";
8213 /* rctl_remove_rule */
8217 p = "userland const void *";
8223 p = "userland void *";
8232 /* posix_fallocate */
8277 p = "userland int *";
8283 p = "userland struct __wrusage *";
8286 p = "userland siginfo_t *";
8292 /* cap_rights_limit */
8299 p = "userland cap_rights_t *";
8305 /* cap_ioctls_limit */
8312 p = "userland const u_long *";
8321 /* cap_ioctls_get */
8328 p = "userland u_long *";
8337 /* cap_fcntls_limit */
8350 /* cap_fcntls_get */
8357 p = "userland uint32_t *";
8408 p = "userland const char *";
8427 p = "userland struct sockaddr *";
8430 p = "userland __socklen_t *";
8443 p = "userland int *";
8456 p = "userland struct aiocb *";
8475 p = "userland void *";
8485 p = "userland struct pollfd *";
8491 p = "userland const struct timespec *";
8494 p = "userland const sigset_t *";
8507 p = "userland struct timespec *";
8520 p = "userland char *";
8523 p = "userland struct timespec *";
8549 p = "userland struct stat *";
8562 p = "userland char *";
8565 p = "userland struct stat *";
8578 p = "userland const struct fhandle *";
8581 p = "userland struct stat *";
8594 p = "userland char *";
8600 p = "userland off_t *";
8610 p = "userland char *";
8613 p = "userland struct statfs *";
8626 p = "userland struct statfs *";
8636 p = "userland struct statfs *";
8652 p = "userland const struct fhandle *";
8655 p = "userland struct statfs *";
8668 p = "userland char *";
8687 p = "userland struct kevent *";
8693 p = "userland struct kevent *";
8699 p = "userland const struct timespec *";
8705 /* cpuset_getdomain */
8721 p = "userland domainset_t *";
8724 p = "userland int *";
8730 /* cpuset_setdomain */
8746 p = "userland domainset_t *";
8759 strlcpy(desc, p, descsz);
8762 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8764 const char *p = NULL;
8770 if (ndx == 0 || ndx == 1)
8777 if (ndx == 0 || ndx == 1)
8782 if (ndx == 0 || ndx == 1)
8787 if (ndx == 0 || ndx == 1)
8792 if (ndx == 0 || ndx == 1)
8797 if (ndx == 0 || ndx == 1)
8802 if (ndx == 0 || ndx == 1)
8807 if (ndx == 0 || ndx == 1)
8812 if (ndx == 0 || ndx == 1)
8817 if (ndx == 0 || ndx == 1)
8822 if (ndx == 0 || ndx == 1)
8827 if (ndx == 0 || ndx == 1)
8832 if (ndx == 0 || ndx == 1)
8839 if (ndx == 0 || ndx == 1)
8844 if (ndx == 0 || ndx == 1)
8849 if (ndx == 0 || ndx == 1)
8858 if (ndx == 0 || ndx == 1)
8863 if (ndx == 0 || ndx == 1)
8868 if (ndx == 0 || ndx == 1)
8873 if (ndx == 0 || ndx == 1)
8878 if (ndx == 0 || ndx == 1)
8883 if (ndx == 0 || ndx == 1)
8888 if (ndx == 0 || ndx == 1)
8893 if (ndx == 0 || ndx == 1)
8898 if (ndx == 0 || ndx == 1)
8903 if (ndx == 0 || ndx == 1)
8910 if (ndx == 0 || ndx == 1)
8917 if (ndx == 0 || ndx == 1)
8924 if (ndx == 0 || ndx == 1)
8929 if (ndx == 0 || ndx == 1)
8936 if (ndx == 0 || ndx == 1)
8941 if (ndx == 0 || ndx == 1)
8946 if (ndx == 0 || ndx == 1)
8951 if (ndx == 0 || ndx == 1)
8956 if (ndx == 0 || ndx == 1)
8961 if (ndx == 0 || ndx == 1)
8966 if (ndx == 0 || ndx == 1)
8971 if (ndx == 0 || ndx == 1)
8976 if (ndx == 0 || ndx == 1)
8981 if (ndx == 0 || ndx == 1)
8986 if (ndx == 0 || ndx == 1)
8991 if (ndx == 0 || ndx == 1)
8996 if (ndx == 0 || ndx == 1)
9003 if (ndx == 0 || ndx == 1)
9008 if (ndx == 0 || ndx == 1)
9013 if (ndx == 0 || ndx == 1)
9018 if (ndx == 0 || ndx == 1)
9023 if (ndx == 0 || ndx == 1)
9028 if (ndx == 0 || ndx == 1)
9033 if (ndx == 0 || ndx == 1)
9038 if (ndx == 0 || ndx == 1)
9043 if (ndx == 0 || ndx == 1)
9050 if (ndx == 0 || ndx == 1)
9055 if (ndx == 0 || ndx == 1)
9060 if (ndx == 0 || ndx == 1)
9065 if (ndx == 0 || ndx == 1)
9072 if (ndx == 0 || ndx == 1)
9077 if (ndx == 0 || ndx == 1)
9082 if (ndx == 0 || ndx == 1)
9087 if (ndx == 0 || ndx == 1)
9092 if (ndx == 0 || ndx == 1)
9097 if (ndx == 0 || ndx == 1)
9102 if (ndx == 0 || ndx == 1)
9107 if (ndx == 0 || ndx == 1)
9112 if (ndx == 0 || ndx == 1)
9117 if (ndx == 0 || ndx == 1)
9122 if (ndx == 0 || ndx == 1)
9127 if (ndx == 0 || ndx == 1)
9132 if (ndx == 0 || ndx == 1)
9137 if (ndx == 0 || ndx == 1)
9142 if (ndx == 0 || ndx == 1)
9147 if (ndx == 0 || ndx == 1)
9152 if (ndx == 0 || ndx == 1)
9157 if (ndx == 0 || ndx == 1)
9162 if (ndx == 0 || ndx == 1)
9167 if (ndx == 0 || ndx == 1)
9172 if (ndx == 0 || ndx == 1)
9177 if (ndx == 0 || ndx == 1)
9182 if (ndx == 0 || ndx == 1)
9187 if (ndx == 0 || ndx == 1)
9192 if (ndx == 0 || ndx == 1)
9197 if (ndx == 0 || ndx == 1)
9202 if (ndx == 0 || ndx == 1)
9207 if (ndx == 0 || ndx == 1)
9212 if (ndx == 0 || ndx == 1)
9217 if (ndx == 0 || ndx == 1)
9222 if (ndx == 0 || ndx == 1)
9229 if (ndx == 0 || ndx == 1)
9234 if (ndx == 0 || ndx == 1)
9239 if (ndx == 0 || ndx == 1)
9244 if (ndx == 0 || ndx == 1)
9249 if (ndx == 0 || ndx == 1)
9254 if (ndx == 0 || ndx == 1)
9259 if (ndx == 0 || ndx == 1)
9264 if (ndx == 0 || ndx == 1)
9269 if (ndx == 0 || ndx == 1)
9274 if (ndx == 0 || ndx == 1)
9279 if (ndx == 0 || ndx == 1)
9284 if (ndx == 0 || ndx == 1)
9289 if (ndx == 0 || ndx == 1)
9294 if (ndx == 0 || ndx == 1)
9299 if (ndx == 0 || ndx == 1)
9304 if (ndx == 0 || ndx == 1)
9309 if (ndx == 0 || ndx == 1)
9314 if (ndx == 0 || ndx == 1)
9319 if (ndx == 0 || ndx == 1)
9326 if (ndx == 0 || ndx == 1)
9331 if (ndx == 0 || ndx == 1)
9336 if (ndx == 0 || ndx == 1)
9341 if (ndx == 0 || ndx == 1)
9346 if (ndx == 0 || ndx == 1)
9351 if (ndx == 0 || ndx == 1)
9356 if (ndx == 0 || ndx == 1)
9381 if (ndx == 0 || ndx == 1)
9386 if (ndx == 0 || ndx == 1)
9391 if (ndx == 0 || ndx == 1)
9396 if (ndx == 0 || ndx == 1)
9401 if (ndx == 0 || ndx == 1)
9406 if (ndx == 0 || ndx == 1)
9411 if (ndx == 0 || ndx == 1)
9416 if (ndx == 0 || ndx == 1)
9421 if (ndx == 0 || ndx == 1)
9426 if (ndx == 0 || ndx == 1)
9431 if (ndx == 0 || ndx == 1)
9436 if (ndx == 0 || ndx == 1)
9441 if (ndx == 0 || ndx == 1)
9444 /* ktimer_settime */
9446 if (ndx == 0 || ndx == 1)
9449 /* ktimer_gettime */
9451 if (ndx == 0 || ndx == 1)
9454 /* ktimer_getoverrun */
9456 if (ndx == 0 || ndx == 1)
9461 if (ndx == 0 || ndx == 1)
9464 /* ffclock_getcounter */
9466 if (ndx == 0 || ndx == 1)
9469 /* ffclock_setestimate */
9471 if (ndx == 0 || ndx == 1)
9474 /* ffclock_getestimate */
9476 if (ndx == 0 || ndx == 1)
9479 /* clock_nanosleep */
9481 if (ndx == 0 || ndx == 1)
9484 /* clock_getcpuclockid2 */
9486 if (ndx == 0 || ndx == 1)
9491 if (ndx == 0 || ndx == 1)
9496 if (ndx == 0 || ndx == 1)
9501 if (ndx == 0 || ndx == 1)
9508 if (ndx == 0 || ndx == 1)
9513 if (ndx == 0 || ndx == 1)
9518 if (ndx == 0 || ndx == 1)
9523 if (ndx == 0 || ndx == 1)
9528 if (ndx == 0 || ndx == 1)
9533 if (ndx == 0 || ndx == 1)
9538 if (ndx == 0 || ndx == 1)
9543 if (ndx == 0 || ndx == 1)
9548 if (ndx == 0 || ndx == 1)
9553 if (ndx == 0 || ndx == 1)
9558 if (ndx == 0 || ndx == 1)
9563 if (ndx == 0 || ndx == 1)
9568 if (ndx == 0 || ndx == 1)
9573 if (ndx == 0 || ndx == 1)
9578 if (ndx == 0 || ndx == 1)
9583 if (ndx == 0 || ndx == 1)
9588 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)
9650 if (ndx == 0 || ndx == 1)
9657 if (ndx == 0 || ndx == 1)
9660 /* sched_setparam */
9662 if (ndx == 0 || ndx == 1)
9665 /* sched_getparam */
9667 if (ndx == 0 || ndx == 1)
9670 /* sched_setscheduler */
9672 if (ndx == 0 || ndx == 1)
9675 /* sched_getscheduler */
9677 if (ndx == 0 || ndx == 1)
9682 /* sched_get_priority_max */
9684 if (ndx == 0 || ndx == 1)
9687 /* sched_get_priority_min */
9689 if (ndx == 0 || ndx == 1)
9692 /* sched_rr_get_interval */
9694 if (ndx == 0 || ndx == 1)
9699 if (ndx == 0 || ndx == 1)
9704 if (ndx == 0 || ndx == 1)
9709 if (ndx == 0 || ndx == 1)
9714 if (ndx == 0 || ndx == 1)
9719 if (ndx == 0 || ndx == 1)
9724 if (ndx == 0 || ndx == 1)
9729 if (ndx == 0 || ndx == 1)
9734 if (ndx == 0 || ndx == 1)
9739 if (ndx == 0 || ndx == 1)
9742 /* __acl_get_file */
9744 if (ndx == 0 || ndx == 1)
9747 /* __acl_set_file */
9749 if (ndx == 0 || ndx == 1)
9754 if (ndx == 0 || ndx == 1)
9759 if (ndx == 0 || ndx == 1)
9762 /* __acl_delete_file */
9764 if (ndx == 0 || ndx == 1)
9767 /* __acl_delete_fd */
9769 if (ndx == 0 || ndx == 1)
9772 /* __acl_aclcheck_file */
9774 if (ndx == 0 || ndx == 1)
9777 /* __acl_aclcheck_fd */
9779 if (ndx == 0 || ndx == 1)
9784 if (ndx == 0 || ndx == 1)
9787 /* extattr_set_file */
9789 if (ndx == 0 || ndx == 1)
9792 /* extattr_get_file */
9794 if (ndx == 0 || ndx == 1)
9797 /* extattr_delete_file */
9799 if (ndx == 0 || ndx == 1)
9802 /* aio_waitcomplete */
9804 if (ndx == 0 || ndx == 1)
9809 if (ndx == 0 || ndx == 1)
9814 if (ndx == 0 || ndx == 1)
9819 /* extattr_set_fd */
9821 if (ndx == 0 || ndx == 1)
9824 /* extattr_get_fd */
9826 if (ndx == 0 || ndx == 1)
9829 /* extattr_delete_fd */
9831 if (ndx == 0 || ndx == 1)
9836 if (ndx == 0 || ndx == 1)
9841 if (ndx == 0 || ndx == 1)
9846 if (ndx == 0 || ndx == 1)
9851 if (ndx == 0 || ndx == 1)
9854 /* __mac_get_proc */
9856 if (ndx == 0 || ndx == 1)
9859 /* __mac_set_proc */
9861 if (ndx == 0 || ndx == 1)
9866 if (ndx == 0 || ndx == 1)
9869 /* __mac_get_file */
9871 if (ndx == 0 || ndx == 1)
9876 if (ndx == 0 || ndx == 1)
9879 /* __mac_set_file */
9881 if (ndx == 0 || ndx == 1)
9886 if (ndx == 0 || ndx == 1)
9891 if (ndx == 0 || ndx == 1)
9896 if (ndx == 0 || ndx == 1)
9901 if (ndx == 0 || ndx == 1)
9906 if (ndx == 0 || ndx == 1)
9911 if (ndx == 0 || ndx == 1)
9916 if (ndx == 0 || ndx == 1)
9921 if (ndx == 0 || ndx == 1)
9926 if (ndx == 0 || ndx == 1)
9931 if (ndx == 0 || ndx == 1)
9936 if (ndx == 0 || ndx == 1)
9941 if (ndx == 0 || ndx == 1)
9946 if (ndx == 0 || ndx == 1)
9951 if (ndx == 0 || ndx == 1)
9956 if (ndx == 0 || ndx == 1)
9959 /* __mac_get_link */
9961 if (ndx == 0 || ndx == 1)
9964 /* __mac_set_link */
9966 if (ndx == 0 || ndx == 1)
9969 /* extattr_set_link */
9971 if (ndx == 0 || ndx == 1)
9974 /* extattr_get_link */
9976 if (ndx == 0 || ndx == 1)
9979 /* extattr_delete_link */
9981 if (ndx == 0 || ndx == 1)
9986 if (ndx == 0 || ndx == 1)
9991 if (ndx == 0 || ndx == 1)
9996 if (ndx == 0 || ndx == 1)
10001 if (ndx == 0 || ndx == 1)
10006 if (ndx == 0 || ndx == 1)
10011 if (ndx == 0 || ndx == 1)
10016 if (ndx == 0 || ndx == 1)
10019 /* __acl_get_link */
10021 if (ndx == 0 || ndx == 1)
10024 /* __acl_set_link */
10026 if (ndx == 0 || ndx == 1)
10029 /* __acl_delete_link */
10031 if (ndx == 0 || ndx == 1)
10034 /* __acl_aclcheck_link */
10036 if (ndx == 0 || ndx == 1)
10041 if (ndx == 0 || ndx == 1)
10046 if (ndx == 0 || ndx == 1)
10051 if (ndx == 0 || ndx == 1)
10056 if (ndx == 0 || ndx == 1)
10061 if (ndx == 0 || ndx == 1)
10066 if (ndx == 0 || ndx == 1)
10069 /* extattr_list_fd */
10071 if (ndx == 0 || ndx == 1)
10074 /* extattr_list_file */
10076 if (ndx == 0 || ndx == 1)
10079 /* extattr_list_link */
10081 if (ndx == 0 || ndx == 1)
10084 /* ksem_timedwait */
10086 if (ndx == 0 || ndx == 1)
10091 if (ndx == 0 || ndx == 1)
10096 if (ndx == 0 || ndx == 1)
10101 if (ndx == 0 || ndx == 1)
10106 if (ndx == 0 || ndx == 1)
10111 if (ndx == 0 || ndx == 1)
10116 if (ndx == 0 || ndx == 1)
10121 if (ndx == 0 || ndx == 1)
10126 if (ndx == 0 || ndx == 1)
10131 if (ndx == 0 || ndx == 1)
10134 /* getaudit_addr */
10136 if (ndx == 0 || ndx == 1)
10139 /* setaudit_addr */
10141 if (ndx == 0 || ndx == 1)
10146 if (ndx == 0 || ndx == 1)
10151 if (ndx == 0 || ndx == 1)
10156 if (ndx == 0 || ndx == 1)
10161 if (ndx == 0 || ndx == 1)
10166 if (ndx == 0 || ndx == 1)
10171 if (ndx == 0 || ndx == 1)
10174 /* kmq_timedreceive */
10176 if (ndx == 0 || ndx == 1)
10179 /* kmq_timedsend */
10181 if (ndx == 0 || ndx == 1)
10186 if (ndx == 0 || ndx == 1)
10191 if (ndx == 0 || ndx == 1)
10196 if (ndx == 0 || ndx == 1)
10201 if (ndx == 0 || ndx == 1)
10206 if (ndx == 0 || ndx == 1)
10209 /* rtprio_thread */
10211 if (ndx == 0 || ndx == 1)
10216 if (ndx == 0 || ndx == 1)
10219 /* sctp_generic_sendmsg */
10221 if (ndx == 0 || ndx == 1)
10224 /* sctp_generic_sendmsg_iov */
10226 if (ndx == 0 || ndx == 1)
10229 /* sctp_generic_recvmsg */
10231 if (ndx == 0 || ndx == 1)
10236 if (ndx == 0 || ndx == 1)
10241 if (ndx == 0 || ndx == 1)
10246 if (ndx == 0 || ndx == 1)
10251 if (ndx == 0 || ndx == 1)
10256 if (ndx == 0 || ndx == 1)
10261 if (ndx == 0 || ndx == 1)
10266 if (ndx == 0 || ndx == 1)
10271 if (ndx == 0 || ndx == 1)
10276 if (ndx == 0 || ndx == 1)
10281 if (ndx == 0 || ndx == 1)
10286 if (ndx == 0 || ndx == 1)
10291 if (ndx == 0 || ndx == 1)
10294 /* cpuset_getaffinity */
10296 if (ndx == 0 || ndx == 1)
10299 /* cpuset_setaffinity */
10301 if (ndx == 0 || ndx == 1)
10306 if (ndx == 0 || ndx == 1)
10311 if (ndx == 0 || ndx == 1)
10316 if (ndx == 0 || ndx == 1)
10321 if (ndx == 0 || ndx == 1)
10326 if (ndx == 0 || ndx == 1)
10331 if (ndx == 0 || ndx == 1)
10336 if (ndx == 0 || ndx == 1)
10341 if (ndx == 0 || ndx == 1)
10346 if (ndx == 0 || ndx == 1)
10351 if (ndx == 0 || ndx == 1)
10356 if (ndx == 0 || ndx == 1)
10361 if (ndx == 0 || ndx == 1)
10366 if (ndx == 0 || ndx == 1)
10371 if (ndx == 0 || ndx == 1)
10376 if (ndx == 0 || ndx == 1)
10381 if (ndx == 0 || ndx == 1)
10386 if (ndx == 0 || ndx == 1)
10391 if (ndx == 0 || ndx == 1)
10396 if (ndx == 0 || ndx == 1)
10401 if (ndx == 0 || ndx == 1)
10406 if (ndx == 0 || ndx == 1)
10411 if (ndx == 0 || ndx == 1)
10416 if (ndx == 0 || ndx == 1)
10419 /* __cap_rights_get */
10421 if (ndx == 0 || ndx == 1)
10428 if (ndx == 0 || ndx == 1)
10433 if (ndx == 0 || ndx == 1)
10438 if (ndx == 0 || ndx == 1)
10443 if (ndx == 0 || ndx == 1)
10448 if (ndx == 0 || ndx == 1)
10451 /* getloginclass */
10453 if (ndx == 0 || ndx == 1)
10456 /* setloginclass */
10458 if (ndx == 0 || ndx == 1)
10461 /* rctl_get_racct */
10463 if (ndx == 0 || ndx == 1)
10466 /* rctl_get_rules */
10468 if (ndx == 0 || ndx == 1)
10471 /* rctl_get_limits */
10473 if (ndx == 0 || ndx == 1)
10476 /* rctl_add_rule */
10478 if (ndx == 0 || ndx == 1)
10481 /* rctl_remove_rule */
10483 if (ndx == 0 || ndx == 1)
10486 /* posix_fallocate */
10488 if (ndx == 0 || ndx == 1)
10491 /* posix_fadvise */
10493 if (ndx == 0 || ndx == 1)
10498 if (ndx == 0 || ndx == 1)
10501 /* cap_rights_limit */
10503 if (ndx == 0 || ndx == 1)
10506 /* cap_ioctls_limit */
10508 if (ndx == 0 || ndx == 1)
10511 /* cap_ioctls_get */
10513 if (ndx == 0 || ndx == 1)
10516 /* cap_fcntls_limit */
10518 if (ndx == 0 || ndx == 1)
10521 /* cap_fcntls_get */
10523 if (ndx == 0 || ndx == 1)
10528 if (ndx == 0 || ndx == 1)
10533 if (ndx == 0 || ndx == 1)
10538 if (ndx == 0 || ndx == 1)
10543 if (ndx == 0 || ndx == 1)
10548 if (ndx == 0 || ndx == 1)
10553 if (ndx == 0 || ndx == 1)
10558 if (ndx == 0 || ndx == 1)
10563 if (ndx == 0 || ndx == 1)
10568 if (ndx == 0 || ndx == 1)
10573 if (ndx == 0 || ndx == 1)
10578 if (ndx == 0 || ndx == 1)
10583 if (ndx == 0 || ndx == 1)
10588 if (ndx == 0 || ndx == 1)
10593 if (ndx == 0 || ndx == 1)
10596 /* getdirentries */
10598 if (ndx == 0 || ndx == 1)
10603 if (ndx == 0 || ndx == 1)
10608 if (ndx == 0 || ndx == 1)
10613 if (ndx == 0 || ndx == 1)
10618 if (ndx == 0 || ndx == 1)
10623 if (ndx == 0 || ndx == 1)
10628 if (ndx == 0 || ndx == 1)
10631 /* cpuset_getdomain */
10633 if (ndx == 0 || ndx == 1)
10636 /* cpuset_setdomain */
10638 if (ndx == 0 || ndx == 1)
10645 strlcpy(desc, p, descsz);