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 mknod_args *p = params;
107 uarg[0] = (intptr_t) p->path; /* char * */
108 iarg[1] = p->mode; /* int */
109 iarg[2] = p->dev; /* int */
115 struct chmod_args *p = params;
116 uarg[0] = (intptr_t) p->path; /* char * */
117 iarg[1] = p->mode; /* int */
123 struct chown_args *p = params;
124 uarg[0] = (intptr_t) p->path; /* char * */
125 iarg[1] = p->uid; /* int */
126 iarg[2] = p->gid; /* int */
132 struct obreak_args *p = params;
133 uarg[0] = (intptr_t) p->nsize; /* char * */
144 struct mount_args *p = params;
145 uarg[0] = (intptr_t) p->type; /* char * */
146 uarg[1] = (intptr_t) p->path; /* char * */
147 iarg[2] = p->flags; /* int */
148 uarg[3] = (intptr_t) p->data; /* caddr_t */
154 struct unmount_args *p = params;
155 uarg[0] = (intptr_t) p->path; /* char * */
156 iarg[1] = p->flags; /* int */
162 struct setuid_args *p = params;
163 uarg[0] = p->uid; /* uid_t */
179 struct ptrace_args *p = params;
180 iarg[0] = p->req; /* int */
181 iarg[1] = p->pid; /* pid_t */
182 uarg[2] = (intptr_t) p->addr; /* caddr_t */
183 iarg[3] = p->data; /* int */
189 struct recvmsg_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 sendmsg_args *p = params;
199 iarg[0] = p->s; /* int */
200 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
201 iarg[2] = p->flags; /* int */
207 struct recvfrom_args *p = params;
208 iarg[0] = p->s; /* int */
209 uarg[1] = (intptr_t) p->buf; /* caddr_t */
210 uarg[2] = p->len; /* size_t */
211 iarg[3] = p->flags; /* int */
212 uarg[4] = (intptr_t) p->from; /* struct sockaddr * */
213 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
219 struct accept_args *p = params;
220 iarg[0] = p->s; /* int */
221 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
222 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
228 struct getpeername_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 getsockname_args *p = params;
238 iarg[0] = p->fdes; /* int */
239 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */
240 uarg[2] = (intptr_t) p->alen; /* __socklen_t * */
246 struct access_args *p = params;
247 uarg[0] = (intptr_t) p->path; /* char * */
248 iarg[1] = p->amode; /* int */
254 struct chflags_args *p = params;
255 uarg[0] = (intptr_t) p->path; /* const char * */
256 uarg[1] = p->flags; /* u_long */
262 struct fchflags_args *p = params;
263 iarg[0] = p->fd; /* int */
264 uarg[1] = p->flags; /* u_long */
275 struct kill_args *p = params;
276 iarg[0] = p->pid; /* int */
277 iarg[1] = p->signum; /* int */
288 struct dup_args *p = params;
289 uarg[0] = p->fd; /* u_int */
300 struct profil_args *p = params;
301 uarg[0] = (intptr_t) p->samples; /* caddr_t */
302 uarg[1] = p->size; /* size_t */
303 uarg[2] = p->offset; /* size_t */
304 uarg[3] = p->scale; /* u_int */
310 struct ktrace_args *p = params;
311 uarg[0] = (intptr_t) p->fname; /* const char * */
312 iarg[1] = p->ops; /* int */
313 iarg[2] = p->facs; /* int */
314 iarg[3] = p->pid; /* int */
325 struct getlogin_args *p = params;
326 uarg[0] = (intptr_t) p->namebuf; /* char * */
327 uarg[1] = p->namelen; /* u_int */
333 struct setlogin_args *p = params;
334 uarg[0] = (intptr_t) p->namebuf; /* char * */
340 struct acct_args *p = params;
341 uarg[0] = (intptr_t) p->path; /* char * */
347 struct sigaltstack_args *p = params;
348 uarg[0] = (intptr_t) p->ss; /* stack_t * */
349 uarg[1] = (intptr_t) p->oss; /* stack_t * */
355 struct ioctl_args *p = params;
356 iarg[0] = p->fd; /* int */
357 uarg[1] = p->com; /* u_long */
358 uarg[2] = (intptr_t) p->data; /* caddr_t */
364 struct reboot_args *p = params;
365 iarg[0] = p->opt; /* int */
371 struct revoke_args *p = params;
372 uarg[0] = (intptr_t) p->path; /* char * */
378 struct symlink_args *p = params;
379 uarg[0] = (intptr_t) p->path; /* char * */
380 uarg[1] = (intptr_t) p->link; /* char * */
386 struct readlink_args *p = params;
387 uarg[0] = (intptr_t) p->path; /* char * */
388 uarg[1] = (intptr_t) p->buf; /* char * */
389 uarg[2] = p->count; /* size_t */
395 struct execve_args *p = params;
396 uarg[0] = (intptr_t) p->fname; /* char * */
397 uarg[1] = (intptr_t) p->argv; /* char ** */
398 uarg[2] = (intptr_t) p->envv; /* char ** */
404 struct umask_args *p = params;
405 iarg[0] = p->newmask; /* int */
411 struct chroot_args *p = params;
412 uarg[0] = (intptr_t) p->path; /* char * */
418 struct msync_args *p = params;
419 uarg[0] = (intptr_t) p->addr; /* void * */
420 uarg[1] = p->len; /* size_t */
421 iarg[2] = p->flags; /* int */
432 struct sbrk_args *p = params;
433 iarg[0] = p->incr; /* int */
439 struct sstk_args *p = params;
440 iarg[0] = p->incr; /* int */
446 struct ovadvise_args *p = params;
447 iarg[0] = p->anom; /* int */
453 struct munmap_args *p = params;
454 uarg[0] = (intptr_t) p->addr; /* void * */
455 uarg[1] = p->len; /* size_t */
461 struct mprotect_args *p = params;
462 uarg[0] = (intptr_t) p->addr; /* void * */
463 uarg[1] = p->len; /* size_t */
464 iarg[2] = p->prot; /* int */
470 struct madvise_args *p = params;
471 uarg[0] = (intptr_t) p->addr; /* void * */
472 uarg[1] = p->len; /* size_t */
473 iarg[2] = p->behav; /* int */
479 struct mincore_args *p = params;
480 uarg[0] = (intptr_t) p->addr; /* const void * */
481 uarg[1] = p->len; /* size_t */
482 uarg[2] = (intptr_t) p->vec; /* char * */
488 struct getgroups_args *p = params;
489 uarg[0] = p->gidsetsize; /* u_int */
490 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
496 struct setgroups_args *p = params;
497 uarg[0] = p->gidsetsize; /* u_int */
498 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
509 struct setpgid_args *p = params;
510 iarg[0] = p->pid; /* int */
511 iarg[1] = p->pgid; /* int */
517 struct setitimer_args *p = params;
518 uarg[0] = p->which; /* u_int */
519 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
520 uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */
526 struct swapon_args *p = params;
527 uarg[0] = (intptr_t) p->name; /* char * */
533 struct getitimer_args *p = params;
534 uarg[0] = p->which; /* u_int */
535 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
546 struct dup2_args *p = params;
547 uarg[0] = p->from; /* u_int */
548 uarg[1] = p->to; /* u_int */
554 struct fcntl_args *p = params;
555 iarg[0] = p->fd; /* int */
556 iarg[1] = p->cmd; /* int */
557 iarg[2] = p->arg; /* long */
563 struct select_args *p = params;
564 iarg[0] = p->nd; /* int */
565 uarg[1] = (intptr_t) p->in; /* fd_set * */
566 uarg[2] = (intptr_t) p->ou; /* fd_set * */
567 uarg[3] = (intptr_t) p->ex; /* fd_set * */
568 uarg[4] = (intptr_t) p->tv; /* struct timeval * */
574 struct fsync_args *p = params;
575 iarg[0] = p->fd; /* int */
581 struct setpriority_args *p = params;
582 iarg[0] = p->which; /* int */
583 iarg[1] = p->who; /* int */
584 iarg[2] = p->prio; /* int */
590 struct socket_args *p = params;
591 iarg[0] = p->domain; /* int */
592 iarg[1] = p->type; /* int */
593 iarg[2] = p->protocol; /* int */
599 struct connect_args *p = params;
600 iarg[0] = p->s; /* int */
601 uarg[1] = (intptr_t) p->name; /* caddr_t */
602 iarg[2] = p->namelen; /* int */
608 struct getpriority_args *p = params;
609 iarg[0] = p->which; /* int */
610 iarg[1] = p->who; /* int */
616 struct bind_args *p = params;
617 iarg[0] = p->s; /* int */
618 uarg[1] = (intptr_t) p->name; /* caddr_t */
619 iarg[2] = p->namelen; /* int */
625 struct setsockopt_args *p = params;
626 iarg[0] = p->s; /* int */
627 iarg[1] = p->level; /* int */
628 iarg[2] = p->name; /* int */
629 uarg[3] = (intptr_t) p->val; /* caddr_t */
630 iarg[4] = p->valsize; /* int */
636 struct listen_args *p = params;
637 iarg[0] = p->s; /* int */
638 iarg[1] = p->backlog; /* int */
644 struct gettimeofday_args *p = params;
645 uarg[0] = (intptr_t) p->tp; /* struct timeval * */
646 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
652 struct getrusage_args *p = params;
653 iarg[0] = p->who; /* int */
654 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
660 struct getsockopt_args *p = params;
661 iarg[0] = p->s; /* int */
662 iarg[1] = p->level; /* int */
663 iarg[2] = p->name; /* int */
664 uarg[3] = (intptr_t) p->val; /* caddr_t */
665 uarg[4] = (intptr_t) p->avalsize; /* int * */
671 struct readv_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 writev_args *p = params;
681 iarg[0] = p->fd; /* int */
682 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
683 uarg[2] = p->iovcnt; /* u_int */
689 struct settimeofday_args *p = params;
690 uarg[0] = (intptr_t) p->tv; /* struct timeval * */
691 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
697 struct fchown_args *p = params;
698 iarg[0] = p->fd; /* int */
699 iarg[1] = p->uid; /* int */
700 iarg[2] = p->gid; /* int */
706 struct fchmod_args *p = params;
707 iarg[0] = p->fd; /* int */
708 iarg[1] = p->mode; /* int */
714 struct setreuid_args *p = params;
715 iarg[0] = p->ruid; /* int */
716 iarg[1] = p->euid; /* int */
722 struct setregid_args *p = params;
723 iarg[0] = p->rgid; /* int */
724 iarg[1] = p->egid; /* int */
730 struct rename_args *p = params;
731 uarg[0] = (intptr_t) p->from; /* char * */
732 uarg[1] = (intptr_t) p->to; /* char * */
738 struct flock_args *p = params;
739 iarg[0] = p->fd; /* int */
740 iarg[1] = p->how; /* int */
746 struct mkfifo_args *p = params;
747 uarg[0] = (intptr_t) p->path; /* char * */
748 iarg[1] = p->mode; /* int */
754 struct sendto_args *p = params;
755 iarg[0] = p->s; /* int */
756 uarg[1] = (intptr_t) p->buf; /* caddr_t */
757 uarg[2] = p->len; /* size_t */
758 iarg[3] = p->flags; /* int */
759 uarg[4] = (intptr_t) p->to; /* caddr_t */
760 iarg[5] = p->tolen; /* int */
766 struct shutdown_args *p = params;
767 iarg[0] = p->s; /* int */
768 iarg[1] = p->how; /* int */
774 struct socketpair_args *p = params;
775 iarg[0] = p->domain; /* int */
776 iarg[1] = p->type; /* int */
777 iarg[2] = p->protocol; /* int */
778 uarg[3] = (intptr_t) p->rsv; /* int * */
784 struct mkdir_args *p = params;
785 uarg[0] = (intptr_t) p->path; /* char * */
786 iarg[1] = p->mode; /* int */
792 struct rmdir_args *p = params;
793 uarg[0] = (intptr_t) p->path; /* char * */
799 struct utimes_args *p = params;
800 uarg[0] = (intptr_t) p->path; /* char * */
801 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
807 struct adjtime_args *p = params;
808 uarg[0] = (intptr_t) p->delta; /* struct timeval * */
809 uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */
820 struct quotactl_args *p = params;
821 uarg[0] = (intptr_t) p->path; /* char * */
822 iarg[1] = p->cmd; /* int */
823 iarg[2] = p->uid; /* int */
824 uarg[3] = (intptr_t) p->arg; /* caddr_t */
830 struct nlm_syscall_args *p = params;
831 iarg[0] = p->debug_level; /* int */
832 iarg[1] = p->grace_period; /* int */
833 iarg[2] = p->addr_count; /* int */
834 uarg[3] = (intptr_t) p->addrs; /* char ** */
840 struct nfssvc_args *p = params;
841 iarg[0] = p->flag; /* int */
842 uarg[1] = (intptr_t) p->argp; /* caddr_t */
848 struct lgetfh_args *p = params;
849 uarg[0] = (intptr_t) p->fname; /* char * */
850 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
856 struct getfh_args *p = params;
857 uarg[0] = (intptr_t) p->fname; /* char * */
858 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
864 struct sysarch_args *p = params;
865 iarg[0] = p->op; /* int */
866 uarg[1] = (intptr_t) p->parms; /* char * */
872 struct rtprio_args *p = params;
873 iarg[0] = p->function; /* int */
874 iarg[1] = p->pid; /* pid_t */
875 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
881 struct semsys_args *p = params;
882 iarg[0] = p->which; /* int */
883 iarg[1] = p->a2; /* int */
884 iarg[2] = p->a3; /* int */
885 iarg[3] = p->a4; /* int */
886 iarg[4] = p->a5; /* int */
892 struct msgsys_args *p = params;
893 iarg[0] = p->which; /* int */
894 iarg[1] = p->a2; /* int */
895 iarg[2] = p->a3; /* int */
896 iarg[3] = p->a4; /* int */
897 iarg[4] = p->a5; /* int */
898 iarg[5] = p->a6; /* int */
904 struct shmsys_args *p = params;
905 iarg[0] = p->which; /* int */
906 iarg[1] = p->a2; /* int */
907 iarg[2] = p->a3; /* int */
908 iarg[3] = p->a4; /* int */
914 struct setfib_args *p = params;
915 iarg[0] = p->fibnum; /* int */
921 struct ntp_adjtime_args *p = params;
922 uarg[0] = (intptr_t) p->tp; /* struct timex * */
928 struct setgid_args *p = params;
929 iarg[0] = p->gid; /* gid_t */
935 struct setegid_args *p = params;
936 iarg[0] = p->egid; /* gid_t */
942 struct seteuid_args *p = params;
943 uarg[0] = p->euid; /* uid_t */
949 struct stat_args *p = params;
950 uarg[0] = (intptr_t) p->path; /* char * */
951 uarg[1] = (intptr_t) p->ub; /* struct stat * */
957 struct fstat_args *p = params;
958 iarg[0] = p->fd; /* int */
959 uarg[1] = (intptr_t) p->sb; /* struct stat * */
965 struct lstat_args *p = params;
966 uarg[0] = (intptr_t) p->path; /* char * */
967 uarg[1] = (intptr_t) p->ub; /* struct stat * */
973 struct pathconf_args *p = params;
974 uarg[0] = (intptr_t) p->path; /* char * */
975 iarg[1] = p->name; /* int */
981 struct fpathconf_args *p = params;
982 iarg[0] = p->fd; /* int */
983 iarg[1] = p->name; /* int */
989 struct __getrlimit_args *p = params;
990 uarg[0] = p->which; /* u_int */
991 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
997 struct __setrlimit_args *p = params;
998 uarg[0] = p->which; /* u_int */
999 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1005 struct getdirentries_args *p = params;
1006 iarg[0] = p->fd; /* int */
1007 uarg[1] = (intptr_t) p->buf; /* char * */
1008 uarg[2] = p->count; /* u_int */
1009 uarg[3] = (intptr_t) p->basep; /* long * */
1020 struct sysctl_args *p = params;
1021 uarg[0] = (intptr_t) p->name; /* int * */
1022 uarg[1] = p->namelen; /* u_int */
1023 uarg[2] = (intptr_t) p->old; /* void * */
1024 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
1025 uarg[4] = (intptr_t) p->new; /* void * */
1026 uarg[5] = p->newlen; /* size_t */
1032 struct mlock_args *p = params;
1033 uarg[0] = (intptr_t) p->addr; /* const void * */
1034 uarg[1] = p->len; /* size_t */
1040 struct munlock_args *p = params;
1041 uarg[0] = (intptr_t) p->addr; /* const void * */
1042 uarg[1] = p->len; /* size_t */
1048 struct undelete_args *p = params;
1049 uarg[0] = (intptr_t) p->path; /* char * */
1055 struct futimes_args *p = params;
1056 iarg[0] = p->fd; /* int */
1057 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1063 struct getpgid_args *p = params;
1064 iarg[0] = p->pid; /* pid_t */
1070 struct poll_args *p = params;
1071 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1072 uarg[1] = p->nfds; /* u_int */
1073 iarg[2] = p->timeout; /* int */
1129 struct semget_args *p = params;
1130 iarg[0] = p->key; /* key_t */
1131 iarg[1] = p->nsems; /* int */
1132 iarg[2] = p->semflg; /* int */
1138 struct semop_args *p = params;
1139 iarg[0] = p->semid; /* int */
1140 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1141 uarg[2] = p->nsops; /* size_t */
1147 struct msgget_args *p = params;
1148 iarg[0] = p->key; /* key_t */
1149 iarg[1] = p->msgflg; /* int */
1155 struct msgsnd_args *p = params;
1156 iarg[0] = p->msqid; /* int */
1157 uarg[1] = (intptr_t) p->msgp; /* const void * */
1158 uarg[2] = p->msgsz; /* size_t */
1159 iarg[3] = p->msgflg; /* int */
1165 struct msgrcv_args *p = params;
1166 iarg[0] = p->msqid; /* int */
1167 uarg[1] = (intptr_t) p->msgp; /* void * */
1168 uarg[2] = p->msgsz; /* size_t */
1169 iarg[3] = p->msgtyp; /* long */
1170 iarg[4] = p->msgflg; /* int */
1176 struct shmat_args *p = params;
1177 iarg[0] = p->shmid; /* int */
1178 uarg[1] = (intptr_t) p->shmaddr; /* const void * */
1179 iarg[2] = p->shmflg; /* int */
1185 struct shmdt_args *p = params;
1186 uarg[0] = (intptr_t) p->shmaddr; /* const void * */
1192 struct shmget_args *p = params;
1193 iarg[0] = p->key; /* key_t */
1194 uarg[1] = p->size; /* size_t */
1195 iarg[2] = p->shmflg; /* int */
1201 struct clock_gettime_args *p = params;
1202 iarg[0] = p->clock_id; /* clockid_t */
1203 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1209 struct clock_settime_args *p = params;
1210 iarg[0] = p->clock_id; /* clockid_t */
1211 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */
1217 struct clock_getres_args *p = params;
1218 iarg[0] = p->clock_id; /* clockid_t */
1219 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1225 struct ktimer_create_args *p = params;
1226 iarg[0] = p->clock_id; /* clockid_t */
1227 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1228 uarg[2] = (intptr_t) p->timerid; /* int * */
1234 struct ktimer_delete_args *p = params;
1235 iarg[0] = p->timerid; /* int */
1239 /* ktimer_settime */
1241 struct ktimer_settime_args *p = params;
1242 iarg[0] = p->timerid; /* int */
1243 iarg[1] = p->flags; /* int */
1244 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */
1245 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */
1249 /* ktimer_gettime */
1251 struct ktimer_gettime_args *p = params;
1252 iarg[0] = p->timerid; /* int */
1253 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */
1257 /* ktimer_getoverrun */
1259 struct ktimer_getoverrun_args *p = params;
1260 iarg[0] = p->timerid; /* int */
1266 struct nanosleep_args *p = params;
1267 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */
1268 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */
1272 /* ffclock_getcounter */
1274 struct ffclock_getcounter_args *p = params;
1275 uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */
1279 /* ffclock_setestimate */
1281 struct ffclock_setestimate_args *p = params;
1282 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1286 /* ffclock_getestimate */
1288 struct ffclock_getestimate_args *p = params;
1289 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1293 /* clock_getcpuclockid2 */
1295 struct clock_getcpuclockid2_args *p = params;
1296 iarg[0] = p->id; /* id_t */
1297 iarg[1] = p->which; /* int */
1298 uarg[2] = (intptr_t) p->clock_id; /* clockid_t * */
1304 struct ntp_gettime_args *p = params;
1305 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1311 struct minherit_args *p = params;
1312 uarg[0] = (intptr_t) p->addr; /* void * */
1313 uarg[1] = p->len; /* size_t */
1314 iarg[2] = p->inherit; /* int */
1320 struct rfork_args *p = params;
1321 iarg[0] = p->flags; /* int */
1332 struct lchown_args *p = params;
1333 uarg[0] = (intptr_t) p->path; /* char * */
1334 iarg[1] = p->uid; /* int */
1335 iarg[2] = p->gid; /* int */
1341 struct aio_read_args *p = params;
1342 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1348 struct aio_write_args *p = params;
1349 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1355 struct lio_listio_args *p = params;
1356 iarg[0] = p->mode; /* int */
1357 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1358 iarg[2] = p->nent; /* int */
1359 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1365 struct getdents_args *p = params;
1366 iarg[0] = p->fd; /* int */
1367 uarg[1] = (intptr_t) p->buf; /* char * */
1368 uarg[2] = p->count; /* size_t */
1374 struct lchmod_args *p = params;
1375 uarg[0] = (intptr_t) p->path; /* char * */
1376 iarg[1] = p->mode; /* mode_t */
1382 struct lchown_args *p = params;
1383 uarg[0] = (intptr_t) p->path; /* char * */
1384 uarg[1] = p->uid; /* uid_t */
1385 iarg[2] = p->gid; /* gid_t */
1391 struct lutimes_args *p = params;
1392 uarg[0] = (intptr_t) p->path; /* char * */
1393 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1399 struct msync_args *p = params;
1400 uarg[0] = (intptr_t) p->addr; /* void * */
1401 uarg[1] = p->len; /* size_t */
1402 iarg[2] = p->flags; /* int */
1408 struct nstat_args *p = params;
1409 uarg[0] = (intptr_t) p->path; /* char * */
1410 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1416 struct nfstat_args *p = params;
1417 iarg[0] = p->fd; /* int */
1418 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1424 struct nlstat_args *p = params;
1425 uarg[0] = (intptr_t) p->path; /* char * */
1426 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1432 struct preadv_args *p = params;
1433 iarg[0] = p->fd; /* int */
1434 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1435 uarg[2] = p->iovcnt; /* u_int */
1436 iarg[3] = p->offset; /* off_t */
1442 struct pwritev_args *p = params;
1443 iarg[0] = p->fd; /* int */
1444 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1445 uarg[2] = p->iovcnt; /* u_int */
1446 iarg[3] = p->offset; /* off_t */
1452 struct fhopen_args *p = params;
1453 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1454 iarg[1] = p->flags; /* int */
1460 struct fhstat_args *p = params;
1461 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1462 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1468 struct modnext_args *p = params;
1469 iarg[0] = p->modid; /* int */
1475 struct modstat_args *p = params;
1476 iarg[0] = p->modid; /* int */
1477 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1483 struct modfnext_args *p = params;
1484 iarg[0] = p->modid; /* int */
1490 struct modfind_args *p = params;
1491 uarg[0] = (intptr_t) p->name; /* const char * */
1497 struct kldload_args *p = params;
1498 uarg[0] = (intptr_t) p->file; /* const char * */
1504 struct kldunload_args *p = params;
1505 iarg[0] = p->fileid; /* int */
1511 struct kldfind_args *p = params;
1512 uarg[0] = (intptr_t) p->file; /* const char * */
1518 struct kldnext_args *p = params;
1519 iarg[0] = p->fileid; /* int */
1525 struct kldstat_args *p = params;
1526 iarg[0] = p->fileid; /* int */
1527 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1533 struct kldfirstmod_args *p = params;
1534 iarg[0] = p->fileid; /* int */
1540 struct getsid_args *p = params;
1541 iarg[0] = p->pid; /* pid_t */
1547 struct setresuid_args *p = params;
1548 uarg[0] = p->ruid; /* uid_t */
1549 uarg[1] = p->euid; /* uid_t */
1550 uarg[2] = p->suid; /* uid_t */
1556 struct setresgid_args *p = params;
1557 iarg[0] = p->rgid; /* gid_t */
1558 iarg[1] = p->egid; /* gid_t */
1559 iarg[2] = p->sgid; /* gid_t */
1565 struct aio_return_args *p = params;
1566 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1572 struct aio_suspend_args *p = params;
1573 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1574 iarg[1] = p->nent; /* int */
1575 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1581 struct aio_cancel_args *p = params;
1582 iarg[0] = p->fd; /* int */
1583 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1589 struct aio_error_args *p = params;
1590 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1601 struct mlockall_args *p = params;
1602 iarg[0] = p->how; /* int */
1613 struct __getcwd_args *p = params;
1614 uarg[0] = (intptr_t) p->buf; /* char * */
1615 uarg[1] = p->buflen; /* u_int */
1619 /* sched_setparam */
1621 struct sched_setparam_args *p = params;
1622 iarg[0] = p->pid; /* pid_t */
1623 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1627 /* sched_getparam */
1629 struct sched_getparam_args *p = params;
1630 iarg[0] = p->pid; /* pid_t */
1631 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1635 /* sched_setscheduler */
1637 struct sched_setscheduler_args *p = params;
1638 iarg[0] = p->pid; /* pid_t */
1639 iarg[1] = p->policy; /* int */
1640 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1644 /* sched_getscheduler */
1646 struct sched_getscheduler_args *p = params;
1647 iarg[0] = p->pid; /* pid_t */
1656 /* sched_get_priority_max */
1658 struct sched_get_priority_max_args *p = params;
1659 iarg[0] = p->policy; /* int */
1663 /* sched_get_priority_min */
1665 struct sched_get_priority_min_args *p = params;
1666 iarg[0] = p->policy; /* int */
1670 /* sched_rr_get_interval */
1672 struct sched_rr_get_interval_args *p = params;
1673 iarg[0] = p->pid; /* pid_t */
1674 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1680 struct utrace_args *p = params;
1681 uarg[0] = (intptr_t) p->addr; /* const void * */
1682 uarg[1] = p->len; /* size_t */
1688 struct kldsym_args *p = params;
1689 iarg[0] = p->fileid; /* int */
1690 iarg[1] = p->cmd; /* int */
1691 uarg[2] = (intptr_t) p->data; /* void * */
1697 struct jail_args *p = params;
1698 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1704 struct nnpfs_syscall_args *p = params;
1705 iarg[0] = p->operation; /* int */
1706 uarg[1] = (intptr_t) p->a_pathP; /* char * */
1707 iarg[2] = p->a_opcode; /* int */
1708 uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1709 iarg[4] = p->a_followSymlinks; /* int */
1715 struct sigprocmask_args *p = params;
1716 iarg[0] = p->how; /* int */
1717 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1718 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1724 struct sigsuspend_args *p = params;
1725 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1731 struct sigpending_args *p = params;
1732 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1738 struct sigtimedwait_args *p = params;
1739 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1740 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1741 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1747 struct sigwaitinfo_args *p = params;
1748 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1749 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1753 /* __acl_get_file */
1755 struct __acl_get_file_args *p = params;
1756 uarg[0] = (intptr_t) p->path; /* const char * */
1757 iarg[1] = p->type; /* acl_type_t */
1758 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1762 /* __acl_set_file */
1764 struct __acl_set_file_args *p = params;
1765 uarg[0] = (intptr_t) p->path; /* const char * */
1766 iarg[1] = p->type; /* acl_type_t */
1767 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1773 struct __acl_get_fd_args *p = params;
1774 iarg[0] = p->filedes; /* int */
1775 iarg[1] = p->type; /* acl_type_t */
1776 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1782 struct __acl_set_fd_args *p = params;
1783 iarg[0] = p->filedes; /* int */
1784 iarg[1] = p->type; /* acl_type_t */
1785 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1789 /* __acl_delete_file */
1791 struct __acl_delete_file_args *p = params;
1792 uarg[0] = (intptr_t) p->path; /* const char * */
1793 iarg[1] = p->type; /* acl_type_t */
1797 /* __acl_delete_fd */
1799 struct __acl_delete_fd_args *p = params;
1800 iarg[0] = p->filedes; /* int */
1801 iarg[1] = p->type; /* acl_type_t */
1805 /* __acl_aclcheck_file */
1807 struct __acl_aclcheck_file_args *p = params;
1808 uarg[0] = (intptr_t) p->path; /* const char * */
1809 iarg[1] = p->type; /* acl_type_t */
1810 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1814 /* __acl_aclcheck_fd */
1816 struct __acl_aclcheck_fd_args *p = params;
1817 iarg[0] = p->filedes; /* int */
1818 iarg[1] = p->type; /* acl_type_t */
1819 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1825 struct extattrctl_args *p = params;
1826 uarg[0] = (intptr_t) p->path; /* const char * */
1827 iarg[1] = p->cmd; /* int */
1828 uarg[2] = (intptr_t) p->filename; /* const char * */
1829 iarg[3] = p->attrnamespace; /* int */
1830 uarg[4] = (intptr_t) p->attrname; /* const char * */
1834 /* extattr_set_file */
1836 struct extattr_set_file_args *p = params;
1837 uarg[0] = (intptr_t) p->path; /* const char * */
1838 iarg[1] = p->attrnamespace; /* int */
1839 uarg[2] = (intptr_t) p->attrname; /* const char * */
1840 uarg[3] = (intptr_t) p->data; /* void * */
1841 uarg[4] = p->nbytes; /* size_t */
1845 /* extattr_get_file */
1847 struct extattr_get_file_args *p = params;
1848 uarg[0] = (intptr_t) p->path; /* const char * */
1849 iarg[1] = p->attrnamespace; /* int */
1850 uarg[2] = (intptr_t) p->attrname; /* const char * */
1851 uarg[3] = (intptr_t) p->data; /* void * */
1852 uarg[4] = p->nbytes; /* size_t */
1856 /* extattr_delete_file */
1858 struct extattr_delete_file_args *p = params;
1859 uarg[0] = (intptr_t) p->path; /* const char * */
1860 iarg[1] = p->attrnamespace; /* int */
1861 uarg[2] = (intptr_t) p->attrname; /* const char * */
1865 /* aio_waitcomplete */
1867 struct aio_waitcomplete_args *p = params;
1868 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1869 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1875 struct getresuid_args *p = params;
1876 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1877 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1878 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1884 struct getresgid_args *p = params;
1885 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1886 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1887 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1898 struct kevent_args *p = params;
1899 iarg[0] = p->fd; /* int */
1900 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
1901 iarg[2] = p->nchanges; /* int */
1902 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
1903 iarg[4] = p->nevents; /* int */
1904 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
1908 /* extattr_set_fd */
1910 struct extattr_set_fd_args *p = params;
1911 iarg[0] = p->fd; /* int */
1912 iarg[1] = p->attrnamespace; /* int */
1913 uarg[2] = (intptr_t) p->attrname; /* const char * */
1914 uarg[3] = (intptr_t) p->data; /* void * */
1915 uarg[4] = p->nbytes; /* size_t */
1919 /* extattr_get_fd */
1921 struct extattr_get_fd_args *p = params;
1922 iarg[0] = p->fd; /* int */
1923 iarg[1] = p->attrnamespace; /* int */
1924 uarg[2] = (intptr_t) p->attrname; /* const char * */
1925 uarg[3] = (intptr_t) p->data; /* void * */
1926 uarg[4] = p->nbytes; /* size_t */
1930 /* extattr_delete_fd */
1932 struct extattr_delete_fd_args *p = params;
1933 iarg[0] = p->fd; /* int */
1934 iarg[1] = p->attrnamespace; /* int */
1935 uarg[2] = (intptr_t) p->attrname; /* const char * */
1941 struct __setugid_args *p = params;
1942 iarg[0] = p->flag; /* int */
1948 struct eaccess_args *p = params;
1949 uarg[0] = (intptr_t) p->path; /* char * */
1950 iarg[1] = p->amode; /* int */
1956 struct afs3_syscall_args *p = params;
1957 iarg[0] = p->syscall; /* long */
1958 iarg[1] = p->parm1; /* long */
1959 iarg[2] = p->parm2; /* long */
1960 iarg[3] = p->parm3; /* long */
1961 iarg[4] = p->parm4; /* long */
1962 iarg[5] = p->parm5; /* long */
1963 iarg[6] = p->parm6; /* long */
1969 struct nmount_args *p = params;
1970 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
1971 uarg[1] = p->iovcnt; /* unsigned int */
1972 iarg[2] = p->flags; /* int */
1976 /* __mac_get_proc */
1978 struct __mac_get_proc_args *p = params;
1979 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
1983 /* __mac_set_proc */
1985 struct __mac_set_proc_args *p = params;
1986 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
1992 struct __mac_get_fd_args *p = params;
1993 iarg[0] = p->fd; /* int */
1994 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
1998 /* __mac_get_file */
2000 struct __mac_get_file_args *p = params;
2001 uarg[0] = (intptr_t) p->path_p; /* const char * */
2002 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2008 struct __mac_set_fd_args *p = params;
2009 iarg[0] = p->fd; /* int */
2010 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2014 /* __mac_set_file */
2016 struct __mac_set_file_args *p = params;
2017 uarg[0] = (intptr_t) p->path_p; /* const char * */
2018 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2024 struct kenv_args *p = params;
2025 iarg[0] = p->what; /* int */
2026 uarg[1] = (intptr_t) p->name; /* const char * */
2027 uarg[2] = (intptr_t) p->value; /* char * */
2028 iarg[3] = p->len; /* int */
2034 struct lchflags_args *p = params;
2035 uarg[0] = (intptr_t) p->path; /* const char * */
2036 uarg[1] = p->flags; /* u_long */
2042 struct uuidgen_args *p = params;
2043 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2044 iarg[1] = p->count; /* int */
2050 struct sendfile_args *p = params;
2051 iarg[0] = p->fd; /* int */
2052 iarg[1] = p->s; /* int */
2053 iarg[2] = p->offset; /* off_t */
2054 uarg[3] = p->nbytes; /* size_t */
2055 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2056 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2057 iarg[6] = p->flags; /* int */
2063 struct mac_syscall_args *p = params;
2064 uarg[0] = (intptr_t) p->policy; /* const char * */
2065 iarg[1] = p->call; /* int */
2066 uarg[2] = (intptr_t) p->arg; /* void * */
2072 struct getfsstat_args *p = params;
2073 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2074 iarg[1] = p->bufsize; /* long */
2075 iarg[2] = p->flags; /* int */
2081 struct statfs_args *p = params;
2082 uarg[0] = (intptr_t) p->path; /* char * */
2083 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2089 struct fstatfs_args *p = params;
2090 iarg[0] = p->fd; /* int */
2091 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2097 struct fhstatfs_args *p = params;
2098 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2099 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2105 struct ksem_close_args *p = params;
2106 iarg[0] = p->id; /* semid_t */
2112 struct ksem_post_args *p = params;
2113 iarg[0] = p->id; /* semid_t */
2119 struct ksem_wait_args *p = params;
2120 iarg[0] = p->id; /* semid_t */
2126 struct ksem_trywait_args *p = params;
2127 iarg[0] = p->id; /* semid_t */
2133 struct ksem_init_args *p = params;
2134 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2135 uarg[1] = p->value; /* unsigned int */
2141 struct ksem_open_args *p = params;
2142 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2143 uarg[1] = (intptr_t) p->name; /* const char * */
2144 iarg[2] = p->oflag; /* int */
2145 iarg[3] = p->mode; /* mode_t */
2146 uarg[4] = p->value; /* unsigned int */
2152 struct ksem_unlink_args *p = params;
2153 uarg[0] = (intptr_t) p->name; /* const char * */
2159 struct ksem_getvalue_args *p = params;
2160 iarg[0] = p->id; /* semid_t */
2161 uarg[1] = (intptr_t) p->val; /* int * */
2167 struct ksem_destroy_args *p = params;
2168 iarg[0] = p->id; /* semid_t */
2174 struct __mac_get_pid_args *p = params;
2175 iarg[0] = p->pid; /* pid_t */
2176 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2180 /* __mac_get_link */
2182 struct __mac_get_link_args *p = params;
2183 uarg[0] = (intptr_t) p->path_p; /* const char * */
2184 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2188 /* __mac_set_link */
2190 struct __mac_set_link_args *p = params;
2191 uarg[0] = (intptr_t) p->path_p; /* const char * */
2192 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2196 /* extattr_set_link */
2198 struct extattr_set_link_args *p = params;
2199 uarg[0] = (intptr_t) p->path; /* const char * */
2200 iarg[1] = p->attrnamespace; /* int */
2201 uarg[2] = (intptr_t) p->attrname; /* const char * */
2202 uarg[3] = (intptr_t) p->data; /* void * */
2203 uarg[4] = p->nbytes; /* size_t */
2207 /* extattr_get_link */
2209 struct extattr_get_link_args *p = params;
2210 uarg[0] = (intptr_t) p->path; /* const char * */
2211 iarg[1] = p->attrnamespace; /* int */
2212 uarg[2] = (intptr_t) p->attrname; /* const char * */
2213 uarg[3] = (intptr_t) p->data; /* void * */
2214 uarg[4] = p->nbytes; /* size_t */
2218 /* extattr_delete_link */
2220 struct extattr_delete_link_args *p = params;
2221 uarg[0] = (intptr_t) p->path; /* const char * */
2222 iarg[1] = p->attrnamespace; /* int */
2223 uarg[2] = (intptr_t) p->attrname; /* const char * */
2229 struct __mac_execve_args *p = params;
2230 uarg[0] = (intptr_t) p->fname; /* char * */
2231 uarg[1] = (intptr_t) p->argv; /* char ** */
2232 uarg[2] = (intptr_t) p->envv; /* char ** */
2233 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2239 struct sigaction_args *p = params;
2240 iarg[0] = p->sig; /* int */
2241 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2242 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2248 struct sigreturn_args *p = params;
2249 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2255 struct getcontext_args *p = params;
2256 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2262 struct setcontext_args *p = params;
2263 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2269 struct swapcontext_args *p = params;
2270 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2271 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2277 struct swapoff_args *p = params;
2278 uarg[0] = (intptr_t) p->name; /* const char * */
2282 /* __acl_get_link */
2284 struct __acl_get_link_args *p = params;
2285 uarg[0] = (intptr_t) p->path; /* const char * */
2286 iarg[1] = p->type; /* acl_type_t */
2287 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2291 /* __acl_set_link */
2293 struct __acl_set_link_args *p = params;
2294 uarg[0] = (intptr_t) p->path; /* const char * */
2295 iarg[1] = p->type; /* acl_type_t */
2296 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2300 /* __acl_delete_link */
2302 struct __acl_delete_link_args *p = params;
2303 uarg[0] = (intptr_t) p->path; /* const char * */
2304 iarg[1] = p->type; /* acl_type_t */
2308 /* __acl_aclcheck_link */
2310 struct __acl_aclcheck_link_args *p = params;
2311 uarg[0] = (intptr_t) p->path; /* const char * */
2312 iarg[1] = p->type; /* acl_type_t */
2313 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2319 struct sigwait_args *p = params;
2320 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2321 uarg[1] = (intptr_t) p->sig; /* int * */
2327 struct thr_create_args *p = params;
2328 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2329 uarg[1] = (intptr_t) p->id; /* long * */
2330 iarg[2] = p->flags; /* int */
2336 struct thr_exit_args *p = params;
2337 uarg[0] = (intptr_t) p->state; /* long * */
2343 struct thr_self_args *p = params;
2344 uarg[0] = (intptr_t) p->id; /* long * */
2350 struct thr_kill_args *p = params;
2351 iarg[0] = p->id; /* long */
2352 iarg[1] = p->sig; /* int */
2358 struct jail_attach_args *p = params;
2359 iarg[0] = p->jid; /* int */
2363 /* extattr_list_fd */
2365 struct extattr_list_fd_args *p = params;
2366 iarg[0] = p->fd; /* int */
2367 iarg[1] = p->attrnamespace; /* int */
2368 uarg[2] = (intptr_t) p->data; /* void * */
2369 uarg[3] = p->nbytes; /* size_t */
2373 /* extattr_list_file */
2375 struct extattr_list_file_args *p = params;
2376 uarg[0] = (intptr_t) p->path; /* const char * */
2377 iarg[1] = p->attrnamespace; /* int */
2378 uarg[2] = (intptr_t) p->data; /* void * */
2379 uarg[3] = p->nbytes; /* size_t */
2383 /* extattr_list_link */
2385 struct extattr_list_link_args *p = params;
2386 uarg[0] = (intptr_t) p->path; /* const char * */
2387 iarg[1] = p->attrnamespace; /* int */
2388 uarg[2] = (intptr_t) p->data; /* void * */
2389 uarg[3] = p->nbytes; /* size_t */
2393 /* ksem_timedwait */
2395 struct ksem_timedwait_args *p = params;
2396 iarg[0] = p->id; /* semid_t */
2397 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2403 struct thr_suspend_args *p = params;
2404 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2410 struct thr_wake_args *p = params;
2411 iarg[0] = p->id; /* long */
2417 struct kldunloadf_args *p = params;
2418 iarg[0] = p->fileid; /* int */
2419 iarg[1] = p->flags; /* int */
2425 struct audit_args *p = params;
2426 uarg[0] = (intptr_t) p->record; /* const void * */
2427 uarg[1] = p->length; /* u_int */
2433 struct auditon_args *p = params;
2434 iarg[0] = p->cmd; /* int */
2435 uarg[1] = (intptr_t) p->data; /* void * */
2436 uarg[2] = p->length; /* u_int */
2442 struct getauid_args *p = params;
2443 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2449 struct setauid_args *p = params;
2450 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2456 struct getaudit_args *p = params;
2457 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2463 struct setaudit_args *p = params;
2464 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2470 struct getaudit_addr_args *p = params;
2471 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2472 uarg[1] = p->length; /* u_int */
2478 struct setaudit_addr_args *p = params;
2479 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2480 uarg[1] = p->length; /* u_int */
2486 struct auditctl_args *p = params;
2487 uarg[0] = (intptr_t) p->path; /* char * */
2493 struct _umtx_op_args *p = params;
2494 uarg[0] = (intptr_t) p->obj; /* void * */
2495 iarg[1] = p->op; /* int */
2496 uarg[2] = p->val; /* u_long */
2497 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2498 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2504 struct thr_new_args *p = params;
2505 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2506 iarg[1] = p->param_size; /* int */
2512 struct sigqueue_args *p = params;
2513 iarg[0] = p->pid; /* pid_t */
2514 iarg[1] = p->signum; /* int */
2515 uarg[2] = (intptr_t) p->value; /* void * */
2521 struct kmq_open_args *p = params;
2522 uarg[0] = (intptr_t) p->path; /* const char * */
2523 iarg[1] = p->flags; /* int */
2524 iarg[2] = p->mode; /* mode_t */
2525 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2531 struct kmq_setattr_args *p = params;
2532 iarg[0] = p->mqd; /* int */
2533 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2534 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2538 /* kmq_timedreceive */
2540 struct kmq_timedreceive_args *p = params;
2541 iarg[0] = p->mqd; /* int */
2542 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2543 uarg[2] = p->msg_len; /* size_t */
2544 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2545 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2551 struct kmq_timedsend_args *p = params;
2552 iarg[0] = p->mqd; /* int */
2553 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2554 uarg[2] = p->msg_len; /* size_t */
2555 uarg[3] = p->msg_prio; /* unsigned */
2556 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2562 struct kmq_notify_args *p = params;
2563 iarg[0] = p->mqd; /* int */
2564 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2570 struct kmq_unlink_args *p = params;
2571 uarg[0] = (intptr_t) p->path; /* const char * */
2577 struct abort2_args *p = params;
2578 uarg[0] = (intptr_t) p->why; /* const char * */
2579 iarg[1] = p->nargs; /* int */
2580 uarg[2] = (intptr_t) p->args; /* void ** */
2586 struct thr_set_name_args *p = params;
2587 iarg[0] = p->id; /* long */
2588 uarg[1] = (intptr_t) p->name; /* const char * */
2594 struct aio_fsync_args *p = params;
2595 iarg[0] = p->op; /* int */
2596 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2602 struct rtprio_thread_args *p = params;
2603 iarg[0] = p->function; /* int */
2604 iarg[1] = p->lwpid; /* lwpid_t */
2605 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2611 struct sctp_peeloff_args *p = params;
2612 iarg[0] = p->sd; /* int */
2613 uarg[1] = p->name; /* uint32_t */
2617 /* sctp_generic_sendmsg */
2619 struct sctp_generic_sendmsg_args *p = params;
2620 iarg[0] = p->sd; /* int */
2621 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2622 iarg[2] = p->mlen; /* int */
2623 uarg[3] = (intptr_t) p->to; /* caddr_t */
2624 iarg[4] = p->tolen; /* __socklen_t */
2625 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2626 iarg[6] = p->flags; /* int */
2630 /* sctp_generic_sendmsg_iov */
2632 struct sctp_generic_sendmsg_iov_args *p = params;
2633 iarg[0] = p->sd; /* int */
2634 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2635 iarg[2] = p->iovlen; /* int */
2636 uarg[3] = (intptr_t) p->to; /* caddr_t */
2637 iarg[4] = p->tolen; /* __socklen_t */
2638 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2639 iarg[6] = p->flags; /* int */
2643 /* sctp_generic_recvmsg */
2645 struct sctp_generic_recvmsg_args *p = params;
2646 iarg[0] = p->sd; /* int */
2647 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2648 iarg[2] = p->iovlen; /* int */
2649 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2650 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2651 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2652 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2658 struct pread_args *p = params;
2659 iarg[0] = p->fd; /* int */
2660 uarg[1] = (intptr_t) p->buf; /* void * */
2661 uarg[2] = p->nbyte; /* size_t */
2662 iarg[3] = p->offset; /* off_t */
2668 struct pwrite_args *p = params;
2669 iarg[0] = p->fd; /* int */
2670 uarg[1] = (intptr_t) p->buf; /* const void * */
2671 uarg[2] = p->nbyte; /* size_t */
2672 iarg[3] = p->offset; /* off_t */
2678 struct mmap_args *p = params;
2679 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2680 uarg[1] = p->len; /* size_t */
2681 iarg[2] = p->prot; /* int */
2682 iarg[3] = p->flags; /* int */
2683 iarg[4] = p->fd; /* int */
2684 iarg[5] = p->pos; /* off_t */
2690 struct lseek_args *p = params;
2691 iarg[0] = p->fd; /* int */
2692 iarg[1] = p->offset; /* off_t */
2693 iarg[2] = p->whence; /* int */
2699 struct truncate_args *p = params;
2700 uarg[0] = (intptr_t) p->path; /* char * */
2701 iarg[1] = p->length; /* off_t */
2707 struct ftruncate_args *p = params;
2708 iarg[0] = p->fd; /* int */
2709 iarg[1] = p->length; /* off_t */
2715 struct thr_kill2_args *p = params;
2716 iarg[0] = p->pid; /* pid_t */
2717 iarg[1] = p->id; /* long */
2718 iarg[2] = p->sig; /* int */
2724 struct shm_open_args *p = params;
2725 uarg[0] = (intptr_t) p->path; /* const char * */
2726 iarg[1] = p->flags; /* int */
2727 iarg[2] = p->mode; /* mode_t */
2733 struct shm_unlink_args *p = params;
2734 uarg[0] = (intptr_t) p->path; /* const char * */
2740 struct cpuset_args *p = params;
2741 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2747 struct cpuset_setid_args *p = params;
2748 iarg[0] = p->which; /* cpuwhich_t */
2749 iarg[1] = p->id; /* id_t */
2750 iarg[2] = p->setid; /* cpusetid_t */
2756 struct cpuset_getid_args *p = params;
2757 iarg[0] = p->level; /* cpulevel_t */
2758 iarg[1] = p->which; /* cpuwhich_t */
2759 iarg[2] = p->id; /* id_t */
2760 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2764 /* cpuset_getaffinity */
2766 struct cpuset_getaffinity_args *p = params;
2767 iarg[0] = p->level; /* cpulevel_t */
2768 iarg[1] = p->which; /* cpuwhich_t */
2769 iarg[2] = p->id; /* id_t */
2770 uarg[3] = p->cpusetsize; /* size_t */
2771 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2775 /* cpuset_setaffinity */
2777 struct cpuset_setaffinity_args *p = params;
2778 iarg[0] = p->level; /* cpulevel_t */
2779 iarg[1] = p->which; /* cpuwhich_t */
2780 iarg[2] = p->id; /* id_t */
2781 uarg[3] = p->cpusetsize; /* size_t */
2782 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2788 struct faccessat_args *p = params;
2789 iarg[0] = p->fd; /* int */
2790 uarg[1] = (intptr_t) p->path; /* char * */
2791 iarg[2] = p->amode; /* int */
2792 iarg[3] = p->flag; /* int */
2798 struct fchmodat_args *p = params;
2799 iarg[0] = p->fd; /* int */
2800 uarg[1] = (intptr_t) p->path; /* char * */
2801 iarg[2] = p->mode; /* mode_t */
2802 iarg[3] = p->flag; /* int */
2808 struct fchownat_args *p = params;
2809 iarg[0] = p->fd; /* int */
2810 uarg[1] = (intptr_t) p->path; /* char * */
2811 uarg[2] = p->uid; /* uid_t */
2812 iarg[3] = p->gid; /* gid_t */
2813 iarg[4] = p->flag; /* int */
2819 struct fexecve_args *p = params;
2820 iarg[0] = p->fd; /* int */
2821 uarg[1] = (intptr_t) p->argv; /* char ** */
2822 uarg[2] = (intptr_t) p->envv; /* char ** */
2828 struct fstatat_args *p = params;
2829 iarg[0] = p->fd; /* int */
2830 uarg[1] = (intptr_t) p->path; /* char * */
2831 uarg[2] = (intptr_t) p->buf; /* struct stat * */
2832 iarg[3] = p->flag; /* int */
2838 struct futimesat_args *p = params;
2839 iarg[0] = p->fd; /* int */
2840 uarg[1] = (intptr_t) p->path; /* char * */
2841 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2847 struct linkat_args *p = params;
2848 iarg[0] = p->fd1; /* int */
2849 uarg[1] = (intptr_t) p->path1; /* char * */
2850 iarg[2] = p->fd2; /* int */
2851 uarg[3] = (intptr_t) p->path2; /* char * */
2852 iarg[4] = p->flag; /* int */
2858 struct mkdirat_args *p = params;
2859 iarg[0] = p->fd; /* int */
2860 uarg[1] = (intptr_t) p->path; /* char * */
2861 iarg[2] = p->mode; /* mode_t */
2867 struct mkfifoat_args *p = params;
2868 iarg[0] = p->fd; /* int */
2869 uarg[1] = (intptr_t) p->path; /* char * */
2870 iarg[2] = p->mode; /* mode_t */
2876 struct mknodat_args *p = params;
2877 iarg[0] = p->fd; /* int */
2878 uarg[1] = (intptr_t) p->path; /* char * */
2879 iarg[2] = p->mode; /* mode_t */
2880 iarg[3] = p->dev; /* dev_t */
2886 struct openat_args *p = params;
2887 iarg[0] = p->fd; /* int */
2888 uarg[1] = (intptr_t) p->path; /* char * */
2889 iarg[2] = p->flag; /* int */
2890 iarg[3] = p->mode; /* mode_t */
2896 struct readlinkat_args *p = params;
2897 iarg[0] = p->fd; /* int */
2898 uarg[1] = (intptr_t) p->path; /* char * */
2899 uarg[2] = (intptr_t) p->buf; /* char * */
2900 uarg[3] = p->bufsize; /* size_t */
2906 struct renameat_args *p = params;
2907 iarg[0] = p->oldfd; /* int */
2908 uarg[1] = (intptr_t) p->old; /* char * */
2909 iarg[2] = p->newfd; /* int */
2910 uarg[3] = (intptr_t) p->new; /* char * */
2916 struct symlinkat_args *p = params;
2917 uarg[0] = (intptr_t) p->path1; /* char * */
2918 iarg[1] = p->fd; /* int */
2919 uarg[2] = (intptr_t) p->path2; /* char * */
2925 struct unlinkat_args *p = params;
2926 iarg[0] = p->fd; /* int */
2927 uarg[1] = (intptr_t) p->path; /* char * */
2928 iarg[2] = p->flag; /* int */
2934 struct posix_openpt_args *p = params;
2935 iarg[0] = p->flags; /* int */
2941 struct gssd_syscall_args *p = params;
2942 uarg[0] = (intptr_t) p->path; /* char * */
2948 struct jail_get_args *p = params;
2949 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2950 uarg[1] = p->iovcnt; /* unsigned int */
2951 iarg[2] = p->flags; /* int */
2957 struct jail_set_args *p = params;
2958 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2959 uarg[1] = p->iovcnt; /* unsigned int */
2960 iarg[2] = p->flags; /* int */
2966 struct jail_remove_args *p = params;
2967 iarg[0] = p->jid; /* int */
2973 struct closefrom_args *p = params;
2974 iarg[0] = p->lowfd; /* int */
2980 struct __semctl_args *p = params;
2981 iarg[0] = p->semid; /* int */
2982 iarg[1] = p->semnum; /* int */
2983 iarg[2] = p->cmd; /* int */
2984 uarg[3] = (intptr_t) p->arg; /* union semun * */
2990 struct msgctl_args *p = params;
2991 iarg[0] = p->msqid; /* int */
2992 iarg[1] = p->cmd; /* int */
2993 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
2999 struct shmctl_args *p = params;
3000 iarg[0] = p->shmid; /* int */
3001 iarg[1] = p->cmd; /* int */
3002 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
3008 struct lpathconf_args *p = params;
3009 uarg[0] = (intptr_t) p->path; /* char * */
3010 iarg[1] = p->name; /* int */
3014 /* __cap_rights_get */
3016 struct __cap_rights_get_args *p = params;
3017 iarg[0] = p->version; /* int */
3018 iarg[1] = p->fd; /* int */
3019 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */
3030 struct cap_getmode_args *p = params;
3031 uarg[0] = (intptr_t) p->modep; /* u_int * */
3037 struct pdfork_args *p = params;
3038 uarg[0] = (intptr_t) p->fdp; /* int * */
3039 iarg[1] = p->flags; /* int */
3045 struct pdkill_args *p = params;
3046 iarg[0] = p->fd; /* int */
3047 iarg[1] = p->signum; /* int */
3053 struct pdgetpid_args *p = params;
3054 iarg[0] = p->fd; /* int */
3055 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
3061 struct pselect_args *p = params;
3062 iarg[0] = p->nd; /* int */
3063 uarg[1] = (intptr_t) p->in; /* fd_set * */
3064 uarg[2] = (intptr_t) p->ou; /* fd_set * */
3065 uarg[3] = (intptr_t) p->ex; /* fd_set * */
3066 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
3067 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
3073 struct getloginclass_args *p = params;
3074 uarg[0] = (intptr_t) p->namebuf; /* char * */
3075 uarg[1] = p->namelen; /* size_t */
3081 struct setloginclass_args *p = params;
3082 uarg[0] = (intptr_t) p->namebuf; /* const char * */
3086 /* rctl_get_racct */
3088 struct rctl_get_racct_args *p = params;
3089 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3090 uarg[1] = p->inbuflen; /* size_t */
3091 uarg[2] = (intptr_t) p->outbufp; /* void * */
3092 uarg[3] = p->outbuflen; /* size_t */
3096 /* rctl_get_rules */
3098 struct rctl_get_rules_args *p = params;
3099 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3100 uarg[1] = p->inbuflen; /* size_t */
3101 uarg[2] = (intptr_t) p->outbufp; /* void * */
3102 uarg[3] = p->outbuflen; /* size_t */
3106 /* rctl_get_limits */
3108 struct rctl_get_limits_args *p = params;
3109 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3110 uarg[1] = p->inbuflen; /* size_t */
3111 uarg[2] = (intptr_t) p->outbufp; /* void * */
3112 uarg[3] = p->outbuflen; /* size_t */
3118 struct rctl_add_rule_args *p = params;
3119 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3120 uarg[1] = p->inbuflen; /* size_t */
3121 uarg[2] = (intptr_t) p->outbufp; /* void * */
3122 uarg[3] = p->outbuflen; /* size_t */
3126 /* rctl_remove_rule */
3128 struct rctl_remove_rule_args *p = params;
3129 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3130 uarg[1] = p->inbuflen; /* size_t */
3131 uarg[2] = (intptr_t) p->outbufp; /* void * */
3132 uarg[3] = p->outbuflen; /* size_t */
3136 /* posix_fallocate */
3138 struct posix_fallocate_args *p = params;
3139 iarg[0] = p->fd; /* int */
3140 iarg[1] = p->offset; /* off_t */
3141 iarg[2] = p->len; /* off_t */
3147 struct posix_fadvise_args *p = params;
3148 iarg[0] = p->fd; /* int */
3149 iarg[1] = p->offset; /* off_t */
3150 iarg[2] = p->len; /* off_t */
3151 iarg[3] = p->advice; /* int */
3157 struct wait6_args *p = params;
3158 iarg[0] = p->idtype; /* idtype_t */
3159 iarg[1] = p->id; /* id_t */
3160 uarg[2] = (intptr_t) p->status; /* int * */
3161 iarg[3] = p->options; /* int */
3162 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */
3163 uarg[5] = (intptr_t) p->info; /* siginfo_t * */
3167 /* cap_rights_limit */
3169 struct cap_rights_limit_args *p = params;
3170 iarg[0] = p->fd; /* int */
3171 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */
3175 /* cap_ioctls_limit */
3177 struct cap_ioctls_limit_args *p = params;
3178 iarg[0] = p->fd; /* int */
3179 uarg[1] = (intptr_t) p->cmds; /* const u_long * */
3180 uarg[2] = p->ncmds; /* size_t */
3184 /* cap_ioctls_get */
3186 struct cap_ioctls_get_args *p = params;
3187 iarg[0] = p->fd; /* int */
3188 uarg[1] = (intptr_t) p->cmds; /* u_long * */
3189 uarg[2] = p->maxcmds; /* size_t */
3193 /* cap_fcntls_limit */
3195 struct cap_fcntls_limit_args *p = params;
3196 iarg[0] = p->fd; /* int */
3197 uarg[1] = p->fcntlrights; /* uint32_t */
3201 /* cap_fcntls_get */
3203 struct cap_fcntls_get_args *p = params;
3204 iarg[0] = p->fd; /* int */
3205 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
3211 struct bindat_args *p = params;
3212 iarg[0] = p->fd; /* int */
3213 iarg[1] = p->s; /* int */
3214 uarg[2] = (intptr_t) p->name; /* caddr_t */
3215 iarg[3] = p->namelen; /* int */
3221 struct connectat_args *p = params;
3222 iarg[0] = p->fd; /* int */
3223 iarg[1] = p->s; /* int */
3224 uarg[2] = (intptr_t) p->name; /* caddr_t */
3225 iarg[3] = p->namelen; /* int */
3231 struct chflagsat_args *p = params;
3232 iarg[0] = p->fd; /* int */
3233 uarg[1] = (intptr_t) p->path; /* const char * */
3234 uarg[2] = p->flags; /* u_long */
3235 iarg[3] = p->atflag; /* int */
3241 struct accept4_args *p = params;
3242 iarg[0] = p->s; /* int */
3243 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
3244 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
3245 iarg[3] = p->flags; /* int */
3251 struct pipe2_args *p = params;
3252 uarg[0] = (intptr_t) p->fildes; /* int * */
3253 iarg[1] = p->flags; /* int */
3259 struct aio_mlock_args *p = params;
3260 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3266 struct procctl_args *p = params;
3267 iarg[0] = p->idtype; /* idtype_t */
3268 iarg[1] = p->id; /* id_t */
3269 iarg[2] = p->com; /* int */
3270 uarg[3] = (intptr_t) p->data; /* void * */
3276 struct ppoll_args *p = params;
3277 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
3278 uarg[1] = p->nfds; /* u_int */
3279 uarg[2] = (intptr_t) p->ts; /* const struct timespec * */
3280 uarg[3] = (intptr_t) p->set; /* const sigset_t * */
3286 struct futimens_args *p = params;
3287 iarg[0] = p->fd; /* int */
3288 uarg[1] = (intptr_t) p->times; /* struct timespec * */
3294 struct utimensat_args *p = params;
3295 iarg[0] = p->fd; /* int */
3296 uarg[1] = (intptr_t) p->path; /* char * */
3297 uarg[2] = (intptr_t) p->times; /* struct timespec * */
3298 iarg[3] = p->flag; /* int */
3302 /* numa_getaffinity */
3304 struct numa_getaffinity_args *p = params;
3305 iarg[0] = p->which; /* cpuwhich_t */
3306 iarg[1] = p->id; /* id_t */
3307 uarg[2] = (intptr_t) p->policy; /* struct vm_domain_policy_entry * */
3311 /* numa_setaffinity */
3313 struct numa_setaffinity_args *p = params;
3314 iarg[0] = p->which; /* cpuwhich_t */
3315 iarg[1] = p->id; /* id_t */
3316 uarg[2] = (intptr_t) p->policy; /* const struct vm_domain_policy_entry * */
3322 struct fdatasync_args *p = params;
3323 iarg[0] = p->fd; /* int */
3333 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3335 const char *p = NULL;
3360 p = "userland void *";
3376 p = "userland const void *";
3389 p = "userland char *";
3418 p = "userland int *";
3424 p = "userland struct rusage *";
3434 p = "userland char *";
3437 p = "userland char *";
3447 p = "userland char *";
3457 p = "userland char *";
3477 p = "userland char *";
3493 p = "userland char *";
3506 p = "userland char *";
3522 p = "userland char *";
3535 p = "userland char *";
3538 p = "userland char *";
3554 p = "userland char *";
3605 p = "userland struct msghdr *";
3621 p = "userland struct msghdr *";
3646 p = "userland struct sockaddr *";
3649 p = "userland __socklen_t *";
3662 p = "userland struct sockaddr *";
3665 p = "userland __socklen_t *";
3678 p = "userland struct sockaddr *";
3681 p = "userland __socklen_t *";
3694 p = "userland struct sockaddr *";
3697 p = "userland __socklen_t *";
3707 p = "userland char *";
3720 p = "userland const char *";
3797 p = "userland const char *";
3819 p = "userland char *";
3832 p = "userland char *";
3842 p = "userland char *";
3852 p = "userland stack_t *";
3855 p = "userland stack_t *";
3891 p = "userland char *";
3901 p = "userland char *";
3904 p = "userland char *";
3914 p = "userland char *";
3917 p = "userland char *";
3930 p = "userland char *";
3933 p = "userland char **";
3936 p = "userland char **";
3956 p = "userland char *";
3966 p = "userland void *";
4015 p = "userland void *";
4028 p = "userland void *";
4044 p = "userland void *";
4060 p = "userland const void *";
4066 p = "userland char *";
4079 p = "userland gid_t *";
4092 p = "userland gid_t *";
4121 p = "userland struct itimerval *";
4124 p = "userland struct itimerval *";
4134 p = "userland char *";
4147 p = "userland struct itimerval *";
4192 p = "userland fd_set *";
4195 p = "userland fd_set *";
4198 p = "userland fd_set *";
4201 p = "userland struct timeval *";
4333 p = "userland struct timeval *";
4336 p = "userland struct timezone *";
4349 p = "userland struct rusage *";
4371 p = "userland int *";
4384 p = "userland struct iovec *";
4400 p = "userland struct iovec *";
4413 p = "userland struct timeval *";
4416 p = "userland struct timezone *";
4481 p = "userland char *";
4484 p = "userland char *";
4507 p = "userland char *";
4567 p = "userland int *";
4577 p = "userland char *";
4590 p = "userland char *";
4600 p = "userland char *";
4603 p = "userland struct timeval *";
4613 p = "userland struct timeval *";
4616 p = "userland struct timeval *";
4629 p = "userland char *";
4657 p = "userland char **";
4680 p = "userland char *";
4683 p = "userland struct fhandle *";
4693 p = "userland char *";
4696 p = "userland struct fhandle *";
4709 p = "userland char *";
4725 p = "userland struct rtprio *";
4811 p = "userland struct timex *";
4851 p = "userland char *";
4854 p = "userland struct stat *";
4867 p = "userland struct stat *";
4877 p = "userland char *";
4880 p = "userland struct stat *";
4890 p = "userland char *";
4919 p = "userland struct rlimit *";
4932 p = "userland struct rlimit *";
4945 p = "userland char *";
4951 p = "userland long *";
4964 p = "userland int *";
4970 p = "userland void *";
4973 p = "userland size_t *";
4976 p = "userland void *";
4989 p = "userland const void *";
5002 p = "userland const void *";
5015 p = "userland char *";
5028 p = "userland struct timeval *";
5048 p = "userland struct pollfd *";
5113 p = "userland struct sembuf *";
5142 p = "userland const void *";
5161 p = "userland void *";
5183 p = "userland const void *";
5196 p = "userland const void *";
5225 p = "userland struct timespec *";
5238 p = "userland const struct timespec *";
5251 p = "userland struct timespec *";
5264 p = "userland struct sigevent *";
5267 p = "userland int *";
5283 /* ktimer_settime */
5293 p = "userland const struct itimerspec *";
5296 p = "userland struct itimerspec *";
5302 /* ktimer_gettime */
5309 p = "userland struct itimerspec *";
5315 /* ktimer_getoverrun */
5329 p = "userland const struct timespec *";
5332 p = "userland struct timespec *";
5338 /* ffclock_getcounter */
5342 p = "userland ffcounter *";
5348 /* ffclock_setestimate */
5352 p = "userland struct ffclock_estimate *";
5358 /* ffclock_getestimate */
5362 p = "userland struct ffclock_estimate *";
5368 /* clock_getcpuclockid2 */
5378 p = "userland clockid_t *";
5388 p = "userland struct ntptimeval *";
5398 p = "userland void *";
5427 p = "userland char *";
5443 p = "userland struct aiocb *";
5453 p = "userland struct aiocb *";
5466 p = "userland struct aiocb *const *";
5472 p = "userland struct sigevent *";
5485 p = "userland char *";
5498 p = "userland char *";
5511 p = "userland char *";
5527 p = "userland char *";
5530 p = "userland struct timeval *";
5540 p = "userland void *";
5556 p = "userland char *";
5559 p = "userland struct nstat *";
5572 p = "userland struct nstat *";
5582 p = "userland char *";
5585 p = "userland struct nstat *";
5598 p = "userland struct iovec *";
5617 p = "userland struct iovec *";
5633 p = "userland const struct fhandle *";
5646 p = "userland const struct fhandle *";
5649 p = "userland struct stat *";
5672 p = "userland struct module_stat *";
5692 p = "userland const char *";
5702 p = "userland const char *";
5722 p = "userland const char *";
5745 p = "userland struct kld_file_stat *";
5807 p = "userland struct aiocb *";
5817 p = "userland struct aiocb *const *";
5823 p = "userland const struct timespec *";
5836 p = "userland struct aiocb *";
5846 p = "userland struct aiocb *";
5872 p = "userland char *";
5881 /* sched_setparam */
5888 p = "userland const struct sched_param *";
5894 /* sched_getparam */
5901 p = "userland struct sched_param *";
5907 /* sched_setscheduler */
5917 p = "userland const struct sched_param *";
5923 /* sched_getscheduler */
5936 /* sched_get_priority_max */
5946 /* sched_get_priority_min */
5956 /* sched_rr_get_interval */
5963 p = "userland struct timespec *";
5973 p = "userland const void *";
5992 p = "userland void *";
6002 p = "userland struct jail *";
6015 p = "userland char *";
6021 p = "userland void *";
6037 p = "userland const sigset_t *";
6040 p = "userland sigset_t *";
6050 p = "userland const sigset_t *";
6060 p = "userland sigset_t *";
6070 p = "userland const sigset_t *";
6073 p = "userland siginfo_t *";
6076 p = "userland const struct timespec *";
6086 p = "userland const sigset_t *";
6089 p = "userland siginfo_t *";
6095 /* __acl_get_file */
6099 p = "userland const char *";
6105 p = "userland struct acl *";
6111 /* __acl_set_file */
6115 p = "userland const char *";
6121 p = "userland struct acl *";
6137 p = "userland struct acl *";
6153 p = "userland struct acl *";
6159 /* __acl_delete_file */
6163 p = "userland const char *";
6172 /* __acl_delete_fd */
6185 /* __acl_aclcheck_file */
6189 p = "userland const char *";
6195 p = "userland struct acl *";
6201 /* __acl_aclcheck_fd */
6211 p = "userland struct acl *";
6221 p = "userland const char *";
6227 p = "userland const char *";
6233 p = "userland const char *";
6239 /* extattr_set_file */
6243 p = "userland const char *";
6249 p = "userland const char *";
6252 p = "userland void *";
6261 /* extattr_get_file */
6265 p = "userland const char *";
6271 p = "userland const char *";
6274 p = "userland void *";
6283 /* extattr_delete_file */
6287 p = "userland const char *";
6293 p = "userland const char *";
6299 /* aio_waitcomplete */
6303 p = "userland struct aiocb **";
6306 p = "userland struct timespec *";
6316 p = "userland uid_t *";
6319 p = "userland uid_t *";
6322 p = "userland uid_t *";
6332 p = "userland gid_t *";
6335 p = "userland gid_t *";
6338 p = "userland gid_t *";
6354 p = "userland struct kevent *";
6360 p = "userland struct kevent *";
6366 p = "userland const struct timespec *";
6372 /* extattr_set_fd */
6382 p = "userland const char *";
6385 p = "userland void *";
6394 /* extattr_get_fd */
6404 p = "userland const char *";
6407 p = "userland void *";
6416 /* extattr_delete_fd */
6426 p = "userland const char *";
6446 p = "userland char *";
6487 p = "userland struct iovec *";
6499 /* __mac_get_proc */
6503 p = "userland struct mac *";
6509 /* __mac_set_proc */
6513 p = "userland struct mac *";
6526 p = "userland struct mac *";
6532 /* __mac_get_file */
6536 p = "userland const char *";
6539 p = "userland struct mac *";
6552 p = "userland struct mac *";
6558 /* __mac_set_file */
6562 p = "userland const char *";
6565 p = "userland struct mac *";
6578 p = "userland const char *";
6581 p = "userland char *";
6594 p = "userland const char *";
6607 p = "userland struct uuid *";
6632 p = "userland struct sf_hdtr *";
6635 p = "userland off_t *";
6648 p = "userland const char *";
6654 p = "userland void *";
6664 p = "userland struct statfs *";
6680 p = "userland char *";
6683 p = "userland struct statfs *";
6696 p = "userland struct statfs *";
6706 p = "userland const struct fhandle *";
6709 p = "userland struct statfs *";
6759 p = "userland semid_t *";
6772 p = "userland semid_t *";
6775 p = "userland const char *";
6794 p = "userland const char *";
6807 p = "userland int *";
6830 p = "userland struct mac *";
6836 /* __mac_get_link */
6840 p = "userland const char *";
6843 p = "userland struct mac *";
6849 /* __mac_set_link */
6853 p = "userland const char *";
6856 p = "userland struct mac *";
6862 /* extattr_set_link */
6866 p = "userland const char *";
6872 p = "userland const char *";
6875 p = "userland void *";
6884 /* extattr_get_link */
6888 p = "userland const char *";
6894 p = "userland const char *";
6897 p = "userland void *";
6906 /* extattr_delete_link */
6910 p = "userland const char *";
6916 p = "userland const char *";
6926 p = "userland char *";
6929 p = "userland char **";
6932 p = "userland char **";
6935 p = "userland struct mac *";
6948 p = "userland const struct sigaction *";
6951 p = "userland struct sigaction *";
6961 p = "userland const struct __ucontext *";
6971 p = "userland struct __ucontext *";
6981 p = "userland const struct __ucontext *";
6991 p = "userland struct __ucontext *";
6994 p = "userland const struct __ucontext *";
7004 p = "userland const char *";
7010 /* __acl_get_link */
7014 p = "userland const char *";
7020 p = "userland struct acl *";
7026 /* __acl_set_link */
7030 p = "userland const char *";
7036 p = "userland struct acl *";
7042 /* __acl_delete_link */
7046 p = "userland const char *";
7055 /* __acl_aclcheck_link */
7059 p = "userland const char *";
7065 p = "userland struct acl *";
7075 p = "userland const sigset_t *";
7078 p = "userland int *";
7088 p = "userland ucontext_t *";
7091 p = "userland long *";
7104 p = "userland long *";
7114 p = "userland long *";
7143 /* extattr_list_fd */
7153 p = "userland void *";
7162 /* extattr_list_file */
7166 p = "userland const char *";
7172 p = "userland void *";
7181 /* extattr_list_link */
7185 p = "userland const char *";
7191 p = "userland void *";
7200 /* ksem_timedwait */
7207 p = "userland const struct timespec *";
7217 p = "userland const struct timespec *";
7250 p = "userland const void *";
7266 p = "userland void *";
7279 p = "userland uid_t *";
7289 p = "userland uid_t *";
7299 p = "userland struct auditinfo *";
7309 p = "userland struct auditinfo *";
7319 p = "userland struct auditinfo_addr *";
7332 p = "userland struct auditinfo_addr *";
7345 p = "userland char *";
7355 p = "userland void *";
7364 p = "userland void *";
7367 p = "userland void *";
7377 p = "userland struct thr_param *";
7396 p = "userland void *";
7406 p = "userland const char *";
7415 p = "userland const struct mq_attr *";
7428 p = "userland const struct mq_attr *";
7431 p = "userland struct mq_attr *";
7437 /* kmq_timedreceive */
7444 p = "userland char *";
7450 p = "userland unsigned *";
7453 p = "userland const struct timespec *";
7466 p = "userland const char *";
7475 p = "userland const struct timespec *";
7488 p = "userland const struct sigevent *";
7498 p = "userland const char *";
7508 p = "userland const char *";
7514 p = "userland void **";
7527 p = "userland const char *";
7540 p = "userland struct aiocb *";
7556 p = "userland struct rtprio *";
7575 /* sctp_generic_sendmsg */
7594 p = "userland struct sctp_sndrcvinfo *";
7603 /* sctp_generic_sendmsg_iov */
7610 p = "userland struct iovec *";
7622 p = "userland struct sctp_sndrcvinfo *";
7631 /* sctp_generic_recvmsg */
7638 p = "userland struct iovec *";
7644 p = "userland struct sockaddr *";
7647 p = "userland __socklen_t *";
7650 p = "userland struct sctp_sndrcvinfo *";
7653 p = "userland int *";
7666 p = "userland void *";
7685 p = "userland const void *";
7742 p = "userland char *";
7784 p = "userland const char *";
7800 p = "userland const char *";
7810 p = "userland cpusetid_t *";
7845 p = "userland cpusetid_t *";
7851 /* cpuset_getaffinity */
7867 p = "userland cpuset_t *";
7873 /* cpuset_setaffinity */
7889 p = "userland const cpuset_t *";
7902 p = "userland char *";
7921 p = "userland char *";
7940 p = "userland char *";
7962 p = "userland char **";
7965 p = "userland char **";
7978 p = "userland char *";
7981 p = "userland struct stat *";
7997 p = "userland char *";
8000 p = "userland struct timeval *";
8013 p = "userland char *";
8019 p = "userland char *";
8035 p = "userland char *";
8051 p = "userland char *";
8067 p = "userland char *";
8086 p = "userland char *";
8105 p = "userland char *";
8108 p = "userland char *";
8124 p = "userland char *";
8130 p = "userland char *";
8140 p = "userland char *";
8146 p = "userland char *";
8159 p = "userland char *";
8182 p = "userland char *";
8192 p = "userland struct iovec *";
8208 p = "userland struct iovec *";
8253 p = "userland union semun *";
8269 p = "userland struct msqid_ds *";
8285 p = "userland struct shmid_ds *";
8295 p = "userland char *";
8304 /* __cap_rights_get */
8314 p = "userland cap_rights_t *";
8327 p = "userland u_int *";
8337 p = "userland int *";
8366 p = "userland pid_t *";
8379 p = "userland fd_set *";
8382 p = "userland fd_set *";
8385 p = "userland fd_set *";
8388 p = "userland const struct timespec *";
8391 p = "userland const sigset_t *";
8401 p = "userland char *";
8414 p = "userland const char *";
8420 /* rctl_get_racct */
8424 p = "userland const void *";
8430 p = "userland void *";
8439 /* rctl_get_rules */
8443 p = "userland const void *";
8449 p = "userland void *";
8458 /* rctl_get_limits */
8462 p = "userland const void *";
8468 p = "userland void *";
8481 p = "userland const void *";
8487 p = "userland void *";
8496 /* rctl_remove_rule */
8500 p = "userland const void *";
8506 p = "userland void *";
8515 /* posix_fallocate */
8560 p = "userland int *";
8566 p = "userland struct __wrusage *";
8569 p = "userland siginfo_t *";
8575 /* cap_rights_limit */
8582 p = "userland cap_rights_t *";
8588 /* cap_ioctls_limit */
8595 p = "userland const u_long *";
8604 /* cap_ioctls_get */
8611 p = "userland u_long *";
8620 /* cap_fcntls_limit */
8633 /* cap_fcntls_get */
8640 p = "userland uint32_t *";
8691 p = "userland const char *";
8710 p = "userland struct sockaddr *";
8713 p = "userland __socklen_t *";
8726 p = "userland int *";
8739 p = "userland struct aiocb *";
8758 p = "userland void *";
8768 p = "userland struct pollfd *";
8774 p = "userland const struct timespec *";
8777 p = "userland const sigset_t *";
8790 p = "userland struct timespec *";
8803 p = "userland char *";
8806 p = "userland struct timespec *";
8815 /* numa_getaffinity */
8825 p = "userland struct vm_domain_policy_entry *";
8831 /* numa_setaffinity */
8841 p = "userland const struct vm_domain_policy_entry *";
8861 strlcpy(desc, p, descsz);
8864 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8866 const char *p = NULL;
8872 if (ndx == 0 || ndx == 1)
8879 if (ndx == 0 || ndx == 1)
8884 if (ndx == 0 || ndx == 1)
8889 if (ndx == 0 || ndx == 1)
8894 if (ndx == 0 || ndx == 1)
8899 if (ndx == 0 || ndx == 1)
8904 if (ndx == 0 || ndx == 1)
8909 if (ndx == 0 || ndx == 1)
8914 if (ndx == 0 || ndx == 1)
8919 if (ndx == 0 || ndx == 1)
8924 if (ndx == 0 || ndx == 1)
8929 if (ndx == 0 || ndx == 1)
8934 if (ndx == 0 || ndx == 1)
8939 if (ndx == 0 || ndx == 1)
8946 if (ndx == 0 || ndx == 1)
8951 if (ndx == 0 || ndx == 1)
8956 if (ndx == 0 || ndx == 1)
8965 if (ndx == 0 || ndx == 1)
8970 if (ndx == 0 || ndx == 1)
8975 if (ndx == 0 || ndx == 1)
8980 if (ndx == 0 || ndx == 1)
8985 if (ndx == 0 || ndx == 1)
8990 if (ndx == 0 || ndx == 1)
8995 if (ndx == 0 || ndx == 1)
9000 if (ndx == 0 || ndx == 1)
9005 if (ndx == 0 || ndx == 1)
9010 if (ndx == 0 || ndx == 1)
9017 if (ndx == 0 || ndx == 1)
9024 if (ndx == 0 || ndx == 1)
9031 if (ndx == 0 || ndx == 1)
9036 if (ndx == 0 || ndx == 1)
9043 if (ndx == 0 || ndx == 1)
9048 if (ndx == 0 || ndx == 1)
9053 if (ndx == 0 || ndx == 1)
9058 if (ndx == 0 || ndx == 1)
9063 if (ndx == 0 || ndx == 1)
9068 if (ndx == 0 || ndx == 1)
9073 if (ndx == 0 || ndx == 1)
9078 if (ndx == 0 || ndx == 1)
9083 if (ndx == 0 || ndx == 1)
9088 if (ndx == 0 || ndx == 1)
9093 if (ndx == 0 || ndx == 1)
9098 if (ndx == 0 || ndx == 1)
9103 if (ndx == 0 || ndx == 1)
9110 if (ndx == 0 || ndx == 1)
9115 if (ndx == 0 || ndx == 1)
9120 if (ndx == 0 || ndx == 1)
9125 if (ndx == 0 || ndx == 1)
9130 if (ndx == 0 || ndx == 1)
9135 if (ndx == 0 || ndx == 1)
9140 if (ndx == 0 || ndx == 1)
9145 if (ndx == 0 || ndx == 1)
9150 if (ndx == 0 || ndx == 1)
9157 if (ndx == 0 || ndx == 1)
9162 if (ndx == 0 || ndx == 1)
9167 if (ndx == 0 || ndx == 1)
9172 if (ndx == 0 || ndx == 1)
9179 if (ndx == 0 || ndx == 1)
9184 if (ndx == 0 || ndx == 1)
9189 if (ndx == 0 || ndx == 1)
9194 if (ndx == 0 || ndx == 1)
9199 if (ndx == 0 || ndx == 1)
9204 if (ndx == 0 || ndx == 1)
9209 if (ndx == 0 || ndx == 1)
9214 if (ndx == 0 || ndx == 1)
9219 if (ndx == 0 || ndx == 1)
9224 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)
9324 if (ndx == 0 || ndx == 1)
9329 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)
9361 if (ndx == 0 || ndx == 1)
9366 if (ndx == 0 || ndx == 1)
9371 if (ndx == 0 || ndx == 1)
9376 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)
9446 if (ndx == 0 || ndx == 1)
9453 if (ndx == 0 || ndx == 1)
9458 if (ndx == 0 || ndx == 1)
9463 if (ndx == 0 || ndx == 1)
9468 if (ndx == 0 || ndx == 1)
9473 if (ndx == 0 || ndx == 1)
9478 if (ndx == 0 || ndx == 1)
9483 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)
9571 /* ktimer_settime */
9573 if (ndx == 0 || ndx == 1)
9576 /* ktimer_gettime */
9578 if (ndx == 0 || ndx == 1)
9581 /* ktimer_getoverrun */
9583 if (ndx == 0 || ndx == 1)
9588 if (ndx == 0 || ndx == 1)
9591 /* ffclock_getcounter */
9593 if (ndx == 0 || ndx == 1)
9596 /* ffclock_setestimate */
9598 if (ndx == 0 || ndx == 1)
9601 /* ffclock_getestimate */
9603 if (ndx == 0 || ndx == 1)
9606 /* clock_getcpuclockid2 */
9608 if (ndx == 0 || ndx == 1)
9613 if (ndx == 0 || ndx == 1)
9618 if (ndx == 0 || ndx == 1)
9623 if (ndx == 0 || ndx == 1)
9630 if (ndx == 0 || ndx == 1)
9635 if (ndx == 0 || ndx == 1)
9640 if (ndx == 0 || ndx == 1)
9645 if (ndx == 0 || ndx == 1)
9650 if (ndx == 0 || ndx == 1)
9655 if (ndx == 0 || ndx == 1)
9660 if (ndx == 0 || ndx == 1)
9665 if (ndx == 0 || ndx == 1)
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)
9720 if (ndx == 0 || ndx == 1)
9725 if (ndx == 0 || ndx == 1)
9730 if (ndx == 0 || ndx == 1)
9735 if (ndx == 0 || ndx == 1)
9740 if (ndx == 0 || ndx == 1)
9745 if (ndx == 0 || ndx == 1)
9750 if (ndx == 0 || ndx == 1)
9755 if (ndx == 0 || ndx == 1)
9760 if (ndx == 0 || ndx == 1)
9765 if (ndx == 0 || ndx == 1)
9770 if (ndx == 0 || ndx == 1)
9775 if (ndx == 0 || ndx == 1)
9780 if (ndx == 0 || ndx == 1)
9785 if (ndx == 0 || ndx == 1)
9790 if (ndx == 0 || ndx == 1)
9797 if (ndx == 0 || ndx == 1)
9804 if (ndx == 0 || ndx == 1)
9807 /* sched_setparam */
9809 if (ndx == 0 || ndx == 1)
9812 /* sched_getparam */
9814 if (ndx == 0 || ndx == 1)
9817 /* sched_setscheduler */
9819 if (ndx == 0 || ndx == 1)
9822 /* sched_getscheduler */
9824 if (ndx == 0 || ndx == 1)
9829 /* sched_get_priority_max */
9831 if (ndx == 0 || ndx == 1)
9834 /* sched_get_priority_min */
9836 if (ndx == 0 || ndx == 1)
9839 /* sched_rr_get_interval */
9841 if (ndx == 0 || ndx == 1)
9846 if (ndx == 0 || ndx == 1)
9851 if (ndx == 0 || ndx == 1)
9856 if (ndx == 0 || ndx == 1)
9861 if (ndx == 0 || ndx == 1)
9866 if (ndx == 0 || ndx == 1)
9871 if (ndx == 0 || ndx == 1)
9876 if (ndx == 0 || ndx == 1)
9881 if (ndx == 0 || ndx == 1)
9886 if (ndx == 0 || ndx == 1)
9889 /* __acl_get_file */
9891 if (ndx == 0 || ndx == 1)
9894 /* __acl_set_file */
9896 if (ndx == 0 || ndx == 1)
9901 if (ndx == 0 || ndx == 1)
9906 if (ndx == 0 || ndx == 1)
9909 /* __acl_delete_file */
9911 if (ndx == 0 || ndx == 1)
9914 /* __acl_delete_fd */
9916 if (ndx == 0 || ndx == 1)
9919 /* __acl_aclcheck_file */
9921 if (ndx == 0 || ndx == 1)
9924 /* __acl_aclcheck_fd */
9926 if (ndx == 0 || ndx == 1)
9931 if (ndx == 0 || ndx == 1)
9934 /* extattr_set_file */
9936 if (ndx == 0 || ndx == 1)
9939 /* extattr_get_file */
9941 if (ndx == 0 || ndx == 1)
9944 /* extattr_delete_file */
9946 if (ndx == 0 || ndx == 1)
9949 /* aio_waitcomplete */
9951 if (ndx == 0 || ndx == 1)
9956 if (ndx == 0 || ndx == 1)
9961 if (ndx == 0 || ndx == 1)
9968 if (ndx == 0 || ndx == 1)
9971 /* extattr_set_fd */
9973 if (ndx == 0 || ndx == 1)
9976 /* extattr_get_fd */
9978 if (ndx == 0 || ndx == 1)
9981 /* extattr_delete_fd */
9983 if (ndx == 0 || ndx == 1)
9988 if (ndx == 0 || ndx == 1)
9993 if (ndx == 0 || ndx == 1)
9998 if (ndx == 0 || ndx == 1)
10003 if (ndx == 0 || ndx == 1)
10006 /* __mac_get_proc */
10008 if (ndx == 0 || ndx == 1)
10011 /* __mac_set_proc */
10013 if (ndx == 0 || ndx == 1)
10018 if (ndx == 0 || ndx == 1)
10021 /* __mac_get_file */
10023 if (ndx == 0 || ndx == 1)
10028 if (ndx == 0 || ndx == 1)
10031 /* __mac_set_file */
10033 if (ndx == 0 || ndx == 1)
10038 if (ndx == 0 || ndx == 1)
10043 if (ndx == 0 || ndx == 1)
10048 if (ndx == 0 || ndx == 1)
10053 if (ndx == 0 || ndx == 1)
10058 if (ndx == 0 || ndx == 1)
10063 if (ndx == 0 || ndx == 1)
10068 if (ndx == 0 || ndx == 1)
10073 if (ndx == 0 || ndx == 1)
10078 if (ndx == 0 || ndx == 1)
10083 if (ndx == 0 || ndx == 1)
10088 if (ndx == 0 || ndx == 1)
10093 if (ndx == 0 || ndx == 1)
10098 if (ndx == 0 || ndx == 1)
10103 if (ndx == 0 || ndx == 1)
10108 if (ndx == 0 || ndx == 1)
10113 if (ndx == 0 || ndx == 1)
10116 /* ksem_getvalue */
10118 if (ndx == 0 || ndx == 1)
10123 if (ndx == 0 || ndx == 1)
10126 /* __mac_get_pid */
10128 if (ndx == 0 || ndx == 1)
10131 /* __mac_get_link */
10133 if (ndx == 0 || ndx == 1)
10136 /* __mac_set_link */
10138 if (ndx == 0 || ndx == 1)
10141 /* extattr_set_link */
10143 if (ndx == 0 || ndx == 1)
10146 /* extattr_get_link */
10148 if (ndx == 0 || ndx == 1)
10151 /* extattr_delete_link */
10153 if (ndx == 0 || ndx == 1)
10158 if (ndx == 0 || ndx == 1)
10163 if (ndx == 0 || ndx == 1)
10168 if (ndx == 0 || ndx == 1)
10173 if (ndx == 0 || ndx == 1)
10178 if (ndx == 0 || ndx == 1)
10183 if (ndx == 0 || ndx == 1)
10188 if (ndx == 0 || ndx == 1)
10191 /* __acl_get_link */
10193 if (ndx == 0 || ndx == 1)
10196 /* __acl_set_link */
10198 if (ndx == 0 || ndx == 1)
10201 /* __acl_delete_link */
10203 if (ndx == 0 || ndx == 1)
10206 /* __acl_aclcheck_link */
10208 if (ndx == 0 || ndx == 1)
10213 if (ndx == 0 || ndx == 1)
10218 if (ndx == 0 || ndx == 1)
10223 if (ndx == 0 || ndx == 1)
10228 if (ndx == 0 || ndx == 1)
10233 if (ndx == 0 || ndx == 1)
10238 if (ndx == 0 || ndx == 1)
10241 /* extattr_list_fd */
10243 if (ndx == 0 || ndx == 1)
10246 /* extattr_list_file */
10248 if (ndx == 0 || ndx == 1)
10251 /* extattr_list_link */
10253 if (ndx == 0 || ndx == 1)
10256 /* ksem_timedwait */
10258 if (ndx == 0 || ndx == 1)
10263 if (ndx == 0 || ndx == 1)
10268 if (ndx == 0 || ndx == 1)
10273 if (ndx == 0 || ndx == 1)
10278 if (ndx == 0 || ndx == 1)
10283 if (ndx == 0 || ndx == 1)
10288 if (ndx == 0 || ndx == 1)
10293 if (ndx == 0 || ndx == 1)
10298 if (ndx == 0 || ndx == 1)
10303 if (ndx == 0 || ndx == 1)
10306 /* getaudit_addr */
10308 if (ndx == 0 || ndx == 1)
10311 /* setaudit_addr */
10313 if (ndx == 0 || ndx == 1)
10318 if (ndx == 0 || ndx == 1)
10323 if (ndx == 0 || ndx == 1)
10328 if (ndx == 0 || ndx == 1)
10333 if (ndx == 0 || ndx == 1)
10338 if (ndx == 0 || ndx == 1)
10343 if (ndx == 0 || ndx == 1)
10346 /* kmq_timedreceive */
10348 if (ndx == 0 || ndx == 1)
10351 /* kmq_timedsend */
10353 if (ndx == 0 || ndx == 1)
10358 if (ndx == 0 || ndx == 1)
10363 if (ndx == 0 || ndx == 1)
10368 if (ndx == 0 || ndx == 1)
10373 if (ndx == 0 || ndx == 1)
10378 if (ndx == 0 || ndx == 1)
10381 /* rtprio_thread */
10383 if (ndx == 0 || ndx == 1)
10388 if (ndx == 0 || ndx == 1)
10391 /* sctp_generic_sendmsg */
10393 if (ndx == 0 || ndx == 1)
10396 /* sctp_generic_sendmsg_iov */
10398 if (ndx == 0 || ndx == 1)
10401 /* sctp_generic_recvmsg */
10403 if (ndx == 0 || ndx == 1)
10408 if (ndx == 0 || ndx == 1)
10413 if (ndx == 0 || ndx == 1)
10418 if (ndx == 0 || ndx == 1)
10423 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)
10453 if (ndx == 0 || ndx == 1)
10458 if (ndx == 0 || ndx == 1)
10463 if (ndx == 0 || ndx == 1)
10466 /* cpuset_getaffinity */
10468 if (ndx == 0 || ndx == 1)
10471 /* cpuset_setaffinity */
10473 if (ndx == 0 || ndx == 1)
10478 if (ndx == 0 || ndx == 1)
10483 if (ndx == 0 || ndx == 1)
10488 if (ndx == 0 || ndx == 1)
10493 if (ndx == 0 || ndx == 1)
10498 if (ndx == 0 || ndx == 1)
10503 if (ndx == 0 || ndx == 1)
10508 if (ndx == 0 || ndx == 1)
10513 if (ndx == 0 || ndx == 1)
10518 if (ndx == 0 || ndx == 1)
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)
10598 if (ndx == 0 || ndx == 1)
10601 /* __cap_rights_get */
10603 if (ndx == 0 || ndx == 1)
10610 if (ndx == 0 || ndx == 1)
10615 if (ndx == 0 || ndx == 1)
10620 if (ndx == 0 || ndx == 1)
10625 if (ndx == 0 || ndx == 1)
10630 if (ndx == 0 || ndx == 1)
10633 /* getloginclass */
10635 if (ndx == 0 || ndx == 1)
10638 /* setloginclass */
10640 if (ndx == 0 || ndx == 1)
10643 /* rctl_get_racct */
10645 if (ndx == 0 || ndx == 1)
10648 /* rctl_get_rules */
10650 if (ndx == 0 || ndx == 1)
10653 /* rctl_get_limits */
10655 if (ndx == 0 || ndx == 1)
10658 /* rctl_add_rule */
10660 if (ndx == 0 || ndx == 1)
10663 /* rctl_remove_rule */
10665 if (ndx == 0 || ndx == 1)
10668 /* posix_fallocate */
10670 if (ndx == 0 || ndx == 1)
10673 /* posix_fadvise */
10675 if (ndx == 0 || ndx == 1)
10680 if (ndx == 0 || ndx == 1)
10683 /* cap_rights_limit */
10685 if (ndx == 0 || ndx == 1)
10688 /* cap_ioctls_limit */
10690 if (ndx == 0 || ndx == 1)
10693 /* cap_ioctls_get */
10695 if (ndx == 0 || ndx == 1)
10698 /* cap_fcntls_limit */
10700 if (ndx == 0 || ndx == 1)
10703 /* cap_fcntls_get */
10705 if (ndx == 0 || ndx == 1)
10710 if (ndx == 0 || ndx == 1)
10715 if (ndx == 0 || ndx == 1)
10720 if (ndx == 0 || ndx == 1)
10725 if (ndx == 0 || ndx == 1)
10730 if (ndx == 0 || ndx == 1)
10735 if (ndx == 0 || ndx == 1)
10740 if (ndx == 0 || ndx == 1)
10745 if (ndx == 0 || ndx == 1)
10750 if (ndx == 0 || ndx == 1)
10755 if (ndx == 0 || ndx == 1)
10758 /* numa_getaffinity */
10760 if (ndx == 0 || ndx == 1)
10763 /* numa_setaffinity */
10765 if (ndx == 0 || ndx == 1)
10770 if (ndx == 0 || ndx == 1)
10777 strlcpy(desc, p, descsz);