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; /* const 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 */
1337 struct openbsd_poll_args *p = params;
1338 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1339 uarg[1] = p->nfds; /* u_int */
1340 iarg[2] = p->timeout; /* int */
1351 struct lchown_args *p = params;
1352 uarg[0] = (intptr_t) p->path; /* char * */
1353 iarg[1] = p->uid; /* int */
1354 iarg[2] = p->gid; /* int */
1360 struct aio_read_args *p = params;
1361 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1367 struct aio_write_args *p = params;
1368 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1374 struct lio_listio_args *p = params;
1375 iarg[0] = p->mode; /* int */
1376 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1377 iarg[2] = p->nent; /* int */
1378 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1384 struct getdents_args *p = params;
1385 iarg[0] = p->fd; /* int */
1386 uarg[1] = (intptr_t) p->buf; /* char * */
1387 uarg[2] = p->count; /* size_t */
1393 struct lchmod_args *p = params;
1394 uarg[0] = (intptr_t) p->path; /* char * */
1395 iarg[1] = p->mode; /* mode_t */
1401 struct lchown_args *p = params;
1402 uarg[0] = (intptr_t) p->path; /* char * */
1403 uarg[1] = p->uid; /* uid_t */
1404 iarg[2] = p->gid; /* gid_t */
1410 struct lutimes_args *p = params;
1411 uarg[0] = (intptr_t) p->path; /* char * */
1412 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1418 struct msync_args *p = params;
1419 uarg[0] = (intptr_t) p->addr; /* void * */
1420 uarg[1] = p->len; /* size_t */
1421 iarg[2] = p->flags; /* int */
1427 struct nstat_args *p = params;
1428 uarg[0] = (intptr_t) p->path; /* char * */
1429 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1435 struct nfstat_args *p = params;
1436 iarg[0] = p->fd; /* int */
1437 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1443 struct nlstat_args *p = params;
1444 uarg[0] = (intptr_t) p->path; /* char * */
1445 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1451 struct preadv_args *p = params;
1452 iarg[0] = p->fd; /* int */
1453 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1454 uarg[2] = p->iovcnt; /* u_int */
1455 iarg[3] = p->offset; /* off_t */
1461 struct pwritev_args *p = params;
1462 iarg[0] = p->fd; /* int */
1463 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1464 uarg[2] = p->iovcnt; /* u_int */
1465 iarg[3] = p->offset; /* off_t */
1471 struct fhopen_args *p = params;
1472 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1473 iarg[1] = p->flags; /* int */
1479 struct fhstat_args *p = params;
1480 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1481 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1487 struct modnext_args *p = params;
1488 iarg[0] = p->modid; /* int */
1494 struct modstat_args *p = params;
1495 iarg[0] = p->modid; /* int */
1496 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1502 struct modfnext_args *p = params;
1503 iarg[0] = p->modid; /* int */
1509 struct modfind_args *p = params;
1510 uarg[0] = (intptr_t) p->name; /* const char * */
1516 struct kldload_args *p = params;
1517 uarg[0] = (intptr_t) p->file; /* const char * */
1523 struct kldunload_args *p = params;
1524 iarg[0] = p->fileid; /* int */
1530 struct kldfind_args *p = params;
1531 uarg[0] = (intptr_t) p->file; /* const char * */
1537 struct kldnext_args *p = params;
1538 iarg[0] = p->fileid; /* int */
1544 struct kldstat_args *p = params;
1545 iarg[0] = p->fileid; /* int */
1546 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1552 struct kldfirstmod_args *p = params;
1553 iarg[0] = p->fileid; /* int */
1559 struct getsid_args *p = params;
1560 iarg[0] = p->pid; /* pid_t */
1566 struct setresuid_args *p = params;
1567 uarg[0] = p->ruid; /* uid_t */
1568 uarg[1] = p->euid; /* uid_t */
1569 uarg[2] = p->suid; /* uid_t */
1575 struct setresgid_args *p = params;
1576 iarg[0] = p->rgid; /* gid_t */
1577 iarg[1] = p->egid; /* gid_t */
1578 iarg[2] = p->sgid; /* gid_t */
1584 struct aio_return_args *p = params;
1585 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1591 struct aio_suspend_args *p = params;
1592 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1593 iarg[1] = p->nent; /* int */
1594 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1600 struct aio_cancel_args *p = params;
1601 iarg[0] = p->fd; /* int */
1602 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1608 struct aio_error_args *p = params;
1609 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1620 struct mlockall_args *p = params;
1621 iarg[0] = p->how; /* int */
1632 struct __getcwd_args *p = params;
1633 uarg[0] = (intptr_t) p->buf; /* char * */
1634 uarg[1] = p->buflen; /* u_int */
1638 /* sched_setparam */
1640 struct sched_setparam_args *p = params;
1641 iarg[0] = p->pid; /* pid_t */
1642 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1646 /* sched_getparam */
1648 struct sched_getparam_args *p = params;
1649 iarg[0] = p->pid; /* pid_t */
1650 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1654 /* sched_setscheduler */
1656 struct sched_setscheduler_args *p = params;
1657 iarg[0] = p->pid; /* pid_t */
1658 iarg[1] = p->policy; /* int */
1659 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1663 /* sched_getscheduler */
1665 struct sched_getscheduler_args *p = params;
1666 iarg[0] = p->pid; /* pid_t */
1675 /* sched_get_priority_max */
1677 struct sched_get_priority_max_args *p = params;
1678 iarg[0] = p->policy; /* int */
1682 /* sched_get_priority_min */
1684 struct sched_get_priority_min_args *p = params;
1685 iarg[0] = p->policy; /* int */
1689 /* sched_rr_get_interval */
1691 struct sched_rr_get_interval_args *p = params;
1692 iarg[0] = p->pid; /* pid_t */
1693 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1699 struct utrace_args *p = params;
1700 uarg[0] = (intptr_t) p->addr; /* const void * */
1701 uarg[1] = p->len; /* size_t */
1707 struct kldsym_args *p = params;
1708 iarg[0] = p->fileid; /* int */
1709 iarg[1] = p->cmd; /* int */
1710 uarg[2] = (intptr_t) p->data; /* void * */
1716 struct jail_args *p = params;
1717 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1723 struct nnpfs_syscall_args *p = params;
1724 iarg[0] = p->operation; /* int */
1725 uarg[1] = (intptr_t) p->a_pathP; /* char * */
1726 iarg[2] = p->a_opcode; /* int */
1727 uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1728 iarg[4] = p->a_followSymlinks; /* int */
1734 struct sigprocmask_args *p = params;
1735 iarg[0] = p->how; /* int */
1736 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1737 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1743 struct sigsuspend_args *p = params;
1744 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1750 struct sigpending_args *p = params;
1751 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1757 struct sigtimedwait_args *p = params;
1758 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1759 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1760 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1766 struct sigwaitinfo_args *p = params;
1767 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1768 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1772 /* __acl_get_file */
1774 struct __acl_get_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 * */
1781 /* __acl_set_file */
1783 struct __acl_set_file_args *p = params;
1784 uarg[0] = (intptr_t) p->path; /* const char * */
1785 iarg[1] = p->type; /* acl_type_t */
1786 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1792 struct __acl_get_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 * */
1801 struct __acl_set_fd_args *p = params;
1802 iarg[0] = p->filedes; /* int */
1803 iarg[1] = p->type; /* acl_type_t */
1804 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1808 /* __acl_delete_file */
1810 struct __acl_delete_file_args *p = params;
1811 uarg[0] = (intptr_t) p->path; /* const char * */
1812 iarg[1] = p->type; /* acl_type_t */
1816 /* __acl_delete_fd */
1818 struct __acl_delete_fd_args *p = params;
1819 iarg[0] = p->filedes; /* int */
1820 iarg[1] = p->type; /* acl_type_t */
1824 /* __acl_aclcheck_file */
1826 struct __acl_aclcheck_file_args *p = params;
1827 uarg[0] = (intptr_t) p->path; /* const char * */
1828 iarg[1] = p->type; /* acl_type_t */
1829 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1833 /* __acl_aclcheck_fd */
1835 struct __acl_aclcheck_fd_args *p = params;
1836 iarg[0] = p->filedes; /* int */
1837 iarg[1] = p->type; /* acl_type_t */
1838 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1844 struct extattrctl_args *p = params;
1845 uarg[0] = (intptr_t) p->path; /* const char * */
1846 iarg[1] = p->cmd; /* int */
1847 uarg[2] = (intptr_t) p->filename; /* const char * */
1848 iarg[3] = p->attrnamespace; /* int */
1849 uarg[4] = (intptr_t) p->attrname; /* const char * */
1853 /* extattr_set_file */
1855 struct extattr_set_file_args *p = params;
1856 uarg[0] = (intptr_t) p->path; /* const char * */
1857 iarg[1] = p->attrnamespace; /* int */
1858 uarg[2] = (intptr_t) p->attrname; /* const char * */
1859 uarg[3] = (intptr_t) p->data; /* void * */
1860 uarg[4] = p->nbytes; /* size_t */
1864 /* extattr_get_file */
1866 struct extattr_get_file_args *p = params;
1867 uarg[0] = (intptr_t) p->path; /* const char * */
1868 iarg[1] = p->attrnamespace; /* int */
1869 uarg[2] = (intptr_t) p->attrname; /* const char * */
1870 uarg[3] = (intptr_t) p->data; /* void * */
1871 uarg[4] = p->nbytes; /* size_t */
1875 /* extattr_delete_file */
1877 struct extattr_delete_file_args *p = params;
1878 uarg[0] = (intptr_t) p->path; /* const char * */
1879 iarg[1] = p->attrnamespace; /* int */
1880 uarg[2] = (intptr_t) p->attrname; /* const char * */
1884 /* aio_waitcomplete */
1886 struct aio_waitcomplete_args *p = params;
1887 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1888 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1894 struct getresuid_args *p = params;
1895 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1896 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1897 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1903 struct getresgid_args *p = params;
1904 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1905 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1906 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1917 struct kevent_args *p = params;
1918 iarg[0] = p->fd; /* int */
1919 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
1920 iarg[2] = p->nchanges; /* int */
1921 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
1922 iarg[4] = p->nevents; /* int */
1923 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
1927 /* extattr_set_fd */
1929 struct extattr_set_fd_args *p = params;
1930 iarg[0] = p->fd; /* int */
1931 iarg[1] = p->attrnamespace; /* int */
1932 uarg[2] = (intptr_t) p->attrname; /* const char * */
1933 uarg[3] = (intptr_t) p->data; /* void * */
1934 uarg[4] = p->nbytes; /* size_t */
1938 /* extattr_get_fd */
1940 struct extattr_get_fd_args *p = params;
1941 iarg[0] = p->fd; /* int */
1942 iarg[1] = p->attrnamespace; /* int */
1943 uarg[2] = (intptr_t) p->attrname; /* const char * */
1944 uarg[3] = (intptr_t) p->data; /* void * */
1945 uarg[4] = p->nbytes; /* size_t */
1949 /* extattr_delete_fd */
1951 struct extattr_delete_fd_args *p = params;
1952 iarg[0] = p->fd; /* int */
1953 iarg[1] = p->attrnamespace; /* int */
1954 uarg[2] = (intptr_t) p->attrname; /* const char * */
1960 struct __setugid_args *p = params;
1961 iarg[0] = p->flag; /* int */
1967 struct eaccess_args *p = params;
1968 uarg[0] = (intptr_t) p->path; /* char * */
1969 iarg[1] = p->amode; /* int */
1975 struct afs3_syscall_args *p = params;
1976 iarg[0] = p->syscall; /* long */
1977 iarg[1] = p->parm1; /* long */
1978 iarg[2] = p->parm2; /* long */
1979 iarg[3] = p->parm3; /* long */
1980 iarg[4] = p->parm4; /* long */
1981 iarg[5] = p->parm5; /* long */
1982 iarg[6] = p->parm6; /* long */
1988 struct nmount_args *p = params;
1989 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
1990 uarg[1] = p->iovcnt; /* unsigned int */
1991 iarg[2] = p->flags; /* int */
1995 /* __mac_get_proc */
1997 struct __mac_get_proc_args *p = params;
1998 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2002 /* __mac_set_proc */
2004 struct __mac_set_proc_args *p = params;
2005 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2011 struct __mac_get_fd_args *p = params;
2012 iarg[0] = p->fd; /* int */
2013 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2017 /* __mac_get_file */
2019 struct __mac_get_file_args *p = params;
2020 uarg[0] = (intptr_t) p->path_p; /* const char * */
2021 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2027 struct __mac_set_fd_args *p = params;
2028 iarg[0] = p->fd; /* int */
2029 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2033 /* __mac_set_file */
2035 struct __mac_set_file_args *p = params;
2036 uarg[0] = (intptr_t) p->path_p; /* const char * */
2037 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2043 struct kenv_args *p = params;
2044 iarg[0] = p->what; /* int */
2045 uarg[1] = (intptr_t) p->name; /* const char * */
2046 uarg[2] = (intptr_t) p->value; /* char * */
2047 iarg[3] = p->len; /* int */
2053 struct lchflags_args *p = params;
2054 uarg[0] = (intptr_t) p->path; /* const char * */
2055 uarg[1] = p->flags; /* u_long */
2061 struct uuidgen_args *p = params;
2062 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2063 iarg[1] = p->count; /* int */
2069 struct sendfile_args *p = params;
2070 iarg[0] = p->fd; /* int */
2071 iarg[1] = p->s; /* int */
2072 iarg[2] = p->offset; /* off_t */
2073 uarg[3] = p->nbytes; /* size_t */
2074 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2075 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2076 iarg[6] = p->flags; /* int */
2082 struct mac_syscall_args *p = params;
2083 uarg[0] = (intptr_t) p->policy; /* const char * */
2084 iarg[1] = p->call; /* int */
2085 uarg[2] = (intptr_t) p->arg; /* void * */
2091 struct getfsstat_args *p = params;
2092 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2093 iarg[1] = p->bufsize; /* long */
2094 iarg[2] = p->mode; /* int */
2100 struct statfs_args *p = params;
2101 uarg[0] = (intptr_t) p->path; /* char * */
2102 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2108 struct fstatfs_args *p = params;
2109 iarg[0] = p->fd; /* int */
2110 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2116 struct fhstatfs_args *p = params;
2117 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2118 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2124 struct ksem_close_args *p = params;
2125 iarg[0] = p->id; /* semid_t */
2131 struct ksem_post_args *p = params;
2132 iarg[0] = p->id; /* semid_t */
2138 struct ksem_wait_args *p = params;
2139 iarg[0] = p->id; /* semid_t */
2145 struct ksem_trywait_args *p = params;
2146 iarg[0] = p->id; /* semid_t */
2152 struct ksem_init_args *p = params;
2153 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2154 uarg[1] = p->value; /* unsigned int */
2160 struct ksem_open_args *p = params;
2161 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2162 uarg[1] = (intptr_t) p->name; /* const char * */
2163 iarg[2] = p->oflag; /* int */
2164 iarg[3] = p->mode; /* mode_t */
2165 uarg[4] = p->value; /* unsigned int */
2171 struct ksem_unlink_args *p = params;
2172 uarg[0] = (intptr_t) p->name; /* const char * */
2178 struct ksem_getvalue_args *p = params;
2179 iarg[0] = p->id; /* semid_t */
2180 uarg[1] = (intptr_t) p->val; /* int * */
2186 struct ksem_destroy_args *p = params;
2187 iarg[0] = p->id; /* semid_t */
2193 struct __mac_get_pid_args *p = params;
2194 iarg[0] = p->pid; /* pid_t */
2195 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2199 /* __mac_get_link */
2201 struct __mac_get_link_args *p = params;
2202 uarg[0] = (intptr_t) p->path_p; /* const char * */
2203 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2207 /* __mac_set_link */
2209 struct __mac_set_link_args *p = params;
2210 uarg[0] = (intptr_t) p->path_p; /* const char * */
2211 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2215 /* extattr_set_link */
2217 struct extattr_set_link_args *p = params;
2218 uarg[0] = (intptr_t) p->path; /* const char * */
2219 iarg[1] = p->attrnamespace; /* int */
2220 uarg[2] = (intptr_t) p->attrname; /* const char * */
2221 uarg[3] = (intptr_t) p->data; /* void * */
2222 uarg[4] = p->nbytes; /* size_t */
2226 /* extattr_get_link */
2228 struct extattr_get_link_args *p = params;
2229 uarg[0] = (intptr_t) p->path; /* const char * */
2230 iarg[1] = p->attrnamespace; /* int */
2231 uarg[2] = (intptr_t) p->attrname; /* const char * */
2232 uarg[3] = (intptr_t) p->data; /* void * */
2233 uarg[4] = p->nbytes; /* size_t */
2237 /* extattr_delete_link */
2239 struct extattr_delete_link_args *p = params;
2240 uarg[0] = (intptr_t) p->path; /* const char * */
2241 iarg[1] = p->attrnamespace; /* int */
2242 uarg[2] = (intptr_t) p->attrname; /* const char * */
2248 struct __mac_execve_args *p = params;
2249 uarg[0] = (intptr_t) p->fname; /* char * */
2250 uarg[1] = (intptr_t) p->argv; /* char ** */
2251 uarg[2] = (intptr_t) p->envv; /* char ** */
2252 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2258 struct sigaction_args *p = params;
2259 iarg[0] = p->sig; /* int */
2260 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2261 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2267 struct sigreturn_args *p = params;
2268 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2274 struct getcontext_args *p = params;
2275 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2281 struct setcontext_args *p = params;
2282 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2288 struct swapcontext_args *p = params;
2289 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2290 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2296 struct swapoff_args *p = params;
2297 uarg[0] = (intptr_t) p->name; /* const char * */
2301 /* __acl_get_link */
2303 struct __acl_get_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_set_link */
2312 struct __acl_set_link_args *p = params;
2313 uarg[0] = (intptr_t) p->path; /* const char * */
2314 iarg[1] = p->type; /* acl_type_t */
2315 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2319 /* __acl_delete_link */
2321 struct __acl_delete_link_args *p = params;
2322 uarg[0] = (intptr_t) p->path; /* const char * */
2323 iarg[1] = p->type; /* acl_type_t */
2327 /* __acl_aclcheck_link */
2329 struct __acl_aclcheck_link_args *p = params;
2330 uarg[0] = (intptr_t) p->path; /* const char * */
2331 iarg[1] = p->type; /* acl_type_t */
2332 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2338 struct sigwait_args *p = params;
2339 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2340 uarg[1] = (intptr_t) p->sig; /* int * */
2346 struct thr_create_args *p = params;
2347 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2348 uarg[1] = (intptr_t) p->id; /* long * */
2349 iarg[2] = p->flags; /* int */
2355 struct thr_exit_args *p = params;
2356 uarg[0] = (intptr_t) p->state; /* long * */
2362 struct thr_self_args *p = params;
2363 uarg[0] = (intptr_t) p->id; /* long * */
2369 struct thr_kill_args *p = params;
2370 iarg[0] = p->id; /* long */
2371 iarg[1] = p->sig; /* int */
2377 struct jail_attach_args *p = params;
2378 iarg[0] = p->jid; /* int */
2382 /* extattr_list_fd */
2384 struct extattr_list_fd_args *p = params;
2385 iarg[0] = p->fd; /* int */
2386 iarg[1] = p->attrnamespace; /* int */
2387 uarg[2] = (intptr_t) p->data; /* void * */
2388 uarg[3] = p->nbytes; /* size_t */
2392 /* extattr_list_file */
2394 struct extattr_list_file_args *p = params;
2395 uarg[0] = (intptr_t) p->path; /* const char * */
2396 iarg[1] = p->attrnamespace; /* int */
2397 uarg[2] = (intptr_t) p->data; /* void * */
2398 uarg[3] = p->nbytes; /* size_t */
2402 /* extattr_list_link */
2404 struct extattr_list_link_args *p = params;
2405 uarg[0] = (intptr_t) p->path; /* const char * */
2406 iarg[1] = p->attrnamespace; /* int */
2407 uarg[2] = (intptr_t) p->data; /* void * */
2408 uarg[3] = p->nbytes; /* size_t */
2412 /* ksem_timedwait */
2414 struct ksem_timedwait_args *p = params;
2415 iarg[0] = p->id; /* semid_t */
2416 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2422 struct thr_suspend_args *p = params;
2423 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2429 struct thr_wake_args *p = params;
2430 iarg[0] = p->id; /* long */
2436 struct kldunloadf_args *p = params;
2437 iarg[0] = p->fileid; /* int */
2438 iarg[1] = p->flags; /* int */
2444 struct audit_args *p = params;
2445 uarg[0] = (intptr_t) p->record; /* const void * */
2446 uarg[1] = p->length; /* u_int */
2452 struct auditon_args *p = params;
2453 iarg[0] = p->cmd; /* int */
2454 uarg[1] = (intptr_t) p->data; /* void * */
2455 uarg[2] = p->length; /* u_int */
2461 struct getauid_args *p = params;
2462 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2468 struct setauid_args *p = params;
2469 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2475 struct getaudit_args *p = params;
2476 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2482 struct setaudit_args *p = params;
2483 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2489 struct getaudit_addr_args *p = params;
2490 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2491 uarg[1] = p->length; /* u_int */
2497 struct setaudit_addr_args *p = params;
2498 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2499 uarg[1] = p->length; /* u_int */
2505 struct auditctl_args *p = params;
2506 uarg[0] = (intptr_t) p->path; /* char * */
2512 struct _umtx_op_args *p = params;
2513 uarg[0] = (intptr_t) p->obj; /* void * */
2514 iarg[1] = p->op; /* int */
2515 uarg[2] = p->val; /* u_long */
2516 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2517 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2523 struct thr_new_args *p = params;
2524 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2525 iarg[1] = p->param_size; /* int */
2531 struct sigqueue_args *p = params;
2532 iarg[0] = p->pid; /* pid_t */
2533 iarg[1] = p->signum; /* int */
2534 uarg[2] = (intptr_t) p->value; /* void * */
2540 struct kmq_open_args *p = params;
2541 uarg[0] = (intptr_t) p->path; /* const char * */
2542 iarg[1] = p->flags; /* int */
2543 iarg[2] = p->mode; /* mode_t */
2544 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2550 struct kmq_setattr_args *p = params;
2551 iarg[0] = p->mqd; /* int */
2552 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2553 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2557 /* kmq_timedreceive */
2559 struct kmq_timedreceive_args *p = params;
2560 iarg[0] = p->mqd; /* int */
2561 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2562 uarg[2] = p->msg_len; /* size_t */
2563 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2564 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2570 struct kmq_timedsend_args *p = params;
2571 iarg[0] = p->mqd; /* int */
2572 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2573 uarg[2] = p->msg_len; /* size_t */
2574 uarg[3] = p->msg_prio; /* unsigned */
2575 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2581 struct kmq_notify_args *p = params;
2582 iarg[0] = p->mqd; /* int */
2583 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2589 struct kmq_unlink_args *p = params;
2590 uarg[0] = (intptr_t) p->path; /* const char * */
2596 struct abort2_args *p = params;
2597 uarg[0] = (intptr_t) p->why; /* const char * */
2598 iarg[1] = p->nargs; /* int */
2599 uarg[2] = (intptr_t) p->args; /* void ** */
2605 struct thr_set_name_args *p = params;
2606 iarg[0] = p->id; /* long */
2607 uarg[1] = (intptr_t) p->name; /* const char * */
2613 struct aio_fsync_args *p = params;
2614 iarg[0] = p->op; /* int */
2615 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2621 struct rtprio_thread_args *p = params;
2622 iarg[0] = p->function; /* int */
2623 iarg[1] = p->lwpid; /* lwpid_t */
2624 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2630 struct sctp_peeloff_args *p = params;
2631 iarg[0] = p->sd; /* int */
2632 uarg[1] = p->name; /* uint32_t */
2636 /* sctp_generic_sendmsg */
2638 struct sctp_generic_sendmsg_args *p = params;
2639 iarg[0] = p->sd; /* int */
2640 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2641 iarg[2] = p->mlen; /* int */
2642 uarg[3] = (intptr_t) p->to; /* caddr_t */
2643 iarg[4] = p->tolen; /* __socklen_t */
2644 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2645 iarg[6] = p->flags; /* int */
2649 /* sctp_generic_sendmsg_iov */
2651 struct sctp_generic_sendmsg_iov_args *p = params;
2652 iarg[0] = p->sd; /* int */
2653 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2654 iarg[2] = p->iovlen; /* int */
2655 uarg[3] = (intptr_t) p->to; /* caddr_t */
2656 iarg[4] = p->tolen; /* __socklen_t */
2657 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2658 iarg[6] = p->flags; /* int */
2662 /* sctp_generic_recvmsg */
2664 struct sctp_generic_recvmsg_args *p = params;
2665 iarg[0] = p->sd; /* int */
2666 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2667 iarg[2] = p->iovlen; /* int */
2668 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2669 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2670 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2671 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2677 struct pread_args *p = params;
2678 iarg[0] = p->fd; /* int */
2679 uarg[1] = (intptr_t) p->buf; /* void * */
2680 uarg[2] = p->nbyte; /* size_t */
2681 iarg[3] = p->offset; /* off_t */
2687 struct pwrite_args *p = params;
2688 iarg[0] = p->fd; /* int */
2689 uarg[1] = (intptr_t) p->buf; /* const void * */
2690 uarg[2] = p->nbyte; /* size_t */
2691 iarg[3] = p->offset; /* off_t */
2697 struct mmap_args *p = params;
2698 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2699 uarg[1] = p->len; /* size_t */
2700 iarg[2] = p->prot; /* int */
2701 iarg[3] = p->flags; /* int */
2702 iarg[4] = p->fd; /* int */
2703 iarg[5] = p->pos; /* off_t */
2709 struct lseek_args *p = params;
2710 iarg[0] = p->fd; /* int */
2711 iarg[1] = p->offset; /* off_t */
2712 iarg[2] = p->whence; /* int */
2718 struct truncate_args *p = params;
2719 uarg[0] = (intptr_t) p->path; /* char * */
2720 iarg[1] = p->length; /* off_t */
2726 struct ftruncate_args *p = params;
2727 iarg[0] = p->fd; /* int */
2728 iarg[1] = p->length; /* off_t */
2734 struct thr_kill2_args *p = params;
2735 iarg[0] = p->pid; /* pid_t */
2736 iarg[1] = p->id; /* long */
2737 iarg[2] = p->sig; /* int */
2743 struct shm_open_args *p = params;
2744 uarg[0] = (intptr_t) p->path; /* const char * */
2745 iarg[1] = p->flags; /* int */
2746 iarg[2] = p->mode; /* mode_t */
2752 struct shm_unlink_args *p = params;
2753 uarg[0] = (intptr_t) p->path; /* const char * */
2759 struct cpuset_args *p = params;
2760 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2766 struct cpuset_setid_args *p = params;
2767 iarg[0] = p->which; /* cpuwhich_t */
2768 iarg[1] = p->id; /* id_t */
2769 iarg[2] = p->setid; /* cpusetid_t */
2775 struct cpuset_getid_args *p = params;
2776 iarg[0] = p->level; /* cpulevel_t */
2777 iarg[1] = p->which; /* cpuwhich_t */
2778 iarg[2] = p->id; /* id_t */
2779 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2783 /* cpuset_getaffinity */
2785 struct cpuset_getaffinity_args *p = params;
2786 iarg[0] = p->level; /* cpulevel_t */
2787 iarg[1] = p->which; /* cpuwhich_t */
2788 iarg[2] = p->id; /* id_t */
2789 uarg[3] = p->cpusetsize; /* size_t */
2790 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2794 /* cpuset_setaffinity */
2796 struct cpuset_setaffinity_args *p = params;
2797 iarg[0] = p->level; /* cpulevel_t */
2798 iarg[1] = p->which; /* cpuwhich_t */
2799 iarg[2] = p->id; /* id_t */
2800 uarg[3] = p->cpusetsize; /* size_t */
2801 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2807 struct faccessat_args *p = params;
2808 iarg[0] = p->fd; /* int */
2809 uarg[1] = (intptr_t) p->path; /* char * */
2810 iarg[2] = p->amode; /* int */
2811 iarg[3] = p->flag; /* int */
2817 struct fchmodat_args *p = params;
2818 iarg[0] = p->fd; /* int */
2819 uarg[1] = (intptr_t) p->path; /* char * */
2820 iarg[2] = p->mode; /* mode_t */
2821 iarg[3] = p->flag; /* int */
2827 struct fchownat_args *p = params;
2828 iarg[0] = p->fd; /* int */
2829 uarg[1] = (intptr_t) p->path; /* char * */
2830 uarg[2] = p->uid; /* uid_t */
2831 iarg[3] = p->gid; /* gid_t */
2832 iarg[4] = p->flag; /* int */
2838 struct fexecve_args *p = params;
2839 iarg[0] = p->fd; /* int */
2840 uarg[1] = (intptr_t) p->argv; /* char ** */
2841 uarg[2] = (intptr_t) p->envv; /* char ** */
2847 struct fstatat_args *p = params;
2848 iarg[0] = p->fd; /* int */
2849 uarg[1] = (intptr_t) p->path; /* char * */
2850 uarg[2] = (intptr_t) p->buf; /* struct stat * */
2851 iarg[3] = p->flag; /* int */
2857 struct futimesat_args *p = params;
2858 iarg[0] = p->fd; /* int */
2859 uarg[1] = (intptr_t) p->path; /* char * */
2860 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2866 struct linkat_args *p = params;
2867 iarg[0] = p->fd1; /* int */
2868 uarg[1] = (intptr_t) p->path1; /* char * */
2869 iarg[2] = p->fd2; /* int */
2870 uarg[3] = (intptr_t) p->path2; /* char * */
2871 iarg[4] = p->flag; /* int */
2877 struct mkdirat_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 mkfifoat_args *p = params;
2887 iarg[0] = p->fd; /* int */
2888 uarg[1] = (intptr_t) p->path; /* char * */
2889 iarg[2] = p->mode; /* mode_t */
2895 struct mknodat_args *p = params;
2896 iarg[0] = p->fd; /* int */
2897 uarg[1] = (intptr_t) p->path; /* char * */
2898 iarg[2] = p->mode; /* mode_t */
2899 iarg[3] = p->dev; /* dev_t */
2905 struct openat_args *p = params;
2906 iarg[0] = p->fd; /* int */
2907 uarg[1] = (intptr_t) p->path; /* char * */
2908 iarg[2] = p->flag; /* int */
2909 iarg[3] = p->mode; /* mode_t */
2915 struct readlinkat_args *p = params;
2916 iarg[0] = p->fd; /* int */
2917 uarg[1] = (intptr_t) p->path; /* char * */
2918 uarg[2] = (intptr_t) p->buf; /* char * */
2919 uarg[3] = p->bufsize; /* size_t */
2925 struct renameat_args *p = params;
2926 iarg[0] = p->oldfd; /* int */
2927 uarg[1] = (intptr_t) p->old; /* char * */
2928 iarg[2] = p->newfd; /* int */
2929 uarg[3] = (intptr_t) p->new; /* char * */
2935 struct symlinkat_args *p = params;
2936 uarg[0] = (intptr_t) p->path1; /* char * */
2937 iarg[1] = p->fd; /* int */
2938 uarg[2] = (intptr_t) p->path2; /* char * */
2944 struct unlinkat_args *p = params;
2945 iarg[0] = p->fd; /* int */
2946 uarg[1] = (intptr_t) p->path; /* char * */
2947 iarg[2] = p->flag; /* int */
2953 struct posix_openpt_args *p = params;
2954 iarg[0] = p->flags; /* int */
2960 struct gssd_syscall_args *p = params;
2961 uarg[0] = (intptr_t) p->path; /* char * */
2967 struct jail_get_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_set_args *p = params;
2977 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2978 uarg[1] = p->iovcnt; /* unsigned int */
2979 iarg[2] = p->flags; /* int */
2985 struct jail_remove_args *p = params;
2986 iarg[0] = p->jid; /* int */
2992 struct closefrom_args *p = params;
2993 iarg[0] = p->lowfd; /* int */
2999 struct __semctl_args *p = params;
3000 iarg[0] = p->semid; /* int */
3001 iarg[1] = p->semnum; /* int */
3002 iarg[2] = p->cmd; /* int */
3003 uarg[3] = (intptr_t) p->arg; /* union semun * */
3009 struct msgctl_args *p = params;
3010 iarg[0] = p->msqid; /* int */
3011 iarg[1] = p->cmd; /* int */
3012 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
3018 struct shmctl_args *p = params;
3019 iarg[0] = p->shmid; /* int */
3020 iarg[1] = p->cmd; /* int */
3021 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
3027 struct lpathconf_args *p = params;
3028 uarg[0] = (intptr_t) p->path; /* char * */
3029 iarg[1] = p->name; /* int */
3033 /* __cap_rights_get */
3035 struct __cap_rights_get_args *p = params;
3036 iarg[0] = p->version; /* int */
3037 iarg[1] = p->fd; /* int */
3038 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */
3049 struct cap_getmode_args *p = params;
3050 uarg[0] = (intptr_t) p->modep; /* u_int * */
3056 struct pdfork_args *p = params;
3057 uarg[0] = (intptr_t) p->fdp; /* int * */
3058 iarg[1] = p->flags; /* int */
3064 struct pdkill_args *p = params;
3065 iarg[0] = p->fd; /* int */
3066 iarg[1] = p->signum; /* int */
3072 struct pdgetpid_args *p = params;
3073 iarg[0] = p->fd; /* int */
3074 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
3080 struct pselect_args *p = params;
3081 iarg[0] = p->nd; /* int */
3082 uarg[1] = (intptr_t) p->in; /* fd_set * */
3083 uarg[2] = (intptr_t) p->ou; /* fd_set * */
3084 uarg[3] = (intptr_t) p->ex; /* fd_set * */
3085 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
3086 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
3092 struct getloginclass_args *p = params;
3093 uarg[0] = (intptr_t) p->namebuf; /* char * */
3094 uarg[1] = p->namelen; /* size_t */
3100 struct setloginclass_args *p = params;
3101 uarg[0] = (intptr_t) p->namebuf; /* const char * */
3105 /* rctl_get_racct */
3107 struct rctl_get_racct_args *p = params;
3108 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3109 uarg[1] = p->inbuflen; /* size_t */
3110 uarg[2] = (intptr_t) p->outbufp; /* void * */
3111 uarg[3] = p->outbuflen; /* size_t */
3115 /* rctl_get_rules */
3117 struct rctl_get_rules_args *p = params;
3118 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3119 uarg[1] = p->inbuflen; /* size_t */
3120 uarg[2] = (intptr_t) p->outbufp; /* void * */
3121 uarg[3] = p->outbuflen; /* size_t */
3125 /* rctl_get_limits */
3127 struct rctl_get_limits_args *p = params;
3128 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3129 uarg[1] = p->inbuflen; /* size_t */
3130 uarg[2] = (intptr_t) p->outbufp; /* void * */
3131 uarg[3] = p->outbuflen; /* size_t */
3137 struct rctl_add_rule_args *p = params;
3138 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3139 uarg[1] = p->inbuflen; /* size_t */
3140 uarg[2] = (intptr_t) p->outbufp; /* void * */
3141 uarg[3] = p->outbuflen; /* size_t */
3145 /* rctl_remove_rule */
3147 struct rctl_remove_rule_args *p = params;
3148 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3149 uarg[1] = p->inbuflen; /* size_t */
3150 uarg[2] = (intptr_t) p->outbufp; /* void * */
3151 uarg[3] = p->outbuflen; /* size_t */
3155 /* posix_fallocate */
3157 struct posix_fallocate_args *p = params;
3158 iarg[0] = p->fd; /* int */
3159 iarg[1] = p->offset; /* off_t */
3160 iarg[2] = p->len; /* off_t */
3166 struct posix_fadvise_args *p = params;
3167 iarg[0] = p->fd; /* int */
3168 iarg[1] = p->offset; /* off_t */
3169 iarg[2] = p->len; /* off_t */
3170 iarg[3] = p->advice; /* int */
3176 struct wait6_args *p = params;
3177 iarg[0] = p->idtype; /* idtype_t */
3178 iarg[1] = p->id; /* id_t */
3179 uarg[2] = (intptr_t) p->status; /* int * */
3180 iarg[3] = p->options; /* int */
3181 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */
3182 uarg[5] = (intptr_t) p->info; /* siginfo_t * */
3186 /* cap_rights_limit */
3188 struct cap_rights_limit_args *p = params;
3189 iarg[0] = p->fd; /* int */
3190 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */
3194 /* cap_ioctls_limit */
3196 struct cap_ioctls_limit_args *p = params;
3197 iarg[0] = p->fd; /* int */
3198 uarg[1] = (intptr_t) p->cmds; /* const u_long * */
3199 uarg[2] = p->ncmds; /* size_t */
3203 /* cap_ioctls_get */
3205 struct cap_ioctls_get_args *p = params;
3206 iarg[0] = p->fd; /* int */
3207 uarg[1] = (intptr_t) p->cmds; /* u_long * */
3208 uarg[2] = p->maxcmds; /* size_t */
3212 /* cap_fcntls_limit */
3214 struct cap_fcntls_limit_args *p = params;
3215 iarg[0] = p->fd; /* int */
3216 uarg[1] = p->fcntlrights; /* uint32_t */
3220 /* cap_fcntls_get */
3222 struct cap_fcntls_get_args *p = params;
3223 iarg[0] = p->fd; /* int */
3224 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
3230 struct bindat_args *p = params;
3231 iarg[0] = p->fd; /* int */
3232 iarg[1] = p->s; /* int */
3233 uarg[2] = (intptr_t) p->name; /* caddr_t */
3234 iarg[3] = p->namelen; /* int */
3240 struct connectat_args *p = params;
3241 iarg[0] = p->fd; /* int */
3242 iarg[1] = p->s; /* int */
3243 uarg[2] = (intptr_t) p->name; /* caddr_t */
3244 iarg[3] = p->namelen; /* int */
3250 struct chflagsat_args *p = params;
3251 iarg[0] = p->fd; /* int */
3252 uarg[1] = (intptr_t) p->path; /* const char * */
3253 uarg[2] = p->flags; /* u_long */
3254 iarg[3] = p->atflag; /* int */
3260 struct accept4_args *p = params;
3261 iarg[0] = p->s; /* int */
3262 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
3263 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
3264 iarg[3] = p->flags; /* int */
3270 struct pipe2_args *p = params;
3271 uarg[0] = (intptr_t) p->fildes; /* int * */
3272 iarg[1] = p->flags; /* int */
3278 struct aio_mlock_args *p = params;
3279 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3285 struct procctl_args *p = params;
3286 iarg[0] = p->idtype; /* idtype_t */
3287 iarg[1] = p->id; /* id_t */
3288 iarg[2] = p->com; /* int */
3289 uarg[3] = (intptr_t) p->data; /* void * */
3295 struct ppoll_args *p = params;
3296 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
3297 uarg[1] = p->nfds; /* u_int */
3298 uarg[2] = (intptr_t) p->ts; /* const struct timespec * */
3299 uarg[3] = (intptr_t) p->set; /* const sigset_t * */
3305 struct futimens_args *p = params;
3306 iarg[0] = p->fd; /* int */
3307 uarg[1] = (intptr_t) p->times; /* struct timespec * */
3313 struct utimensat_args *p = params;
3314 iarg[0] = p->fd; /* int */
3315 uarg[1] = (intptr_t) p->path; /* char * */
3316 uarg[2] = (intptr_t) p->times; /* struct timespec * */
3317 iarg[3] = p->flag; /* int */
3321 /* numa_getaffinity */
3323 struct numa_getaffinity_args *p = params;
3324 iarg[0] = p->which; /* cpuwhich_t */
3325 iarg[1] = p->id; /* id_t */
3326 uarg[2] = (intptr_t) p->policy; /* struct vm_domain_policy_entry * */
3330 /* numa_setaffinity */
3332 struct numa_setaffinity_args *p = params;
3333 iarg[0] = p->which; /* cpuwhich_t */
3334 iarg[1] = p->id; /* id_t */
3335 uarg[2] = (intptr_t) p->policy; /* const struct vm_domain_policy_entry * */
3341 struct fdatasync_args *p = params;
3342 iarg[0] = p->fd; /* int */
3352 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3354 const char *p = NULL;
3443 p = "struct rusage *";
3624 p = "struct msghdr *";
3640 p = "struct msghdr *";
3665 p = "struct sockaddr *";
3668 p = "__socklen_t *";
3681 p = "struct sockaddr *";
3684 p = "__socklen_t *";
3697 p = "struct sockaddr *";
3700 p = "__socklen_t *";
3713 p = "struct sockaddr *";
3716 p = "__socklen_t *";
4140 p = "struct itimerval *";
4143 p = "struct itimerval *";
4166 p = "struct itimerval *";
4220 p = "struct timeval *";
4352 p = "struct timeval *";
4355 p = "struct timezone *";
4368 p = "struct rusage *";
4403 p = "struct iovec *";
4419 p = "struct iovec *";
4432 p = "struct timeval *";
4435 p = "struct timezone *";
4622 p = "struct timeval *";
4632 p = "struct timeval *";
4635 p = "struct timeval *";
4702 p = "struct fhandle *";
4715 p = "struct fhandle *";
4744 p = "struct rtprio *";
4830 p = "struct timex *";
4873 p = "struct stat *";
4886 p = "struct stat *";
4899 p = "struct stat *";
4938 p = "struct rlimit *";
4951 p = "struct rlimit *";
5047 p = "struct timeval *";
5067 p = "struct pollfd *";
5132 p = "struct sembuf *";
5244 p = "struct timespec *";
5257 p = "const struct timespec *";
5270 p = "struct timespec *";
5283 p = "struct sigevent *";
5302 /* ktimer_settime */
5312 p = "const struct itimerspec *";
5315 p = "struct itimerspec *";
5321 /* ktimer_gettime */
5328 p = "struct itimerspec *";
5334 /* ktimer_getoverrun */
5348 p = "const struct timespec *";
5351 p = "struct timespec *";
5357 /* ffclock_getcounter */
5367 /* ffclock_setestimate */
5371 p = "struct ffclock_estimate *";
5377 /* ffclock_getestimate */
5381 p = "struct ffclock_estimate *";
5387 /* clock_nanosleep */
5397 p = "const struct timespec *";
5400 p = "struct timespec *";
5406 /* clock_getcpuclockid2 */
5426 p = "struct ntptimeval *";
5462 p = "struct pollfd *";
5497 p = "struct aiocb *";
5507 p = "struct aiocb *";
5520 p = "struct aiocb *const *";
5526 p = "struct sigevent *";
5584 p = "struct timeval *";
5613 p = "struct nstat *";
5626 p = "struct nstat *";
5639 p = "struct nstat *";
5652 p = "struct iovec *";
5671 p = "struct iovec *";
5687 p = "const struct fhandle *";
5700 p = "const struct fhandle *";
5703 p = "struct stat *";
5726 p = "struct module_stat *";
5799 p = "struct kld_file_stat *";
5861 p = "struct aiocb *";
5871 p = "struct aiocb *const *";
5877 p = "const struct timespec *";
5890 p = "struct aiocb *";
5900 p = "struct aiocb *";
5935 /* sched_setparam */
5942 p = "const struct sched_param *";
5948 /* sched_getparam */
5955 p = "struct sched_param *";
5961 /* sched_setscheduler */
5971 p = "const struct sched_param *";
5977 /* sched_getscheduler */
5990 /* sched_get_priority_max */
6000 /* sched_get_priority_min */
6010 /* sched_rr_get_interval */
6017 p = "struct timespec *";
6056 p = "struct jail *";
6091 p = "const sigset_t *";
6104 p = "const sigset_t *";
6124 p = "const sigset_t *";
6130 p = "const struct timespec *";
6140 p = "const sigset_t *";
6149 /* __acl_get_file */
6165 /* __acl_set_file */
6213 /* __acl_delete_file */
6226 /* __acl_delete_fd */
6239 /* __acl_aclcheck_file */
6255 /* __acl_aclcheck_fd */
6293 /* extattr_set_file */
6315 /* extattr_get_file */
6337 /* extattr_delete_file */
6353 /* aio_waitcomplete */
6357 p = "struct aiocb **";
6360 p = "struct timespec *";
6408 p = "struct kevent *";
6414 p = "struct kevent *";
6420 p = "const struct timespec *";
6426 /* extattr_set_fd */
6448 /* extattr_get_fd */
6470 /* extattr_delete_fd */
6541 p = "struct iovec *";
6553 /* __mac_get_proc */
6563 /* __mac_set_proc */
6586 /* __mac_get_file */
6612 /* __mac_set_file */
6661 p = "struct uuid *";
6686 p = "struct sf_hdtr *";
6718 p = "struct statfs *";
6737 p = "struct statfs *";
6750 p = "struct statfs *";
6760 p = "const struct fhandle *";
6763 p = "struct statfs *";
6890 /* __mac_get_link */
6903 /* __mac_set_link */
6916 /* extattr_set_link */
6938 /* extattr_get_link */
6960 /* extattr_delete_link */
7002 p = "const struct sigaction *";
7005 p = "struct sigaction *";
7015 p = "const struct __ucontext *";
7025 p = "struct __ucontext *";
7035 p = "const struct __ucontext *";
7045 p = "struct __ucontext *";
7048 p = "const struct __ucontext *";
7064 /* __acl_get_link */
7080 /* __acl_set_link */
7096 /* __acl_delete_link */
7109 /* __acl_aclcheck_link */
7129 p = "const sigset_t *";
7197 /* extattr_list_fd */
7216 /* extattr_list_file */
7235 /* extattr_list_link */
7254 /* ksem_timedwait */
7261 p = "const struct timespec *";
7271 p = "const struct timespec *";
7353 p = "struct auditinfo *";
7363 p = "struct auditinfo *";
7373 p = "struct auditinfo_addr *";
7386 p = "struct auditinfo_addr *";
7431 p = "struct thr_param *";
7469 p = "const struct mq_attr *";
7482 p = "const struct mq_attr *";
7485 p = "struct mq_attr *";
7491 /* kmq_timedreceive */
7507 p = "const struct timespec *";
7529 p = "const struct timespec *";
7542 p = "const struct sigevent *";
7594 p = "struct aiocb *";
7610 p = "struct rtprio *";
7629 /* sctp_generic_sendmsg */
7648 p = "struct sctp_sndrcvinfo *";
7657 /* sctp_generic_sendmsg_iov */
7664 p = "struct iovec *";
7676 p = "struct sctp_sndrcvinfo *";
7685 /* sctp_generic_recvmsg */
7692 p = "struct iovec *";
7698 p = "struct sockaddr *";
7701 p = "__socklen_t *";
7704 p = "struct sctp_sndrcvinfo *";
7905 /* cpuset_getaffinity */
7927 /* cpuset_setaffinity */
7943 p = "const cpuset_t *";
8035 p = "struct stat *";
8054 p = "struct timeval *";
8246 p = "struct iovec *";
8262 p = "struct iovec *";
8307 p = "union semun *";
8323 p = "struct msqid_ds *";
8339 p = "struct shmid_ds *";
8358 /* __cap_rights_get */
8368 p = "cap_rights_t *";
8442 p = "const struct timespec *";
8445 p = "const sigset_t *";
8474 /* rctl_get_racct */
8493 /* rctl_get_rules */
8512 /* rctl_get_limits */
8550 /* rctl_remove_rule */
8569 /* posix_fallocate */
8620 p = "struct __wrusage *";
8629 /* cap_rights_limit */
8636 p = "cap_rights_t *";
8642 /* cap_ioctls_limit */
8649 p = "const u_long *";
8658 /* cap_ioctls_get */
8674 /* cap_fcntls_limit */
8687 /* cap_fcntls_get */
8764 p = "struct sockaddr *";
8767 p = "__socklen_t *";
8793 p = "struct aiocb *";
8822 p = "struct pollfd *";
8828 p = "const struct timespec *";
8831 p = "const sigset_t *";
8844 p = "struct timespec *";
8860 p = "struct timespec *";
8869 /* numa_getaffinity */
8879 p = "struct vm_domain_policy_entry *";
8885 /* numa_setaffinity */
8895 p = "const struct vm_domain_policy_entry *";
8915 strlcpy(desc, p, descsz);
8918 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8920 const char *p = NULL;
8926 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)
8973 if (ndx == 0 || ndx == 1)
8978 if (ndx == 0 || ndx == 1)
8983 if (ndx == 0 || ndx == 1)
8988 if (ndx == 0 || ndx == 1)
8993 if (ndx == 0 || ndx == 1)
9000 if (ndx == 0 || ndx == 1)
9005 if (ndx == 0 || ndx == 1)
9010 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)
9044 if (ndx == 0 || ndx == 1)
9049 if (ndx == 0 || ndx == 1)
9054 if (ndx == 0 || ndx == 1)
9059 if (ndx == 0 || ndx == 1)
9064 if (ndx == 0 || ndx == 1)
9071 if (ndx == 0 || ndx == 1)
9078 if (ndx == 0 || ndx == 1)
9085 if (ndx == 0 || ndx == 1)
9090 if (ndx == 0 || ndx == 1)
9097 if (ndx == 0 || ndx == 1)
9102 if (ndx == 0 || ndx == 1)
9107 if (ndx == 0 || ndx == 1)
9112 if (ndx == 0 || ndx == 1)
9117 if (ndx == 0 || ndx == 1)
9122 if (ndx == 0 || ndx == 1)
9127 if (ndx == 0 || ndx == 1)
9132 if (ndx == 0 || ndx == 1)
9137 if (ndx == 0 || ndx == 1)
9142 if (ndx == 0 || ndx == 1)
9147 if (ndx == 0 || ndx == 1)
9152 if (ndx == 0 || ndx == 1)
9157 if (ndx == 0 || ndx == 1)
9164 if (ndx == 0 || ndx == 1)
9169 if (ndx == 0 || ndx == 1)
9174 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)
9211 if (ndx == 0 || ndx == 1)
9216 if (ndx == 0 || ndx == 1)
9221 if (ndx == 0 || ndx == 1)
9226 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)
9363 if (ndx == 0 || ndx == 1)
9368 if (ndx == 0 || ndx == 1)
9373 if (ndx == 0 || ndx == 1)
9378 if (ndx == 0 || ndx == 1)
9383 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)
9480 if (ndx == 0 || ndx == 1)
9485 if (ndx == 0 || ndx == 1)
9490 if (ndx == 0 || ndx == 1)
9495 if (ndx == 0 || ndx == 1)
9500 if (ndx == 0 || ndx == 1)
9507 if (ndx == 0 || ndx == 1)
9512 if (ndx == 0 || ndx == 1)
9517 if (ndx == 0 || ndx == 1)
9522 if (ndx == 0 || ndx == 1)
9527 if (ndx == 0 || ndx == 1)
9532 if (ndx == 0 || ndx == 1)
9537 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)
9602 if (ndx == 0 || ndx == 1)
9607 if (ndx == 0 || ndx == 1)
9612 if (ndx == 0 || ndx == 1)
9617 if (ndx == 0 || ndx == 1)
9622 if (ndx == 0 || ndx == 1)
9625 /* ktimer_settime */
9627 if (ndx == 0 || ndx == 1)
9630 /* ktimer_gettime */
9632 if (ndx == 0 || ndx == 1)
9635 /* ktimer_getoverrun */
9637 if (ndx == 0 || ndx == 1)
9642 if (ndx == 0 || ndx == 1)
9645 /* ffclock_getcounter */
9647 if (ndx == 0 || ndx == 1)
9650 /* ffclock_setestimate */
9652 if (ndx == 0 || ndx == 1)
9655 /* ffclock_getestimate */
9657 if (ndx == 0 || ndx == 1)
9660 /* clock_nanosleep */
9662 if (ndx == 0 || ndx == 1)
9665 /* clock_getcpuclockid2 */
9667 if (ndx == 0 || ndx == 1)
9672 if (ndx == 0 || ndx == 1)
9677 if (ndx == 0 || ndx == 1)
9682 if (ndx == 0 || ndx == 1)
9687 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)
9829 if (ndx == 0 || ndx == 1)
9834 if (ndx == 0 || ndx == 1)
9839 if (ndx == 0 || ndx == 1)
9844 if (ndx == 0 || ndx == 1)
9849 if (ndx == 0 || ndx == 1)
9854 if (ndx == 0 || ndx == 1)
9861 if (ndx == 0 || ndx == 1)
9868 if (ndx == 0 || ndx == 1)
9871 /* sched_setparam */
9873 if (ndx == 0 || ndx == 1)
9876 /* sched_getparam */
9878 if (ndx == 0 || ndx == 1)
9881 /* sched_setscheduler */
9883 if (ndx == 0 || ndx == 1)
9886 /* sched_getscheduler */
9888 if (ndx == 0 || ndx == 1)
9893 /* sched_get_priority_max */
9895 if (ndx == 0 || ndx == 1)
9898 /* sched_get_priority_min */
9900 if (ndx == 0 || ndx == 1)
9903 /* sched_rr_get_interval */
9905 if (ndx == 0 || ndx == 1)
9910 if (ndx == 0 || ndx == 1)
9915 if (ndx == 0 || ndx == 1)
9920 if (ndx == 0 || ndx == 1)
9925 if (ndx == 0 || ndx == 1)
9930 if (ndx == 0 || ndx == 1)
9935 if (ndx == 0 || ndx == 1)
9940 if (ndx == 0 || ndx == 1)
9945 if (ndx == 0 || ndx == 1)
9950 if (ndx == 0 || ndx == 1)
9953 /* __acl_get_file */
9955 if (ndx == 0 || ndx == 1)
9958 /* __acl_set_file */
9960 if (ndx == 0 || ndx == 1)
9965 if (ndx == 0 || ndx == 1)
9970 if (ndx == 0 || ndx == 1)
9973 /* __acl_delete_file */
9975 if (ndx == 0 || ndx == 1)
9978 /* __acl_delete_fd */
9980 if (ndx == 0 || ndx == 1)
9983 /* __acl_aclcheck_file */
9985 if (ndx == 0 || ndx == 1)
9988 /* __acl_aclcheck_fd */
9990 if (ndx == 0 || ndx == 1)
9995 if (ndx == 0 || ndx == 1)
9998 /* extattr_set_file */
10000 if (ndx == 0 || ndx == 1)
10003 /* extattr_get_file */
10005 if (ndx == 0 || ndx == 1)
10008 /* extattr_delete_file */
10010 if (ndx == 0 || ndx == 1)
10013 /* aio_waitcomplete */
10015 if (ndx == 0 || ndx == 1)
10020 if (ndx == 0 || ndx == 1)
10025 if (ndx == 0 || ndx == 1)
10032 if (ndx == 0 || ndx == 1)
10035 /* extattr_set_fd */
10037 if (ndx == 0 || ndx == 1)
10040 /* extattr_get_fd */
10042 if (ndx == 0 || ndx == 1)
10045 /* extattr_delete_fd */
10047 if (ndx == 0 || ndx == 1)
10052 if (ndx == 0 || ndx == 1)
10057 if (ndx == 0 || ndx == 1)
10062 if (ndx == 0 || ndx == 1)
10067 if (ndx == 0 || ndx == 1)
10070 /* __mac_get_proc */
10072 if (ndx == 0 || ndx == 1)
10075 /* __mac_set_proc */
10077 if (ndx == 0 || ndx == 1)
10082 if (ndx == 0 || ndx == 1)
10085 /* __mac_get_file */
10087 if (ndx == 0 || ndx == 1)
10092 if (ndx == 0 || ndx == 1)
10095 /* __mac_set_file */
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)
10152 if (ndx == 0 || ndx == 1)
10157 if (ndx == 0 || ndx == 1)
10162 if (ndx == 0 || ndx == 1)
10167 if (ndx == 0 || ndx == 1)
10172 if (ndx == 0 || ndx == 1)
10177 if (ndx == 0 || ndx == 1)
10180 /* ksem_getvalue */
10182 if (ndx == 0 || ndx == 1)
10187 if (ndx == 0 || ndx == 1)
10190 /* __mac_get_pid */
10192 if (ndx == 0 || ndx == 1)
10195 /* __mac_get_link */
10197 if (ndx == 0 || ndx == 1)
10200 /* __mac_set_link */
10202 if (ndx == 0 || ndx == 1)
10205 /* extattr_set_link */
10207 if (ndx == 0 || ndx == 1)
10210 /* extattr_get_link */
10212 if (ndx == 0 || ndx == 1)
10215 /* extattr_delete_link */
10217 if (ndx == 0 || ndx == 1)
10222 if (ndx == 0 || ndx == 1)
10227 if (ndx == 0 || ndx == 1)
10232 if (ndx == 0 || ndx == 1)
10237 if (ndx == 0 || ndx == 1)
10242 if (ndx == 0 || ndx == 1)
10247 if (ndx == 0 || ndx == 1)
10252 if (ndx == 0 || ndx == 1)
10255 /* __acl_get_link */
10257 if (ndx == 0 || ndx == 1)
10260 /* __acl_set_link */
10262 if (ndx == 0 || ndx == 1)
10265 /* __acl_delete_link */
10267 if (ndx == 0 || ndx == 1)
10270 /* __acl_aclcheck_link */
10272 if (ndx == 0 || ndx == 1)
10277 if (ndx == 0 || ndx == 1)
10282 if (ndx == 0 || ndx == 1)
10287 if (ndx == 0 || ndx == 1)
10292 if (ndx == 0 || ndx == 1)
10297 if (ndx == 0 || ndx == 1)
10302 if (ndx == 0 || ndx == 1)
10305 /* extattr_list_fd */
10307 if (ndx == 0 || ndx == 1)
10310 /* extattr_list_file */
10312 if (ndx == 0 || ndx == 1)
10315 /* extattr_list_link */
10317 if (ndx == 0 || ndx == 1)
10320 /* ksem_timedwait */
10322 if (ndx == 0 || ndx == 1)
10327 if (ndx == 0 || ndx == 1)
10332 if (ndx == 0 || ndx == 1)
10337 if (ndx == 0 || ndx == 1)
10342 if (ndx == 0 || ndx == 1)
10347 if (ndx == 0 || ndx == 1)
10352 if (ndx == 0 || ndx == 1)
10357 if (ndx == 0 || ndx == 1)
10362 if (ndx == 0 || ndx == 1)
10367 if (ndx == 0 || ndx == 1)
10370 /* getaudit_addr */
10372 if (ndx == 0 || ndx == 1)
10375 /* setaudit_addr */
10377 if (ndx == 0 || ndx == 1)
10382 if (ndx == 0 || ndx == 1)
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)
10410 /* kmq_timedreceive */
10412 if (ndx == 0 || ndx == 1)
10415 /* kmq_timedsend */
10417 if (ndx == 0 || ndx == 1)
10422 if (ndx == 0 || ndx == 1)
10427 if (ndx == 0 || ndx == 1)
10432 if (ndx == 0 || ndx == 1)
10437 if (ndx == 0 || ndx == 1)
10442 if (ndx == 0 || ndx == 1)
10445 /* rtprio_thread */
10447 if (ndx == 0 || ndx == 1)
10452 if (ndx == 0 || ndx == 1)
10455 /* sctp_generic_sendmsg */
10457 if (ndx == 0 || ndx == 1)
10460 /* sctp_generic_sendmsg_iov */
10462 if (ndx == 0 || ndx == 1)
10465 /* sctp_generic_recvmsg */
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)
10502 if (ndx == 0 || ndx == 1)
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)
10530 /* cpuset_getaffinity */
10532 if (ndx == 0 || ndx == 1)
10535 /* cpuset_setaffinity */
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)
10637 if (ndx == 0 || ndx == 1)
10642 if (ndx == 0 || ndx == 1)
10647 if (ndx == 0 || ndx == 1)
10652 if (ndx == 0 || ndx == 1)
10657 if (ndx == 0 || ndx == 1)
10662 if (ndx == 0 || ndx == 1)
10665 /* __cap_rights_get */
10667 if (ndx == 0 || ndx == 1)
10674 if (ndx == 0 || ndx == 1)
10679 if (ndx == 0 || ndx == 1)
10684 if (ndx == 0 || ndx == 1)
10689 if (ndx == 0 || ndx == 1)
10694 if (ndx == 0 || ndx == 1)
10697 /* getloginclass */
10699 if (ndx == 0 || ndx == 1)
10702 /* setloginclass */
10704 if (ndx == 0 || ndx == 1)
10707 /* rctl_get_racct */
10709 if (ndx == 0 || ndx == 1)
10712 /* rctl_get_rules */
10714 if (ndx == 0 || ndx == 1)
10717 /* rctl_get_limits */
10719 if (ndx == 0 || ndx == 1)
10722 /* rctl_add_rule */
10724 if (ndx == 0 || ndx == 1)
10727 /* rctl_remove_rule */
10729 if (ndx == 0 || ndx == 1)
10732 /* posix_fallocate */
10734 if (ndx == 0 || ndx == 1)
10737 /* posix_fadvise */
10739 if (ndx == 0 || ndx == 1)
10744 if (ndx == 0 || ndx == 1)
10747 /* cap_rights_limit */
10749 if (ndx == 0 || ndx == 1)
10752 /* cap_ioctls_limit */
10754 if (ndx == 0 || ndx == 1)
10757 /* cap_ioctls_get */
10759 if (ndx == 0 || ndx == 1)
10762 /* cap_fcntls_limit */
10764 if (ndx == 0 || ndx == 1)
10767 /* cap_fcntls_get */
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)
10794 if (ndx == 0 || ndx == 1)
10799 if (ndx == 0 || ndx == 1)
10804 if (ndx == 0 || ndx == 1)
10809 if (ndx == 0 || ndx == 1)
10814 if (ndx == 0 || ndx == 1)
10819 if (ndx == 0 || ndx == 1)
10822 /* numa_getaffinity */
10824 if (ndx == 0 || ndx == 1)
10827 /* numa_setaffinity */
10829 if (ndx == 0 || ndx == 1)
10834 if (ndx == 0 || ndx == 1)
10841 strlcpy(desc, p, descsz);