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_nanosleep */
1295 struct clock_nanosleep_args *p = params;
1296 iarg[0] = p->clock_id; /* clockid_t */
1297 iarg[1] = p->flags; /* int */
1298 uarg[2] = (intptr_t) p->rqtp; /* const struct timespec * */
1299 uarg[3] = (intptr_t) p->rmtp; /* struct timespec * */
1303 /* clock_getcpuclockid2 */
1305 struct clock_getcpuclockid2_args *p = params;
1306 iarg[0] = p->id; /* id_t */
1307 iarg[1] = p->which; /* int */
1308 uarg[2] = (intptr_t) p->clock_id; /* clockid_t * */
1314 struct ntp_gettime_args *p = params;
1315 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1321 struct minherit_args *p = params;
1322 uarg[0] = (intptr_t) p->addr; /* void * */
1323 uarg[1] = p->len; /* size_t */
1324 iarg[2] = p->inherit; /* int */
1330 struct rfork_args *p = params;
1331 iarg[0] = p->flags; /* int */
1342 struct lchown_args *p = params;
1343 uarg[0] = (intptr_t) p->path; /* char * */
1344 iarg[1] = p->uid; /* int */
1345 iarg[2] = p->gid; /* int */
1351 struct aio_read_args *p = params;
1352 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1358 struct aio_write_args *p = params;
1359 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1365 struct lio_listio_args *p = params;
1366 iarg[0] = p->mode; /* int */
1367 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1368 iarg[2] = p->nent; /* int */
1369 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1375 struct getdents_args *p = params;
1376 iarg[0] = p->fd; /* int */
1377 uarg[1] = (intptr_t) p->buf; /* char * */
1378 uarg[2] = p->count; /* size_t */
1384 struct lchmod_args *p = params;
1385 uarg[0] = (intptr_t) p->path; /* char * */
1386 iarg[1] = p->mode; /* mode_t */
1392 struct lchown_args *p = params;
1393 uarg[0] = (intptr_t) p->path; /* char * */
1394 uarg[1] = p->uid; /* uid_t */
1395 iarg[2] = p->gid; /* gid_t */
1401 struct lutimes_args *p = params;
1402 uarg[0] = (intptr_t) p->path; /* char * */
1403 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1409 struct msync_args *p = params;
1410 uarg[0] = (intptr_t) p->addr; /* void * */
1411 uarg[1] = p->len; /* size_t */
1412 iarg[2] = p->flags; /* int */
1418 struct nstat_args *p = params;
1419 uarg[0] = (intptr_t) p->path; /* char * */
1420 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1426 struct nfstat_args *p = params;
1427 iarg[0] = p->fd; /* int */
1428 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1434 struct nlstat_args *p = params;
1435 uarg[0] = (intptr_t) p->path; /* char * */
1436 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1442 struct preadv_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 pwritev_args *p = params;
1453 iarg[0] = p->fd; /* int */
1454 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1455 uarg[2] = p->iovcnt; /* u_int */
1456 iarg[3] = p->offset; /* off_t */
1462 struct fhopen_args *p = params;
1463 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1464 iarg[1] = p->flags; /* int */
1470 struct fhstat_args *p = params;
1471 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1472 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1478 struct modnext_args *p = params;
1479 iarg[0] = p->modid; /* int */
1485 struct modstat_args *p = params;
1486 iarg[0] = p->modid; /* int */
1487 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1493 struct modfnext_args *p = params;
1494 iarg[0] = p->modid; /* int */
1500 struct modfind_args *p = params;
1501 uarg[0] = (intptr_t) p->name; /* const char * */
1507 struct kldload_args *p = params;
1508 uarg[0] = (intptr_t) p->file; /* const char * */
1514 struct kldunload_args *p = params;
1515 iarg[0] = p->fileid; /* int */
1521 struct kldfind_args *p = params;
1522 uarg[0] = (intptr_t) p->file; /* const char * */
1528 struct kldnext_args *p = params;
1529 iarg[0] = p->fileid; /* int */
1535 struct kldstat_args *p = params;
1536 iarg[0] = p->fileid; /* int */
1537 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1543 struct kldfirstmod_args *p = params;
1544 iarg[0] = p->fileid; /* int */
1550 struct getsid_args *p = params;
1551 iarg[0] = p->pid; /* pid_t */
1557 struct setresuid_args *p = params;
1558 uarg[0] = p->ruid; /* uid_t */
1559 uarg[1] = p->euid; /* uid_t */
1560 uarg[2] = p->suid; /* uid_t */
1566 struct setresgid_args *p = params;
1567 iarg[0] = p->rgid; /* gid_t */
1568 iarg[1] = p->egid; /* gid_t */
1569 iarg[2] = p->sgid; /* gid_t */
1575 struct aio_return_args *p = params;
1576 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1582 struct aio_suspend_args *p = params;
1583 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1584 iarg[1] = p->nent; /* int */
1585 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1591 struct aio_cancel_args *p = params;
1592 iarg[0] = p->fd; /* int */
1593 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1599 struct aio_error_args *p = params;
1600 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1611 struct mlockall_args *p = params;
1612 iarg[0] = p->how; /* int */
1623 struct __getcwd_args *p = params;
1624 uarg[0] = (intptr_t) p->buf; /* char * */
1625 uarg[1] = p->buflen; /* u_int */
1629 /* sched_setparam */
1631 struct sched_setparam_args *p = params;
1632 iarg[0] = p->pid; /* pid_t */
1633 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1637 /* sched_getparam */
1639 struct sched_getparam_args *p = params;
1640 iarg[0] = p->pid; /* pid_t */
1641 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1645 /* sched_setscheduler */
1647 struct sched_setscheduler_args *p = params;
1648 iarg[0] = p->pid; /* pid_t */
1649 iarg[1] = p->policy; /* int */
1650 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1654 /* sched_getscheduler */
1656 struct sched_getscheduler_args *p = params;
1657 iarg[0] = p->pid; /* pid_t */
1666 /* sched_get_priority_max */
1668 struct sched_get_priority_max_args *p = params;
1669 iarg[0] = p->policy; /* int */
1673 /* sched_get_priority_min */
1675 struct sched_get_priority_min_args *p = params;
1676 iarg[0] = p->policy; /* int */
1680 /* sched_rr_get_interval */
1682 struct sched_rr_get_interval_args *p = params;
1683 iarg[0] = p->pid; /* pid_t */
1684 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1690 struct utrace_args *p = params;
1691 uarg[0] = (intptr_t) p->addr; /* const void * */
1692 uarg[1] = p->len; /* size_t */
1698 struct kldsym_args *p = params;
1699 iarg[0] = p->fileid; /* int */
1700 iarg[1] = p->cmd; /* int */
1701 uarg[2] = (intptr_t) p->data; /* void * */
1707 struct jail_args *p = params;
1708 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1714 struct nnpfs_syscall_args *p = params;
1715 iarg[0] = p->operation; /* int */
1716 uarg[1] = (intptr_t) p->a_pathP; /* char * */
1717 iarg[2] = p->a_opcode; /* int */
1718 uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1719 iarg[4] = p->a_followSymlinks; /* int */
1725 struct sigprocmask_args *p = params;
1726 iarg[0] = p->how; /* int */
1727 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1728 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1734 struct sigsuspend_args *p = params;
1735 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1741 struct sigpending_args *p = params;
1742 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1748 struct sigtimedwait_args *p = params;
1749 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1750 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1751 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1757 struct sigwaitinfo_args *p = params;
1758 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1759 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1763 /* __acl_get_file */
1765 struct __acl_get_file_args *p = params;
1766 uarg[0] = (intptr_t) p->path; /* const char * */
1767 iarg[1] = p->type; /* acl_type_t */
1768 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1772 /* __acl_set_file */
1774 struct __acl_set_file_args *p = params;
1775 uarg[0] = (intptr_t) p->path; /* const char * */
1776 iarg[1] = p->type; /* acl_type_t */
1777 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1783 struct __acl_get_fd_args *p = params;
1784 iarg[0] = p->filedes; /* int */
1785 iarg[1] = p->type; /* acl_type_t */
1786 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1792 struct __acl_set_fd_args *p = params;
1793 iarg[0] = p->filedes; /* int */
1794 iarg[1] = p->type; /* acl_type_t */
1795 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1799 /* __acl_delete_file */
1801 struct __acl_delete_file_args *p = params;
1802 uarg[0] = (intptr_t) p->path; /* const char * */
1803 iarg[1] = p->type; /* acl_type_t */
1807 /* __acl_delete_fd */
1809 struct __acl_delete_fd_args *p = params;
1810 iarg[0] = p->filedes; /* int */
1811 iarg[1] = p->type; /* acl_type_t */
1815 /* __acl_aclcheck_file */
1817 struct __acl_aclcheck_file_args *p = params;
1818 uarg[0] = (intptr_t) p->path; /* const char * */
1819 iarg[1] = p->type; /* acl_type_t */
1820 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1824 /* __acl_aclcheck_fd */
1826 struct __acl_aclcheck_fd_args *p = params;
1827 iarg[0] = p->filedes; /* int */
1828 iarg[1] = p->type; /* acl_type_t */
1829 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1835 struct extattrctl_args *p = params;
1836 uarg[0] = (intptr_t) p->path; /* const char * */
1837 iarg[1] = p->cmd; /* int */
1838 uarg[2] = (intptr_t) p->filename; /* const char * */
1839 iarg[3] = p->attrnamespace; /* int */
1840 uarg[4] = (intptr_t) p->attrname; /* const char * */
1844 /* extattr_set_file */
1846 struct extattr_set_file_args *p = params;
1847 uarg[0] = (intptr_t) p->path; /* const char * */
1848 iarg[1] = p->attrnamespace; /* int */
1849 uarg[2] = (intptr_t) p->attrname; /* const char * */
1850 uarg[3] = (intptr_t) p->data; /* void * */
1851 uarg[4] = p->nbytes; /* size_t */
1855 /* extattr_get_file */
1857 struct extattr_get_file_args *p = params;
1858 uarg[0] = (intptr_t) p->path; /* const char * */
1859 iarg[1] = p->attrnamespace; /* int */
1860 uarg[2] = (intptr_t) p->attrname; /* const char * */
1861 uarg[3] = (intptr_t) p->data; /* void * */
1862 uarg[4] = p->nbytes; /* size_t */
1866 /* extattr_delete_file */
1868 struct extattr_delete_file_args *p = params;
1869 uarg[0] = (intptr_t) p->path; /* const char * */
1870 iarg[1] = p->attrnamespace; /* int */
1871 uarg[2] = (intptr_t) p->attrname; /* const char * */
1875 /* aio_waitcomplete */
1877 struct aio_waitcomplete_args *p = params;
1878 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1879 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1885 struct getresuid_args *p = params;
1886 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1887 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1888 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1894 struct getresgid_args *p = params;
1895 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1896 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1897 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1908 struct kevent_args *p = params;
1909 iarg[0] = p->fd; /* int */
1910 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
1911 iarg[2] = p->nchanges; /* int */
1912 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
1913 iarg[4] = p->nevents; /* int */
1914 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
1918 /* extattr_set_fd */
1920 struct extattr_set_fd_args *p = params;
1921 iarg[0] = p->fd; /* int */
1922 iarg[1] = p->attrnamespace; /* int */
1923 uarg[2] = (intptr_t) p->attrname; /* const char * */
1924 uarg[3] = (intptr_t) p->data; /* void * */
1925 uarg[4] = p->nbytes; /* size_t */
1929 /* extattr_get_fd */
1931 struct extattr_get_fd_args *p = params;
1932 iarg[0] = p->fd; /* int */
1933 iarg[1] = p->attrnamespace; /* int */
1934 uarg[2] = (intptr_t) p->attrname; /* const char * */
1935 uarg[3] = (intptr_t) p->data; /* void * */
1936 uarg[4] = p->nbytes; /* size_t */
1940 /* extattr_delete_fd */
1942 struct extattr_delete_fd_args *p = params;
1943 iarg[0] = p->fd; /* int */
1944 iarg[1] = p->attrnamespace; /* int */
1945 uarg[2] = (intptr_t) p->attrname; /* const char * */
1951 struct __setugid_args *p = params;
1952 iarg[0] = p->flag; /* int */
1958 struct eaccess_args *p = params;
1959 uarg[0] = (intptr_t) p->path; /* char * */
1960 iarg[1] = p->amode; /* int */
1966 struct afs3_syscall_args *p = params;
1967 iarg[0] = p->syscall; /* long */
1968 iarg[1] = p->parm1; /* long */
1969 iarg[2] = p->parm2; /* long */
1970 iarg[3] = p->parm3; /* long */
1971 iarg[4] = p->parm4; /* long */
1972 iarg[5] = p->parm5; /* long */
1973 iarg[6] = p->parm6; /* long */
1979 struct nmount_args *p = params;
1980 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
1981 uarg[1] = p->iovcnt; /* unsigned int */
1982 iarg[2] = p->flags; /* int */
1986 /* __mac_get_proc */
1988 struct __mac_get_proc_args *p = params;
1989 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
1993 /* __mac_set_proc */
1995 struct __mac_set_proc_args *p = params;
1996 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2002 struct __mac_get_fd_args *p = params;
2003 iarg[0] = p->fd; /* int */
2004 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2008 /* __mac_get_file */
2010 struct __mac_get_file_args *p = params;
2011 uarg[0] = (intptr_t) p->path_p; /* const char * */
2012 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2018 struct __mac_set_fd_args *p = params;
2019 iarg[0] = p->fd; /* int */
2020 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2024 /* __mac_set_file */
2026 struct __mac_set_file_args *p = params;
2027 uarg[0] = (intptr_t) p->path_p; /* const char * */
2028 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2034 struct kenv_args *p = params;
2035 iarg[0] = p->what; /* int */
2036 uarg[1] = (intptr_t) p->name; /* const char * */
2037 uarg[2] = (intptr_t) p->value; /* char * */
2038 iarg[3] = p->len; /* int */
2044 struct lchflags_args *p = params;
2045 uarg[0] = (intptr_t) p->path; /* const char * */
2046 uarg[1] = p->flags; /* u_long */
2052 struct uuidgen_args *p = params;
2053 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2054 iarg[1] = p->count; /* int */
2060 struct sendfile_args *p = params;
2061 iarg[0] = p->fd; /* int */
2062 iarg[1] = p->s; /* int */
2063 iarg[2] = p->offset; /* off_t */
2064 uarg[3] = p->nbytes; /* size_t */
2065 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2066 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2067 iarg[6] = p->flags; /* int */
2073 struct mac_syscall_args *p = params;
2074 uarg[0] = (intptr_t) p->policy; /* const char * */
2075 iarg[1] = p->call; /* int */
2076 uarg[2] = (intptr_t) p->arg; /* void * */
2082 struct getfsstat_args *p = params;
2083 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2084 iarg[1] = p->bufsize; /* long */
2085 iarg[2] = p->mode; /* int */
2091 struct statfs_args *p = params;
2092 uarg[0] = (intptr_t) p->path; /* char * */
2093 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2099 struct fstatfs_args *p = params;
2100 iarg[0] = p->fd; /* int */
2101 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2107 struct fhstatfs_args *p = params;
2108 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2109 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2115 struct ksem_close_args *p = params;
2116 iarg[0] = p->id; /* semid_t */
2122 struct ksem_post_args *p = params;
2123 iarg[0] = p->id; /* semid_t */
2129 struct ksem_wait_args *p = params;
2130 iarg[0] = p->id; /* semid_t */
2136 struct ksem_trywait_args *p = params;
2137 iarg[0] = p->id; /* semid_t */
2143 struct ksem_init_args *p = params;
2144 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2145 uarg[1] = p->value; /* unsigned int */
2151 struct ksem_open_args *p = params;
2152 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2153 uarg[1] = (intptr_t) p->name; /* const char * */
2154 iarg[2] = p->oflag; /* int */
2155 iarg[3] = p->mode; /* mode_t */
2156 uarg[4] = p->value; /* unsigned int */
2162 struct ksem_unlink_args *p = params;
2163 uarg[0] = (intptr_t) p->name; /* const char * */
2169 struct ksem_getvalue_args *p = params;
2170 iarg[0] = p->id; /* semid_t */
2171 uarg[1] = (intptr_t) p->val; /* int * */
2177 struct ksem_destroy_args *p = params;
2178 iarg[0] = p->id; /* semid_t */
2184 struct __mac_get_pid_args *p = params;
2185 iarg[0] = p->pid; /* pid_t */
2186 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2190 /* __mac_get_link */
2192 struct __mac_get_link_args *p = params;
2193 uarg[0] = (intptr_t) p->path_p; /* const char * */
2194 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2198 /* __mac_set_link */
2200 struct __mac_set_link_args *p = params;
2201 uarg[0] = (intptr_t) p->path_p; /* const char * */
2202 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2206 /* extattr_set_link */
2208 struct extattr_set_link_args *p = params;
2209 uarg[0] = (intptr_t) p->path; /* const char * */
2210 iarg[1] = p->attrnamespace; /* int */
2211 uarg[2] = (intptr_t) p->attrname; /* const char * */
2212 uarg[3] = (intptr_t) p->data; /* void * */
2213 uarg[4] = p->nbytes; /* size_t */
2217 /* extattr_get_link */
2219 struct extattr_get_link_args *p = params;
2220 uarg[0] = (intptr_t) p->path; /* const char * */
2221 iarg[1] = p->attrnamespace; /* int */
2222 uarg[2] = (intptr_t) p->attrname; /* const char * */
2223 uarg[3] = (intptr_t) p->data; /* void * */
2224 uarg[4] = p->nbytes; /* size_t */
2228 /* extattr_delete_link */
2230 struct extattr_delete_link_args *p = params;
2231 uarg[0] = (intptr_t) p->path; /* const char * */
2232 iarg[1] = p->attrnamespace; /* int */
2233 uarg[2] = (intptr_t) p->attrname; /* const char * */
2239 struct __mac_execve_args *p = params;
2240 uarg[0] = (intptr_t) p->fname; /* char * */
2241 uarg[1] = (intptr_t) p->argv; /* char ** */
2242 uarg[2] = (intptr_t) p->envv; /* char ** */
2243 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2249 struct sigaction_args *p = params;
2250 iarg[0] = p->sig; /* int */
2251 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2252 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2258 struct sigreturn_args *p = params;
2259 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2265 struct getcontext_args *p = params;
2266 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2272 struct setcontext_args *p = params;
2273 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2279 struct swapcontext_args *p = params;
2280 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2281 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2287 struct swapoff_args *p = params;
2288 uarg[0] = (intptr_t) p->name; /* const char * */
2292 /* __acl_get_link */
2294 struct __acl_get_link_args *p = params;
2295 uarg[0] = (intptr_t) p->path; /* const char * */
2296 iarg[1] = p->type; /* acl_type_t */
2297 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2301 /* __acl_set_link */
2303 struct __acl_set_link_args *p = params;
2304 uarg[0] = (intptr_t) p->path; /* const char * */
2305 iarg[1] = p->type; /* acl_type_t */
2306 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2310 /* __acl_delete_link */
2312 struct __acl_delete_link_args *p = params;
2313 uarg[0] = (intptr_t) p->path; /* const char * */
2314 iarg[1] = p->type; /* acl_type_t */
2318 /* __acl_aclcheck_link */
2320 struct __acl_aclcheck_link_args *p = params;
2321 uarg[0] = (intptr_t) p->path; /* const char * */
2322 iarg[1] = p->type; /* acl_type_t */
2323 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2329 struct sigwait_args *p = params;
2330 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2331 uarg[1] = (intptr_t) p->sig; /* int * */
2337 struct thr_create_args *p = params;
2338 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2339 uarg[1] = (intptr_t) p->id; /* long * */
2340 iarg[2] = p->flags; /* int */
2346 struct thr_exit_args *p = params;
2347 uarg[0] = (intptr_t) p->state; /* long * */
2353 struct thr_self_args *p = params;
2354 uarg[0] = (intptr_t) p->id; /* long * */
2360 struct thr_kill_args *p = params;
2361 iarg[0] = p->id; /* long */
2362 iarg[1] = p->sig; /* int */
2368 struct jail_attach_args *p = params;
2369 iarg[0] = p->jid; /* int */
2373 /* extattr_list_fd */
2375 struct extattr_list_fd_args *p = params;
2376 iarg[0] = p->fd; /* int */
2377 iarg[1] = p->attrnamespace; /* int */
2378 uarg[2] = (intptr_t) p->data; /* void * */
2379 uarg[3] = p->nbytes; /* size_t */
2383 /* extattr_list_file */
2385 struct extattr_list_file_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 /* extattr_list_link */
2395 struct extattr_list_link_args *p = params;
2396 uarg[0] = (intptr_t) p->path; /* const char * */
2397 iarg[1] = p->attrnamespace; /* int */
2398 uarg[2] = (intptr_t) p->data; /* void * */
2399 uarg[3] = p->nbytes; /* size_t */
2403 /* ksem_timedwait */
2405 struct ksem_timedwait_args *p = params;
2406 iarg[0] = p->id; /* semid_t */
2407 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2413 struct thr_suspend_args *p = params;
2414 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2420 struct thr_wake_args *p = params;
2421 iarg[0] = p->id; /* long */
2427 struct kldunloadf_args *p = params;
2428 iarg[0] = p->fileid; /* int */
2429 iarg[1] = p->flags; /* int */
2435 struct audit_args *p = params;
2436 uarg[0] = (intptr_t) p->record; /* const void * */
2437 uarg[1] = p->length; /* u_int */
2443 struct auditon_args *p = params;
2444 iarg[0] = p->cmd; /* int */
2445 uarg[1] = (intptr_t) p->data; /* void * */
2446 uarg[2] = p->length; /* u_int */
2452 struct getauid_args *p = params;
2453 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2459 struct setauid_args *p = params;
2460 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2466 struct getaudit_args *p = params;
2467 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2473 struct setaudit_args *p = params;
2474 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2480 struct getaudit_addr_args *p = params;
2481 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2482 uarg[1] = p->length; /* u_int */
2488 struct setaudit_addr_args *p = params;
2489 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2490 uarg[1] = p->length; /* u_int */
2496 struct auditctl_args *p = params;
2497 uarg[0] = (intptr_t) p->path; /* char * */
2503 struct _umtx_op_args *p = params;
2504 uarg[0] = (intptr_t) p->obj; /* void * */
2505 iarg[1] = p->op; /* int */
2506 uarg[2] = p->val; /* u_long */
2507 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2508 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2514 struct thr_new_args *p = params;
2515 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2516 iarg[1] = p->param_size; /* int */
2522 struct sigqueue_args *p = params;
2523 iarg[0] = p->pid; /* pid_t */
2524 iarg[1] = p->signum; /* int */
2525 uarg[2] = (intptr_t) p->value; /* void * */
2531 struct kmq_open_args *p = params;
2532 uarg[0] = (intptr_t) p->path; /* const char * */
2533 iarg[1] = p->flags; /* int */
2534 iarg[2] = p->mode; /* mode_t */
2535 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2541 struct kmq_setattr_args *p = params;
2542 iarg[0] = p->mqd; /* int */
2543 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2544 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2548 /* kmq_timedreceive */
2550 struct kmq_timedreceive_args *p = params;
2551 iarg[0] = p->mqd; /* int */
2552 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2553 uarg[2] = p->msg_len; /* size_t */
2554 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2555 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2561 struct kmq_timedsend_args *p = params;
2562 iarg[0] = p->mqd; /* int */
2563 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2564 uarg[2] = p->msg_len; /* size_t */
2565 uarg[3] = p->msg_prio; /* unsigned */
2566 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2572 struct kmq_notify_args *p = params;
2573 iarg[0] = p->mqd; /* int */
2574 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2580 struct kmq_unlink_args *p = params;
2581 uarg[0] = (intptr_t) p->path; /* const char * */
2587 struct abort2_args *p = params;
2588 uarg[0] = (intptr_t) p->why; /* const char * */
2589 iarg[1] = p->nargs; /* int */
2590 uarg[2] = (intptr_t) p->args; /* void ** */
2596 struct thr_set_name_args *p = params;
2597 iarg[0] = p->id; /* long */
2598 uarg[1] = (intptr_t) p->name; /* const char * */
2604 struct aio_fsync_args *p = params;
2605 iarg[0] = p->op; /* int */
2606 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2612 struct rtprio_thread_args *p = params;
2613 iarg[0] = p->function; /* int */
2614 iarg[1] = p->lwpid; /* lwpid_t */
2615 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2621 struct sctp_peeloff_args *p = params;
2622 iarg[0] = p->sd; /* int */
2623 uarg[1] = p->name; /* uint32_t */
2627 /* sctp_generic_sendmsg */
2629 struct sctp_generic_sendmsg_args *p = params;
2630 iarg[0] = p->sd; /* int */
2631 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2632 iarg[2] = p->mlen; /* int */
2633 uarg[3] = (intptr_t) p->to; /* caddr_t */
2634 iarg[4] = p->tolen; /* __socklen_t */
2635 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2636 iarg[6] = p->flags; /* int */
2640 /* sctp_generic_sendmsg_iov */
2642 struct sctp_generic_sendmsg_iov_args *p = params;
2643 iarg[0] = p->sd; /* int */
2644 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2645 iarg[2] = p->iovlen; /* int */
2646 uarg[3] = (intptr_t) p->to; /* caddr_t */
2647 iarg[4] = p->tolen; /* __socklen_t */
2648 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2649 iarg[6] = p->flags; /* int */
2653 /* sctp_generic_recvmsg */
2655 struct sctp_generic_recvmsg_args *p = params;
2656 iarg[0] = p->sd; /* int */
2657 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2658 iarg[2] = p->iovlen; /* int */
2659 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2660 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2661 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2662 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2668 struct pread_args *p = params;
2669 iarg[0] = p->fd; /* int */
2670 uarg[1] = (intptr_t) p->buf; /* void * */
2671 uarg[2] = p->nbyte; /* size_t */
2672 iarg[3] = p->offset; /* off_t */
2678 struct pwrite_args *p = params;
2679 iarg[0] = p->fd; /* int */
2680 uarg[1] = (intptr_t) p->buf; /* const void * */
2681 uarg[2] = p->nbyte; /* size_t */
2682 iarg[3] = p->offset; /* off_t */
2688 struct mmap_args *p = params;
2689 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2690 uarg[1] = p->len; /* size_t */
2691 iarg[2] = p->prot; /* int */
2692 iarg[3] = p->flags; /* int */
2693 iarg[4] = p->fd; /* int */
2694 iarg[5] = p->pos; /* off_t */
2700 struct lseek_args *p = params;
2701 iarg[0] = p->fd; /* int */
2702 iarg[1] = p->offset; /* off_t */
2703 iarg[2] = p->whence; /* int */
2709 struct truncate_args *p = params;
2710 uarg[0] = (intptr_t) p->path; /* char * */
2711 iarg[1] = p->length; /* off_t */
2717 struct ftruncate_args *p = params;
2718 iarg[0] = p->fd; /* int */
2719 iarg[1] = p->length; /* off_t */
2725 struct thr_kill2_args *p = params;
2726 iarg[0] = p->pid; /* pid_t */
2727 iarg[1] = p->id; /* long */
2728 iarg[2] = p->sig; /* int */
2734 struct shm_open_args *p = params;
2735 uarg[0] = (intptr_t) p->path; /* const char * */
2736 iarg[1] = p->flags; /* int */
2737 iarg[2] = p->mode; /* mode_t */
2743 struct shm_unlink_args *p = params;
2744 uarg[0] = (intptr_t) p->path; /* const char * */
2750 struct cpuset_args *p = params;
2751 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2757 struct cpuset_setid_args *p = params;
2758 iarg[0] = p->which; /* cpuwhich_t */
2759 iarg[1] = p->id; /* id_t */
2760 iarg[2] = p->setid; /* cpusetid_t */
2766 struct cpuset_getid_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] = (intptr_t) p->setid; /* cpusetid_t * */
2774 /* cpuset_getaffinity */
2776 struct cpuset_getaffinity_args *p = params;
2777 iarg[0] = p->level; /* cpulevel_t */
2778 iarg[1] = p->which; /* cpuwhich_t */
2779 iarg[2] = p->id; /* id_t */
2780 uarg[3] = p->cpusetsize; /* size_t */
2781 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2785 /* cpuset_setaffinity */
2787 struct cpuset_setaffinity_args *p = params;
2788 iarg[0] = p->level; /* cpulevel_t */
2789 iarg[1] = p->which; /* cpuwhich_t */
2790 iarg[2] = p->id; /* id_t */
2791 uarg[3] = p->cpusetsize; /* size_t */
2792 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2798 struct faccessat_args *p = params;
2799 iarg[0] = p->fd; /* int */
2800 uarg[1] = (intptr_t) p->path; /* char * */
2801 iarg[2] = p->amode; /* int */
2802 iarg[3] = p->flag; /* int */
2808 struct fchmodat_args *p = params;
2809 iarg[0] = p->fd; /* int */
2810 uarg[1] = (intptr_t) p->path; /* char * */
2811 iarg[2] = p->mode; /* mode_t */
2812 iarg[3] = p->flag; /* int */
2818 struct fchownat_args *p = params;
2819 iarg[0] = p->fd; /* int */
2820 uarg[1] = (intptr_t) p->path; /* char * */
2821 uarg[2] = p->uid; /* uid_t */
2822 iarg[3] = p->gid; /* gid_t */
2823 iarg[4] = p->flag; /* int */
2829 struct fexecve_args *p = params;
2830 iarg[0] = p->fd; /* int */
2831 uarg[1] = (intptr_t) p->argv; /* char ** */
2832 uarg[2] = (intptr_t) p->envv; /* char ** */
2838 struct fstatat_args *p = params;
2839 iarg[0] = p->fd; /* int */
2840 uarg[1] = (intptr_t) p->path; /* char * */
2841 uarg[2] = (intptr_t) p->buf; /* struct stat * */
2842 iarg[3] = p->flag; /* int */
2848 struct futimesat_args *p = params;
2849 iarg[0] = p->fd; /* int */
2850 uarg[1] = (intptr_t) p->path; /* char * */
2851 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2857 struct linkat_args *p = params;
2858 iarg[0] = p->fd1; /* int */
2859 uarg[1] = (intptr_t) p->path1; /* char * */
2860 iarg[2] = p->fd2; /* int */
2861 uarg[3] = (intptr_t) p->path2; /* char * */
2862 iarg[4] = p->flag; /* int */
2868 struct mkdirat_args *p = params;
2869 iarg[0] = p->fd; /* int */
2870 uarg[1] = (intptr_t) p->path; /* char * */
2871 iarg[2] = p->mode; /* mode_t */
2877 struct mkfifoat_args *p = params;
2878 iarg[0] = p->fd; /* int */
2879 uarg[1] = (intptr_t) p->path; /* char * */
2880 iarg[2] = p->mode; /* mode_t */
2886 struct mknodat_args *p = params;
2887 iarg[0] = p->fd; /* int */
2888 uarg[1] = (intptr_t) p->path; /* char * */
2889 iarg[2] = p->mode; /* mode_t */
2890 iarg[3] = p->dev; /* dev_t */
2896 struct openat_args *p = params;
2897 iarg[0] = p->fd; /* int */
2898 uarg[1] = (intptr_t) p->path; /* char * */
2899 iarg[2] = p->flag; /* int */
2900 iarg[3] = p->mode; /* mode_t */
2906 struct readlinkat_args *p = params;
2907 iarg[0] = p->fd; /* int */
2908 uarg[1] = (intptr_t) p->path; /* char * */
2909 uarg[2] = (intptr_t) p->buf; /* char * */
2910 uarg[3] = p->bufsize; /* size_t */
2916 struct renameat_args *p = params;
2917 iarg[0] = p->oldfd; /* int */
2918 uarg[1] = (intptr_t) p->old; /* char * */
2919 iarg[2] = p->newfd; /* int */
2920 uarg[3] = (intptr_t) p->new; /* char * */
2926 struct symlinkat_args *p = params;
2927 uarg[0] = (intptr_t) p->path1; /* char * */
2928 iarg[1] = p->fd; /* int */
2929 uarg[2] = (intptr_t) p->path2; /* char * */
2935 struct unlinkat_args *p = params;
2936 iarg[0] = p->fd; /* int */
2937 uarg[1] = (intptr_t) p->path; /* char * */
2938 iarg[2] = p->flag; /* int */
2944 struct posix_openpt_args *p = params;
2945 iarg[0] = p->flags; /* int */
2951 struct gssd_syscall_args *p = params;
2952 uarg[0] = (intptr_t) p->path; /* char * */
2958 struct jail_get_args *p = params;
2959 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2960 uarg[1] = p->iovcnt; /* unsigned int */
2961 iarg[2] = p->flags; /* int */
2967 struct jail_set_args *p = params;
2968 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2969 uarg[1] = p->iovcnt; /* unsigned int */
2970 iarg[2] = p->flags; /* int */
2976 struct jail_remove_args *p = params;
2977 iarg[0] = p->jid; /* int */
2983 struct closefrom_args *p = params;
2984 iarg[0] = p->lowfd; /* int */
2990 struct __semctl_args *p = params;
2991 iarg[0] = p->semid; /* int */
2992 iarg[1] = p->semnum; /* int */
2993 iarg[2] = p->cmd; /* int */
2994 uarg[3] = (intptr_t) p->arg; /* union semun * */
3000 struct msgctl_args *p = params;
3001 iarg[0] = p->msqid; /* int */
3002 iarg[1] = p->cmd; /* int */
3003 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
3009 struct shmctl_args *p = params;
3010 iarg[0] = p->shmid; /* int */
3011 iarg[1] = p->cmd; /* int */
3012 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
3018 struct lpathconf_args *p = params;
3019 uarg[0] = (intptr_t) p->path; /* char * */
3020 iarg[1] = p->name; /* int */
3024 /* __cap_rights_get */
3026 struct __cap_rights_get_args *p = params;
3027 iarg[0] = p->version; /* int */
3028 iarg[1] = p->fd; /* int */
3029 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */
3040 struct cap_getmode_args *p = params;
3041 uarg[0] = (intptr_t) p->modep; /* u_int * */
3047 struct pdfork_args *p = params;
3048 uarg[0] = (intptr_t) p->fdp; /* int * */
3049 iarg[1] = p->flags; /* int */
3055 struct pdkill_args *p = params;
3056 iarg[0] = p->fd; /* int */
3057 iarg[1] = p->signum; /* int */
3063 struct pdgetpid_args *p = params;
3064 iarg[0] = p->fd; /* int */
3065 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
3071 struct pselect_args *p = params;
3072 iarg[0] = p->nd; /* int */
3073 uarg[1] = (intptr_t) p->in; /* fd_set * */
3074 uarg[2] = (intptr_t) p->ou; /* fd_set * */
3075 uarg[3] = (intptr_t) p->ex; /* fd_set * */
3076 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
3077 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
3083 struct getloginclass_args *p = params;
3084 uarg[0] = (intptr_t) p->namebuf; /* char * */
3085 uarg[1] = p->namelen; /* size_t */
3091 struct setloginclass_args *p = params;
3092 uarg[0] = (intptr_t) p->namebuf; /* const char * */
3096 /* rctl_get_racct */
3098 struct rctl_get_racct_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_rules */
3108 struct rctl_get_rules_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 */
3116 /* rctl_get_limits */
3118 struct rctl_get_limits_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 */
3128 struct rctl_add_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 /* rctl_remove_rule */
3138 struct rctl_remove_rule_args *p = params;
3139 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3140 uarg[1] = p->inbuflen; /* size_t */
3141 uarg[2] = (intptr_t) p->outbufp; /* void * */
3142 uarg[3] = p->outbuflen; /* size_t */
3146 /* posix_fallocate */
3148 struct posix_fallocate_args *p = params;
3149 iarg[0] = p->fd; /* int */
3150 iarg[1] = p->offset; /* off_t */
3151 iarg[2] = p->len; /* off_t */
3157 struct posix_fadvise_args *p = params;
3158 iarg[0] = p->fd; /* int */
3159 iarg[1] = p->offset; /* off_t */
3160 iarg[2] = p->len; /* off_t */
3161 iarg[3] = p->advice; /* int */
3167 struct wait6_args *p = params;
3168 iarg[0] = p->idtype; /* idtype_t */
3169 iarg[1] = p->id; /* id_t */
3170 uarg[2] = (intptr_t) p->status; /* int * */
3171 iarg[3] = p->options; /* int */
3172 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */
3173 uarg[5] = (intptr_t) p->info; /* siginfo_t * */
3177 /* cap_rights_limit */
3179 struct cap_rights_limit_args *p = params;
3180 iarg[0] = p->fd; /* int */
3181 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */
3185 /* cap_ioctls_limit */
3187 struct cap_ioctls_limit_args *p = params;
3188 iarg[0] = p->fd; /* int */
3189 uarg[1] = (intptr_t) p->cmds; /* const u_long * */
3190 uarg[2] = p->ncmds; /* size_t */
3194 /* cap_ioctls_get */
3196 struct cap_ioctls_get_args *p = params;
3197 iarg[0] = p->fd; /* int */
3198 uarg[1] = (intptr_t) p->cmds; /* u_long * */
3199 uarg[2] = p->maxcmds; /* size_t */
3203 /* cap_fcntls_limit */
3205 struct cap_fcntls_limit_args *p = params;
3206 iarg[0] = p->fd; /* int */
3207 uarg[1] = p->fcntlrights; /* uint32_t */
3211 /* cap_fcntls_get */
3213 struct cap_fcntls_get_args *p = params;
3214 iarg[0] = p->fd; /* int */
3215 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
3221 struct bindat_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 connectat_args *p = params;
3232 iarg[0] = p->fd; /* int */
3233 iarg[1] = p->s; /* int */
3234 uarg[2] = (intptr_t) p->name; /* caddr_t */
3235 iarg[3] = p->namelen; /* int */
3241 struct chflagsat_args *p = params;
3242 iarg[0] = p->fd; /* int */
3243 uarg[1] = (intptr_t) p->path; /* const char * */
3244 uarg[2] = p->flags; /* u_long */
3245 iarg[3] = p->atflag; /* int */
3251 struct accept4_args *p = params;
3252 iarg[0] = p->s; /* int */
3253 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
3254 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
3255 iarg[3] = p->flags; /* int */
3261 struct pipe2_args *p = params;
3262 uarg[0] = (intptr_t) p->fildes; /* int * */
3263 iarg[1] = p->flags; /* int */
3269 struct aio_mlock_args *p = params;
3270 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3276 struct procctl_args *p = params;
3277 iarg[0] = p->idtype; /* idtype_t */
3278 iarg[1] = p->id; /* id_t */
3279 iarg[2] = p->com; /* int */
3280 uarg[3] = (intptr_t) p->data; /* void * */
3286 struct ppoll_args *p = params;
3287 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
3288 uarg[1] = p->nfds; /* u_int */
3289 uarg[2] = (intptr_t) p->ts; /* const struct timespec * */
3290 uarg[3] = (intptr_t) p->set; /* const sigset_t * */
3296 struct futimens_args *p = params;
3297 iarg[0] = p->fd; /* int */
3298 uarg[1] = (intptr_t) p->times; /* struct timespec * */
3304 struct utimensat_args *p = params;
3305 iarg[0] = p->fd; /* int */
3306 uarg[1] = (intptr_t) p->path; /* char * */
3307 uarg[2] = (intptr_t) p->times; /* struct timespec * */
3308 iarg[3] = p->flag; /* int */
3312 /* numa_getaffinity */
3314 struct numa_getaffinity_args *p = params;
3315 iarg[0] = p->which; /* cpuwhich_t */
3316 iarg[1] = p->id; /* id_t */
3317 uarg[2] = (intptr_t) p->policy; /* struct vm_domain_policy_entry * */
3321 /* numa_setaffinity */
3323 struct numa_setaffinity_args *p = params;
3324 iarg[0] = p->which; /* cpuwhich_t */
3325 iarg[1] = p->id; /* id_t */
3326 uarg[2] = (intptr_t) p->policy; /* const struct vm_domain_policy_entry * */
3332 struct fdatasync_args *p = params;
3333 iarg[0] = p->fd; /* int */
3343 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3345 const char *p = NULL;
3370 p = "userland void *";
3386 p = "userland const void *";
3399 p = "userland char *";
3428 p = "userland int *";
3434 p = "userland struct rusage *";
3444 p = "userland char *";
3447 p = "userland char *";
3457 p = "userland char *";
3467 p = "userland char *";
3487 p = "userland char *";
3503 p = "userland char *";
3516 p = "userland char *";
3532 p = "userland char *";
3545 p = "userland char *";
3548 p = "userland char *";
3564 p = "userland char *";
3615 p = "userland struct msghdr *";
3631 p = "userland struct msghdr *";
3656 p = "userland struct sockaddr *";
3659 p = "userland __socklen_t *";
3672 p = "userland struct sockaddr *";
3675 p = "userland __socklen_t *";
3688 p = "userland struct sockaddr *";
3691 p = "userland __socklen_t *";
3704 p = "userland struct sockaddr *";
3707 p = "userland __socklen_t *";
3717 p = "userland char *";
3730 p = "userland const char *";
3807 p = "userland const char *";
3829 p = "userland char *";
3842 p = "userland char *";
3852 p = "userland char *";
3862 p = "userland stack_t *";
3865 p = "userland stack_t *";
3901 p = "userland char *";
3911 p = "userland char *";
3914 p = "userland char *";
3924 p = "userland char *";
3927 p = "userland char *";
3940 p = "userland char *";
3943 p = "userland char **";
3946 p = "userland char **";
3966 p = "userland char *";
3976 p = "userland void *";
4025 p = "userland void *";
4038 p = "userland void *";
4054 p = "userland void *";
4070 p = "userland const void *";
4076 p = "userland char *";
4089 p = "userland gid_t *";
4102 p = "userland gid_t *";
4131 p = "userland struct itimerval *";
4134 p = "userland struct itimerval *";
4144 p = "userland char *";
4157 p = "userland struct itimerval *";
4202 p = "userland fd_set *";
4205 p = "userland fd_set *";
4208 p = "userland fd_set *";
4211 p = "userland struct timeval *";
4343 p = "userland struct timeval *";
4346 p = "userland struct timezone *";
4359 p = "userland struct rusage *";
4381 p = "userland int *";
4394 p = "userland struct iovec *";
4410 p = "userland struct iovec *";
4423 p = "userland struct timeval *";
4426 p = "userland struct timezone *";
4491 p = "userland char *";
4494 p = "userland char *";
4517 p = "userland char *";
4577 p = "userland int *";
4587 p = "userland char *";
4600 p = "userland char *";
4610 p = "userland char *";
4613 p = "userland struct timeval *";
4623 p = "userland struct timeval *";
4626 p = "userland struct timeval *";
4639 p = "userland char *";
4667 p = "userland char **";
4690 p = "userland char *";
4693 p = "userland struct fhandle *";
4703 p = "userland char *";
4706 p = "userland struct fhandle *";
4719 p = "userland char *";
4735 p = "userland struct rtprio *";
4821 p = "userland struct timex *";
4861 p = "userland char *";
4864 p = "userland struct stat *";
4877 p = "userland struct stat *";
4887 p = "userland char *";
4890 p = "userland struct stat *";
4900 p = "userland char *";
4929 p = "userland struct rlimit *";
4942 p = "userland struct rlimit *";
4955 p = "userland char *";
4961 p = "userland long *";
4974 p = "userland int *";
4980 p = "userland void *";
4983 p = "userland size_t *";
4986 p = "userland void *";
4999 p = "userland const void *";
5012 p = "userland const void *";
5025 p = "userland char *";
5038 p = "userland struct timeval *";
5058 p = "userland struct pollfd *";
5123 p = "userland struct sembuf *";
5152 p = "userland const void *";
5171 p = "userland void *";
5193 p = "userland const void *";
5206 p = "userland const void *";
5235 p = "userland struct timespec *";
5248 p = "userland const struct timespec *";
5261 p = "userland struct timespec *";
5274 p = "userland struct sigevent *";
5277 p = "userland int *";
5293 /* ktimer_settime */
5303 p = "userland const struct itimerspec *";
5306 p = "userland struct itimerspec *";
5312 /* ktimer_gettime */
5319 p = "userland struct itimerspec *";
5325 /* ktimer_getoverrun */
5339 p = "userland const struct timespec *";
5342 p = "userland struct timespec *";
5348 /* ffclock_getcounter */
5352 p = "userland ffcounter *";
5358 /* ffclock_setestimate */
5362 p = "userland struct ffclock_estimate *";
5368 /* ffclock_getestimate */
5372 p = "userland struct ffclock_estimate *";
5378 /* clock_nanosleep */
5388 p = "userland const struct timespec *";
5391 p = "userland struct timespec *";
5397 /* clock_getcpuclockid2 */
5407 p = "userland clockid_t *";
5417 p = "userland struct ntptimeval *";
5427 p = "userland void *";
5456 p = "userland char *";
5472 p = "userland struct aiocb *";
5482 p = "userland struct aiocb *";
5495 p = "userland struct aiocb *const *";
5501 p = "userland struct sigevent *";
5514 p = "userland char *";
5527 p = "userland char *";
5540 p = "userland char *";
5556 p = "userland char *";
5559 p = "userland struct timeval *";
5569 p = "userland void *";
5585 p = "userland char *";
5588 p = "userland struct nstat *";
5601 p = "userland struct nstat *";
5611 p = "userland char *";
5614 p = "userland struct nstat *";
5627 p = "userland struct iovec *";
5646 p = "userland struct iovec *";
5662 p = "userland const struct fhandle *";
5675 p = "userland const struct fhandle *";
5678 p = "userland struct stat *";
5701 p = "userland struct module_stat *";
5721 p = "userland const char *";
5731 p = "userland const char *";
5751 p = "userland const char *";
5774 p = "userland struct kld_file_stat *";
5836 p = "userland struct aiocb *";
5846 p = "userland struct aiocb *const *";
5852 p = "userland const struct timespec *";
5865 p = "userland struct aiocb *";
5875 p = "userland struct aiocb *";
5901 p = "userland char *";
5910 /* sched_setparam */
5917 p = "userland const struct sched_param *";
5923 /* sched_getparam */
5930 p = "userland struct sched_param *";
5936 /* sched_setscheduler */
5946 p = "userland const struct sched_param *";
5952 /* sched_getscheduler */
5965 /* sched_get_priority_max */
5975 /* sched_get_priority_min */
5985 /* sched_rr_get_interval */
5992 p = "userland struct timespec *";
6002 p = "userland const void *";
6021 p = "userland void *";
6031 p = "userland struct jail *";
6044 p = "userland char *";
6050 p = "userland void *";
6066 p = "userland const sigset_t *";
6069 p = "userland sigset_t *";
6079 p = "userland const sigset_t *";
6089 p = "userland sigset_t *";
6099 p = "userland const sigset_t *";
6102 p = "userland siginfo_t *";
6105 p = "userland const struct timespec *";
6115 p = "userland const sigset_t *";
6118 p = "userland siginfo_t *";
6124 /* __acl_get_file */
6128 p = "userland const char *";
6134 p = "userland struct acl *";
6140 /* __acl_set_file */
6144 p = "userland const char *";
6150 p = "userland struct acl *";
6166 p = "userland struct acl *";
6182 p = "userland struct acl *";
6188 /* __acl_delete_file */
6192 p = "userland const char *";
6201 /* __acl_delete_fd */
6214 /* __acl_aclcheck_file */
6218 p = "userland const char *";
6224 p = "userland struct acl *";
6230 /* __acl_aclcheck_fd */
6240 p = "userland struct acl *";
6250 p = "userland const char *";
6256 p = "userland const char *";
6262 p = "userland const char *";
6268 /* extattr_set_file */
6272 p = "userland const char *";
6278 p = "userland const char *";
6281 p = "userland void *";
6290 /* extattr_get_file */
6294 p = "userland const char *";
6300 p = "userland const char *";
6303 p = "userland void *";
6312 /* extattr_delete_file */
6316 p = "userland const char *";
6322 p = "userland const char *";
6328 /* aio_waitcomplete */
6332 p = "userland struct aiocb **";
6335 p = "userland struct timespec *";
6345 p = "userland uid_t *";
6348 p = "userland uid_t *";
6351 p = "userland uid_t *";
6361 p = "userland gid_t *";
6364 p = "userland gid_t *";
6367 p = "userland gid_t *";
6383 p = "userland struct kevent *";
6389 p = "userland struct kevent *";
6395 p = "userland const struct timespec *";
6401 /* extattr_set_fd */
6411 p = "userland const char *";
6414 p = "userland void *";
6423 /* extattr_get_fd */
6433 p = "userland const char *";
6436 p = "userland void *";
6445 /* extattr_delete_fd */
6455 p = "userland const char *";
6475 p = "userland char *";
6516 p = "userland struct iovec *";
6528 /* __mac_get_proc */
6532 p = "userland struct mac *";
6538 /* __mac_set_proc */
6542 p = "userland struct mac *";
6555 p = "userland struct mac *";
6561 /* __mac_get_file */
6565 p = "userland const char *";
6568 p = "userland struct mac *";
6581 p = "userland struct mac *";
6587 /* __mac_set_file */
6591 p = "userland const char *";
6594 p = "userland struct mac *";
6607 p = "userland const char *";
6610 p = "userland char *";
6623 p = "userland const char *";
6636 p = "userland struct uuid *";
6661 p = "userland struct sf_hdtr *";
6664 p = "userland off_t *";
6677 p = "userland const char *";
6683 p = "userland void *";
6693 p = "userland struct statfs *";
6709 p = "userland char *";
6712 p = "userland struct statfs *";
6725 p = "userland struct statfs *";
6735 p = "userland const struct fhandle *";
6738 p = "userland struct statfs *";
6788 p = "userland semid_t *";
6801 p = "userland semid_t *";
6804 p = "userland const char *";
6823 p = "userland const char *";
6836 p = "userland int *";
6859 p = "userland struct mac *";
6865 /* __mac_get_link */
6869 p = "userland const char *";
6872 p = "userland struct mac *";
6878 /* __mac_set_link */
6882 p = "userland const char *";
6885 p = "userland struct mac *";
6891 /* extattr_set_link */
6895 p = "userland const char *";
6901 p = "userland const char *";
6904 p = "userland void *";
6913 /* extattr_get_link */
6917 p = "userland const char *";
6923 p = "userland const char *";
6926 p = "userland void *";
6935 /* extattr_delete_link */
6939 p = "userland const char *";
6945 p = "userland const char *";
6955 p = "userland char *";
6958 p = "userland char **";
6961 p = "userland char **";
6964 p = "userland struct mac *";
6977 p = "userland const struct sigaction *";
6980 p = "userland struct sigaction *";
6990 p = "userland const struct __ucontext *";
7000 p = "userland struct __ucontext *";
7010 p = "userland const struct __ucontext *";
7020 p = "userland struct __ucontext *";
7023 p = "userland const struct __ucontext *";
7033 p = "userland const char *";
7039 /* __acl_get_link */
7043 p = "userland const char *";
7049 p = "userland struct acl *";
7055 /* __acl_set_link */
7059 p = "userland const char *";
7065 p = "userland struct acl *";
7071 /* __acl_delete_link */
7075 p = "userland const char *";
7084 /* __acl_aclcheck_link */
7088 p = "userland const char *";
7094 p = "userland struct acl *";
7104 p = "userland const sigset_t *";
7107 p = "userland int *";
7117 p = "userland ucontext_t *";
7120 p = "userland long *";
7133 p = "userland long *";
7143 p = "userland long *";
7172 /* extattr_list_fd */
7182 p = "userland void *";
7191 /* extattr_list_file */
7195 p = "userland const char *";
7201 p = "userland void *";
7210 /* extattr_list_link */
7214 p = "userland const char *";
7220 p = "userland void *";
7229 /* ksem_timedwait */
7236 p = "userland const struct timespec *";
7246 p = "userland const struct timespec *";
7279 p = "userland const void *";
7295 p = "userland void *";
7308 p = "userland uid_t *";
7318 p = "userland uid_t *";
7328 p = "userland struct auditinfo *";
7338 p = "userland struct auditinfo *";
7348 p = "userland struct auditinfo_addr *";
7361 p = "userland struct auditinfo_addr *";
7374 p = "userland char *";
7384 p = "userland void *";
7393 p = "userland void *";
7396 p = "userland void *";
7406 p = "userland struct thr_param *";
7425 p = "userland void *";
7435 p = "userland const char *";
7444 p = "userland const struct mq_attr *";
7457 p = "userland const struct mq_attr *";
7460 p = "userland struct mq_attr *";
7466 /* kmq_timedreceive */
7473 p = "userland char *";
7479 p = "userland unsigned *";
7482 p = "userland const struct timespec *";
7495 p = "userland const char *";
7504 p = "userland const struct timespec *";
7517 p = "userland const struct sigevent *";
7527 p = "userland const char *";
7537 p = "userland const char *";
7543 p = "userland void **";
7556 p = "userland const char *";
7569 p = "userland struct aiocb *";
7585 p = "userland struct rtprio *";
7604 /* sctp_generic_sendmsg */
7623 p = "userland struct sctp_sndrcvinfo *";
7632 /* sctp_generic_sendmsg_iov */
7639 p = "userland struct iovec *";
7651 p = "userland struct sctp_sndrcvinfo *";
7660 /* sctp_generic_recvmsg */
7667 p = "userland struct iovec *";
7673 p = "userland struct sockaddr *";
7676 p = "userland __socklen_t *";
7679 p = "userland struct sctp_sndrcvinfo *";
7682 p = "userland int *";
7695 p = "userland void *";
7714 p = "userland const void *";
7771 p = "userland char *";
7813 p = "userland const char *";
7829 p = "userland const char *";
7839 p = "userland cpusetid_t *";
7874 p = "userland cpusetid_t *";
7880 /* cpuset_getaffinity */
7896 p = "userland cpuset_t *";
7902 /* cpuset_setaffinity */
7918 p = "userland const cpuset_t *";
7931 p = "userland char *";
7950 p = "userland char *";
7969 p = "userland char *";
7991 p = "userland char **";
7994 p = "userland char **";
8007 p = "userland char *";
8010 p = "userland struct stat *";
8026 p = "userland char *";
8029 p = "userland struct timeval *";
8042 p = "userland char *";
8048 p = "userland char *";
8064 p = "userland char *";
8080 p = "userland char *";
8096 p = "userland char *";
8115 p = "userland char *";
8134 p = "userland char *";
8137 p = "userland char *";
8153 p = "userland char *";
8159 p = "userland char *";
8169 p = "userland char *";
8175 p = "userland char *";
8188 p = "userland char *";
8211 p = "userland char *";
8221 p = "userland struct iovec *";
8237 p = "userland struct iovec *";
8282 p = "userland union semun *";
8298 p = "userland struct msqid_ds *";
8314 p = "userland struct shmid_ds *";
8324 p = "userland char *";
8333 /* __cap_rights_get */
8343 p = "userland cap_rights_t *";
8356 p = "userland u_int *";
8366 p = "userland int *";
8395 p = "userland pid_t *";
8408 p = "userland fd_set *";
8411 p = "userland fd_set *";
8414 p = "userland fd_set *";
8417 p = "userland const struct timespec *";
8420 p = "userland const sigset_t *";
8430 p = "userland char *";
8443 p = "userland const char *";
8449 /* rctl_get_racct */
8453 p = "userland const void *";
8459 p = "userland void *";
8468 /* rctl_get_rules */
8472 p = "userland const void *";
8478 p = "userland void *";
8487 /* rctl_get_limits */
8491 p = "userland const void *";
8497 p = "userland void *";
8510 p = "userland const void *";
8516 p = "userland void *";
8525 /* rctl_remove_rule */
8529 p = "userland const void *";
8535 p = "userland void *";
8544 /* posix_fallocate */
8589 p = "userland int *";
8595 p = "userland struct __wrusage *";
8598 p = "userland siginfo_t *";
8604 /* cap_rights_limit */
8611 p = "userland cap_rights_t *";
8617 /* cap_ioctls_limit */
8624 p = "userland const u_long *";
8633 /* cap_ioctls_get */
8640 p = "userland u_long *";
8649 /* cap_fcntls_limit */
8662 /* cap_fcntls_get */
8669 p = "userland uint32_t *";
8720 p = "userland const char *";
8739 p = "userland struct sockaddr *";
8742 p = "userland __socklen_t *";
8755 p = "userland int *";
8768 p = "userland struct aiocb *";
8787 p = "userland void *";
8797 p = "userland struct pollfd *";
8803 p = "userland const struct timespec *";
8806 p = "userland const sigset_t *";
8819 p = "userland struct timespec *";
8832 p = "userland char *";
8835 p = "userland struct timespec *";
8844 /* numa_getaffinity */
8854 p = "userland struct vm_domain_policy_entry *";
8860 /* numa_setaffinity */
8870 p = "userland const struct vm_domain_policy_entry *";
8890 strlcpy(desc, p, descsz);
8893 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8895 const char *p = NULL;
8901 if (ndx == 0 || ndx == 1)
8908 if (ndx == 0 || ndx == 1)
8913 if (ndx == 0 || ndx == 1)
8918 if (ndx == 0 || ndx == 1)
8923 if (ndx == 0 || ndx == 1)
8928 if (ndx == 0 || ndx == 1)
8933 if (ndx == 0 || ndx == 1)
8938 if (ndx == 0 || ndx == 1)
8943 if (ndx == 0 || ndx == 1)
8948 if (ndx == 0 || ndx == 1)
8953 if (ndx == 0 || ndx == 1)
8958 if (ndx == 0 || ndx == 1)
8963 if (ndx == 0 || ndx == 1)
8968 if (ndx == 0 || ndx == 1)
8975 if (ndx == 0 || ndx == 1)
8980 if (ndx == 0 || ndx == 1)
8985 if (ndx == 0 || ndx == 1)
8994 if (ndx == 0 || ndx == 1)
8999 if (ndx == 0 || ndx == 1)
9004 if (ndx == 0 || ndx == 1)
9009 if (ndx == 0 || ndx == 1)
9014 if (ndx == 0 || ndx == 1)
9019 if (ndx == 0 || ndx == 1)
9024 if (ndx == 0 || ndx == 1)
9029 if (ndx == 0 || ndx == 1)
9034 if (ndx == 0 || ndx == 1)
9039 if (ndx == 0 || ndx == 1)
9046 if (ndx == 0 || ndx == 1)
9053 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)
9139 if (ndx == 0 || ndx == 1)
9144 if (ndx == 0 || ndx == 1)
9149 if (ndx == 0 || ndx == 1)
9154 if (ndx == 0 || ndx == 1)
9159 if (ndx == 0 || ndx == 1)
9164 if (ndx == 0 || ndx == 1)
9169 if (ndx == 0 || ndx == 1)
9174 if (ndx == 0 || ndx == 1)
9179 if (ndx == 0 || ndx == 1)
9186 if (ndx == 0 || ndx == 1)
9191 if (ndx == 0 || ndx == 1)
9196 if (ndx == 0 || ndx == 1)
9201 if (ndx == 0 || ndx == 1)
9208 if (ndx == 0 || ndx == 1)
9213 if (ndx == 0 || ndx == 1)
9218 if (ndx == 0 || ndx == 1)
9223 if (ndx == 0 || ndx == 1)
9228 if (ndx == 0 || ndx == 1)
9233 if (ndx == 0 || ndx == 1)
9238 if (ndx == 0 || ndx == 1)
9243 if (ndx == 0 || ndx == 1)
9248 if (ndx == 0 || ndx == 1)
9253 if (ndx == 0 || ndx == 1)
9258 if (ndx == 0 || ndx == 1)
9263 if (ndx == 0 || ndx == 1)
9268 if (ndx == 0 || ndx == 1)
9273 if (ndx == 0 || ndx == 1)
9278 if (ndx == 0 || ndx == 1)
9283 if (ndx == 0 || ndx == 1)
9288 if (ndx == 0 || ndx == 1)
9293 if (ndx == 0 || ndx == 1)
9298 if (ndx == 0 || ndx == 1)
9303 if (ndx == 0 || ndx == 1)
9308 if (ndx == 0 || ndx == 1)
9313 if (ndx == 0 || ndx == 1)
9318 if (ndx == 0 || ndx == 1)
9323 if (ndx == 0 || ndx == 1)
9328 if (ndx == 0 || ndx == 1)
9333 if (ndx == 0 || ndx == 1)
9338 if (ndx == 0 || ndx == 1)
9343 if (ndx == 0 || ndx == 1)
9348 if (ndx == 0 || ndx == 1)
9353 if (ndx == 0 || ndx == 1)
9358 if (ndx == 0 || ndx == 1)
9365 if (ndx == 0 || ndx == 1)
9370 if (ndx == 0 || ndx == 1)
9375 if (ndx == 0 || ndx == 1)
9380 if (ndx == 0 || ndx == 1)
9385 if (ndx == 0 || ndx == 1)
9390 if (ndx == 0 || ndx == 1)
9395 if (ndx == 0 || ndx == 1)
9400 if (ndx == 0 || ndx == 1)
9405 if (ndx == 0 || ndx == 1)
9410 if (ndx == 0 || ndx == 1)
9415 if (ndx == 0 || ndx == 1)
9420 if (ndx == 0 || ndx == 1)
9425 if (ndx == 0 || ndx == 1)
9430 if (ndx == 0 || ndx == 1)
9435 if (ndx == 0 || ndx == 1)
9440 if (ndx == 0 || ndx == 1)
9445 if (ndx == 0 || ndx == 1)
9450 if (ndx == 0 || ndx == 1)
9455 if (ndx == 0 || ndx == 1)
9460 if (ndx == 0 || ndx == 1)
9465 if (ndx == 0 || ndx == 1)
9470 if (ndx == 0 || ndx == 1)
9475 if (ndx == 0 || ndx == 1)
9482 if (ndx == 0 || ndx == 1)
9487 if (ndx == 0 || ndx == 1)
9492 if (ndx == 0 || ndx == 1)
9497 if (ndx == 0 || ndx == 1)
9502 if (ndx == 0 || ndx == 1)
9507 if (ndx == 0 || ndx == 1)
9512 if (ndx == 0 || ndx == 1)
9537 if (ndx == 0 || ndx == 1)
9542 if (ndx == 0 || ndx == 1)
9547 if (ndx == 0 || ndx == 1)
9552 if (ndx == 0 || ndx == 1)
9557 if (ndx == 0 || ndx == 1)
9562 if (ndx == 0 || ndx == 1)
9567 if (ndx == 0 || ndx == 1)
9572 if (ndx == 0 || ndx == 1)
9577 if (ndx == 0 || ndx == 1)
9582 if (ndx == 0 || ndx == 1)
9587 if (ndx == 0 || ndx == 1)
9592 if (ndx == 0 || ndx == 1)
9597 if (ndx == 0 || ndx == 1)
9600 /* ktimer_settime */
9602 if (ndx == 0 || ndx == 1)
9605 /* ktimer_gettime */
9607 if (ndx == 0 || ndx == 1)
9610 /* ktimer_getoverrun */
9612 if (ndx == 0 || ndx == 1)
9617 if (ndx == 0 || ndx == 1)
9620 /* ffclock_getcounter */
9622 if (ndx == 0 || ndx == 1)
9625 /* ffclock_setestimate */
9627 if (ndx == 0 || ndx == 1)
9630 /* ffclock_getestimate */
9632 if (ndx == 0 || ndx == 1)
9635 /* clock_nanosleep */
9637 if (ndx == 0 || ndx == 1)
9640 /* clock_getcpuclockid2 */
9642 if (ndx == 0 || ndx == 1)
9647 if (ndx == 0 || ndx == 1)
9652 if (ndx == 0 || ndx == 1)
9657 if (ndx == 0 || ndx == 1)
9664 if (ndx == 0 || ndx == 1)
9669 if (ndx == 0 || ndx == 1)
9674 if (ndx == 0 || ndx == 1)
9679 if (ndx == 0 || ndx == 1)
9684 if (ndx == 0 || ndx == 1)
9689 if (ndx == 0 || ndx == 1)
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)
9744 if (ndx == 0 || ndx == 1)
9749 if (ndx == 0 || ndx == 1)
9754 if (ndx == 0 || ndx == 1)
9759 if (ndx == 0 || ndx == 1)
9764 if (ndx == 0 || ndx == 1)
9769 if (ndx == 0 || ndx == 1)
9774 if (ndx == 0 || ndx == 1)
9779 if (ndx == 0 || ndx == 1)
9784 if (ndx == 0 || ndx == 1)
9789 if (ndx == 0 || ndx == 1)
9794 if (ndx == 0 || ndx == 1)
9799 if (ndx == 0 || ndx == 1)
9804 if (ndx == 0 || ndx == 1)
9809 if (ndx == 0 || ndx == 1)
9814 if (ndx == 0 || ndx == 1)
9819 if (ndx == 0 || ndx == 1)
9824 if (ndx == 0 || ndx == 1)
9831 if (ndx == 0 || ndx == 1)
9838 if (ndx == 0 || ndx == 1)
9841 /* sched_setparam */
9843 if (ndx == 0 || ndx == 1)
9846 /* sched_getparam */
9848 if (ndx == 0 || ndx == 1)
9851 /* sched_setscheduler */
9853 if (ndx == 0 || ndx == 1)
9856 /* sched_getscheduler */
9858 if (ndx == 0 || ndx == 1)
9863 /* sched_get_priority_max */
9865 if (ndx == 0 || ndx == 1)
9868 /* sched_get_priority_min */
9870 if (ndx == 0 || ndx == 1)
9873 /* sched_rr_get_interval */
9875 if (ndx == 0 || ndx == 1)
9880 if (ndx == 0 || ndx == 1)
9885 if (ndx == 0 || ndx == 1)
9890 if (ndx == 0 || ndx == 1)
9895 if (ndx == 0 || ndx == 1)
9900 if (ndx == 0 || ndx == 1)
9905 if (ndx == 0 || ndx == 1)
9910 if (ndx == 0 || ndx == 1)
9915 if (ndx == 0 || ndx == 1)
9920 if (ndx == 0 || ndx == 1)
9923 /* __acl_get_file */
9925 if (ndx == 0 || ndx == 1)
9928 /* __acl_set_file */
9930 if (ndx == 0 || ndx == 1)
9935 if (ndx == 0 || ndx == 1)
9940 if (ndx == 0 || ndx == 1)
9943 /* __acl_delete_file */
9945 if (ndx == 0 || ndx == 1)
9948 /* __acl_delete_fd */
9950 if (ndx == 0 || ndx == 1)
9953 /* __acl_aclcheck_file */
9955 if (ndx == 0 || ndx == 1)
9958 /* __acl_aclcheck_fd */
9960 if (ndx == 0 || ndx == 1)
9965 if (ndx == 0 || ndx == 1)
9968 /* extattr_set_file */
9970 if (ndx == 0 || ndx == 1)
9973 /* extattr_get_file */
9975 if (ndx == 0 || ndx == 1)
9978 /* extattr_delete_file */
9980 if (ndx == 0 || ndx == 1)
9983 /* aio_waitcomplete */
9985 if (ndx == 0 || ndx == 1)
9990 if (ndx == 0 || ndx == 1)
9995 if (ndx == 0 || ndx == 1)
10002 if (ndx == 0 || ndx == 1)
10005 /* extattr_set_fd */
10007 if (ndx == 0 || ndx == 1)
10010 /* extattr_get_fd */
10012 if (ndx == 0 || ndx == 1)
10015 /* extattr_delete_fd */
10017 if (ndx == 0 || ndx == 1)
10022 if (ndx == 0 || ndx == 1)
10027 if (ndx == 0 || ndx == 1)
10032 if (ndx == 0 || ndx == 1)
10037 if (ndx == 0 || ndx == 1)
10040 /* __mac_get_proc */
10042 if (ndx == 0 || ndx == 1)
10045 /* __mac_set_proc */
10047 if (ndx == 0 || ndx == 1)
10052 if (ndx == 0 || ndx == 1)
10055 /* __mac_get_file */
10057 if (ndx == 0 || ndx == 1)
10062 if (ndx == 0 || ndx == 1)
10065 /* __mac_set_file */
10067 if (ndx == 0 || ndx == 1)
10072 if (ndx == 0 || ndx == 1)
10077 if (ndx == 0 || ndx == 1)
10082 if (ndx == 0 || ndx == 1)
10087 if (ndx == 0 || ndx == 1)
10092 if (ndx == 0 || ndx == 1)
10097 if (ndx == 0 || ndx == 1)
10102 if (ndx == 0 || ndx == 1)
10107 if (ndx == 0 || ndx == 1)
10112 if (ndx == 0 || ndx == 1)
10117 if (ndx == 0 || ndx == 1)
10122 if (ndx == 0 || ndx == 1)
10127 if (ndx == 0 || ndx == 1)
10132 if (ndx == 0 || ndx == 1)
10137 if (ndx == 0 || ndx == 1)
10142 if (ndx == 0 || ndx == 1)
10147 if (ndx == 0 || ndx == 1)
10150 /* ksem_getvalue */
10152 if (ndx == 0 || ndx == 1)
10157 if (ndx == 0 || ndx == 1)
10160 /* __mac_get_pid */
10162 if (ndx == 0 || ndx == 1)
10165 /* __mac_get_link */
10167 if (ndx == 0 || ndx == 1)
10170 /* __mac_set_link */
10172 if (ndx == 0 || ndx == 1)
10175 /* extattr_set_link */
10177 if (ndx == 0 || ndx == 1)
10180 /* extattr_get_link */
10182 if (ndx == 0 || ndx == 1)
10185 /* extattr_delete_link */
10187 if (ndx == 0 || ndx == 1)
10192 if (ndx == 0 || ndx == 1)
10197 if (ndx == 0 || ndx == 1)
10202 if (ndx == 0 || ndx == 1)
10207 if (ndx == 0 || ndx == 1)
10212 if (ndx == 0 || ndx == 1)
10217 if (ndx == 0 || ndx == 1)
10222 if (ndx == 0 || ndx == 1)
10225 /* __acl_get_link */
10227 if (ndx == 0 || ndx == 1)
10230 /* __acl_set_link */
10232 if (ndx == 0 || ndx == 1)
10235 /* __acl_delete_link */
10237 if (ndx == 0 || ndx == 1)
10240 /* __acl_aclcheck_link */
10242 if (ndx == 0 || ndx == 1)
10247 if (ndx == 0 || ndx == 1)
10252 if (ndx == 0 || ndx == 1)
10257 if (ndx == 0 || ndx == 1)
10262 if (ndx == 0 || ndx == 1)
10267 if (ndx == 0 || ndx == 1)
10272 if (ndx == 0 || ndx == 1)
10275 /* extattr_list_fd */
10277 if (ndx == 0 || ndx == 1)
10280 /* extattr_list_file */
10282 if (ndx == 0 || ndx == 1)
10285 /* extattr_list_link */
10287 if (ndx == 0 || ndx == 1)
10290 /* ksem_timedwait */
10292 if (ndx == 0 || ndx == 1)
10297 if (ndx == 0 || ndx == 1)
10302 if (ndx == 0 || ndx == 1)
10307 if (ndx == 0 || ndx == 1)
10312 if (ndx == 0 || ndx == 1)
10317 if (ndx == 0 || ndx == 1)
10322 if (ndx == 0 || ndx == 1)
10327 if (ndx == 0 || ndx == 1)
10332 if (ndx == 0 || ndx == 1)
10337 if (ndx == 0 || ndx == 1)
10340 /* getaudit_addr */
10342 if (ndx == 0 || ndx == 1)
10345 /* setaudit_addr */
10347 if (ndx == 0 || ndx == 1)
10352 if (ndx == 0 || ndx == 1)
10357 if (ndx == 0 || ndx == 1)
10362 if (ndx == 0 || ndx == 1)
10367 if (ndx == 0 || ndx == 1)
10372 if (ndx == 0 || ndx == 1)
10377 if (ndx == 0 || ndx == 1)
10380 /* kmq_timedreceive */
10382 if (ndx == 0 || ndx == 1)
10385 /* kmq_timedsend */
10387 if (ndx == 0 || ndx == 1)
10392 if (ndx == 0 || ndx == 1)
10397 if (ndx == 0 || ndx == 1)
10402 if (ndx == 0 || ndx == 1)
10407 if (ndx == 0 || ndx == 1)
10412 if (ndx == 0 || ndx == 1)
10415 /* rtprio_thread */
10417 if (ndx == 0 || ndx == 1)
10422 if (ndx == 0 || ndx == 1)
10425 /* sctp_generic_sendmsg */
10427 if (ndx == 0 || ndx == 1)
10430 /* sctp_generic_sendmsg_iov */
10432 if (ndx == 0 || ndx == 1)
10435 /* sctp_generic_recvmsg */
10437 if (ndx == 0 || ndx == 1)
10442 if (ndx == 0 || ndx == 1)
10447 if (ndx == 0 || ndx == 1)
10452 if (ndx == 0 || ndx == 1)
10457 if (ndx == 0 || ndx == 1)
10462 if (ndx == 0 || ndx == 1)
10467 if (ndx == 0 || ndx == 1)
10472 if (ndx == 0 || ndx == 1)
10477 if (ndx == 0 || ndx == 1)
10482 if (ndx == 0 || ndx == 1)
10487 if (ndx == 0 || ndx == 1)
10492 if (ndx == 0 || ndx == 1)
10497 if (ndx == 0 || ndx == 1)
10500 /* cpuset_getaffinity */
10502 if (ndx == 0 || ndx == 1)
10505 /* cpuset_setaffinity */
10507 if (ndx == 0 || ndx == 1)
10512 if (ndx == 0 || ndx == 1)
10517 if (ndx == 0 || ndx == 1)
10522 if (ndx == 0 || ndx == 1)
10527 if (ndx == 0 || ndx == 1)
10532 if (ndx == 0 || ndx == 1)
10537 if (ndx == 0 || ndx == 1)
10542 if (ndx == 0 || ndx == 1)
10547 if (ndx == 0 || ndx == 1)
10552 if (ndx == 0 || ndx == 1)
10557 if (ndx == 0 || ndx == 1)
10562 if (ndx == 0 || ndx == 1)
10567 if (ndx == 0 || ndx == 1)
10572 if (ndx == 0 || ndx == 1)
10577 if (ndx == 0 || ndx == 1)
10582 if (ndx == 0 || ndx == 1)
10587 if (ndx == 0 || ndx == 1)
10592 if (ndx == 0 || ndx == 1)
10597 if (ndx == 0 || ndx == 1)
10602 if (ndx == 0 || ndx == 1)
10607 if (ndx == 0 || ndx == 1)
10612 if (ndx == 0 || ndx == 1)
10617 if (ndx == 0 || ndx == 1)
10622 if (ndx == 0 || ndx == 1)
10627 if (ndx == 0 || ndx == 1)
10632 if (ndx == 0 || ndx == 1)
10635 /* __cap_rights_get */
10637 if (ndx == 0 || ndx == 1)
10644 if (ndx == 0 || ndx == 1)
10649 if (ndx == 0 || ndx == 1)
10654 if (ndx == 0 || ndx == 1)
10659 if (ndx == 0 || ndx == 1)
10664 if (ndx == 0 || ndx == 1)
10667 /* getloginclass */
10669 if (ndx == 0 || ndx == 1)
10672 /* setloginclass */
10674 if (ndx == 0 || ndx == 1)
10677 /* rctl_get_racct */
10679 if (ndx == 0 || ndx == 1)
10682 /* rctl_get_rules */
10684 if (ndx == 0 || ndx == 1)
10687 /* rctl_get_limits */
10689 if (ndx == 0 || ndx == 1)
10692 /* rctl_add_rule */
10694 if (ndx == 0 || ndx == 1)
10697 /* rctl_remove_rule */
10699 if (ndx == 0 || ndx == 1)
10702 /* posix_fallocate */
10704 if (ndx == 0 || ndx == 1)
10707 /* posix_fadvise */
10709 if (ndx == 0 || ndx == 1)
10714 if (ndx == 0 || ndx == 1)
10717 /* cap_rights_limit */
10719 if (ndx == 0 || ndx == 1)
10722 /* cap_ioctls_limit */
10724 if (ndx == 0 || ndx == 1)
10727 /* cap_ioctls_get */
10729 if (ndx == 0 || ndx == 1)
10732 /* cap_fcntls_limit */
10734 if (ndx == 0 || ndx == 1)
10737 /* cap_fcntls_get */
10739 if (ndx == 0 || ndx == 1)
10744 if (ndx == 0 || ndx == 1)
10749 if (ndx == 0 || ndx == 1)
10754 if (ndx == 0 || ndx == 1)
10759 if (ndx == 0 || ndx == 1)
10764 if (ndx == 0 || ndx == 1)
10769 if (ndx == 0 || ndx == 1)
10774 if (ndx == 0 || ndx == 1)
10779 if (ndx == 0 || ndx == 1)
10784 if (ndx == 0 || ndx == 1)
10789 if (ndx == 0 || ndx == 1)
10792 /* numa_getaffinity */
10794 if (ndx == 0 || ndx == 1)
10797 /* numa_setaffinity */
10799 if (ndx == 0 || ndx == 1)
10804 if (ndx == 0 || ndx == 1)
10811 strlcpy(desc, p, descsz);