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_getcpuclockid2 */
1295 struct clock_getcpuclockid2_args *p = params;
1296 iarg[0] = p->id; /* id_t */
1297 iarg[1] = p->which; /* int */
1298 uarg[2] = (intptr_t) p->clock_id; /* clockid_t * */
1304 struct ntp_gettime_args *p = params;
1305 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1311 struct minherit_args *p = params;
1312 uarg[0] = (intptr_t) p->addr; /* void * */
1313 uarg[1] = p->len; /* size_t */
1314 iarg[2] = p->inherit; /* int */
1320 struct rfork_args *p = params;
1321 iarg[0] = p->flags; /* int */
1327 struct openbsd_poll_args *p = params;
1328 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1329 uarg[1] = p->nfds; /* u_int */
1330 iarg[2] = p->timeout; /* int */
1341 struct lchown_args *p = params;
1342 uarg[0] = (intptr_t) p->path; /* char * */
1343 iarg[1] = p->uid; /* int */
1344 iarg[2] = p->gid; /* int */
1350 struct aio_read_args *p = params;
1351 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1357 struct aio_write_args *p = params;
1358 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1364 struct lio_listio_args *p = params;
1365 iarg[0] = p->mode; /* int */
1366 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1367 iarg[2] = p->nent; /* int */
1368 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1374 struct getdents_args *p = params;
1375 iarg[0] = p->fd; /* int */
1376 uarg[1] = (intptr_t) p->buf; /* char * */
1377 uarg[2] = p->count; /* size_t */
1383 struct lchmod_args *p = params;
1384 uarg[0] = (intptr_t) p->path; /* char * */
1385 iarg[1] = p->mode; /* mode_t */
1391 struct lchown_args *p = params;
1392 uarg[0] = (intptr_t) p->path; /* char * */
1393 uarg[1] = p->uid; /* uid_t */
1394 iarg[2] = p->gid; /* gid_t */
1400 struct lutimes_args *p = params;
1401 uarg[0] = (intptr_t) p->path; /* char * */
1402 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1408 struct msync_args *p = params;
1409 uarg[0] = (intptr_t) p->addr; /* void * */
1410 uarg[1] = p->len; /* size_t */
1411 iarg[2] = p->flags; /* int */
1417 struct nstat_args *p = params;
1418 uarg[0] = (intptr_t) p->path; /* char * */
1419 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1425 struct nfstat_args *p = params;
1426 iarg[0] = p->fd; /* int */
1427 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1433 struct nlstat_args *p = params;
1434 uarg[0] = (intptr_t) p->path; /* char * */
1435 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1441 struct preadv_args *p = params;
1442 iarg[0] = p->fd; /* int */
1443 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1444 uarg[2] = p->iovcnt; /* u_int */
1445 iarg[3] = p->offset; /* off_t */
1451 struct pwritev_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 fhopen_args *p = params;
1462 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1463 iarg[1] = p->flags; /* int */
1469 struct fhstat_args *p = params;
1470 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1471 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1477 struct modnext_args *p = params;
1478 iarg[0] = p->modid; /* int */
1484 struct modstat_args *p = params;
1485 iarg[0] = p->modid; /* int */
1486 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1492 struct modfnext_args *p = params;
1493 iarg[0] = p->modid; /* int */
1499 struct modfind_args *p = params;
1500 uarg[0] = (intptr_t) p->name; /* const char * */
1506 struct kldload_args *p = params;
1507 uarg[0] = (intptr_t) p->file; /* const char * */
1513 struct kldunload_args *p = params;
1514 iarg[0] = p->fileid; /* int */
1520 struct kldfind_args *p = params;
1521 uarg[0] = (intptr_t) p->file; /* const char * */
1527 struct kldnext_args *p = params;
1528 iarg[0] = p->fileid; /* int */
1534 struct kldstat_args *p = params;
1535 iarg[0] = p->fileid; /* int */
1536 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1542 struct kldfirstmod_args *p = params;
1543 iarg[0] = p->fileid; /* int */
1549 struct getsid_args *p = params;
1550 iarg[0] = p->pid; /* pid_t */
1556 struct setresuid_args *p = params;
1557 uarg[0] = p->ruid; /* uid_t */
1558 uarg[1] = p->euid; /* uid_t */
1559 uarg[2] = p->suid; /* uid_t */
1565 struct setresgid_args *p = params;
1566 iarg[0] = p->rgid; /* gid_t */
1567 iarg[1] = p->egid; /* gid_t */
1568 iarg[2] = p->sgid; /* gid_t */
1574 struct aio_return_args *p = params;
1575 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1581 struct aio_suspend_args *p = params;
1582 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1583 iarg[1] = p->nent; /* int */
1584 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1590 struct aio_cancel_args *p = params;
1591 iarg[0] = p->fd; /* int */
1592 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1598 struct aio_error_args *p = params;
1599 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1610 struct mlockall_args *p = params;
1611 iarg[0] = p->how; /* int */
1622 struct __getcwd_args *p = params;
1623 uarg[0] = (intptr_t) p->buf; /* char * */
1624 uarg[1] = p->buflen; /* u_int */
1628 /* sched_setparam */
1630 struct sched_setparam_args *p = params;
1631 iarg[0] = p->pid; /* pid_t */
1632 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1636 /* sched_getparam */
1638 struct sched_getparam_args *p = params;
1639 iarg[0] = p->pid; /* pid_t */
1640 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1644 /* sched_setscheduler */
1646 struct sched_setscheduler_args *p = params;
1647 iarg[0] = p->pid; /* pid_t */
1648 iarg[1] = p->policy; /* int */
1649 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1653 /* sched_getscheduler */
1655 struct sched_getscheduler_args *p = params;
1656 iarg[0] = p->pid; /* pid_t */
1665 /* sched_get_priority_max */
1667 struct sched_get_priority_max_args *p = params;
1668 iarg[0] = p->policy; /* int */
1672 /* sched_get_priority_min */
1674 struct sched_get_priority_min_args *p = params;
1675 iarg[0] = p->policy; /* int */
1679 /* sched_rr_get_interval */
1681 struct sched_rr_get_interval_args *p = params;
1682 iarg[0] = p->pid; /* pid_t */
1683 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1689 struct utrace_args *p = params;
1690 uarg[0] = (intptr_t) p->addr; /* const void * */
1691 uarg[1] = p->len; /* size_t */
1697 struct kldsym_args *p = params;
1698 iarg[0] = p->fileid; /* int */
1699 iarg[1] = p->cmd; /* int */
1700 uarg[2] = (intptr_t) p->data; /* void * */
1706 struct jail_args *p = params;
1707 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1713 struct nnpfs_syscall_args *p = params;
1714 iarg[0] = p->operation; /* int */
1715 uarg[1] = (intptr_t) p->a_pathP; /* char * */
1716 iarg[2] = p->a_opcode; /* int */
1717 uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1718 iarg[4] = p->a_followSymlinks; /* int */
1724 struct sigprocmask_args *p = params;
1725 iarg[0] = p->how; /* int */
1726 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1727 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1733 struct sigsuspend_args *p = params;
1734 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1740 struct sigpending_args *p = params;
1741 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1747 struct sigtimedwait_args *p = params;
1748 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1749 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1750 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1756 struct sigwaitinfo_args *p = params;
1757 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1758 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1762 /* __acl_get_file */
1764 struct __acl_get_file_args *p = params;
1765 uarg[0] = (intptr_t) p->path; /* const char * */
1766 iarg[1] = p->type; /* acl_type_t */
1767 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1771 /* __acl_set_file */
1773 struct __acl_set_file_args *p = params;
1774 uarg[0] = (intptr_t) p->path; /* const char * */
1775 iarg[1] = p->type; /* acl_type_t */
1776 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1782 struct __acl_get_fd_args *p = params;
1783 iarg[0] = p->filedes; /* int */
1784 iarg[1] = p->type; /* acl_type_t */
1785 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1791 struct __acl_set_fd_args *p = params;
1792 iarg[0] = p->filedes; /* int */
1793 iarg[1] = p->type; /* acl_type_t */
1794 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1798 /* __acl_delete_file */
1800 struct __acl_delete_file_args *p = params;
1801 uarg[0] = (intptr_t) p->path; /* const char * */
1802 iarg[1] = p->type; /* acl_type_t */
1806 /* __acl_delete_fd */
1808 struct __acl_delete_fd_args *p = params;
1809 iarg[0] = p->filedes; /* int */
1810 iarg[1] = p->type; /* acl_type_t */
1814 /* __acl_aclcheck_file */
1816 struct __acl_aclcheck_file_args *p = params;
1817 uarg[0] = (intptr_t) p->path; /* const char * */
1818 iarg[1] = p->type; /* acl_type_t */
1819 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1823 /* __acl_aclcheck_fd */
1825 struct __acl_aclcheck_fd_args *p = params;
1826 iarg[0] = p->filedes; /* int */
1827 iarg[1] = p->type; /* acl_type_t */
1828 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1834 struct extattrctl_args *p = params;
1835 uarg[0] = (intptr_t) p->path; /* const char * */
1836 iarg[1] = p->cmd; /* int */
1837 uarg[2] = (intptr_t) p->filename; /* const char * */
1838 iarg[3] = p->attrnamespace; /* int */
1839 uarg[4] = (intptr_t) p->attrname; /* const char * */
1843 /* extattr_set_file */
1845 struct extattr_set_file_args *p = params;
1846 uarg[0] = (intptr_t) p->path; /* const char * */
1847 iarg[1] = p->attrnamespace; /* int */
1848 uarg[2] = (intptr_t) p->attrname; /* const char * */
1849 uarg[3] = (intptr_t) p->data; /* void * */
1850 uarg[4] = p->nbytes; /* size_t */
1854 /* extattr_get_file */
1856 struct extattr_get_file_args *p = params;
1857 uarg[0] = (intptr_t) p->path; /* const char * */
1858 iarg[1] = p->attrnamespace; /* int */
1859 uarg[2] = (intptr_t) p->attrname; /* const char * */
1860 uarg[3] = (intptr_t) p->data; /* void * */
1861 uarg[4] = p->nbytes; /* size_t */
1865 /* extattr_delete_file */
1867 struct extattr_delete_file_args *p = params;
1868 uarg[0] = (intptr_t) p->path; /* const char * */
1869 iarg[1] = p->attrnamespace; /* int */
1870 uarg[2] = (intptr_t) p->attrname; /* const char * */
1874 /* aio_waitcomplete */
1876 struct aio_waitcomplete_args *p = params;
1877 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1878 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1884 struct getresuid_args *p = params;
1885 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1886 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1887 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1893 struct getresgid_args *p = params;
1894 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1895 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1896 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1907 struct kevent_args *p = params;
1908 iarg[0] = p->fd; /* int */
1909 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
1910 iarg[2] = p->nchanges; /* int */
1911 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
1912 iarg[4] = p->nevents; /* int */
1913 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
1917 /* extattr_set_fd */
1919 struct extattr_set_fd_args *p = params;
1920 iarg[0] = p->fd; /* int */
1921 iarg[1] = p->attrnamespace; /* int */
1922 uarg[2] = (intptr_t) p->attrname; /* const char * */
1923 uarg[3] = (intptr_t) p->data; /* void * */
1924 uarg[4] = p->nbytes; /* size_t */
1928 /* extattr_get_fd */
1930 struct extattr_get_fd_args *p = params;
1931 iarg[0] = p->fd; /* int */
1932 iarg[1] = p->attrnamespace; /* int */
1933 uarg[2] = (intptr_t) p->attrname; /* const char * */
1934 uarg[3] = (intptr_t) p->data; /* void * */
1935 uarg[4] = p->nbytes; /* size_t */
1939 /* extattr_delete_fd */
1941 struct extattr_delete_fd_args *p = params;
1942 iarg[0] = p->fd; /* int */
1943 iarg[1] = p->attrnamespace; /* int */
1944 uarg[2] = (intptr_t) p->attrname; /* const char * */
1950 struct __setugid_args *p = params;
1951 iarg[0] = p->flag; /* int */
1957 struct eaccess_args *p = params;
1958 uarg[0] = (intptr_t) p->path; /* char * */
1959 iarg[1] = p->amode; /* int */
1965 struct afs3_syscall_args *p = params;
1966 iarg[0] = p->syscall; /* long */
1967 iarg[1] = p->parm1; /* long */
1968 iarg[2] = p->parm2; /* long */
1969 iarg[3] = p->parm3; /* long */
1970 iarg[4] = p->parm4; /* long */
1971 iarg[5] = p->parm5; /* long */
1972 iarg[6] = p->parm6; /* long */
1978 struct nmount_args *p = params;
1979 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
1980 uarg[1] = p->iovcnt; /* unsigned int */
1981 iarg[2] = p->flags; /* int */
1985 /* __mac_get_proc */
1987 struct __mac_get_proc_args *p = params;
1988 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
1992 /* __mac_set_proc */
1994 struct __mac_set_proc_args *p = params;
1995 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2001 struct __mac_get_fd_args *p = params;
2002 iarg[0] = p->fd; /* int */
2003 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2007 /* __mac_get_file */
2009 struct __mac_get_file_args *p = params;
2010 uarg[0] = (intptr_t) p->path_p; /* const char * */
2011 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2017 struct __mac_set_fd_args *p = params;
2018 iarg[0] = p->fd; /* int */
2019 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2023 /* __mac_set_file */
2025 struct __mac_set_file_args *p = params;
2026 uarg[0] = (intptr_t) p->path_p; /* const char * */
2027 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2033 struct kenv_args *p = params;
2034 iarg[0] = p->what; /* int */
2035 uarg[1] = (intptr_t) p->name; /* const char * */
2036 uarg[2] = (intptr_t) p->value; /* char * */
2037 iarg[3] = p->len; /* int */
2043 struct lchflags_args *p = params;
2044 uarg[0] = (intptr_t) p->path; /* const char * */
2045 uarg[1] = p->flags; /* u_long */
2051 struct uuidgen_args *p = params;
2052 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2053 iarg[1] = p->count; /* int */
2059 struct sendfile_args *p = params;
2060 iarg[0] = p->fd; /* int */
2061 iarg[1] = p->s; /* int */
2062 iarg[2] = p->offset; /* off_t */
2063 uarg[3] = p->nbytes; /* size_t */
2064 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2065 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2066 iarg[6] = p->flags; /* int */
2072 struct mac_syscall_args *p = params;
2073 uarg[0] = (intptr_t) p->policy; /* const char * */
2074 iarg[1] = p->call; /* int */
2075 uarg[2] = (intptr_t) p->arg; /* void * */
2081 struct getfsstat_args *p = params;
2082 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2083 iarg[1] = p->bufsize; /* long */
2084 iarg[2] = p->flags; /* int */
2090 struct statfs_args *p = params;
2091 uarg[0] = (intptr_t) p->path; /* char * */
2092 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2098 struct fstatfs_args *p = params;
2099 iarg[0] = p->fd; /* int */
2100 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2106 struct fhstatfs_args *p = params;
2107 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2108 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2114 struct ksem_close_args *p = params;
2115 iarg[0] = p->id; /* semid_t */
2121 struct ksem_post_args *p = params;
2122 iarg[0] = p->id; /* semid_t */
2128 struct ksem_wait_args *p = params;
2129 iarg[0] = p->id; /* semid_t */
2135 struct ksem_trywait_args *p = params;
2136 iarg[0] = p->id; /* semid_t */
2142 struct ksem_init_args *p = params;
2143 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2144 uarg[1] = p->value; /* unsigned int */
2150 struct ksem_open_args *p = params;
2151 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2152 uarg[1] = (intptr_t) p->name; /* const char * */
2153 iarg[2] = p->oflag; /* int */
2154 iarg[3] = p->mode; /* mode_t */
2155 uarg[4] = p->value; /* unsigned int */
2161 struct ksem_unlink_args *p = params;
2162 uarg[0] = (intptr_t) p->name; /* const char * */
2168 struct ksem_getvalue_args *p = params;
2169 iarg[0] = p->id; /* semid_t */
2170 uarg[1] = (intptr_t) p->val; /* int * */
2176 struct ksem_destroy_args *p = params;
2177 iarg[0] = p->id; /* semid_t */
2183 struct __mac_get_pid_args *p = params;
2184 iarg[0] = p->pid; /* pid_t */
2185 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2189 /* __mac_get_link */
2191 struct __mac_get_link_args *p = params;
2192 uarg[0] = (intptr_t) p->path_p; /* const char * */
2193 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2197 /* __mac_set_link */
2199 struct __mac_set_link_args *p = params;
2200 uarg[0] = (intptr_t) p->path_p; /* const char * */
2201 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2205 /* extattr_set_link */
2207 struct extattr_set_link_args *p = params;
2208 uarg[0] = (intptr_t) p->path; /* const char * */
2209 iarg[1] = p->attrnamespace; /* int */
2210 uarg[2] = (intptr_t) p->attrname; /* const char * */
2211 uarg[3] = (intptr_t) p->data; /* void * */
2212 uarg[4] = p->nbytes; /* size_t */
2216 /* extattr_get_link */
2218 struct extattr_get_link_args *p = params;
2219 uarg[0] = (intptr_t) p->path; /* const char * */
2220 iarg[1] = p->attrnamespace; /* int */
2221 uarg[2] = (intptr_t) p->attrname; /* const char * */
2222 uarg[3] = (intptr_t) p->data; /* void * */
2223 uarg[4] = p->nbytes; /* size_t */
2227 /* extattr_delete_link */
2229 struct extattr_delete_link_args *p = params;
2230 uarg[0] = (intptr_t) p->path; /* const char * */
2231 iarg[1] = p->attrnamespace; /* int */
2232 uarg[2] = (intptr_t) p->attrname; /* const char * */
2238 struct __mac_execve_args *p = params;
2239 uarg[0] = (intptr_t) p->fname; /* char * */
2240 uarg[1] = (intptr_t) p->argv; /* char ** */
2241 uarg[2] = (intptr_t) p->envv; /* char ** */
2242 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2248 struct sigaction_args *p = params;
2249 iarg[0] = p->sig; /* int */
2250 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2251 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2257 struct sigreturn_args *p = params;
2258 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2264 struct getcontext_args *p = params;
2265 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2271 struct setcontext_args *p = params;
2272 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2278 struct swapcontext_args *p = params;
2279 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2280 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2286 struct swapoff_args *p = params;
2287 uarg[0] = (intptr_t) p->name; /* const char * */
2291 /* __acl_get_link */
2293 struct __acl_get_link_args *p = params;
2294 uarg[0] = (intptr_t) p->path; /* const char * */
2295 iarg[1] = p->type; /* acl_type_t */
2296 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2300 /* __acl_set_link */
2302 struct __acl_set_link_args *p = params;
2303 uarg[0] = (intptr_t) p->path; /* const char * */
2304 iarg[1] = p->type; /* acl_type_t */
2305 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2309 /* __acl_delete_link */
2311 struct __acl_delete_link_args *p = params;
2312 uarg[0] = (intptr_t) p->path; /* const char * */
2313 iarg[1] = p->type; /* acl_type_t */
2317 /* __acl_aclcheck_link */
2319 struct __acl_aclcheck_link_args *p = params;
2320 uarg[0] = (intptr_t) p->path; /* const char * */
2321 iarg[1] = p->type; /* acl_type_t */
2322 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2328 struct sigwait_args *p = params;
2329 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2330 uarg[1] = (intptr_t) p->sig; /* int * */
2336 struct thr_create_args *p = params;
2337 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2338 uarg[1] = (intptr_t) p->id; /* long * */
2339 iarg[2] = p->flags; /* int */
2345 struct thr_exit_args *p = params;
2346 uarg[0] = (intptr_t) p->state; /* long * */
2352 struct thr_self_args *p = params;
2353 uarg[0] = (intptr_t) p->id; /* long * */
2359 struct thr_kill_args *p = params;
2360 iarg[0] = p->id; /* long */
2361 iarg[1] = p->sig; /* int */
2367 struct jail_attach_args *p = params;
2368 iarg[0] = p->jid; /* int */
2372 /* extattr_list_fd */
2374 struct extattr_list_fd_args *p = params;
2375 iarg[0] = p->fd; /* int */
2376 iarg[1] = p->attrnamespace; /* int */
2377 uarg[2] = (intptr_t) p->data; /* void * */
2378 uarg[3] = p->nbytes; /* size_t */
2382 /* extattr_list_file */
2384 struct extattr_list_file_args *p = params;
2385 uarg[0] = (intptr_t) p->path; /* const char * */
2386 iarg[1] = p->attrnamespace; /* int */
2387 uarg[2] = (intptr_t) p->data; /* void * */
2388 uarg[3] = p->nbytes; /* size_t */
2392 /* extattr_list_link */
2394 struct extattr_list_link_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 /* ksem_timedwait */
2404 struct ksem_timedwait_args *p = params;
2405 iarg[0] = p->id; /* semid_t */
2406 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2412 struct thr_suspend_args *p = params;
2413 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2419 struct thr_wake_args *p = params;
2420 iarg[0] = p->id; /* long */
2426 struct kldunloadf_args *p = params;
2427 iarg[0] = p->fileid; /* int */
2428 iarg[1] = p->flags; /* int */
2434 struct audit_args *p = params;
2435 uarg[0] = (intptr_t) p->record; /* const void * */
2436 uarg[1] = p->length; /* u_int */
2442 struct auditon_args *p = params;
2443 iarg[0] = p->cmd; /* int */
2444 uarg[1] = (intptr_t) p->data; /* void * */
2445 uarg[2] = p->length; /* u_int */
2451 struct getauid_args *p = params;
2452 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2458 struct setauid_args *p = params;
2459 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2465 struct getaudit_args *p = params;
2466 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2472 struct setaudit_args *p = params;
2473 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2479 struct getaudit_addr_args *p = params;
2480 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2481 uarg[1] = p->length; /* u_int */
2487 struct setaudit_addr_args *p = params;
2488 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2489 uarg[1] = p->length; /* u_int */
2495 struct auditctl_args *p = params;
2496 uarg[0] = (intptr_t) p->path; /* char * */
2502 struct _umtx_op_args *p = params;
2503 uarg[0] = (intptr_t) p->obj; /* void * */
2504 iarg[1] = p->op; /* int */
2505 uarg[2] = p->val; /* u_long */
2506 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2507 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2513 struct thr_new_args *p = params;
2514 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2515 iarg[1] = p->param_size; /* int */
2521 struct sigqueue_args *p = params;
2522 iarg[0] = p->pid; /* pid_t */
2523 iarg[1] = p->signum; /* int */
2524 uarg[2] = (intptr_t) p->value; /* void * */
2530 struct kmq_open_args *p = params;
2531 uarg[0] = (intptr_t) p->path; /* const char * */
2532 iarg[1] = p->flags; /* int */
2533 iarg[2] = p->mode; /* mode_t */
2534 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2540 struct kmq_setattr_args *p = params;
2541 iarg[0] = p->mqd; /* int */
2542 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2543 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2547 /* kmq_timedreceive */
2549 struct kmq_timedreceive_args *p = params;
2550 iarg[0] = p->mqd; /* int */
2551 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2552 uarg[2] = p->msg_len; /* size_t */
2553 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2554 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2560 struct kmq_timedsend_args *p = params;
2561 iarg[0] = p->mqd; /* int */
2562 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2563 uarg[2] = p->msg_len; /* size_t */
2564 uarg[3] = p->msg_prio; /* unsigned */
2565 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2571 struct kmq_notify_args *p = params;
2572 iarg[0] = p->mqd; /* int */
2573 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2579 struct kmq_unlink_args *p = params;
2580 uarg[0] = (intptr_t) p->path; /* const char * */
2586 struct abort2_args *p = params;
2587 uarg[0] = (intptr_t) p->why; /* const char * */
2588 iarg[1] = p->nargs; /* int */
2589 uarg[2] = (intptr_t) p->args; /* void ** */
2595 struct thr_set_name_args *p = params;
2596 iarg[0] = p->id; /* long */
2597 uarg[1] = (intptr_t) p->name; /* const char * */
2603 struct aio_fsync_args *p = params;
2604 iarg[0] = p->op; /* int */
2605 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2611 struct rtprio_thread_args *p = params;
2612 iarg[0] = p->function; /* int */
2613 iarg[1] = p->lwpid; /* lwpid_t */
2614 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2620 struct sctp_peeloff_args *p = params;
2621 iarg[0] = p->sd; /* int */
2622 uarg[1] = p->name; /* uint32_t */
2626 /* sctp_generic_sendmsg */
2628 struct sctp_generic_sendmsg_args *p = params;
2629 iarg[0] = p->sd; /* int */
2630 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2631 iarg[2] = p->mlen; /* int */
2632 uarg[3] = (intptr_t) p->to; /* caddr_t */
2633 iarg[4] = p->tolen; /* __socklen_t */
2634 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2635 iarg[6] = p->flags; /* int */
2639 /* sctp_generic_sendmsg_iov */
2641 struct sctp_generic_sendmsg_iov_args *p = params;
2642 iarg[0] = p->sd; /* int */
2643 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2644 iarg[2] = p->iovlen; /* int */
2645 uarg[3] = (intptr_t) p->to; /* caddr_t */
2646 iarg[4] = p->tolen; /* __socklen_t */
2647 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2648 iarg[6] = p->flags; /* int */
2652 /* sctp_generic_recvmsg */
2654 struct sctp_generic_recvmsg_args *p = params;
2655 iarg[0] = p->sd; /* int */
2656 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2657 iarg[2] = p->iovlen; /* int */
2658 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2659 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2660 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2661 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2667 struct pread_args *p = params;
2668 iarg[0] = p->fd; /* int */
2669 uarg[1] = (intptr_t) p->buf; /* void * */
2670 uarg[2] = p->nbyte; /* size_t */
2671 iarg[3] = p->offset; /* off_t */
2677 struct pwrite_args *p = params;
2678 iarg[0] = p->fd; /* int */
2679 uarg[1] = (intptr_t) p->buf; /* const void * */
2680 uarg[2] = p->nbyte; /* size_t */
2681 iarg[3] = p->offset; /* off_t */
2687 struct mmap_args *p = params;
2688 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2689 uarg[1] = p->len; /* size_t */
2690 iarg[2] = p->prot; /* int */
2691 iarg[3] = p->flags; /* int */
2692 iarg[4] = p->fd; /* int */
2693 iarg[5] = p->pos; /* off_t */
2699 struct lseek_args *p = params;
2700 iarg[0] = p->fd; /* int */
2701 iarg[1] = p->offset; /* off_t */
2702 iarg[2] = p->whence; /* int */
2708 struct truncate_args *p = params;
2709 uarg[0] = (intptr_t) p->path; /* char * */
2710 iarg[1] = p->length; /* off_t */
2716 struct ftruncate_args *p = params;
2717 iarg[0] = p->fd; /* int */
2718 iarg[1] = p->length; /* off_t */
2724 struct thr_kill2_args *p = params;
2725 iarg[0] = p->pid; /* pid_t */
2726 iarg[1] = p->id; /* long */
2727 iarg[2] = p->sig; /* int */
2733 struct shm_open_args *p = params;
2734 uarg[0] = (intptr_t) p->path; /* const char * */
2735 iarg[1] = p->flags; /* int */
2736 iarg[2] = p->mode; /* mode_t */
2742 struct shm_unlink_args *p = params;
2743 uarg[0] = (intptr_t) p->path; /* const char * */
2749 struct cpuset_args *p = params;
2750 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2756 struct cpuset_setid_args *p = params;
2757 iarg[0] = p->which; /* cpuwhich_t */
2758 iarg[1] = p->id; /* id_t */
2759 iarg[2] = p->setid; /* cpusetid_t */
2765 struct cpuset_getid_args *p = params;
2766 iarg[0] = p->level; /* cpulevel_t */
2767 iarg[1] = p->which; /* cpuwhich_t */
2768 iarg[2] = p->id; /* id_t */
2769 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2773 /* cpuset_getaffinity */
2775 struct cpuset_getaffinity_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] = p->cpusetsize; /* size_t */
2780 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2784 /* cpuset_setaffinity */
2786 struct cpuset_setaffinity_args *p = params;
2787 iarg[0] = p->level; /* cpulevel_t */
2788 iarg[1] = p->which; /* cpuwhich_t */
2789 iarg[2] = p->id; /* id_t */
2790 uarg[3] = p->cpusetsize; /* size_t */
2791 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2797 struct faccessat_args *p = params;
2798 iarg[0] = p->fd; /* int */
2799 uarg[1] = (intptr_t) p->path; /* char * */
2800 iarg[2] = p->amode; /* int */
2801 iarg[3] = p->flag; /* int */
2807 struct fchmodat_args *p = params;
2808 iarg[0] = p->fd; /* int */
2809 uarg[1] = (intptr_t) p->path; /* char * */
2810 iarg[2] = p->mode; /* mode_t */
2811 iarg[3] = p->flag; /* int */
2817 struct fchownat_args *p = params;
2818 iarg[0] = p->fd; /* int */
2819 uarg[1] = (intptr_t) p->path; /* char * */
2820 uarg[2] = p->uid; /* uid_t */
2821 iarg[3] = p->gid; /* gid_t */
2822 iarg[4] = p->flag; /* int */
2828 struct fexecve_args *p = params;
2829 iarg[0] = p->fd; /* int */
2830 uarg[1] = (intptr_t) p->argv; /* char ** */
2831 uarg[2] = (intptr_t) p->envv; /* char ** */
2837 struct fstatat_args *p = params;
2838 iarg[0] = p->fd; /* int */
2839 uarg[1] = (intptr_t) p->path; /* char * */
2840 uarg[2] = (intptr_t) p->buf; /* struct stat * */
2841 iarg[3] = p->flag; /* int */
2847 struct futimesat_args *p = params;
2848 iarg[0] = p->fd; /* int */
2849 uarg[1] = (intptr_t) p->path; /* char * */
2850 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2856 struct linkat_args *p = params;
2857 iarg[0] = p->fd1; /* int */
2858 uarg[1] = (intptr_t) p->path1; /* char * */
2859 iarg[2] = p->fd2; /* int */
2860 uarg[3] = (intptr_t) p->path2; /* char * */
2861 iarg[4] = p->flag; /* int */
2867 struct mkdirat_args *p = params;
2868 iarg[0] = p->fd; /* int */
2869 uarg[1] = (intptr_t) p->path; /* char * */
2870 iarg[2] = p->mode; /* mode_t */
2876 struct mkfifoat_args *p = params;
2877 iarg[0] = p->fd; /* int */
2878 uarg[1] = (intptr_t) p->path; /* char * */
2879 iarg[2] = p->mode; /* mode_t */
2885 struct mknodat_args *p = params;
2886 iarg[0] = p->fd; /* int */
2887 uarg[1] = (intptr_t) p->path; /* char * */
2888 iarg[2] = p->mode; /* mode_t */
2889 iarg[3] = p->dev; /* dev_t */
2895 struct openat_args *p = params;
2896 iarg[0] = p->fd; /* int */
2897 uarg[1] = (intptr_t) p->path; /* char * */
2898 iarg[2] = p->flag; /* int */
2899 iarg[3] = p->mode; /* mode_t */
2905 struct readlinkat_args *p = params;
2906 iarg[0] = p->fd; /* int */
2907 uarg[1] = (intptr_t) p->path; /* char * */
2908 uarg[2] = (intptr_t) p->buf; /* char * */
2909 uarg[3] = p->bufsize; /* size_t */
2915 struct renameat_args *p = params;
2916 iarg[0] = p->oldfd; /* int */
2917 uarg[1] = (intptr_t) p->old; /* char * */
2918 iarg[2] = p->newfd; /* int */
2919 uarg[3] = (intptr_t) p->new; /* char * */
2925 struct symlinkat_args *p = params;
2926 uarg[0] = (intptr_t) p->path1; /* char * */
2927 iarg[1] = p->fd; /* int */
2928 uarg[2] = (intptr_t) p->path2; /* char * */
2934 struct unlinkat_args *p = params;
2935 iarg[0] = p->fd; /* int */
2936 uarg[1] = (intptr_t) p->path; /* char * */
2937 iarg[2] = p->flag; /* int */
2943 struct posix_openpt_args *p = params;
2944 iarg[0] = p->flags; /* int */
2950 struct gssd_syscall_args *p = params;
2951 uarg[0] = (intptr_t) p->path; /* char * */
2957 struct jail_get_args *p = params;
2958 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2959 uarg[1] = p->iovcnt; /* unsigned int */
2960 iarg[2] = p->flags; /* int */
2966 struct jail_set_args *p = params;
2967 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2968 uarg[1] = p->iovcnt; /* unsigned int */
2969 iarg[2] = p->flags; /* int */
2975 struct jail_remove_args *p = params;
2976 iarg[0] = p->jid; /* int */
2982 struct closefrom_args *p = params;
2983 iarg[0] = p->lowfd; /* int */
2989 struct __semctl_args *p = params;
2990 iarg[0] = p->semid; /* int */
2991 iarg[1] = p->semnum; /* int */
2992 iarg[2] = p->cmd; /* int */
2993 uarg[3] = (intptr_t) p->arg; /* union semun * */
2999 struct msgctl_args *p = params;
3000 iarg[0] = p->msqid; /* int */
3001 iarg[1] = p->cmd; /* int */
3002 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
3008 struct shmctl_args *p = params;
3009 iarg[0] = p->shmid; /* int */
3010 iarg[1] = p->cmd; /* int */
3011 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
3017 struct lpathconf_args *p = params;
3018 uarg[0] = (intptr_t) p->path; /* char * */
3019 iarg[1] = p->name; /* int */
3023 /* __cap_rights_get */
3025 struct __cap_rights_get_args *p = params;
3026 iarg[0] = p->version; /* int */
3027 iarg[1] = p->fd; /* int */
3028 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */
3039 struct cap_getmode_args *p = params;
3040 uarg[0] = (intptr_t) p->modep; /* u_int * */
3046 struct pdfork_args *p = params;
3047 uarg[0] = (intptr_t) p->fdp; /* int * */
3048 iarg[1] = p->flags; /* int */
3054 struct pdkill_args *p = params;
3055 iarg[0] = p->fd; /* int */
3056 iarg[1] = p->signum; /* int */
3062 struct pdgetpid_args *p = params;
3063 iarg[0] = p->fd; /* int */
3064 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
3070 struct pselect_args *p = params;
3071 iarg[0] = p->nd; /* int */
3072 uarg[1] = (intptr_t) p->in; /* fd_set * */
3073 uarg[2] = (intptr_t) p->ou; /* fd_set * */
3074 uarg[3] = (intptr_t) p->ex; /* fd_set * */
3075 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
3076 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
3082 struct getloginclass_args *p = params;
3083 uarg[0] = (intptr_t) p->namebuf; /* char * */
3084 uarg[1] = p->namelen; /* size_t */
3090 struct setloginclass_args *p = params;
3091 uarg[0] = (intptr_t) p->namebuf; /* const char * */
3095 /* rctl_get_racct */
3097 struct rctl_get_racct_args *p = params;
3098 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3099 uarg[1] = p->inbuflen; /* size_t */
3100 uarg[2] = (intptr_t) p->outbufp; /* void * */
3101 uarg[3] = p->outbuflen; /* size_t */
3105 /* rctl_get_rules */
3107 struct rctl_get_rules_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_limits */
3117 struct rctl_get_limits_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 */
3127 struct rctl_add_rule_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 */
3135 /* rctl_remove_rule */
3137 struct rctl_remove_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 /* posix_fallocate */
3147 struct posix_fallocate_args *p = params;
3148 iarg[0] = p->fd; /* int */
3149 iarg[1] = p->offset; /* off_t */
3150 iarg[2] = p->len; /* off_t */
3156 struct posix_fadvise_args *p = params;
3157 iarg[0] = p->fd; /* int */
3158 iarg[1] = p->offset; /* off_t */
3159 iarg[2] = p->len; /* off_t */
3160 iarg[3] = p->advice; /* int */
3166 struct wait6_args *p = params;
3167 iarg[0] = p->idtype; /* idtype_t */
3168 iarg[1] = p->id; /* id_t */
3169 uarg[2] = (intptr_t) p->status; /* int * */
3170 iarg[3] = p->options; /* int */
3171 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */
3172 uarg[5] = (intptr_t) p->info; /* siginfo_t * */
3176 /* cap_rights_limit */
3178 struct cap_rights_limit_args *p = params;
3179 iarg[0] = p->fd; /* int */
3180 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */
3184 /* cap_ioctls_limit */
3186 struct cap_ioctls_limit_args *p = params;
3187 iarg[0] = p->fd; /* int */
3188 uarg[1] = (intptr_t) p->cmds; /* const u_long * */
3189 uarg[2] = p->ncmds; /* size_t */
3193 /* cap_ioctls_get */
3195 struct cap_ioctls_get_args *p = params;
3196 iarg[0] = p->fd; /* int */
3197 uarg[1] = (intptr_t) p->cmds; /* u_long * */
3198 uarg[2] = p->maxcmds; /* size_t */
3202 /* cap_fcntls_limit */
3204 struct cap_fcntls_limit_args *p = params;
3205 iarg[0] = p->fd; /* int */
3206 uarg[1] = p->fcntlrights; /* uint32_t */
3210 /* cap_fcntls_get */
3212 struct cap_fcntls_get_args *p = params;
3213 iarg[0] = p->fd; /* int */
3214 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
3220 struct bindat_args *p = params;
3221 iarg[0] = p->fd; /* int */
3222 iarg[1] = p->s; /* int */
3223 uarg[2] = (intptr_t) p->name; /* caddr_t */
3224 iarg[3] = p->namelen; /* int */
3230 struct connectat_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 chflagsat_args *p = params;
3241 iarg[0] = p->fd; /* int */
3242 uarg[1] = (intptr_t) p->path; /* const char * */
3243 uarg[2] = p->flags; /* u_long */
3244 iarg[3] = p->atflag; /* int */
3250 struct accept4_args *p = params;
3251 iarg[0] = p->s; /* int */
3252 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
3253 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
3254 iarg[3] = p->flags; /* int */
3260 struct pipe2_args *p = params;
3261 uarg[0] = (intptr_t) p->fildes; /* int * */
3262 iarg[1] = p->flags; /* int */
3268 struct aio_mlock_args *p = params;
3269 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3275 struct procctl_args *p = params;
3276 iarg[0] = p->idtype; /* idtype_t */
3277 iarg[1] = p->id; /* id_t */
3278 iarg[2] = p->com; /* int */
3279 uarg[3] = (intptr_t) p->data; /* void * */
3285 struct ppoll_args *p = params;
3286 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
3287 uarg[1] = p->nfds; /* u_int */
3288 uarg[2] = (intptr_t) p->ts; /* const struct timespec * */
3289 uarg[3] = (intptr_t) p->set; /* const sigset_t * */
3295 struct futimens_args *p = params;
3296 iarg[0] = p->fd; /* int */
3297 uarg[1] = (intptr_t) p->times; /* struct timespec * */
3303 struct utimensat_args *p = params;
3304 iarg[0] = p->fd; /* int */
3305 uarg[1] = (intptr_t) p->path; /* char * */
3306 uarg[2] = (intptr_t) p->times; /* struct timespec * */
3307 iarg[3] = p->flag; /* int */
3311 /* numa_getaffinity */
3313 struct numa_getaffinity_args *p = params;
3314 iarg[0] = p->which; /* cpuwhich_t */
3315 iarg[1] = p->id; /* id_t */
3316 uarg[2] = (intptr_t) p->policy; /* struct vm_domain_policy_entry * */
3320 /* numa_setaffinity */
3322 struct numa_setaffinity_args *p = params;
3323 iarg[0] = p->which; /* cpuwhich_t */
3324 iarg[1] = p->id; /* id_t */
3325 uarg[2] = (intptr_t) p->policy; /* const struct vm_domain_policy_entry * */
3335 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3337 const char *p = NULL;
3426 p = "struct rusage *";
3607 p = "struct msghdr *";
3623 p = "struct msghdr *";
3648 p = "struct sockaddr *";
3651 p = "__socklen_t *";
3664 p = "struct sockaddr *";
3667 p = "__socklen_t *";
3680 p = "struct sockaddr *";
3683 p = "__socklen_t *";
3696 p = "struct sockaddr *";
3699 p = "__socklen_t *";
4123 p = "struct itimerval *";
4126 p = "struct itimerval *";
4149 p = "struct itimerval *";
4203 p = "struct timeval *";
4335 p = "struct timeval *";
4338 p = "struct timezone *";
4351 p = "struct rusage *";
4386 p = "struct iovec *";
4402 p = "struct iovec *";
4415 p = "struct timeval *";
4418 p = "struct timezone *";
4605 p = "struct timeval *";
4615 p = "struct timeval *";
4618 p = "struct timeval *";
4685 p = "struct fhandle *";
4698 p = "struct fhandle *";
4727 p = "struct rtprio *";
4813 p = "struct timex *";
4856 p = "struct stat *";
4869 p = "struct stat *";
4882 p = "struct stat *";
4921 p = "struct rlimit *";
4934 p = "struct rlimit *";
5030 p = "struct timeval *";
5050 p = "struct pollfd *";
5115 p = "struct sembuf *";
5227 p = "struct timespec *";
5240 p = "const struct timespec *";
5253 p = "struct timespec *";
5266 p = "struct sigevent *";
5285 /* ktimer_settime */
5295 p = "const struct itimerspec *";
5298 p = "struct itimerspec *";
5304 /* ktimer_gettime */
5311 p = "struct itimerspec *";
5317 /* ktimer_getoverrun */
5331 p = "const struct timespec *";
5334 p = "struct timespec *";
5340 /* ffclock_getcounter */
5350 /* ffclock_setestimate */
5354 p = "struct ffclock_estimate *";
5360 /* ffclock_getestimate */
5364 p = "struct ffclock_estimate *";
5370 /* clock_getcpuclockid2 */
5390 p = "struct ntptimeval *";
5426 p = "struct pollfd *";
5461 p = "struct aiocb *";
5471 p = "struct aiocb *";
5484 p = "struct aiocb *const *";
5490 p = "struct sigevent *";
5548 p = "struct timeval *";
5577 p = "struct nstat *";
5590 p = "struct nstat *";
5603 p = "struct nstat *";
5616 p = "struct iovec *";
5635 p = "struct iovec *";
5651 p = "const struct fhandle *";
5664 p = "const struct fhandle *";
5667 p = "struct stat *";
5690 p = "struct module_stat *";
5763 p = "struct kld_file_stat *";
5825 p = "struct aiocb *";
5835 p = "struct aiocb *const *";
5841 p = "const struct timespec *";
5854 p = "struct aiocb *";
5864 p = "struct aiocb *";
5899 /* sched_setparam */
5906 p = "const struct sched_param *";
5912 /* sched_getparam */
5919 p = "struct sched_param *";
5925 /* sched_setscheduler */
5935 p = "const struct sched_param *";
5941 /* sched_getscheduler */
5954 /* sched_get_priority_max */
5964 /* sched_get_priority_min */
5974 /* sched_rr_get_interval */
5981 p = "struct timespec *";
6020 p = "struct jail *";
6055 p = "const sigset_t *";
6068 p = "const sigset_t *";
6088 p = "const sigset_t *";
6094 p = "const struct timespec *";
6104 p = "const sigset_t *";
6113 /* __acl_get_file */
6129 /* __acl_set_file */
6177 /* __acl_delete_file */
6190 /* __acl_delete_fd */
6203 /* __acl_aclcheck_file */
6219 /* __acl_aclcheck_fd */
6257 /* extattr_set_file */
6279 /* extattr_get_file */
6301 /* extattr_delete_file */
6317 /* aio_waitcomplete */
6321 p = "struct aiocb **";
6324 p = "struct timespec *";
6372 p = "struct kevent *";
6378 p = "struct kevent *";
6384 p = "const struct timespec *";
6390 /* extattr_set_fd */
6412 /* extattr_get_fd */
6434 /* extattr_delete_fd */
6505 p = "struct iovec *";
6517 /* __mac_get_proc */
6527 /* __mac_set_proc */
6550 /* __mac_get_file */
6576 /* __mac_set_file */
6625 p = "struct uuid *";
6650 p = "struct sf_hdtr *";
6682 p = "struct statfs *";
6701 p = "struct statfs *";
6714 p = "struct statfs *";
6724 p = "const struct fhandle *";
6727 p = "struct statfs *";
6854 /* __mac_get_link */
6867 /* __mac_set_link */
6880 /* extattr_set_link */
6902 /* extattr_get_link */
6924 /* extattr_delete_link */
6966 p = "const struct sigaction *";
6969 p = "struct sigaction *";
6979 p = "const struct __ucontext *";
6989 p = "struct __ucontext *";
6999 p = "const struct __ucontext *";
7009 p = "struct __ucontext *";
7012 p = "const struct __ucontext *";
7028 /* __acl_get_link */
7044 /* __acl_set_link */
7060 /* __acl_delete_link */
7073 /* __acl_aclcheck_link */
7093 p = "const sigset_t *";
7161 /* extattr_list_fd */
7180 /* extattr_list_file */
7199 /* extattr_list_link */
7218 /* ksem_timedwait */
7225 p = "const struct timespec *";
7235 p = "const struct timespec *";
7317 p = "struct auditinfo *";
7327 p = "struct auditinfo *";
7337 p = "struct auditinfo_addr *";
7350 p = "struct auditinfo_addr *";
7395 p = "struct thr_param *";
7433 p = "const struct mq_attr *";
7446 p = "const struct mq_attr *";
7449 p = "struct mq_attr *";
7455 /* kmq_timedreceive */
7471 p = "const struct timespec *";
7493 p = "const struct timespec *";
7506 p = "const struct sigevent *";
7558 p = "struct aiocb *";
7574 p = "struct rtprio *";
7593 /* sctp_generic_sendmsg */
7612 p = "struct sctp_sndrcvinfo *";
7621 /* sctp_generic_sendmsg_iov */
7628 p = "struct iovec *";
7640 p = "struct sctp_sndrcvinfo *";
7649 /* sctp_generic_recvmsg */
7656 p = "struct iovec *";
7662 p = "struct sockaddr *";
7665 p = "__socklen_t *";
7668 p = "struct sctp_sndrcvinfo *";
7869 /* cpuset_getaffinity */
7891 /* cpuset_setaffinity */
7907 p = "const cpuset_t *";
7999 p = "struct stat *";
8018 p = "struct timeval *";
8210 p = "struct iovec *";
8226 p = "struct iovec *";
8271 p = "union semun *";
8287 p = "struct msqid_ds *";
8303 p = "struct shmid_ds *";
8322 /* __cap_rights_get */
8332 p = "cap_rights_t *";
8406 p = "const struct timespec *";
8409 p = "const sigset_t *";
8438 /* rctl_get_racct */
8457 /* rctl_get_rules */
8476 /* rctl_get_limits */
8514 /* rctl_remove_rule */
8533 /* posix_fallocate */
8584 p = "struct __wrusage *";
8593 /* cap_rights_limit */
8600 p = "cap_rights_t *";
8606 /* cap_ioctls_limit */
8613 p = "const u_long *";
8622 /* cap_ioctls_get */
8638 /* cap_fcntls_limit */
8651 /* cap_fcntls_get */
8728 p = "struct sockaddr *";
8731 p = "__socklen_t *";
8757 p = "struct aiocb *";
8786 p = "struct pollfd *";
8792 p = "const struct timespec *";
8795 p = "const sigset_t *";
8808 p = "struct timespec *";
8824 p = "struct timespec *";
8833 /* numa_getaffinity */
8843 p = "struct vm_domain_policy_entry *";
8849 /* numa_setaffinity */
8859 p = "const struct vm_domain_policy_entry *";
8869 strlcpy(desc, p, descsz);
8872 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8874 const char *p = NULL;
8880 if (ndx == 0 || ndx == 1)
8887 if (ndx == 0 || ndx == 1)
8892 if (ndx == 0 || ndx == 1)
8897 if (ndx == 0 || ndx == 1)
8902 if (ndx == 0 || ndx == 1)
8907 if (ndx == 0 || ndx == 1)
8912 if (ndx == 0 || ndx == 1)
8917 if (ndx == 0 || ndx == 1)
8922 if (ndx == 0 || ndx == 1)
8927 if (ndx == 0 || ndx == 1)
8932 if (ndx == 0 || ndx == 1)
8937 if (ndx == 0 || ndx == 1)
8942 if (ndx == 0 || ndx == 1)
8947 if (ndx == 0 || ndx == 1)
8954 if (ndx == 0 || ndx == 1)
8959 if (ndx == 0 || ndx == 1)
8964 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)
8998 if (ndx == 0 || ndx == 1)
9003 if (ndx == 0 || ndx == 1)
9008 if (ndx == 0 || ndx == 1)
9013 if (ndx == 0 || ndx == 1)
9018 if (ndx == 0 || ndx == 1)
9025 if (ndx == 0 || ndx == 1)
9032 if (ndx == 0 || ndx == 1)
9039 if (ndx == 0 || ndx == 1)
9044 if (ndx == 0 || ndx == 1)
9051 if (ndx == 0 || ndx == 1)
9056 if (ndx == 0 || ndx == 1)
9061 if (ndx == 0 || ndx == 1)
9066 if (ndx == 0 || ndx == 1)
9071 if (ndx == 0 || ndx == 1)
9076 if (ndx == 0 || ndx == 1)
9081 if (ndx == 0 || ndx == 1)
9086 if (ndx == 0 || ndx == 1)
9091 if (ndx == 0 || ndx == 1)
9096 if (ndx == 0 || ndx == 1)
9101 if (ndx == 0 || ndx == 1)
9106 if (ndx == 0 || ndx == 1)
9111 if (ndx == 0 || ndx == 1)
9118 if (ndx == 0 || ndx == 1)
9123 if (ndx == 0 || ndx == 1)
9128 if (ndx == 0 || ndx == 1)
9133 if (ndx == 0 || ndx == 1)
9138 if (ndx == 0 || ndx == 1)
9143 if (ndx == 0 || ndx == 1)
9148 if (ndx == 0 || ndx == 1)
9153 if (ndx == 0 || ndx == 1)
9158 if (ndx == 0 || ndx == 1)
9165 if (ndx == 0 || ndx == 1)
9170 if (ndx == 0 || ndx == 1)
9175 if (ndx == 0 || ndx == 1)
9180 if (ndx == 0 || ndx == 1)
9187 if (ndx == 0 || ndx == 1)
9192 if (ndx == 0 || ndx == 1)
9197 if (ndx == 0 || ndx == 1)
9202 if (ndx == 0 || ndx == 1)
9207 if (ndx == 0 || ndx == 1)
9212 if (ndx == 0 || ndx == 1)
9217 if (ndx == 0 || ndx == 1)
9222 if (ndx == 0 || ndx == 1)
9227 if (ndx == 0 || ndx == 1)
9232 if (ndx == 0 || ndx == 1)
9237 if (ndx == 0 || ndx == 1)
9242 if (ndx == 0 || ndx == 1)
9247 if (ndx == 0 || ndx == 1)
9252 if (ndx == 0 || ndx == 1)
9257 if (ndx == 0 || ndx == 1)
9262 if (ndx == 0 || ndx == 1)
9267 if (ndx == 0 || ndx == 1)
9272 if (ndx == 0 || ndx == 1)
9277 if (ndx == 0 || ndx == 1)
9282 if (ndx == 0 || ndx == 1)
9287 if (ndx == 0 || ndx == 1)
9292 if (ndx == 0 || ndx == 1)
9297 if (ndx == 0 || ndx == 1)
9302 if (ndx == 0 || ndx == 1)
9307 if (ndx == 0 || ndx == 1)
9312 if (ndx == 0 || ndx == 1)
9317 if (ndx == 0 || ndx == 1)
9322 if (ndx == 0 || ndx == 1)
9327 if (ndx == 0 || ndx == 1)
9332 if (ndx == 0 || ndx == 1)
9337 if (ndx == 0 || ndx == 1)
9344 if (ndx == 0 || ndx == 1)
9349 if (ndx == 0 || ndx == 1)
9354 if (ndx == 0 || ndx == 1)
9359 if (ndx == 0 || ndx == 1)
9364 if (ndx == 0 || ndx == 1)
9369 if (ndx == 0 || ndx == 1)
9374 if (ndx == 0 || ndx == 1)
9379 if (ndx == 0 || ndx == 1)
9384 if (ndx == 0 || ndx == 1)
9389 if (ndx == 0 || ndx == 1)
9394 if (ndx == 0 || ndx == 1)
9399 if (ndx == 0 || ndx == 1)
9404 if (ndx == 0 || ndx == 1)
9409 if (ndx == 0 || ndx == 1)
9414 if (ndx == 0 || ndx == 1)
9419 if (ndx == 0 || ndx == 1)
9424 if (ndx == 0 || ndx == 1)
9429 if (ndx == 0 || ndx == 1)
9434 if (ndx == 0 || ndx == 1)
9439 if (ndx == 0 || ndx == 1)
9444 if (ndx == 0 || ndx == 1)
9449 if (ndx == 0 || ndx == 1)
9454 if (ndx == 0 || ndx == 1)
9461 if (ndx == 0 || ndx == 1)
9466 if (ndx == 0 || ndx == 1)
9471 if (ndx == 0 || ndx == 1)
9476 if (ndx == 0 || ndx == 1)
9481 if (ndx == 0 || ndx == 1)
9486 if (ndx == 0 || ndx == 1)
9491 if (ndx == 0 || ndx == 1)
9516 if (ndx == 0 || ndx == 1)
9521 if (ndx == 0 || ndx == 1)
9526 if (ndx == 0 || ndx == 1)
9531 if (ndx == 0 || ndx == 1)
9536 if (ndx == 0 || ndx == 1)
9541 if (ndx == 0 || ndx == 1)
9546 if (ndx == 0 || ndx == 1)
9551 if (ndx == 0 || ndx == 1)
9556 if (ndx == 0 || ndx == 1)
9561 if (ndx == 0 || ndx == 1)
9566 if (ndx == 0 || ndx == 1)
9571 if (ndx == 0 || ndx == 1)
9576 if (ndx == 0 || ndx == 1)
9579 /* ktimer_settime */
9581 if (ndx == 0 || ndx == 1)
9584 /* ktimer_gettime */
9586 if (ndx == 0 || ndx == 1)
9589 /* ktimer_getoverrun */
9591 if (ndx == 0 || ndx == 1)
9596 if (ndx == 0 || ndx == 1)
9599 /* ffclock_getcounter */
9601 if (ndx == 0 || ndx == 1)
9604 /* ffclock_setestimate */
9606 if (ndx == 0 || ndx == 1)
9609 /* ffclock_getestimate */
9611 if (ndx == 0 || ndx == 1)
9614 /* clock_getcpuclockid2 */
9616 if (ndx == 0 || ndx == 1)
9621 if (ndx == 0 || ndx == 1)
9626 if (ndx == 0 || ndx == 1)
9631 if (ndx == 0 || ndx == 1)
9636 if (ndx == 0 || ndx == 1)
9643 if (ndx == 0 || ndx == 1)
9648 if (ndx == 0 || ndx == 1)
9653 if (ndx == 0 || ndx == 1)
9658 if (ndx == 0 || ndx == 1)
9663 if (ndx == 0 || ndx == 1)
9668 if (ndx == 0 || ndx == 1)
9673 if (ndx == 0 || ndx == 1)
9678 if (ndx == 0 || ndx == 1)
9683 if (ndx == 0 || ndx == 1)
9688 if (ndx == 0 || ndx == 1)
9693 if (ndx == 0 || ndx == 1)
9698 if (ndx == 0 || ndx == 1)
9703 if (ndx == 0 || ndx == 1)
9708 if (ndx == 0 || ndx == 1)
9713 if (ndx == 0 || ndx == 1)
9718 if (ndx == 0 || ndx == 1)
9723 if (ndx == 0 || ndx == 1)
9728 if (ndx == 0 || ndx == 1)
9733 if (ndx == 0 || ndx == 1)
9738 if (ndx == 0 || ndx == 1)
9743 if (ndx == 0 || ndx == 1)
9748 if (ndx == 0 || ndx == 1)
9753 if (ndx == 0 || ndx == 1)
9758 if (ndx == 0 || ndx == 1)
9763 if (ndx == 0 || ndx == 1)
9768 if (ndx == 0 || ndx == 1)
9773 if (ndx == 0 || ndx == 1)
9778 if (ndx == 0 || ndx == 1)
9783 if (ndx == 0 || ndx == 1)
9788 if (ndx == 0 || ndx == 1)
9793 if (ndx == 0 || ndx == 1)
9798 if (ndx == 0 || ndx == 1)
9803 if (ndx == 0 || ndx == 1)
9810 if (ndx == 0 || ndx == 1)
9817 if (ndx == 0 || ndx == 1)
9820 /* sched_setparam */
9822 if (ndx == 0 || ndx == 1)
9825 /* sched_getparam */
9827 if (ndx == 0 || ndx == 1)
9830 /* sched_setscheduler */
9832 if (ndx == 0 || ndx == 1)
9835 /* sched_getscheduler */
9837 if (ndx == 0 || ndx == 1)
9842 /* sched_get_priority_max */
9844 if (ndx == 0 || ndx == 1)
9847 /* sched_get_priority_min */
9849 if (ndx == 0 || ndx == 1)
9852 /* sched_rr_get_interval */
9854 if (ndx == 0 || ndx == 1)
9859 if (ndx == 0 || ndx == 1)
9864 if (ndx == 0 || ndx == 1)
9869 if (ndx == 0 || ndx == 1)
9874 if (ndx == 0 || ndx == 1)
9879 if (ndx == 0 || ndx == 1)
9884 if (ndx == 0 || ndx == 1)
9889 if (ndx == 0 || ndx == 1)
9894 if (ndx == 0 || ndx == 1)
9899 if (ndx == 0 || ndx == 1)
9902 /* __acl_get_file */
9904 if (ndx == 0 || ndx == 1)
9907 /* __acl_set_file */
9909 if (ndx == 0 || ndx == 1)
9914 if (ndx == 0 || ndx == 1)
9919 if (ndx == 0 || ndx == 1)
9922 /* __acl_delete_file */
9924 if (ndx == 0 || ndx == 1)
9927 /* __acl_delete_fd */
9929 if (ndx == 0 || ndx == 1)
9932 /* __acl_aclcheck_file */
9934 if (ndx == 0 || ndx == 1)
9937 /* __acl_aclcheck_fd */
9939 if (ndx == 0 || ndx == 1)
9944 if (ndx == 0 || ndx == 1)
9947 /* extattr_set_file */
9949 if (ndx == 0 || ndx == 1)
9952 /* extattr_get_file */
9954 if (ndx == 0 || ndx == 1)
9957 /* extattr_delete_file */
9959 if (ndx == 0 || ndx == 1)
9962 /* aio_waitcomplete */
9964 if (ndx == 0 || ndx == 1)
9969 if (ndx == 0 || ndx == 1)
9974 if (ndx == 0 || ndx == 1)
9981 if (ndx == 0 || ndx == 1)
9984 /* extattr_set_fd */
9986 if (ndx == 0 || ndx == 1)
9989 /* extattr_get_fd */
9991 if (ndx == 0 || ndx == 1)
9994 /* extattr_delete_fd */
9996 if (ndx == 0 || ndx == 1)
10001 if (ndx == 0 || ndx == 1)
10006 if (ndx == 0 || ndx == 1)
10011 if (ndx == 0 || ndx == 1)
10016 if (ndx == 0 || ndx == 1)
10019 /* __mac_get_proc */
10021 if (ndx == 0 || ndx == 1)
10024 /* __mac_set_proc */
10026 if (ndx == 0 || ndx == 1)
10031 if (ndx == 0 || ndx == 1)
10034 /* __mac_get_file */
10036 if (ndx == 0 || ndx == 1)
10041 if (ndx == 0 || ndx == 1)
10044 /* __mac_set_file */
10046 if (ndx == 0 || ndx == 1)
10051 if (ndx == 0 || ndx == 1)
10056 if (ndx == 0 || ndx == 1)
10061 if (ndx == 0 || ndx == 1)
10066 if (ndx == 0 || ndx == 1)
10071 if (ndx == 0 || ndx == 1)
10076 if (ndx == 0 || ndx == 1)
10081 if (ndx == 0 || ndx == 1)
10086 if (ndx == 0 || ndx == 1)
10091 if (ndx == 0 || ndx == 1)
10096 if (ndx == 0 || ndx == 1)
10101 if (ndx == 0 || ndx == 1)
10106 if (ndx == 0 || ndx == 1)
10111 if (ndx == 0 || ndx == 1)
10116 if (ndx == 0 || ndx == 1)
10121 if (ndx == 0 || ndx == 1)
10126 if (ndx == 0 || ndx == 1)
10129 /* ksem_getvalue */
10131 if (ndx == 0 || ndx == 1)
10136 if (ndx == 0 || ndx == 1)
10139 /* __mac_get_pid */
10141 if (ndx == 0 || ndx == 1)
10144 /* __mac_get_link */
10146 if (ndx == 0 || ndx == 1)
10149 /* __mac_set_link */
10151 if (ndx == 0 || ndx == 1)
10154 /* extattr_set_link */
10156 if (ndx == 0 || ndx == 1)
10159 /* extattr_get_link */
10161 if (ndx == 0 || ndx == 1)
10164 /* extattr_delete_link */
10166 if (ndx == 0 || ndx == 1)
10171 if (ndx == 0 || ndx == 1)
10176 if (ndx == 0 || ndx == 1)
10181 if (ndx == 0 || ndx == 1)
10186 if (ndx == 0 || ndx == 1)
10191 if (ndx == 0 || ndx == 1)
10196 if (ndx == 0 || ndx == 1)
10201 if (ndx == 0 || ndx == 1)
10204 /* __acl_get_link */
10206 if (ndx == 0 || ndx == 1)
10209 /* __acl_set_link */
10211 if (ndx == 0 || ndx == 1)
10214 /* __acl_delete_link */
10216 if (ndx == 0 || ndx == 1)
10219 /* __acl_aclcheck_link */
10221 if (ndx == 0 || ndx == 1)
10226 if (ndx == 0 || ndx == 1)
10231 if (ndx == 0 || ndx == 1)
10236 if (ndx == 0 || ndx == 1)
10241 if (ndx == 0 || ndx == 1)
10246 if (ndx == 0 || ndx == 1)
10251 if (ndx == 0 || ndx == 1)
10254 /* extattr_list_fd */
10256 if (ndx == 0 || ndx == 1)
10259 /* extattr_list_file */
10261 if (ndx == 0 || ndx == 1)
10264 /* extattr_list_link */
10266 if (ndx == 0 || ndx == 1)
10269 /* ksem_timedwait */
10271 if (ndx == 0 || ndx == 1)
10276 if (ndx == 0 || ndx == 1)
10281 if (ndx == 0 || ndx == 1)
10286 if (ndx == 0 || ndx == 1)
10291 if (ndx == 0 || ndx == 1)
10296 if (ndx == 0 || ndx == 1)
10301 if (ndx == 0 || ndx == 1)
10306 if (ndx == 0 || ndx == 1)
10311 if (ndx == 0 || ndx == 1)
10316 if (ndx == 0 || ndx == 1)
10319 /* getaudit_addr */
10321 if (ndx == 0 || ndx == 1)
10324 /* setaudit_addr */
10326 if (ndx == 0 || ndx == 1)
10331 if (ndx == 0 || ndx == 1)
10336 if (ndx == 0 || ndx == 1)
10341 if (ndx == 0 || ndx == 1)
10346 if (ndx == 0 || ndx == 1)
10351 if (ndx == 0 || ndx == 1)
10356 if (ndx == 0 || ndx == 1)
10359 /* kmq_timedreceive */
10361 if (ndx == 0 || ndx == 1)
10364 /* kmq_timedsend */
10366 if (ndx == 0 || ndx == 1)
10371 if (ndx == 0 || ndx == 1)
10376 if (ndx == 0 || ndx == 1)
10381 if (ndx == 0 || ndx == 1)
10386 if (ndx == 0 || ndx == 1)
10391 if (ndx == 0 || ndx == 1)
10394 /* rtprio_thread */
10396 if (ndx == 0 || ndx == 1)
10401 if (ndx == 0 || ndx == 1)
10404 /* sctp_generic_sendmsg */
10406 if (ndx == 0 || ndx == 1)
10409 /* sctp_generic_sendmsg_iov */
10411 if (ndx == 0 || ndx == 1)
10414 /* sctp_generic_recvmsg */
10416 if (ndx == 0 || ndx == 1)
10421 if (ndx == 0 || ndx == 1)
10426 if (ndx == 0 || ndx == 1)
10431 if (ndx == 0 || ndx == 1)
10436 if (ndx == 0 || ndx == 1)
10441 if (ndx == 0 || ndx == 1)
10446 if (ndx == 0 || ndx == 1)
10451 if (ndx == 0 || ndx == 1)
10456 if (ndx == 0 || ndx == 1)
10461 if (ndx == 0 || ndx == 1)
10466 if (ndx == 0 || ndx == 1)
10471 if (ndx == 0 || ndx == 1)
10476 if (ndx == 0 || ndx == 1)
10479 /* cpuset_getaffinity */
10481 if (ndx == 0 || ndx == 1)
10484 /* cpuset_setaffinity */
10486 if (ndx == 0 || ndx == 1)
10491 if (ndx == 0 || ndx == 1)
10496 if (ndx == 0 || ndx == 1)
10501 if (ndx == 0 || ndx == 1)
10506 if (ndx == 0 || ndx == 1)
10511 if (ndx == 0 || ndx == 1)
10516 if (ndx == 0 || ndx == 1)
10521 if (ndx == 0 || ndx == 1)
10526 if (ndx == 0 || ndx == 1)
10531 if (ndx == 0 || ndx == 1)
10536 if (ndx == 0 || ndx == 1)
10541 if (ndx == 0 || ndx == 1)
10546 if (ndx == 0 || ndx == 1)
10551 if (ndx == 0 || ndx == 1)
10556 if (ndx == 0 || ndx == 1)
10561 if (ndx == 0 || ndx == 1)
10566 if (ndx == 0 || ndx == 1)
10571 if (ndx == 0 || ndx == 1)
10576 if (ndx == 0 || ndx == 1)
10581 if (ndx == 0 || ndx == 1)
10586 if (ndx == 0 || ndx == 1)
10591 if (ndx == 0 || ndx == 1)
10596 if (ndx == 0 || ndx == 1)
10601 if (ndx == 0 || ndx == 1)
10606 if (ndx == 0 || ndx == 1)
10611 if (ndx == 0 || ndx == 1)
10614 /* __cap_rights_get */
10616 if (ndx == 0 || ndx == 1)
10623 if (ndx == 0 || ndx == 1)
10628 if (ndx == 0 || ndx == 1)
10633 if (ndx == 0 || ndx == 1)
10638 if (ndx == 0 || ndx == 1)
10643 if (ndx == 0 || ndx == 1)
10646 /* getloginclass */
10648 if (ndx == 0 || ndx == 1)
10651 /* setloginclass */
10653 if (ndx == 0 || ndx == 1)
10656 /* rctl_get_racct */
10658 if (ndx == 0 || ndx == 1)
10661 /* rctl_get_rules */
10663 if (ndx == 0 || ndx == 1)
10666 /* rctl_get_limits */
10668 if (ndx == 0 || ndx == 1)
10671 /* rctl_add_rule */
10673 if (ndx == 0 || ndx == 1)
10676 /* rctl_remove_rule */
10678 if (ndx == 0 || ndx == 1)
10681 /* posix_fallocate */
10683 if (ndx == 0 || ndx == 1)
10686 /* posix_fadvise */
10688 if (ndx == 0 || ndx == 1)
10693 if (ndx == 0 || ndx == 1)
10696 /* cap_rights_limit */
10698 if (ndx == 0 || ndx == 1)
10701 /* cap_ioctls_limit */
10703 if (ndx == 0 || ndx == 1)
10706 /* cap_ioctls_get */
10708 if (ndx == 0 || ndx == 1)
10711 /* cap_fcntls_limit */
10713 if (ndx == 0 || ndx == 1)
10716 /* cap_fcntls_get */
10718 if (ndx == 0 || ndx == 1)
10723 if (ndx == 0 || ndx == 1)
10728 if (ndx == 0 || ndx == 1)
10733 if (ndx == 0 || ndx == 1)
10738 if (ndx == 0 || ndx == 1)
10743 if (ndx == 0 || ndx == 1)
10748 if (ndx == 0 || ndx == 1)
10753 if (ndx == 0 || ndx == 1)
10758 if (ndx == 0 || ndx == 1)
10763 if (ndx == 0 || ndx == 1)
10768 if (ndx == 0 || ndx == 1)
10771 /* numa_getaffinity */
10773 if (ndx == 0 || ndx == 1)
10776 /* numa_setaffinity */
10778 if (ndx == 0 || ndx == 1)
10785 strlcpy(desc, p, descsz);