2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically @generated.
5 * This file is part of the DTrace syscall provider.
9 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
11 int64_t *iarg = (int64_t *)uarg;
20 struct sys_exit_args *p = params;
21 iarg[0] = p->rval; /* int */
32 struct read_args *p = params;
33 iarg[0] = p->fd; /* int */
34 uarg[1] = (intptr_t)p->buf; /* void * */
35 uarg[2] = p->nbyte; /* size_t */
41 struct write_args *p = params;
42 iarg[0] = p->fd; /* int */
43 uarg[1] = (intptr_t)p->buf; /* const void * */
44 uarg[2] = p->nbyte; /* size_t */
50 struct open_args *p = params;
51 uarg[0] = (intptr_t)p->path; /* const char * */
52 iarg[1] = p->flags; /* int */
53 iarg[2] = p->mode; /* mode_t */
59 struct close_args *p = params;
60 iarg[0] = p->fd; /* int */
66 struct wait4_args *p = params;
67 iarg[0] = p->pid; /* int */
68 uarg[1] = (intptr_t)p->status; /* int * */
69 iarg[2] = p->options; /* int */
70 uarg[3] = (intptr_t)p->rusage; /* struct rusage * */
76 struct link_args *p = params;
77 uarg[0] = (intptr_t)p->path; /* const char * */
78 uarg[1] = (intptr_t)p->link; /* const char * */
84 struct unlink_args *p = params;
85 uarg[0] = (intptr_t)p->path; /* const char * */
91 struct chdir_args *p = params;
92 uarg[0] = (intptr_t)p->path; /* const char * */
98 struct fchdir_args *p = params;
99 iarg[0] = p->fd; /* int */
105 struct chmod_args *p = params;
106 uarg[0] = (intptr_t)p->path; /* const char * */
107 iarg[1] = p->mode; /* mode_t */
113 struct chown_args *p = params;
114 uarg[0] = (intptr_t)p->path; /* const char * */
115 iarg[1] = p->uid; /* int */
116 iarg[2] = p->gid; /* int */
122 struct break_args *p = params;
123 uarg[0] = (intptr_t)p->nsize; /* char * */
134 struct mount_args *p = params;
135 uarg[0] = (intptr_t)p->type; /* const char * */
136 uarg[1] = (intptr_t)p->path; /* const char * */
137 iarg[2] = p->flags; /* int */
138 uarg[3] = (intptr_t)p->data; /* void * */
144 struct unmount_args *p = params;
145 uarg[0] = (intptr_t)p->path; /* const char * */
146 iarg[1] = p->flags; /* int */
152 struct setuid_args *p = params;
153 uarg[0] = p->uid; /* uid_t */
169 struct ptrace_args *p = params;
170 iarg[0] = p->req; /* int */
171 iarg[1] = p->pid; /* pid_t */
172 uarg[2] = (intptr_t)p->addr; /* caddr_t */
173 iarg[3] = p->data; /* int */
179 struct recvmsg_args *p = params;
180 iarg[0] = p->s; /* int */
181 uarg[1] = (intptr_t)p->msg; /* struct msghdr * */
182 iarg[2] = p->flags; /* int */
188 struct sendmsg_args *p = params;
189 iarg[0] = p->s; /* int */
190 uarg[1] = (intptr_t)p->msg; /* struct msghdr * */
191 iarg[2] = p->flags; /* int */
197 struct recvfrom_args *p = params;
198 iarg[0] = p->s; /* int */
199 uarg[1] = (intptr_t)p->buf; /* void * */
200 uarg[2] = p->len; /* size_t */
201 iarg[3] = p->flags; /* int */
202 uarg[4] = (intptr_t)p->from; /* struct sockaddr * */
203 uarg[5] = (intptr_t)p->fromlenaddr; /* __socklen_t * */
209 struct accept_args *p = params;
210 iarg[0] = p->s; /* int */
211 uarg[1] = (intptr_t)p->name; /* struct sockaddr * */
212 uarg[2] = (intptr_t)p->anamelen; /* __socklen_t * */
218 struct getpeername_args *p = params;
219 iarg[0] = p->fdes; /* int */
220 uarg[1] = (intptr_t)p->asa; /* struct sockaddr * */
221 uarg[2] = (intptr_t)p->alen; /* __socklen_t * */
227 struct getsockname_args *p = params;
228 iarg[0] = p->fdes; /* int */
229 uarg[1] = (intptr_t)p->asa; /* struct sockaddr * */
230 uarg[2] = (intptr_t)p->alen; /* __socklen_t * */
236 struct access_args *p = params;
237 uarg[0] = (intptr_t)p->path; /* const char * */
238 iarg[1] = p->amode; /* int */
244 struct chflags_args *p = params;
245 uarg[0] = (intptr_t)p->path; /* const char * */
246 uarg[1] = p->flags; /* u_long */
252 struct fchflags_args *p = params;
253 iarg[0] = p->fd; /* int */
254 uarg[1] = p->flags; /* u_long */
265 struct kill_args *p = params;
266 iarg[0] = p->pid; /* int */
267 iarg[1] = p->signum; /* int */
278 struct dup_args *p = params;
279 uarg[0] = p->fd; /* u_int */
290 struct profil_args *p = params;
291 uarg[0] = (intptr_t)p->samples; /* char * */
292 uarg[1] = p->size; /* size_t */
293 uarg[2] = p->offset; /* size_t */
294 uarg[3] = p->scale; /* u_int */
300 struct ktrace_args *p = params;
301 uarg[0] = (intptr_t)p->fname; /* const char * */
302 iarg[1] = p->ops; /* int */
303 iarg[2] = p->facs; /* int */
304 iarg[3] = p->pid; /* int */
315 struct getlogin_args *p = params;
316 uarg[0] = (intptr_t)p->namebuf; /* char * */
317 uarg[1] = p->namelen; /* u_int */
323 struct setlogin_args *p = params;
324 uarg[0] = (intptr_t)p->namebuf; /* const char * */
330 struct acct_args *p = params;
331 uarg[0] = (intptr_t)p->path; /* const char * */
337 struct sigaltstack_args *p = params;
338 uarg[0] = (intptr_t)p->ss; /* stack_t * */
339 uarg[1] = (intptr_t)p->oss; /* stack_t * */
345 struct ioctl_args *p = params;
346 iarg[0] = p->fd; /* int */
347 uarg[1] = p->com; /* u_long */
348 uarg[2] = (intptr_t)p->data; /* char * */
354 struct reboot_args *p = params;
355 iarg[0] = p->opt; /* int */
361 struct revoke_args *p = params;
362 uarg[0] = (intptr_t)p->path; /* const char * */
368 struct symlink_args *p = params;
369 uarg[0] = (intptr_t)p->path; /* const char * */
370 uarg[1] = (intptr_t)p->link; /* const char * */
376 struct readlink_args *p = params;
377 uarg[0] = (intptr_t)p->path; /* const char * */
378 uarg[1] = (intptr_t)p->buf; /* char * */
379 uarg[2] = p->count; /* size_t */
385 struct execve_args *p = params;
386 uarg[0] = (intptr_t)p->fname; /* const char * */
387 uarg[1] = (intptr_t)p->argv; /* char ** */
388 uarg[2] = (intptr_t)p->envv; /* char ** */
394 struct umask_args *p = params;
395 iarg[0] = p->newmask; /* mode_t */
401 struct chroot_args *p = params;
402 uarg[0] = (intptr_t)p->path; /* const char * */
408 struct msync_args *p = params;
409 uarg[0] = (intptr_t)p->addr; /* void * */
410 uarg[1] = p->len; /* size_t */
411 iarg[2] = p->flags; /* int */
422 struct sbrk_args *p = params;
423 iarg[0] = p->incr; /* int */
429 struct sstk_args *p = params;
430 iarg[0] = p->incr; /* int */
436 struct munmap_args *p = params;
437 uarg[0] = (intptr_t)p->addr; /* void * */
438 uarg[1] = p->len; /* size_t */
444 struct mprotect_args *p = params;
445 uarg[0] = (intptr_t)p->addr; /* void * */
446 uarg[1] = p->len; /* size_t */
447 iarg[2] = p->prot; /* int */
453 struct madvise_args *p = params;
454 uarg[0] = (intptr_t)p->addr; /* void * */
455 uarg[1] = p->len; /* size_t */
456 iarg[2] = p->behav; /* int */
462 struct mincore_args *p = params;
463 uarg[0] = (intptr_t)p->addr; /* const void * */
464 uarg[1] = p->len; /* size_t */
465 uarg[2] = (intptr_t)p->vec; /* char * */
471 struct getgroups_args *p = params;
472 iarg[0] = p->gidsetsize; /* int */
473 uarg[1] = (intptr_t)p->gidset; /* gid_t * */
479 struct setgroups_args *p = params;
480 iarg[0] = p->gidsetsize; /* int */
481 uarg[1] = (intptr_t)p->gidset; /* gid_t * */
492 struct setpgid_args *p = params;
493 iarg[0] = p->pid; /* int */
494 iarg[1] = p->pgid; /* int */
500 struct setitimer_args *p = params;
501 uarg[0] = p->which; /* u_int */
502 uarg[1] = (intptr_t)p->itv; /* struct itimerval * */
503 uarg[2] = (intptr_t)p->oitv; /* struct itimerval * */
509 struct swapon_args *p = params;
510 uarg[0] = (intptr_t)p->name; /* const char * */
516 struct getitimer_args *p = params;
517 uarg[0] = p->which; /* u_int */
518 uarg[1] = (intptr_t)p->itv; /* struct itimerval * */
529 struct dup2_args *p = params;
530 uarg[0] = p->from; /* u_int */
531 uarg[1] = p->to; /* u_int */
537 struct fcntl_args *p = params;
538 iarg[0] = p->fd; /* int */
539 iarg[1] = p->cmd; /* int */
540 iarg[2] = p->arg; /* long */
546 struct select_args *p = params;
547 iarg[0] = p->nd; /* int */
548 uarg[1] = (intptr_t)p->in; /* fd_set * */
549 uarg[2] = (intptr_t)p->ou; /* fd_set * */
550 uarg[3] = (intptr_t)p->ex; /* fd_set * */
551 uarg[4] = (intptr_t)p->tv; /* struct timeval * */
557 struct fsync_args *p = params;
558 iarg[0] = p->fd; /* int */
564 struct setpriority_args *p = params;
565 iarg[0] = p->which; /* int */
566 iarg[1] = p->who; /* int */
567 iarg[2] = p->prio; /* int */
573 struct socket_args *p = params;
574 iarg[0] = p->domain; /* int */
575 iarg[1] = p->type; /* int */
576 iarg[2] = p->protocol; /* int */
582 struct connect_args *p = params;
583 iarg[0] = p->s; /* int */
584 uarg[1] = (intptr_t)p->name; /* const struct sockaddr * */
585 iarg[2] = p->namelen; /* int */
591 struct getpriority_args *p = params;
592 iarg[0] = p->which; /* int */
593 iarg[1] = p->who; /* int */
599 struct bind_args *p = params;
600 iarg[0] = p->s; /* int */
601 uarg[1] = (intptr_t)p->name; /* const struct sockaddr * */
602 iarg[2] = p->namelen; /* int */
608 struct setsockopt_args *p = params;
609 iarg[0] = p->s; /* int */
610 iarg[1] = p->level; /* int */
611 iarg[2] = p->name; /* int */
612 uarg[3] = (intptr_t)p->val; /* const void * */
613 iarg[4] = p->valsize; /* int */
619 struct listen_args *p = params;
620 iarg[0] = p->s; /* int */
621 iarg[1] = p->backlog; /* int */
627 struct gettimeofday_args *p = params;
628 uarg[0] = (intptr_t)p->tp; /* struct timeval * */
629 uarg[1] = (intptr_t)p->tzp; /* struct timezone * */
635 struct getrusage_args *p = params;
636 iarg[0] = p->who; /* int */
637 uarg[1] = (intptr_t)p->rusage; /* struct rusage * */
643 struct getsockopt_args *p = params;
644 iarg[0] = p->s; /* int */
645 iarg[1] = p->level; /* int */
646 iarg[2] = p->name; /* int */
647 uarg[3] = (intptr_t)p->val; /* void * */
648 uarg[4] = (intptr_t)p->avalsize; /* int * */
654 struct readv_args *p = params;
655 iarg[0] = p->fd; /* int */
656 uarg[1] = (intptr_t)p->iovp; /* struct iovec * */
657 uarg[2] = p->iovcnt; /* u_int */
663 struct writev_args *p = params;
664 iarg[0] = p->fd; /* int */
665 uarg[1] = (intptr_t)p->iovp; /* struct iovec * */
666 uarg[2] = p->iovcnt; /* u_int */
672 struct settimeofday_args *p = params;
673 uarg[0] = (intptr_t)p->tv; /* struct timeval * */
674 uarg[1] = (intptr_t)p->tzp; /* struct timezone * */
680 struct fchown_args *p = params;
681 iarg[0] = p->fd; /* int */
682 iarg[1] = p->uid; /* int */
683 iarg[2] = p->gid; /* int */
689 struct fchmod_args *p = params;
690 iarg[0] = p->fd; /* int */
691 iarg[1] = p->mode; /* mode_t */
697 struct setreuid_args *p = params;
698 iarg[0] = p->ruid; /* int */
699 iarg[1] = p->euid; /* int */
705 struct setregid_args *p = params;
706 iarg[0] = p->rgid; /* int */
707 iarg[1] = p->egid; /* int */
713 struct rename_args *p = params;
714 uarg[0] = (intptr_t)p->from; /* const char * */
715 uarg[1] = (intptr_t)p->to; /* const char * */
721 struct flock_args *p = params;
722 iarg[0] = p->fd; /* int */
723 iarg[1] = p->how; /* int */
729 struct mkfifo_args *p = params;
730 uarg[0] = (intptr_t)p->path; /* const char * */
731 iarg[1] = p->mode; /* mode_t */
737 struct sendto_args *p = params;
738 iarg[0] = p->s; /* int */
739 uarg[1] = (intptr_t)p->buf; /* const void * */
740 uarg[2] = p->len; /* size_t */
741 iarg[3] = p->flags; /* int */
742 uarg[4] = (intptr_t)p->to; /* const struct sockaddr * */
743 iarg[5] = p->tolen; /* int */
749 struct shutdown_args *p = params;
750 iarg[0] = p->s; /* int */
751 iarg[1] = p->how; /* int */
757 struct socketpair_args *p = params;
758 iarg[0] = p->domain; /* int */
759 iarg[1] = p->type; /* int */
760 iarg[2] = p->protocol; /* int */
761 uarg[3] = (intptr_t)p->rsv; /* int * */
767 struct mkdir_args *p = params;
768 uarg[0] = (intptr_t)p->path; /* const char * */
769 iarg[1] = p->mode; /* mode_t */
775 struct rmdir_args *p = params;
776 uarg[0] = (intptr_t)p->path; /* const char * */
782 struct utimes_args *p = params;
783 uarg[0] = (intptr_t)p->path; /* const char * */
784 uarg[1] = (intptr_t)p->tptr; /* struct timeval * */
790 struct adjtime_args *p = params;
791 uarg[0] = (intptr_t)p->delta; /* struct timeval * */
792 uarg[1] = (intptr_t)p->olddelta; /* struct timeval * */
803 struct quotactl_args *p = params;
804 uarg[0] = (intptr_t)p->path; /* const char * */
805 iarg[1] = p->cmd; /* int */
806 iarg[2] = p->uid; /* int */
807 uarg[3] = (intptr_t)p->arg; /* void * */
813 struct nlm_syscall_args *p = params;
814 iarg[0] = p->debug_level; /* int */
815 iarg[1] = p->grace_period; /* int */
816 iarg[2] = p->addr_count; /* int */
817 uarg[3] = (intptr_t)p->addrs; /* char ** */
823 struct nfssvc_args *p = params;
824 iarg[0] = p->flag; /* int */
825 uarg[1] = (intptr_t)p->argp; /* void * */
831 struct lgetfh_args *p = params;
832 uarg[0] = (intptr_t)p->fname; /* const char * */
833 uarg[1] = (intptr_t)p->fhp; /* struct fhandle * */
839 struct getfh_args *p = params;
840 uarg[0] = (intptr_t)p->fname; /* const char * */
841 uarg[1] = (intptr_t)p->fhp; /* struct fhandle * */
847 struct sysarch_args *p = params;
848 iarg[0] = p->op; /* int */
849 uarg[1] = (intptr_t)p->parms; /* char * */
855 struct rtprio_args *p = params;
856 iarg[0] = p->function; /* int */
857 iarg[1] = p->pid; /* pid_t */
858 uarg[2] = (intptr_t)p->rtp; /* struct rtprio * */
864 struct semsys_args *p = params;
865 iarg[0] = p->which; /* int */
866 iarg[1] = p->a2; /* int */
867 iarg[2] = p->a3; /* int */
868 iarg[3] = p->a4; /* int */
869 iarg[4] = p->a5; /* int */
875 struct msgsys_args *p = params;
876 iarg[0] = p->which; /* int */
877 iarg[1] = p->a2; /* int */
878 iarg[2] = p->a3; /* int */
879 iarg[3] = p->a4; /* int */
880 iarg[4] = p->a5; /* int */
881 iarg[5] = p->a6; /* int */
887 struct shmsys_args *p = params;
888 iarg[0] = p->which; /* int */
889 iarg[1] = p->a2; /* int */
890 iarg[2] = p->a3; /* int */
891 iarg[3] = p->a4; /* int */
897 struct setfib_args *p = params;
898 iarg[0] = p->fibnum; /* int */
904 struct ntp_adjtime_args *p = params;
905 uarg[0] = (intptr_t)p->tp; /* struct timex * */
911 struct setgid_args *p = params;
912 iarg[0] = p->gid; /* gid_t */
918 struct setegid_args *p = params;
919 iarg[0] = p->egid; /* gid_t */
925 struct seteuid_args *p = params;
926 uarg[0] = p->euid; /* uid_t */
932 struct pathconf_args *p = params;
933 uarg[0] = (intptr_t)p->path; /* const char * */
934 iarg[1] = p->name; /* int */
940 struct fpathconf_args *p = params;
941 iarg[0] = p->fd; /* int */
942 iarg[1] = p->name; /* int */
948 struct __getrlimit_args *p = params;
949 uarg[0] = p->which; /* u_int */
950 uarg[1] = (intptr_t)p->rlp; /* struct rlimit * */
956 struct __setrlimit_args *p = params;
957 uarg[0] = p->which; /* u_int */
958 uarg[1] = (intptr_t)p->rlp; /* struct rlimit * */
969 struct sysctl_args *p = params;
970 uarg[0] = (intptr_t)p->name; /* int * */
971 uarg[1] = p->namelen; /* u_int */
972 uarg[2] = (intptr_t)p->old; /* void * */
973 uarg[3] = (intptr_t)p->oldlenp; /* size_t * */
974 uarg[4] = (intptr_t)p->new; /* const void * */
975 uarg[5] = p->newlen; /* size_t */
981 struct mlock_args *p = params;
982 uarg[0] = (intptr_t)p->addr; /* const void * */
983 uarg[1] = p->len; /* size_t */
989 struct munlock_args *p = params;
990 uarg[0] = (intptr_t)p->addr; /* const void * */
991 uarg[1] = p->len; /* size_t */
997 struct undelete_args *p = params;
998 uarg[0] = (intptr_t)p->path; /* const char * */
1004 struct futimes_args *p = params;
1005 iarg[0] = p->fd; /* int */
1006 uarg[1] = (intptr_t)p->tptr; /* struct timeval * */
1012 struct getpgid_args *p = params;
1013 iarg[0] = p->pid; /* pid_t */
1019 struct poll_args *p = params;
1020 uarg[0] = (intptr_t)p->fds; /* struct pollfd * */
1021 uarg[1] = p->nfds; /* u_int */
1022 iarg[2] = p->timeout; /* int */
1078 struct semget_args *p = params;
1079 iarg[0] = p->key; /* key_t */
1080 iarg[1] = p->nsems; /* int */
1081 iarg[2] = p->semflg; /* int */
1087 struct semop_args *p = params;
1088 iarg[0] = p->semid; /* int */
1089 uarg[1] = (intptr_t)p->sops; /* struct sembuf * */
1090 uarg[2] = p->nsops; /* size_t */
1096 struct msgget_args *p = params;
1097 iarg[0] = p->key; /* key_t */
1098 iarg[1] = p->msgflg; /* int */
1104 struct msgsnd_args *p = params;
1105 iarg[0] = p->msqid; /* int */
1106 uarg[1] = (intptr_t)p->msgp; /* const void * */
1107 uarg[2] = p->msgsz; /* size_t */
1108 iarg[3] = p->msgflg; /* int */
1114 struct msgrcv_args *p = params;
1115 iarg[0] = p->msqid; /* int */
1116 uarg[1] = (intptr_t)p->msgp; /* void * */
1117 uarg[2] = p->msgsz; /* size_t */
1118 iarg[3] = p->msgtyp; /* long */
1119 iarg[4] = p->msgflg; /* int */
1125 struct shmat_args *p = params;
1126 iarg[0] = p->shmid; /* int */
1127 uarg[1] = (intptr_t)p->shmaddr; /* const void * */
1128 iarg[2] = p->shmflg; /* int */
1134 struct shmdt_args *p = params;
1135 uarg[0] = (intptr_t)p->shmaddr; /* const void * */
1141 struct shmget_args *p = params;
1142 iarg[0] = p->key; /* key_t */
1143 uarg[1] = p->size; /* size_t */
1144 iarg[2] = p->shmflg; /* int */
1150 struct clock_gettime_args *p = params;
1151 iarg[0] = p->clock_id; /* clockid_t */
1152 uarg[1] = (intptr_t)p->tp; /* struct timespec * */
1158 struct clock_settime_args *p = params;
1159 iarg[0] = p->clock_id; /* clockid_t */
1160 uarg[1] = (intptr_t)p->tp; /* const struct timespec * */
1166 struct clock_getres_args *p = params;
1167 iarg[0] = p->clock_id; /* clockid_t */
1168 uarg[1] = (intptr_t)p->tp; /* struct timespec * */
1174 struct ktimer_create_args *p = params;
1175 iarg[0] = p->clock_id; /* clockid_t */
1176 uarg[1] = (intptr_t)p->evp; /* struct sigevent * */
1177 uarg[2] = (intptr_t)p->timerid; /* int * */
1183 struct ktimer_delete_args *p = params;
1184 iarg[0] = p->timerid; /* int */
1188 /* ktimer_settime */
1190 struct ktimer_settime_args *p = params;
1191 iarg[0] = p->timerid; /* int */
1192 iarg[1] = p->flags; /* int */
1193 uarg[2] = (intptr_t)p->value; /* const struct itimerspec * */
1194 uarg[3] = (intptr_t)p->ovalue; /* struct itimerspec * */
1198 /* ktimer_gettime */
1200 struct ktimer_gettime_args *p = params;
1201 iarg[0] = p->timerid; /* int */
1202 uarg[1] = (intptr_t)p->value; /* struct itimerspec * */
1206 /* ktimer_getoverrun */
1208 struct ktimer_getoverrun_args *p = params;
1209 iarg[0] = p->timerid; /* int */
1215 struct nanosleep_args *p = params;
1216 uarg[0] = (intptr_t)p->rqtp; /* const struct timespec * */
1217 uarg[1] = (intptr_t)p->rmtp; /* struct timespec * */
1221 /* ffclock_getcounter */
1223 struct ffclock_getcounter_args *p = params;
1224 uarg[0] = (intptr_t)p->ffcount; /* ffcounter * */
1228 /* ffclock_setestimate */
1230 struct ffclock_setestimate_args *p = params;
1231 uarg[0] = (intptr_t)p->cest; /* struct ffclock_estimate * */
1235 /* ffclock_getestimate */
1237 struct ffclock_getestimate_args *p = params;
1238 uarg[0] = (intptr_t)p->cest; /* struct ffclock_estimate * */
1242 /* clock_nanosleep */
1244 struct clock_nanosleep_args *p = params;
1245 iarg[0] = p->clock_id; /* clockid_t */
1246 iarg[1] = p->flags; /* int */
1247 uarg[2] = (intptr_t)p->rqtp; /* const struct timespec * */
1248 uarg[3] = (intptr_t)p->rmtp; /* struct timespec * */
1252 /* clock_getcpuclockid2 */
1254 struct clock_getcpuclockid2_args *p = params;
1255 iarg[0] = p->id; /* id_t */
1256 iarg[1] = p->which; /* int */
1257 uarg[2] = (intptr_t)p->clock_id; /* clockid_t * */
1263 struct ntp_gettime_args *p = params;
1264 uarg[0] = (intptr_t)p->ntvp; /* struct ntptimeval * */
1270 struct minherit_args *p = params;
1271 uarg[0] = (intptr_t)p->addr; /* void * */
1272 uarg[1] = p->len; /* size_t */
1273 iarg[2] = p->inherit; /* int */
1279 struct rfork_args *p = params;
1280 iarg[0] = p->flags; /* int */
1291 struct lchown_args *p = params;
1292 uarg[0] = (intptr_t)p->path; /* const char * */
1293 iarg[1] = p->uid; /* int */
1294 iarg[2] = p->gid; /* int */
1300 struct aio_read_args *p = params;
1301 uarg[0] = (intptr_t)p->aiocbp; /* struct aiocb * */
1307 struct aio_write_args *p = params;
1308 uarg[0] = (intptr_t)p->aiocbp; /* struct aiocb * */
1314 struct lio_listio_args *p = params;
1315 iarg[0] = p->mode; /* int */
1316 uarg[1] = (intptr_t)p->acb_list; /* struct aiocb * const * */
1317 iarg[2] = p->nent; /* int */
1318 uarg[3] = (intptr_t)p->sig; /* struct sigevent * */
1324 struct lchmod_args *p = params;
1325 uarg[0] = (intptr_t)p->path; /* const char * */
1326 iarg[1] = p->mode; /* mode_t */
1332 struct lutimes_args *p = params;
1333 uarg[0] = (intptr_t)p->path; /* const char * */
1334 uarg[1] = (intptr_t)p->tptr; /* struct timeval * */
1340 struct preadv_args *p = params;
1341 iarg[0] = p->fd; /* int */
1342 uarg[1] = (intptr_t)p->iovp; /* struct iovec * */
1343 uarg[2] = p->iovcnt; /* u_int */
1344 iarg[3] = p->offset; /* off_t */
1350 struct pwritev_args *p = params;
1351 iarg[0] = p->fd; /* int */
1352 uarg[1] = (intptr_t)p->iovp; /* struct iovec * */
1353 uarg[2] = p->iovcnt; /* u_int */
1354 iarg[3] = p->offset; /* off_t */
1360 struct fhopen_args *p = params;
1361 uarg[0] = (intptr_t)p->u_fhp; /* const struct fhandle * */
1362 iarg[1] = p->flags; /* int */
1368 struct modnext_args *p = params;
1369 iarg[0] = p->modid; /* int */
1375 struct modstat_args *p = params;
1376 iarg[0] = p->modid; /* int */
1377 uarg[1] = (intptr_t)p->stat; /* struct module_stat * */
1383 struct modfnext_args *p = params;
1384 iarg[0] = p->modid; /* int */
1390 struct modfind_args *p = params;
1391 uarg[0] = (intptr_t)p->name; /* const char * */
1397 struct kldload_args *p = params;
1398 uarg[0] = (intptr_t)p->file; /* const char * */
1404 struct kldunload_args *p = params;
1405 iarg[0] = p->fileid; /* int */
1411 struct kldfind_args *p = params;
1412 uarg[0] = (intptr_t)p->file; /* const char * */
1418 struct kldnext_args *p = params;
1419 iarg[0] = p->fileid; /* int */
1425 struct kldstat_args *p = params;
1426 iarg[0] = p->fileid; /* int */
1427 uarg[1] = (intptr_t)p->stat; /* struct kld_file_stat * */
1433 struct kldfirstmod_args *p = params;
1434 iarg[0] = p->fileid; /* int */
1440 struct getsid_args *p = params;
1441 iarg[0] = p->pid; /* pid_t */
1447 struct setresuid_args *p = params;
1448 uarg[0] = p->ruid; /* uid_t */
1449 uarg[1] = p->euid; /* uid_t */
1450 uarg[2] = p->suid; /* uid_t */
1456 struct setresgid_args *p = params;
1457 iarg[0] = p->rgid; /* gid_t */
1458 iarg[1] = p->egid; /* gid_t */
1459 iarg[2] = p->sgid; /* gid_t */
1465 struct aio_return_args *p = params;
1466 uarg[0] = (intptr_t)p->aiocbp; /* struct aiocb * */
1472 struct aio_suspend_args *p = params;
1473 uarg[0] = (intptr_t)p->aiocbp; /* struct aiocb * const * */
1474 iarg[1] = p->nent; /* int */
1475 uarg[2] = (intptr_t)p->timeout; /* const struct timespec * */
1481 struct aio_cancel_args *p = params;
1482 iarg[0] = p->fd; /* int */
1483 uarg[1] = (intptr_t)p->aiocbp; /* struct aiocb * */
1489 struct aio_error_args *p = params;
1490 uarg[0] = (intptr_t)p->aiocbp; /* struct aiocb * */
1501 struct mlockall_args *p = params;
1502 iarg[0] = p->how; /* int */
1513 struct __getcwd_args *p = params;
1514 uarg[0] = (intptr_t)p->buf; /* char * */
1515 uarg[1] = p->buflen; /* size_t */
1519 /* sched_setparam */
1521 struct sched_setparam_args *p = params;
1522 iarg[0] = p->pid; /* pid_t */
1523 uarg[1] = (intptr_t)p->param; /* const struct sched_param * */
1527 /* sched_getparam */
1529 struct sched_getparam_args *p = params;
1530 iarg[0] = p->pid; /* pid_t */
1531 uarg[1] = (intptr_t)p->param; /* struct sched_param * */
1535 /* sched_setscheduler */
1537 struct sched_setscheduler_args *p = params;
1538 iarg[0] = p->pid; /* pid_t */
1539 iarg[1] = p->policy; /* int */
1540 uarg[2] = (intptr_t)p->param; /* const struct sched_param * */
1544 /* sched_getscheduler */
1546 struct sched_getscheduler_args *p = params;
1547 iarg[0] = p->pid; /* pid_t */
1556 /* sched_get_priority_max */
1558 struct sched_get_priority_max_args *p = params;
1559 iarg[0] = p->policy; /* int */
1563 /* sched_get_priority_min */
1565 struct sched_get_priority_min_args *p = params;
1566 iarg[0] = p->policy; /* int */
1570 /* sched_rr_get_interval */
1572 struct sched_rr_get_interval_args *p = params;
1573 iarg[0] = p->pid; /* pid_t */
1574 uarg[1] = (intptr_t)p->interval; /* struct timespec * */
1580 struct utrace_args *p = params;
1581 uarg[0] = (intptr_t)p->addr; /* const void * */
1582 uarg[1] = p->len; /* size_t */
1588 struct kldsym_args *p = params;
1589 iarg[0] = p->fileid; /* int */
1590 iarg[1] = p->cmd; /* int */
1591 uarg[2] = (intptr_t)p->data; /* void * */
1597 struct jail_args *p = params;
1598 uarg[0] = (intptr_t)p->jail; /* struct jail * */
1604 struct nnpfs_syscall_args *p = params;
1605 iarg[0] = p->operation; /* int */
1606 uarg[1] = (intptr_t)p->a_pathP; /* char * */
1607 iarg[2] = p->a_opcode; /* int */
1608 uarg[3] = (intptr_t)p->a_paramsP; /* void * */
1609 iarg[4] = p->a_followSymlinks; /* int */
1615 struct sigprocmask_args *p = params;
1616 iarg[0] = p->how; /* int */
1617 uarg[1] = (intptr_t)p->set; /* const sigset_t * */
1618 uarg[2] = (intptr_t)p->oset; /* sigset_t * */
1624 struct sigsuspend_args *p = params;
1625 uarg[0] = (intptr_t)p->sigmask; /* const sigset_t * */
1631 struct sigpending_args *p = params;
1632 uarg[0] = (intptr_t)p->set; /* sigset_t * */
1638 struct sigtimedwait_args *p = params;
1639 uarg[0] = (intptr_t)p->set; /* const sigset_t * */
1640 uarg[1] = (intptr_t)p->info; /* siginfo_t * */
1641 uarg[2] = (intptr_t)p->timeout; /* const struct timespec * */
1647 struct sigwaitinfo_args *p = params;
1648 uarg[0] = (intptr_t)p->set; /* const sigset_t * */
1649 uarg[1] = (intptr_t)p->info; /* siginfo_t * */
1653 /* __acl_get_file */
1655 struct __acl_get_file_args *p = params;
1656 uarg[0] = (intptr_t)p->path; /* const char * */
1657 iarg[1] = p->type; /* acl_type_t */
1658 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
1662 /* __acl_set_file */
1664 struct __acl_set_file_args *p = params;
1665 uarg[0] = (intptr_t)p->path; /* const char * */
1666 iarg[1] = p->type; /* acl_type_t */
1667 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
1673 struct __acl_get_fd_args *p = params;
1674 iarg[0] = p->filedes; /* int */
1675 iarg[1] = p->type; /* acl_type_t */
1676 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
1682 struct __acl_set_fd_args *p = params;
1683 iarg[0] = p->filedes; /* int */
1684 iarg[1] = p->type; /* acl_type_t */
1685 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
1689 /* __acl_delete_file */
1691 struct __acl_delete_file_args *p = params;
1692 uarg[0] = (intptr_t)p->path; /* const char * */
1693 iarg[1] = p->type; /* acl_type_t */
1697 /* __acl_delete_fd */
1699 struct __acl_delete_fd_args *p = params;
1700 iarg[0] = p->filedes; /* int */
1701 iarg[1] = p->type; /* acl_type_t */
1705 /* __acl_aclcheck_file */
1707 struct __acl_aclcheck_file_args *p = params;
1708 uarg[0] = (intptr_t)p->path; /* const char * */
1709 iarg[1] = p->type; /* acl_type_t */
1710 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
1714 /* __acl_aclcheck_fd */
1716 struct __acl_aclcheck_fd_args *p = params;
1717 iarg[0] = p->filedes; /* int */
1718 iarg[1] = p->type; /* acl_type_t */
1719 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
1725 struct extattrctl_args *p = params;
1726 uarg[0] = (intptr_t)p->path; /* const char * */
1727 iarg[1] = p->cmd; /* int */
1728 uarg[2] = (intptr_t)p->filename; /* const char * */
1729 iarg[3] = p->attrnamespace; /* int */
1730 uarg[4] = (intptr_t)p->attrname; /* const char * */
1734 /* extattr_set_file */
1736 struct extattr_set_file_args *p = params;
1737 uarg[0] = (intptr_t)p->path; /* const char * */
1738 iarg[1] = p->attrnamespace; /* int */
1739 uarg[2] = (intptr_t)p->attrname; /* const char * */
1740 uarg[3] = (intptr_t)p->data; /* void * */
1741 uarg[4] = p->nbytes; /* size_t */
1745 /* extattr_get_file */
1747 struct extattr_get_file_args *p = params;
1748 uarg[0] = (intptr_t)p->path; /* const char * */
1749 iarg[1] = p->attrnamespace; /* int */
1750 uarg[2] = (intptr_t)p->attrname; /* const char * */
1751 uarg[3] = (intptr_t)p->data; /* void * */
1752 uarg[4] = p->nbytes; /* size_t */
1756 /* extattr_delete_file */
1758 struct extattr_delete_file_args *p = params;
1759 uarg[0] = (intptr_t)p->path; /* const char * */
1760 iarg[1] = p->attrnamespace; /* int */
1761 uarg[2] = (intptr_t)p->attrname; /* const char * */
1765 /* aio_waitcomplete */
1767 struct aio_waitcomplete_args *p = params;
1768 uarg[0] = (intptr_t)p->aiocbp; /* struct aiocb ** */
1769 uarg[1] = (intptr_t)p->timeout; /* struct timespec * */
1775 struct getresuid_args *p = params;
1776 uarg[0] = (intptr_t)p->ruid; /* uid_t * */
1777 uarg[1] = (intptr_t)p->euid; /* uid_t * */
1778 uarg[2] = (intptr_t)p->suid; /* uid_t * */
1784 struct getresgid_args *p = params;
1785 uarg[0] = (intptr_t)p->rgid; /* gid_t * */
1786 uarg[1] = (intptr_t)p->egid; /* gid_t * */
1787 uarg[2] = (intptr_t)p->sgid; /* gid_t * */
1796 /* extattr_set_fd */
1798 struct extattr_set_fd_args *p = params;
1799 iarg[0] = p->fd; /* int */
1800 iarg[1] = p->attrnamespace; /* int */
1801 uarg[2] = (intptr_t)p->attrname; /* const char * */
1802 uarg[3] = (intptr_t)p->data; /* void * */
1803 uarg[4] = p->nbytes; /* size_t */
1807 /* extattr_get_fd */
1809 struct extattr_get_fd_args *p = params;
1810 iarg[0] = p->fd; /* int */
1811 iarg[1] = p->attrnamespace; /* int */
1812 uarg[2] = (intptr_t)p->attrname; /* const char * */
1813 uarg[3] = (intptr_t)p->data; /* void * */
1814 uarg[4] = p->nbytes; /* size_t */
1818 /* extattr_delete_fd */
1820 struct extattr_delete_fd_args *p = params;
1821 iarg[0] = p->fd; /* int */
1822 iarg[1] = p->attrnamespace; /* int */
1823 uarg[2] = (intptr_t)p->attrname; /* const char * */
1829 struct __setugid_args *p = params;
1830 iarg[0] = p->flag; /* int */
1836 struct eaccess_args *p = params;
1837 uarg[0] = (intptr_t)p->path; /* const char * */
1838 iarg[1] = p->amode; /* int */
1844 struct afs3_syscall_args *p = params;
1845 iarg[0] = p->syscall; /* long */
1846 iarg[1] = p->parm1; /* long */
1847 iarg[2] = p->parm2; /* long */
1848 iarg[3] = p->parm3; /* long */
1849 iarg[4] = p->parm4; /* long */
1850 iarg[5] = p->parm5; /* long */
1851 iarg[6] = p->parm6; /* long */
1857 struct nmount_args *p = params;
1858 uarg[0] = (intptr_t)p->iovp; /* struct iovec * */
1859 uarg[1] = p->iovcnt; /* unsigned int */
1860 iarg[2] = p->flags; /* int */
1864 /* __mac_get_proc */
1866 struct __mac_get_proc_args *p = params;
1867 uarg[0] = (intptr_t)p->mac_p; /* struct mac * */
1871 /* __mac_set_proc */
1873 struct __mac_set_proc_args *p = params;
1874 uarg[0] = (intptr_t)p->mac_p; /* struct mac * */
1880 struct __mac_get_fd_args *p = params;
1881 iarg[0] = p->fd; /* int */
1882 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
1886 /* __mac_get_file */
1888 struct __mac_get_file_args *p = params;
1889 uarg[0] = (intptr_t)p->path_p; /* const char * */
1890 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
1896 struct __mac_set_fd_args *p = params;
1897 iarg[0] = p->fd; /* int */
1898 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
1902 /* __mac_set_file */
1904 struct __mac_set_file_args *p = params;
1905 uarg[0] = (intptr_t)p->path_p; /* const char * */
1906 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
1912 struct kenv_args *p = params;
1913 iarg[0] = p->what; /* int */
1914 uarg[1] = (intptr_t)p->name; /* const char * */
1915 uarg[2] = (intptr_t)p->value; /* char * */
1916 iarg[3] = p->len; /* int */
1922 struct lchflags_args *p = params;
1923 uarg[0] = (intptr_t)p->path; /* const char * */
1924 uarg[1] = p->flags; /* u_long */
1930 struct uuidgen_args *p = params;
1931 uarg[0] = (intptr_t)p->store; /* struct uuid * */
1932 iarg[1] = p->count; /* int */
1938 struct sendfile_args *p = params;
1939 iarg[0] = p->fd; /* int */
1940 iarg[1] = p->s; /* int */
1941 iarg[2] = p->offset; /* off_t */
1942 uarg[3] = p->nbytes; /* size_t */
1943 uarg[4] = (intptr_t)p->hdtr; /* struct sf_hdtr * */
1944 uarg[5] = (intptr_t)p->sbytes; /* off_t * */
1945 iarg[6] = p->flags; /* int */
1951 struct mac_syscall_args *p = params;
1952 uarg[0] = (intptr_t)p->policy; /* const char * */
1953 iarg[1] = p->call; /* int */
1954 uarg[2] = (intptr_t)p->arg; /* void * */
1960 struct ksem_close_args *p = params;
1961 iarg[0] = p->id; /* semid_t */
1967 struct ksem_post_args *p = params;
1968 iarg[0] = p->id; /* semid_t */
1974 struct ksem_wait_args *p = params;
1975 iarg[0] = p->id; /* semid_t */
1981 struct ksem_trywait_args *p = params;
1982 iarg[0] = p->id; /* semid_t */
1988 struct ksem_init_args *p = params;
1989 uarg[0] = (intptr_t)p->idp; /* semid_t * */
1990 uarg[1] = p->value; /* unsigned int */
1996 struct ksem_open_args *p = params;
1997 uarg[0] = (intptr_t)p->idp; /* semid_t * */
1998 uarg[1] = (intptr_t)p->name; /* const char * */
1999 iarg[2] = p->oflag; /* int */
2000 iarg[3] = p->mode; /* mode_t */
2001 uarg[4] = p->value; /* unsigned int */
2007 struct ksem_unlink_args *p = params;
2008 uarg[0] = (intptr_t)p->name; /* const char * */
2014 struct ksem_getvalue_args *p = params;
2015 iarg[0] = p->id; /* semid_t */
2016 uarg[1] = (intptr_t)p->val; /* int * */
2022 struct ksem_destroy_args *p = params;
2023 iarg[0] = p->id; /* semid_t */
2029 struct __mac_get_pid_args *p = params;
2030 iarg[0] = p->pid; /* pid_t */
2031 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
2035 /* __mac_get_link */
2037 struct __mac_get_link_args *p = params;
2038 uarg[0] = (intptr_t)p->path_p; /* const char * */
2039 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
2043 /* __mac_set_link */
2045 struct __mac_set_link_args *p = params;
2046 uarg[0] = (intptr_t)p->path_p; /* const char * */
2047 uarg[1] = (intptr_t)p->mac_p; /* struct mac * */
2051 /* extattr_set_link */
2053 struct extattr_set_link_args *p = params;
2054 uarg[0] = (intptr_t)p->path; /* const char * */
2055 iarg[1] = p->attrnamespace; /* int */
2056 uarg[2] = (intptr_t)p->attrname; /* const char * */
2057 uarg[3] = (intptr_t)p->data; /* void * */
2058 uarg[4] = p->nbytes; /* size_t */
2062 /* extattr_get_link */
2064 struct extattr_get_link_args *p = params;
2065 uarg[0] = (intptr_t)p->path; /* const char * */
2066 iarg[1] = p->attrnamespace; /* int */
2067 uarg[2] = (intptr_t)p->attrname; /* const char * */
2068 uarg[3] = (intptr_t)p->data; /* void * */
2069 uarg[4] = p->nbytes; /* size_t */
2073 /* extattr_delete_link */
2075 struct extattr_delete_link_args *p = params;
2076 uarg[0] = (intptr_t)p->path; /* const char * */
2077 iarg[1] = p->attrnamespace; /* int */
2078 uarg[2] = (intptr_t)p->attrname; /* const char * */
2084 struct __mac_execve_args *p = params;
2085 uarg[0] = (intptr_t)p->fname; /* const char * */
2086 uarg[1] = (intptr_t)p->argv; /* char ** */
2087 uarg[2] = (intptr_t)p->envv; /* char ** */
2088 uarg[3] = (intptr_t)p->mac_p; /* struct mac * */
2094 struct sigaction_args *p = params;
2095 iarg[0] = p->sig; /* int */
2096 uarg[1] = (intptr_t)p->act; /* const struct sigaction * */
2097 uarg[2] = (intptr_t)p->oact; /* struct sigaction * */
2103 struct sigreturn_args *p = params;
2104 uarg[0] = (intptr_t)p->sigcntxp; /* const struct __ucontext * */
2110 struct getcontext_args *p = params;
2111 uarg[0] = (intptr_t)p->ucp; /* struct __ucontext * */
2117 struct setcontext_args *p = params;
2118 uarg[0] = (intptr_t)p->ucp; /* const struct __ucontext * */
2124 struct swapcontext_args *p = params;
2125 uarg[0] = (intptr_t)p->oucp; /* struct __ucontext * */
2126 uarg[1] = (intptr_t)p->ucp; /* const struct __ucontext * */
2130 /* freebsd13_swapoff */
2132 struct freebsd13_swapoff_args *p = params;
2133 uarg[0] = (intptr_t)p->name; /* const char * */
2137 /* __acl_get_link */
2139 struct __acl_get_link_args *p = params;
2140 uarg[0] = (intptr_t)p->path; /* const char * */
2141 iarg[1] = p->type; /* acl_type_t */
2142 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
2146 /* __acl_set_link */
2148 struct __acl_set_link_args *p = params;
2149 uarg[0] = (intptr_t)p->path; /* const char * */
2150 iarg[1] = p->type; /* acl_type_t */
2151 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
2155 /* __acl_delete_link */
2157 struct __acl_delete_link_args *p = params;
2158 uarg[0] = (intptr_t)p->path; /* const char * */
2159 iarg[1] = p->type; /* acl_type_t */
2163 /* __acl_aclcheck_link */
2165 struct __acl_aclcheck_link_args *p = params;
2166 uarg[0] = (intptr_t)p->path; /* const char * */
2167 iarg[1] = p->type; /* acl_type_t */
2168 uarg[2] = (intptr_t)p->aclp; /* struct acl * */
2174 struct sigwait_args *p = params;
2175 uarg[0] = (intptr_t)p->set; /* const sigset_t * */
2176 uarg[1] = (intptr_t)p->sig; /* int * */
2182 struct thr_create_args *p = params;
2183 uarg[0] = (intptr_t)p->ctx; /* ucontext_t * */
2184 uarg[1] = (intptr_t)p->id; /* long * */
2185 iarg[2] = p->flags; /* int */
2191 struct thr_exit_args *p = params;
2192 uarg[0] = (intptr_t)p->state; /* long * */
2198 struct thr_self_args *p = params;
2199 uarg[0] = (intptr_t)p->id; /* long * */
2205 struct thr_kill_args *p = params;
2206 iarg[0] = p->id; /* long */
2207 iarg[1] = p->sig; /* int */
2213 struct jail_attach_args *p = params;
2214 iarg[0] = p->jid; /* int */
2218 /* extattr_list_fd */
2220 struct extattr_list_fd_args *p = params;
2221 iarg[0] = p->fd; /* int */
2222 iarg[1] = p->attrnamespace; /* int */
2223 uarg[2] = (intptr_t)p->data; /* void * */
2224 uarg[3] = p->nbytes; /* size_t */
2228 /* extattr_list_file */
2230 struct extattr_list_file_args *p = params;
2231 uarg[0] = (intptr_t)p->path; /* const char * */
2232 iarg[1] = p->attrnamespace; /* int */
2233 uarg[2] = (intptr_t)p->data; /* void * */
2234 uarg[3] = p->nbytes; /* size_t */
2238 /* extattr_list_link */
2240 struct extattr_list_link_args *p = params;
2241 uarg[0] = (intptr_t)p->path; /* const char * */
2242 iarg[1] = p->attrnamespace; /* int */
2243 uarg[2] = (intptr_t)p->data; /* void * */
2244 uarg[3] = p->nbytes; /* size_t */
2248 /* ksem_timedwait */
2250 struct ksem_timedwait_args *p = params;
2251 iarg[0] = p->id; /* semid_t */
2252 uarg[1] = (intptr_t)p->abstime; /* const struct timespec * */
2258 struct thr_suspend_args *p = params;
2259 uarg[0] = (intptr_t)p->timeout; /* const struct timespec * */
2265 struct thr_wake_args *p = params;
2266 iarg[0] = p->id; /* long */
2272 struct kldunloadf_args *p = params;
2273 iarg[0] = p->fileid; /* int */
2274 iarg[1] = p->flags; /* int */
2280 struct audit_args *p = params;
2281 uarg[0] = (intptr_t)p->record; /* const void * */
2282 uarg[1] = p->length; /* u_int */
2288 struct auditon_args *p = params;
2289 iarg[0] = p->cmd; /* int */
2290 uarg[1] = (intptr_t)p->data; /* void * */
2291 uarg[2] = p->length; /* u_int */
2297 struct getauid_args *p = params;
2298 uarg[0] = (intptr_t)p->auid; /* uid_t * */
2304 struct setauid_args *p = params;
2305 uarg[0] = (intptr_t)p->auid; /* uid_t * */
2311 struct getaudit_args *p = params;
2312 uarg[0] = (intptr_t)p->auditinfo; /* struct auditinfo * */
2318 struct setaudit_args *p = params;
2319 uarg[0] = (intptr_t)p->auditinfo; /* struct auditinfo * */
2325 struct getaudit_addr_args *p = params;
2326 uarg[0] = (intptr_t)p->auditinfo_addr; /* struct auditinfo_addr * */
2327 uarg[1] = p->length; /* u_int */
2333 struct setaudit_addr_args *p = params;
2334 uarg[0] = (intptr_t)p->auditinfo_addr; /* struct auditinfo_addr * */
2335 uarg[1] = p->length; /* u_int */
2341 struct auditctl_args *p = params;
2342 uarg[0] = (intptr_t)p->path; /* const char * */
2348 struct _umtx_op_args *p = params;
2349 uarg[0] = (intptr_t)p->obj; /* void * */
2350 iarg[1] = p->op; /* int */
2351 uarg[2] = p->val; /* u_long */
2352 uarg[3] = (intptr_t)p->uaddr1; /* void * */
2353 uarg[4] = (intptr_t)p->uaddr2; /* void * */
2359 struct thr_new_args *p = params;
2360 uarg[0] = (intptr_t)p->param; /* struct thr_param * */
2361 iarg[1] = p->param_size; /* int */
2367 struct sigqueue_args *p = params;
2368 iarg[0] = p->pid; /* pid_t */
2369 iarg[1] = p->signum; /* int */
2370 uarg[2] = (intptr_t)p->value; /* void * */
2376 struct kmq_open_args *p = params;
2377 uarg[0] = (intptr_t)p->path; /* const char * */
2378 iarg[1] = p->flags; /* int */
2379 iarg[2] = p->mode; /* mode_t */
2380 uarg[3] = (intptr_t)p->attr; /* const struct mq_attr * */
2386 struct kmq_setattr_args *p = params;
2387 iarg[0] = p->mqd; /* int */
2388 uarg[1] = (intptr_t)p->attr; /* const struct mq_attr * */
2389 uarg[2] = (intptr_t)p->oattr; /* struct mq_attr * */
2393 /* kmq_timedreceive */
2395 struct kmq_timedreceive_args *p = params;
2396 iarg[0] = p->mqd; /* int */
2397 uarg[1] = (intptr_t)p->msg_ptr; /* char * */
2398 uarg[2] = p->msg_len; /* size_t */
2399 uarg[3] = (intptr_t)p->msg_prio; /* unsigned * */
2400 uarg[4] = (intptr_t)p->abs_timeout; /* const struct timespec * */
2406 struct kmq_timedsend_args *p = params;
2407 iarg[0] = p->mqd; /* int */
2408 uarg[1] = (intptr_t)p->msg_ptr; /* const char * */
2409 uarg[2] = p->msg_len; /* size_t */
2410 uarg[3] = p->msg_prio; /* unsigned */
2411 uarg[4] = (intptr_t)p->abs_timeout; /* const struct timespec * */
2417 struct kmq_notify_args *p = params;
2418 iarg[0] = p->mqd; /* int */
2419 uarg[1] = (intptr_t)p->sigev; /* const struct sigevent * */
2425 struct kmq_unlink_args *p = params;
2426 uarg[0] = (intptr_t)p->path; /* const char * */
2432 struct abort2_args *p = params;
2433 uarg[0] = (intptr_t)p->why; /* const char * */
2434 iarg[1] = p->nargs; /* int */
2435 uarg[2] = (intptr_t)p->args; /* void ** */
2441 struct thr_set_name_args *p = params;
2442 iarg[0] = p->id; /* long */
2443 uarg[1] = (intptr_t)p->name; /* const char * */
2449 struct aio_fsync_args *p = params;
2450 iarg[0] = p->op; /* int */
2451 uarg[1] = (intptr_t)p->aiocbp; /* struct aiocb * */
2457 struct rtprio_thread_args *p = params;
2458 iarg[0] = p->function; /* int */
2459 iarg[1] = p->lwpid; /* lwpid_t */
2460 uarg[2] = (intptr_t)p->rtp; /* struct rtprio * */
2466 struct sctp_peeloff_args *p = params;
2467 iarg[0] = p->sd; /* int */
2468 uarg[1] = p->name; /* uint32_t */
2472 /* sctp_generic_sendmsg */
2474 struct sctp_generic_sendmsg_args *p = params;
2475 iarg[0] = p->sd; /* int */
2476 uarg[1] = (intptr_t)p->msg; /* void * */
2477 iarg[2] = p->mlen; /* int */
2478 uarg[3] = (intptr_t)p->to; /* struct sockaddr * */
2479 iarg[4] = p->tolen; /* __socklen_t */
2480 uarg[5] = (intptr_t)p->sinfo; /* struct sctp_sndrcvinfo * */
2481 iarg[6] = p->flags; /* int */
2485 /* sctp_generic_sendmsg_iov */
2487 struct sctp_generic_sendmsg_iov_args *p = params;
2488 iarg[0] = p->sd; /* int */
2489 uarg[1] = (intptr_t)p->iov; /* struct iovec * */
2490 iarg[2] = p->iovlen; /* int */
2491 uarg[3] = (intptr_t)p->to; /* struct sockaddr * */
2492 iarg[4] = p->tolen; /* __socklen_t */
2493 uarg[5] = (intptr_t)p->sinfo; /* struct sctp_sndrcvinfo * */
2494 iarg[6] = p->flags; /* int */
2498 /* sctp_generic_recvmsg */
2500 struct sctp_generic_recvmsg_args *p = params;
2501 iarg[0] = p->sd; /* int */
2502 uarg[1] = (intptr_t)p->iov; /* struct iovec * */
2503 iarg[2] = p->iovlen; /* int */
2504 uarg[3] = (intptr_t)p->from; /* struct sockaddr * */
2505 uarg[4] = (intptr_t)p->fromlenaddr; /* __socklen_t * */
2506 uarg[5] = (intptr_t)p->sinfo; /* struct sctp_sndrcvinfo * */
2507 uarg[6] = (intptr_t)p->msg_flags; /* int * */
2513 struct pread_args *p = params;
2514 iarg[0] = p->fd; /* int */
2515 uarg[1] = (intptr_t)p->buf; /* void * */
2516 uarg[2] = p->nbyte; /* size_t */
2517 iarg[3] = p->offset; /* off_t */
2523 struct pwrite_args *p = params;
2524 iarg[0] = p->fd; /* int */
2525 uarg[1] = (intptr_t)p->buf; /* const void * */
2526 uarg[2] = p->nbyte; /* size_t */
2527 iarg[3] = p->offset; /* off_t */
2533 struct mmap_args *p = params;
2534 uarg[0] = (intptr_t)p->addr; /* void * */
2535 uarg[1] = p->len; /* size_t */
2536 iarg[2] = p->prot; /* int */
2537 iarg[3] = p->flags; /* int */
2538 iarg[4] = p->fd; /* int */
2539 iarg[5] = p->pos; /* off_t */
2545 struct lseek_args *p = params;
2546 iarg[0] = p->fd; /* int */
2547 iarg[1] = p->offset; /* off_t */
2548 iarg[2] = p->whence; /* int */
2554 struct truncate_args *p = params;
2555 uarg[0] = (intptr_t)p->path; /* const char * */
2556 iarg[1] = p->length; /* off_t */
2562 struct ftruncate_args *p = params;
2563 iarg[0] = p->fd; /* int */
2564 iarg[1] = p->length; /* off_t */
2570 struct thr_kill2_args *p = params;
2571 iarg[0] = p->pid; /* pid_t */
2572 iarg[1] = p->id; /* long */
2573 iarg[2] = p->sig; /* int */
2579 struct shm_unlink_args *p = params;
2580 uarg[0] = (intptr_t)p->path; /* const char * */
2586 struct cpuset_args *p = params;
2587 uarg[0] = (intptr_t)p->setid; /* cpusetid_t * */
2593 struct cpuset_setid_args *p = params;
2594 iarg[0] = p->which; /* cpuwhich_t */
2595 iarg[1] = p->id; /* id_t */
2596 iarg[2] = p->setid; /* cpusetid_t */
2602 struct cpuset_getid_args *p = params;
2603 iarg[0] = p->level; /* cpulevel_t */
2604 iarg[1] = p->which; /* cpuwhich_t */
2605 iarg[2] = p->id; /* id_t */
2606 uarg[3] = (intptr_t)p->setid; /* cpusetid_t * */
2610 /* cpuset_getaffinity */
2612 struct cpuset_getaffinity_args *p = params;
2613 iarg[0] = p->level; /* cpulevel_t */
2614 iarg[1] = p->which; /* cpuwhich_t */
2615 iarg[2] = p->id; /* id_t */
2616 uarg[3] = p->cpusetsize; /* size_t */
2617 uarg[4] = (intptr_t)p->mask; /* cpuset_t * */
2621 /* cpuset_setaffinity */
2623 struct cpuset_setaffinity_args *p = params;
2624 iarg[0] = p->level; /* cpulevel_t */
2625 iarg[1] = p->which; /* cpuwhich_t */
2626 iarg[2] = p->id; /* id_t */
2627 uarg[3] = p->cpusetsize; /* size_t */
2628 uarg[4] = (intptr_t)p->mask; /* const cpuset_t * */
2634 struct faccessat_args *p = params;
2635 iarg[0] = p->fd; /* int */
2636 uarg[1] = (intptr_t)p->path; /* const char * */
2637 iarg[2] = p->amode; /* int */
2638 iarg[3] = p->flag; /* int */
2644 struct fchmodat_args *p = params;
2645 iarg[0] = p->fd; /* int */
2646 uarg[1] = (intptr_t)p->path; /* const char * */
2647 iarg[2] = p->mode; /* mode_t */
2648 iarg[3] = p->flag; /* int */
2654 struct fchownat_args *p = params;
2655 iarg[0] = p->fd; /* int */
2656 uarg[1] = (intptr_t)p->path; /* const char * */
2657 uarg[2] = p->uid; /* uid_t */
2658 iarg[3] = p->gid; /* gid_t */
2659 iarg[4] = p->flag; /* int */
2665 struct fexecve_args *p = params;
2666 iarg[0] = p->fd; /* int */
2667 uarg[1] = (intptr_t)p->argv; /* char ** */
2668 uarg[2] = (intptr_t)p->envv; /* char ** */
2674 struct futimesat_args *p = params;
2675 iarg[0] = p->fd; /* int */
2676 uarg[1] = (intptr_t)p->path; /* const char * */
2677 uarg[2] = (intptr_t)p->times; /* struct timeval * */
2683 struct linkat_args *p = params;
2684 iarg[0] = p->fd1; /* int */
2685 uarg[1] = (intptr_t)p->path1; /* const char * */
2686 iarg[2] = p->fd2; /* int */
2687 uarg[3] = (intptr_t)p->path2; /* const char * */
2688 iarg[4] = p->flag; /* int */
2694 struct mkdirat_args *p = params;
2695 iarg[0] = p->fd; /* int */
2696 uarg[1] = (intptr_t)p->path; /* const char * */
2697 iarg[2] = p->mode; /* mode_t */
2703 struct mkfifoat_args *p = params;
2704 iarg[0] = p->fd; /* int */
2705 uarg[1] = (intptr_t)p->path; /* const char * */
2706 iarg[2] = p->mode; /* mode_t */
2712 struct openat_args *p = params;
2713 iarg[0] = p->fd; /* int */
2714 uarg[1] = (intptr_t)p->path; /* const char * */
2715 iarg[2] = p->flag; /* int */
2716 iarg[3] = p->mode; /* mode_t */
2722 struct readlinkat_args *p = params;
2723 iarg[0] = p->fd; /* int */
2724 uarg[1] = (intptr_t)p->path; /* const char * */
2725 uarg[2] = (intptr_t)p->buf; /* char * */
2726 uarg[3] = p->bufsize; /* size_t */
2732 struct renameat_args *p = params;
2733 iarg[0] = p->oldfd; /* int */
2734 uarg[1] = (intptr_t)p->old; /* const char * */
2735 iarg[2] = p->newfd; /* int */
2736 uarg[3] = (intptr_t)p->new; /* const char * */
2742 struct symlinkat_args *p = params;
2743 uarg[0] = (intptr_t)p->path1; /* const char * */
2744 iarg[1] = p->fd; /* int */
2745 uarg[2] = (intptr_t)p->path2; /* const char * */
2751 struct unlinkat_args *p = params;
2752 iarg[0] = p->fd; /* int */
2753 uarg[1] = (intptr_t)p->path; /* const char * */
2754 iarg[2] = p->flag; /* int */
2760 struct posix_openpt_args *p = params;
2761 iarg[0] = p->flags; /* int */
2767 struct gssd_syscall_args *p = params;
2768 uarg[0] = (intptr_t)p->path; /* const char * */
2774 struct jail_get_args *p = params;
2775 uarg[0] = (intptr_t)p->iovp; /* struct iovec * */
2776 uarg[1] = p->iovcnt; /* unsigned int */
2777 iarg[2] = p->flags; /* int */
2783 struct jail_set_args *p = params;
2784 uarg[0] = (intptr_t)p->iovp; /* struct iovec * */
2785 uarg[1] = p->iovcnt; /* unsigned int */
2786 iarg[2] = p->flags; /* int */
2792 struct jail_remove_args *p = params;
2793 iarg[0] = p->jid; /* int */
2799 struct __semctl_args *p = params;
2800 iarg[0] = p->semid; /* int */
2801 iarg[1] = p->semnum; /* int */
2802 iarg[2] = p->cmd; /* int */
2803 uarg[3] = (intptr_t)p->arg; /* union semun * */
2809 struct msgctl_args *p = params;
2810 iarg[0] = p->msqid; /* int */
2811 iarg[1] = p->cmd; /* int */
2812 uarg[2] = (intptr_t)p->buf; /* struct msqid_ds * */
2818 struct shmctl_args *p = params;
2819 iarg[0] = p->shmid; /* int */
2820 iarg[1] = p->cmd; /* int */
2821 uarg[2] = (intptr_t)p->buf; /* struct shmid_ds * */
2827 struct lpathconf_args *p = params;
2828 uarg[0] = (intptr_t)p->path; /* const char * */
2829 iarg[1] = p->name; /* int */
2833 /* __cap_rights_get */
2835 struct __cap_rights_get_args *p = params;
2836 iarg[0] = p->version; /* int */
2837 iarg[1] = p->fd; /* int */
2838 uarg[2] = (intptr_t)p->rightsp; /* cap_rights_t * */
2849 struct cap_getmode_args *p = params;
2850 uarg[0] = (intptr_t)p->modep; /* u_int * */
2856 struct pdfork_args *p = params;
2857 uarg[0] = (intptr_t)p->fdp; /* int * */
2858 iarg[1] = p->flags; /* int */
2864 struct pdkill_args *p = params;
2865 iarg[0] = p->fd; /* int */
2866 iarg[1] = p->signum; /* int */
2872 struct pdgetpid_args *p = params;
2873 iarg[0] = p->fd; /* int */
2874 uarg[1] = (intptr_t)p->pidp; /* pid_t * */
2880 struct pselect_args *p = params;
2881 iarg[0] = p->nd; /* int */
2882 uarg[1] = (intptr_t)p->in; /* fd_set * */
2883 uarg[2] = (intptr_t)p->ou; /* fd_set * */
2884 uarg[3] = (intptr_t)p->ex; /* fd_set * */
2885 uarg[4] = (intptr_t)p->ts; /* const struct timespec * */
2886 uarg[5] = (intptr_t)p->sm; /* const sigset_t * */
2892 struct getloginclass_args *p = params;
2893 uarg[0] = (intptr_t)p->namebuf; /* char * */
2894 uarg[1] = p->namelen; /* size_t */
2900 struct setloginclass_args *p = params;
2901 uarg[0] = (intptr_t)p->namebuf; /* const char * */
2905 /* rctl_get_racct */
2907 struct rctl_get_racct_args *p = params;
2908 uarg[0] = (intptr_t)p->inbufp; /* const void * */
2909 uarg[1] = p->inbuflen; /* size_t */
2910 uarg[2] = (intptr_t)p->outbufp; /* void * */
2911 uarg[3] = p->outbuflen; /* size_t */
2915 /* rctl_get_rules */
2917 struct rctl_get_rules_args *p = params;
2918 uarg[0] = (intptr_t)p->inbufp; /* const void * */
2919 uarg[1] = p->inbuflen; /* size_t */
2920 uarg[2] = (intptr_t)p->outbufp; /* void * */
2921 uarg[3] = p->outbuflen; /* size_t */
2925 /* rctl_get_limits */
2927 struct rctl_get_limits_args *p = params;
2928 uarg[0] = (intptr_t)p->inbufp; /* const void * */
2929 uarg[1] = p->inbuflen; /* size_t */
2930 uarg[2] = (intptr_t)p->outbufp; /* void * */
2931 uarg[3] = p->outbuflen; /* size_t */
2937 struct rctl_add_rule_args *p = params;
2938 uarg[0] = (intptr_t)p->inbufp; /* const void * */
2939 uarg[1] = p->inbuflen; /* size_t */
2940 uarg[2] = (intptr_t)p->outbufp; /* void * */
2941 uarg[3] = p->outbuflen; /* size_t */
2945 /* rctl_remove_rule */
2947 struct rctl_remove_rule_args *p = params;
2948 uarg[0] = (intptr_t)p->inbufp; /* const void * */
2949 uarg[1] = p->inbuflen; /* size_t */
2950 uarg[2] = (intptr_t)p->outbufp; /* void * */
2951 uarg[3] = p->outbuflen; /* size_t */
2955 /* posix_fallocate */
2957 struct posix_fallocate_args *p = params;
2958 iarg[0] = p->fd; /* int */
2959 iarg[1] = p->offset; /* off_t */
2960 iarg[2] = p->len; /* off_t */
2966 struct posix_fadvise_args *p = params;
2967 iarg[0] = p->fd; /* int */
2968 iarg[1] = p->offset; /* off_t */
2969 iarg[2] = p->len; /* off_t */
2970 iarg[3] = p->advice; /* int */
2976 struct wait6_args *p = params;
2977 iarg[0] = p->idtype; /* idtype_t */
2978 iarg[1] = p->id; /* id_t */
2979 uarg[2] = (intptr_t)p->status; /* int * */
2980 iarg[3] = p->options; /* int */
2981 uarg[4] = (intptr_t)p->wrusage; /* struct __wrusage * */
2982 uarg[5] = (intptr_t)p->info; /* siginfo_t * */
2986 /* cap_rights_limit */
2988 struct cap_rights_limit_args *p = params;
2989 iarg[0] = p->fd; /* int */
2990 uarg[1] = (intptr_t)p->rightsp; /* cap_rights_t * */
2994 /* cap_ioctls_limit */
2996 struct cap_ioctls_limit_args *p = params;
2997 iarg[0] = p->fd; /* int */
2998 uarg[1] = (intptr_t)p->cmds; /* const u_long * */
2999 uarg[2] = p->ncmds; /* size_t */
3003 /* cap_ioctls_get */
3005 struct cap_ioctls_get_args *p = params;
3006 iarg[0] = p->fd; /* int */
3007 uarg[1] = (intptr_t)p->cmds; /* u_long * */
3008 uarg[2] = p->maxcmds; /* size_t */
3012 /* cap_fcntls_limit */
3014 struct cap_fcntls_limit_args *p = params;
3015 iarg[0] = p->fd; /* int */
3016 uarg[1] = p->fcntlrights; /* uint32_t */
3020 /* cap_fcntls_get */
3022 struct cap_fcntls_get_args *p = params;
3023 iarg[0] = p->fd; /* int */
3024 uarg[1] = (intptr_t)p->fcntlrightsp; /* uint32_t * */
3030 struct bindat_args *p = params;
3031 iarg[0] = p->fd; /* int */
3032 iarg[1] = p->s; /* int */
3033 uarg[2] = (intptr_t)p->name; /* const struct sockaddr * */
3034 iarg[3] = p->namelen; /* int */
3040 struct connectat_args *p = params;
3041 iarg[0] = p->fd; /* int */
3042 iarg[1] = p->s; /* int */
3043 uarg[2] = (intptr_t)p->name; /* const struct sockaddr * */
3044 iarg[3] = p->namelen; /* int */
3050 struct chflagsat_args *p = params;
3051 iarg[0] = p->fd; /* int */
3052 uarg[1] = (intptr_t)p->path; /* const char * */
3053 uarg[2] = p->flags; /* u_long */
3054 iarg[3] = p->atflag; /* int */
3060 struct accept4_args *p = params;
3061 iarg[0] = p->s; /* int */
3062 uarg[1] = (intptr_t)p->name; /* struct sockaddr * */
3063 uarg[2] = (intptr_t)p->anamelen; /* __socklen_t * */
3064 iarg[3] = p->flags; /* int */
3070 struct pipe2_args *p = params;
3071 uarg[0] = (intptr_t)p->fildes; /* int * */
3072 iarg[1] = p->flags; /* int */
3078 struct aio_mlock_args *p = params;
3079 uarg[0] = (intptr_t)p->aiocbp; /* struct aiocb * */
3085 struct procctl_args *p = params;
3086 iarg[0] = p->idtype; /* idtype_t */
3087 iarg[1] = p->id; /* id_t */
3088 iarg[2] = p->com; /* int */
3089 uarg[3] = (intptr_t)p->data; /* void * */
3095 struct ppoll_args *p = params;
3096 uarg[0] = (intptr_t)p->fds; /* struct pollfd * */
3097 uarg[1] = p->nfds; /* u_int */
3098 uarg[2] = (intptr_t)p->ts; /* const struct timespec * */
3099 uarg[3] = (intptr_t)p->set; /* const sigset_t * */
3105 struct futimens_args *p = params;
3106 iarg[0] = p->fd; /* int */
3107 uarg[1] = (intptr_t)p->times; /* struct timespec * */
3113 struct utimensat_args *p = params;
3114 iarg[0] = p->fd; /* int */
3115 uarg[1] = (intptr_t)p->path; /* const char * */
3116 uarg[2] = (intptr_t)p->times; /* struct timespec * */
3117 iarg[3] = p->flag; /* int */
3123 struct fdatasync_args *p = params;
3124 iarg[0] = p->fd; /* int */
3130 struct fstat_args *p = params;
3131 iarg[0] = p->fd; /* int */
3132 uarg[1] = (intptr_t)p->sb; /* struct stat * */
3138 struct fstatat_args *p = params;
3139 iarg[0] = p->fd; /* int */
3140 uarg[1] = (intptr_t)p->path; /* const char * */
3141 uarg[2] = (intptr_t)p->buf; /* struct stat * */
3142 iarg[3] = p->flag; /* int */
3148 struct fhstat_args *p = params;
3149 uarg[0] = (intptr_t)p->u_fhp; /* const struct fhandle * */
3150 uarg[1] = (intptr_t)p->sb; /* struct stat * */
3156 struct getdirentries_args *p = params;
3157 iarg[0] = p->fd; /* int */
3158 uarg[1] = (intptr_t)p->buf; /* char * */
3159 uarg[2] = p->count; /* size_t */
3160 uarg[3] = (intptr_t)p->basep; /* off_t * */
3166 struct statfs_args *p = params;
3167 uarg[0] = (intptr_t)p->path; /* const char * */
3168 uarg[1] = (intptr_t)p->buf; /* struct statfs * */
3174 struct fstatfs_args *p = params;
3175 iarg[0] = p->fd; /* int */
3176 uarg[1] = (intptr_t)p->buf; /* struct statfs * */
3182 struct getfsstat_args *p = params;
3183 uarg[0] = (intptr_t)p->buf; /* struct statfs * */
3184 iarg[1] = p->bufsize; /* long */
3185 iarg[2] = p->mode; /* int */
3191 struct fhstatfs_args *p = params;
3192 uarg[0] = (intptr_t)p->u_fhp; /* const struct fhandle * */
3193 uarg[1] = (intptr_t)p->buf; /* struct statfs * */
3199 struct mknodat_args *p = params;
3200 iarg[0] = p->fd; /* int */
3201 uarg[1] = (intptr_t)p->path; /* const char * */
3202 iarg[2] = p->mode; /* mode_t */
3203 iarg[3] = p->dev; /* dev_t */
3209 struct kevent_args *p = params;
3210 iarg[0] = p->fd; /* int */
3211 uarg[1] = (intptr_t)p->changelist; /* struct kevent * */
3212 iarg[2] = p->nchanges; /* int */
3213 uarg[3] = (intptr_t)p->eventlist; /* struct kevent * */
3214 iarg[4] = p->nevents; /* int */
3215 uarg[5] = (intptr_t)p->timeout; /* const struct timespec * */
3219 /* cpuset_getdomain */
3221 struct cpuset_getdomain_args *p = params;
3222 iarg[0] = p->level; /* cpulevel_t */
3223 iarg[1] = p->which; /* cpuwhich_t */
3224 iarg[2] = p->id; /* id_t */
3225 uarg[3] = p->domainsetsize; /* size_t */
3226 uarg[4] = (intptr_t)p->mask; /* domainset_t * */
3227 uarg[5] = (intptr_t)p->policy; /* int * */
3231 /* cpuset_setdomain */
3233 struct cpuset_setdomain_args *p = params;
3234 iarg[0] = p->level; /* cpulevel_t */
3235 iarg[1] = p->which; /* cpuwhich_t */
3236 iarg[2] = p->id; /* id_t */
3237 uarg[3] = p->domainsetsize; /* size_t */
3238 uarg[4] = (intptr_t)p->mask; /* domainset_t * */
3239 iarg[5] = p->policy; /* int */
3245 struct getrandom_args *p = params;
3246 uarg[0] = (intptr_t)p->buf; /* void * */
3247 uarg[1] = p->buflen; /* size_t */
3248 uarg[2] = p->flags; /* unsigned int */
3254 struct getfhat_args *p = params;
3255 iarg[0] = p->fd; /* int */
3256 uarg[1] = (intptr_t)p->path; /* char * */
3257 uarg[2] = (intptr_t)p->fhp; /* struct fhandle * */
3258 iarg[3] = p->flags; /* int */
3264 struct fhlink_args *p = params;
3265 uarg[0] = (intptr_t)p->fhp; /* struct fhandle * */
3266 uarg[1] = (intptr_t)p->to; /* const char * */
3272 struct fhlinkat_args *p = params;
3273 uarg[0] = (intptr_t)p->fhp; /* struct fhandle * */
3274 iarg[1] = p->tofd; /* int */
3275 uarg[2] = (intptr_t)p->to; /* const char * */
3281 struct fhreadlink_args *p = params;
3282 uarg[0] = (intptr_t)p->fhp; /* struct fhandle * */
3283 uarg[1] = (intptr_t)p->buf; /* char * */
3284 uarg[2] = p->bufsize; /* size_t */
3290 struct funlinkat_args *p = params;
3291 iarg[0] = p->dfd; /* int */
3292 uarg[1] = (intptr_t)p->path; /* const char * */
3293 iarg[2] = p->fd; /* int */
3294 iarg[3] = p->flag; /* int */
3298 /* copy_file_range */
3300 struct copy_file_range_args *p = params;
3301 iarg[0] = p->infd; /* int */
3302 uarg[1] = (intptr_t)p->inoffp; /* off_t * */
3303 iarg[2] = p->outfd; /* int */
3304 uarg[3] = (intptr_t)p->outoffp; /* off_t * */
3305 uarg[4] = p->len; /* size_t */
3306 uarg[5] = p->flags; /* unsigned int */
3310 /* __sysctlbyname */
3312 struct __sysctlbyname_args *p = params;
3313 uarg[0] = (intptr_t)p->name; /* const char * */
3314 uarg[1] = p->namelen; /* size_t */
3315 uarg[2] = (intptr_t)p->old; /* void * */
3316 uarg[3] = (intptr_t)p->oldlenp; /* size_t * */
3317 uarg[4] = (intptr_t)p->new; /* void * */
3318 uarg[5] = p->newlen; /* size_t */
3324 struct shm_open2_args *p = params;
3325 uarg[0] = (intptr_t)p->path; /* const char * */
3326 iarg[1] = p->flags; /* int */
3327 iarg[2] = p->mode; /* mode_t */
3328 iarg[3] = p->shmflags; /* int */
3329 uarg[4] = (intptr_t)p->name; /* const char * */
3335 struct shm_rename_args *p = params;
3336 uarg[0] = (intptr_t)p->path_from; /* const char * */
3337 uarg[1] = (intptr_t)p->path_to; /* const char * */
3338 iarg[2] = p->flags; /* int */
3344 struct sigfastblock_args *p = params;
3345 iarg[0] = p->cmd; /* int */
3346 uarg[1] = (intptr_t)p->ptr; /* uint32_t * */
3352 struct __realpathat_args *p = params;
3353 iarg[0] = p->fd; /* int */
3354 uarg[1] = (intptr_t)p->path; /* const char * */
3355 uarg[2] = (intptr_t)p->buf; /* char * */
3356 uarg[3] = p->size; /* size_t */
3357 iarg[4] = p->flags; /* int */
3363 struct close_range_args *p = params;
3364 uarg[0] = p->lowfd; /* u_int */
3365 uarg[1] = p->highfd; /* u_int */
3366 iarg[2] = p->flags; /* int */
3370 /* rpctls_syscall */
3372 struct rpctls_syscall_args *p = params;
3373 iarg[0] = p->op; /* int */
3374 uarg[1] = (intptr_t)p->path; /* const char * */
3380 struct __specialfd_args *p = params;
3381 iarg[0] = p->type; /* int */
3382 uarg[1] = (intptr_t)p->req; /* const void * */
3383 uarg[2] = p->len; /* size_t */
3389 struct aio_writev_args *p = params;
3390 uarg[0] = (intptr_t)p->aiocbp; /* struct aiocb * */
3396 struct aio_readv_args *p = params;
3397 uarg[0] = (intptr_t)p->aiocbp; /* struct aiocb * */
3408 struct swapoff_args *p = params;
3409 uarg[0] = (intptr_t)p->name; /* const char * */
3410 uarg[1] = p->flags; /* u_int */
3416 struct kqueuex_args *p = params;
3417 uarg[0] = p->flags; /* u_int */
3423 struct membarrier_args *p = params;
3424 iarg[0] = p->cmd; /* int */
3425 uarg[1] = p->flags; /* unsigned */
3426 iarg[2] = p->cpu_id; /* int */
3436 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3438 const char *p = NULL;
3463 p = "userland void *";
3479 p = "userland const void *";
3492 p = "userland const char *";
3521 p = "userland int *";
3527 p = "userland struct rusage *";
3537 p = "userland const char *";
3540 p = "userland const char *";
3550 p = "userland const char *";
3560 p = "userland const char *";
3580 p = "userland const char *";
3593 p = "userland const char *";
3609 p = "userland char *";
3622 p = "userland const char *";
3625 p = "userland const char *";
3631 p = "userland void *";
3641 p = "userland const char *";
3692 p = "userland struct msghdr *";
3708 p = "userland struct msghdr *";
3724 p = "userland void *";
3733 p = "userland struct sockaddr *";
3736 p = "userland __socklen_t *";
3749 p = "userland struct sockaddr *";
3752 p = "userland __socklen_t *";
3765 p = "userland struct sockaddr *";
3768 p = "userland __socklen_t *";
3781 p = "userland struct sockaddr *";
3784 p = "userland __socklen_t *";
3794 p = "userland const char *";
3807 p = "userland const char *";
3865 p = "userland char *";
3884 p = "userland const char *";
3906 p = "userland char *";
3919 p = "userland const char *";
3929 p = "userland const char *";
3939 p = "userland stack_t *";
3942 p = "userland stack_t *";
3958 p = "userland char *";
3978 p = "userland const char *";
3988 p = "userland const char *";
3991 p = "userland const char *";
4001 p = "userland const char *";
4004 p = "userland char *";
4017 p = "userland const char *";
4020 p = "userland char **";
4023 p = "userland char **";
4043 p = "userland const char *";
4053 p = "userland void *";
4092 p = "userland void *";
4105 p = "userland void *";
4121 p = "userland void *";
4137 p = "userland const void *";
4143 p = "userland char *";
4156 p = "userland gid_t *";
4169 p = "userland gid_t *";
4198 p = "userland struct itimerval *";
4201 p = "userland struct itimerval *";
4211 p = "userland const char *";
4224 p = "userland struct itimerval *";
4269 p = "userland fd_set *";
4272 p = "userland fd_set *";
4275 p = "userland fd_set *";
4278 p = "userland struct timeval *";
4333 p = "userland const struct sockaddr *";
4362 p = "userland const struct sockaddr *";
4384 p = "userland const void *";
4410 p = "userland struct timeval *";
4413 p = "userland struct timezone *";
4426 p = "userland struct rusage *";
4445 p = "userland void *";
4448 p = "userland int *";
4461 p = "userland struct iovec *";
4477 p = "userland struct iovec *";
4490 p = "userland struct timeval *";
4493 p = "userland struct timezone *";
4558 p = "userland const char *";
4561 p = "userland const char *";
4584 p = "userland const char *";
4600 p = "userland const void *";
4609 p = "userland const struct sockaddr *";
4644 p = "userland int *";
4654 p = "userland const char *";
4667 p = "userland const char *";
4677 p = "userland const char *";
4680 p = "userland struct timeval *";
4690 p = "userland struct timeval *";
4693 p = "userland struct timeval *";
4706 p = "userland const char *";
4715 p = "userland void *";
4734 p = "userland char **";
4747 p = "userland void *";
4757 p = "userland const char *";
4760 p = "userland struct fhandle *";
4770 p = "userland const char *";
4773 p = "userland struct fhandle *";
4786 p = "userland char *";
4802 p = "userland struct rtprio *";
4888 p = "userland struct timex *";
4928 p = "userland const char *";
4957 p = "userland struct rlimit *";
4970 p = "userland struct rlimit *";
4983 p = "userland int *";
4989 p = "userland void *";
4992 p = "userland size_t *";
4995 p = "userland const void *";
5008 p = "userland const void *";
5021 p = "userland const void *";
5034 p = "userland const char *";
5047 p = "userland struct timeval *";
5067 p = "userland struct pollfd *";
5132 p = "userland struct sembuf *";
5161 p = "userland const void *";
5180 p = "userland void *";
5202 p = "userland const void *";
5215 p = "userland const void *";
5244 p = "userland struct timespec *";
5257 p = "userland const struct timespec *";
5270 p = "userland struct timespec *";
5283 p = "userland struct sigevent *";
5286 p = "userland int *";
5302 /* ktimer_settime */
5312 p = "userland const struct itimerspec *";
5315 p = "userland struct itimerspec *";
5321 /* ktimer_gettime */
5328 p = "userland struct itimerspec *";
5334 /* ktimer_getoverrun */
5348 p = "userland const struct timespec *";
5351 p = "userland struct timespec *";
5357 /* ffclock_getcounter */
5361 p = "userland ffcounter *";
5367 /* ffclock_setestimate */
5371 p = "userland struct ffclock_estimate *";
5377 /* ffclock_getestimate */
5381 p = "userland struct ffclock_estimate *";
5387 /* clock_nanosleep */
5397 p = "userland const struct timespec *";
5400 p = "userland struct timespec *";
5406 /* clock_getcpuclockid2 */
5416 p = "userland clockid_t *";
5426 p = "userland struct ntptimeval *";
5436 p = "userland void *";
5465 p = "userland const char *";
5481 p = "userland struct aiocb *";
5491 p = "userland struct aiocb *";
5504 p = "userland struct aiocb * const *";
5510 p = "userland struct sigevent *";
5520 p = "userland const char *";
5533 p = "userland const char *";
5536 p = "userland struct timeval *";
5549 p = "userland struct iovec *";
5568 p = "userland struct iovec *";
5584 p = "userland const struct fhandle *";
5610 p = "userland struct module_stat *";
5630 p = "userland const char *";
5640 p = "userland const char *";
5660 p = "userland const char *";
5683 p = "userland struct kld_file_stat *";
5745 p = "userland struct aiocb *";
5755 p = "userland struct aiocb * const *";
5761 p = "userland const struct timespec *";
5774 p = "userland struct aiocb *";
5784 p = "userland struct aiocb *";
5810 p = "userland char *";
5819 /* sched_setparam */
5826 p = "userland const struct sched_param *";
5832 /* sched_getparam */
5839 p = "userland struct sched_param *";
5845 /* sched_setscheduler */
5855 p = "userland const struct sched_param *";
5861 /* sched_getscheduler */
5874 /* sched_get_priority_max */
5884 /* sched_get_priority_min */
5894 /* sched_rr_get_interval */
5901 p = "userland struct timespec *";
5911 p = "userland const void *";
5930 p = "userland void *";
5940 p = "userland struct jail *";
5953 p = "userland char *";
5959 p = "userland void *";
5975 p = "userland const sigset_t *";
5978 p = "userland sigset_t *";
5988 p = "userland const sigset_t *";
5998 p = "userland sigset_t *";
6008 p = "userland const sigset_t *";
6011 p = "userland siginfo_t *";
6014 p = "userland const struct timespec *";
6024 p = "userland const sigset_t *";
6027 p = "userland siginfo_t *";
6033 /* __acl_get_file */
6037 p = "userland const char *";
6043 p = "userland struct acl *";
6049 /* __acl_set_file */
6053 p = "userland const char *";
6059 p = "userland struct acl *";
6075 p = "userland struct acl *";
6091 p = "userland struct acl *";
6097 /* __acl_delete_file */
6101 p = "userland const char *";
6110 /* __acl_delete_fd */
6123 /* __acl_aclcheck_file */
6127 p = "userland const char *";
6133 p = "userland struct acl *";
6139 /* __acl_aclcheck_fd */
6149 p = "userland struct acl *";
6159 p = "userland const char *";
6165 p = "userland const char *";
6171 p = "userland const char *";
6177 /* extattr_set_file */
6181 p = "userland const char *";
6187 p = "userland const char *";
6190 p = "userland void *";
6199 /* extattr_get_file */
6203 p = "userland const char *";
6209 p = "userland const char *";
6212 p = "userland void *";
6221 /* extattr_delete_file */
6225 p = "userland const char *";
6231 p = "userland const char *";
6237 /* aio_waitcomplete */
6241 p = "userland struct aiocb **";
6244 p = "userland struct timespec *";
6254 p = "userland uid_t *";
6257 p = "userland uid_t *";
6260 p = "userland uid_t *";
6270 p = "userland gid_t *";
6273 p = "userland gid_t *";
6276 p = "userland gid_t *";
6285 /* extattr_set_fd */
6295 p = "userland const char *";
6298 p = "userland void *";
6307 /* extattr_get_fd */
6317 p = "userland const char *";
6320 p = "userland void *";
6329 /* extattr_delete_fd */
6339 p = "userland const char *";
6359 p = "userland const char *";
6400 p = "userland struct iovec *";
6412 /* __mac_get_proc */
6416 p = "userland struct mac *";
6422 /* __mac_set_proc */
6426 p = "userland struct mac *";
6439 p = "userland struct mac *";
6445 /* __mac_get_file */
6449 p = "userland const char *";
6452 p = "userland struct mac *";
6465 p = "userland struct mac *";
6471 /* __mac_set_file */
6475 p = "userland const char *";
6478 p = "userland struct mac *";
6491 p = "userland const char *";
6494 p = "userland char *";
6507 p = "userland const char *";
6520 p = "userland struct uuid *";
6545 p = "userland struct sf_hdtr *";
6548 p = "userland off_t *";
6561 p = "userland const char *";
6567 p = "userland void *";
6617 p = "userland semid_t *";
6630 p = "userland semid_t *";
6633 p = "userland const char *";
6652 p = "userland const char *";
6665 p = "userland int *";
6688 p = "userland struct mac *";
6694 /* __mac_get_link */
6698 p = "userland const char *";
6701 p = "userland struct mac *";
6707 /* __mac_set_link */
6711 p = "userland const char *";
6714 p = "userland struct mac *";
6720 /* extattr_set_link */
6724 p = "userland const char *";
6730 p = "userland const char *";
6733 p = "userland void *";
6742 /* extattr_get_link */
6746 p = "userland const char *";
6752 p = "userland const char *";
6755 p = "userland void *";
6764 /* extattr_delete_link */
6768 p = "userland const char *";
6774 p = "userland const char *";
6784 p = "userland const char *";
6787 p = "userland char **";
6790 p = "userland char **";
6793 p = "userland struct mac *";
6806 p = "userland const struct sigaction *";
6809 p = "userland struct sigaction *";
6819 p = "userland const struct __ucontext *";
6829 p = "userland struct __ucontext *";
6839 p = "userland const struct __ucontext *";
6849 p = "userland struct __ucontext *";
6852 p = "userland const struct __ucontext *";
6858 /* freebsd13_swapoff */
6862 p = "userland const char *";
6868 /* __acl_get_link */
6872 p = "userland const char *";
6878 p = "userland struct acl *";
6884 /* __acl_set_link */
6888 p = "userland const char *";
6894 p = "userland struct acl *";
6900 /* __acl_delete_link */
6904 p = "userland const char *";
6913 /* __acl_aclcheck_link */
6917 p = "userland const char *";
6923 p = "userland struct acl *";
6933 p = "userland const sigset_t *";
6936 p = "userland int *";
6946 p = "userland ucontext_t *";
6949 p = "userland long *";
6962 p = "userland long *";
6972 p = "userland long *";
7001 /* extattr_list_fd */
7011 p = "userland void *";
7020 /* extattr_list_file */
7024 p = "userland const char *";
7030 p = "userland void *";
7039 /* extattr_list_link */
7043 p = "userland const char *";
7049 p = "userland void *";
7058 /* ksem_timedwait */
7065 p = "userland const struct timespec *";
7075 p = "userland const struct timespec *";
7108 p = "userland const void *";
7124 p = "userland void *";
7137 p = "userland uid_t *";
7147 p = "userland uid_t *";
7157 p = "userland struct auditinfo *";
7167 p = "userland struct auditinfo *";
7177 p = "userland struct auditinfo_addr *";
7190 p = "userland struct auditinfo_addr *";
7203 p = "userland const char *";
7213 p = "userland void *";
7222 p = "userland void *";
7225 p = "userland void *";
7235 p = "userland struct thr_param *";
7254 p = "userland void *";
7264 p = "userland const char *";
7273 p = "userland const struct mq_attr *";
7286 p = "userland const struct mq_attr *";
7289 p = "userland struct mq_attr *";
7295 /* kmq_timedreceive */
7302 p = "userland char *";
7308 p = "userland unsigned *";
7311 p = "userland const struct timespec *";
7324 p = "userland const char *";
7333 p = "userland const struct timespec *";
7346 p = "userland const struct sigevent *";
7356 p = "userland const char *";
7366 p = "userland const char *";
7372 p = "userland void **";
7385 p = "userland const char *";
7398 p = "userland struct aiocb *";
7414 p = "userland struct rtprio *";
7433 /* sctp_generic_sendmsg */
7440 p = "userland void *";
7446 p = "userland struct sockaddr *";
7452 p = "userland struct sctp_sndrcvinfo *";
7461 /* sctp_generic_sendmsg_iov */
7468 p = "userland struct iovec *";
7474 p = "userland struct sockaddr *";
7480 p = "userland struct sctp_sndrcvinfo *";
7489 /* sctp_generic_recvmsg */
7496 p = "userland struct iovec *";
7502 p = "userland struct sockaddr *";
7505 p = "userland __socklen_t *";
7508 p = "userland struct sctp_sndrcvinfo *";
7511 p = "userland int *";
7524 p = "userland void *";
7543 p = "userland const void *";
7559 p = "userland void *";
7600 p = "userland const char *";
7642 p = "userland const char *";
7652 p = "userland cpusetid_t *";
7687 p = "userland cpusetid_t *";
7693 /* cpuset_getaffinity */
7709 p = "userland cpuset_t *";
7715 /* cpuset_setaffinity */
7731 p = "userland const cpuset_t *";
7744 p = "userland const char *";
7763 p = "userland const char *";
7782 p = "userland const char *";
7804 p = "userland char **";
7807 p = "userland char **";
7820 p = "userland const char *";
7823 p = "userland struct timeval *";
7836 p = "userland const char *";
7842 p = "userland const char *";
7858 p = "userland const char *";
7874 p = "userland const char *";
7890 p = "userland const char *";
7909 p = "userland const char *";
7912 p = "userland char *";
7928 p = "userland const char *";
7934 p = "userland const char *";
7944 p = "userland const char *";
7950 p = "userland const char *";
7963 p = "userland const char *";
7986 p = "userland const char *";
7996 p = "userland struct iovec *";
8012 p = "userland struct iovec *";
8047 p = "userland union semun *";
8063 p = "userland struct msqid_ds *";
8079 p = "userland struct shmid_ds *";
8089 p = "userland const char *";
8098 /* __cap_rights_get */
8108 p = "userland cap_rights_t *";
8121 p = "userland u_int *";
8131 p = "userland int *";
8160 p = "userland pid_t *";
8173 p = "userland fd_set *";
8176 p = "userland fd_set *";
8179 p = "userland fd_set *";
8182 p = "userland const struct timespec *";
8185 p = "userland const sigset_t *";
8195 p = "userland char *";
8208 p = "userland const char *";
8214 /* rctl_get_racct */
8218 p = "userland const void *";
8224 p = "userland void *";
8233 /* rctl_get_rules */
8237 p = "userland const void *";
8243 p = "userland void *";
8252 /* rctl_get_limits */
8256 p = "userland const void *";
8262 p = "userland void *";
8275 p = "userland const void *";
8281 p = "userland void *";
8290 /* rctl_remove_rule */
8294 p = "userland const void *";
8300 p = "userland void *";
8309 /* posix_fallocate */
8354 p = "userland int *";
8360 p = "userland struct __wrusage *";
8363 p = "userland siginfo_t *";
8369 /* cap_rights_limit */
8376 p = "userland cap_rights_t *";
8382 /* cap_ioctls_limit */
8389 p = "userland const u_long *";
8398 /* cap_ioctls_get */
8405 p = "userland u_long *";
8414 /* cap_fcntls_limit */
8427 /* cap_fcntls_get */
8434 p = "userland uint32_t *";
8450 p = "userland const struct sockaddr *";
8469 p = "userland const struct sockaddr *";
8485 p = "userland const char *";
8504 p = "userland struct sockaddr *";
8507 p = "userland __socklen_t *";
8520 p = "userland int *";
8533 p = "userland struct aiocb *";
8552 p = "userland void *";
8562 p = "userland struct pollfd *";
8568 p = "userland const struct timespec *";
8571 p = "userland const sigset_t *";
8584 p = "userland struct timespec *";
8597 p = "userland const char *";
8600 p = "userland struct timespec *";
8626 p = "userland struct stat *";
8639 p = "userland const char *";
8642 p = "userland struct stat *";
8655 p = "userland const struct fhandle *";
8658 p = "userland struct stat *";
8671 p = "userland char *";
8677 p = "userland off_t *";
8687 p = "userland const char *";
8690 p = "userland struct statfs *";
8703 p = "userland struct statfs *";
8713 p = "userland struct statfs *";
8729 p = "userland const struct fhandle *";
8732 p = "userland struct statfs *";
8745 p = "userland const char *";
8764 p = "userland struct kevent *";
8770 p = "userland struct kevent *";
8776 p = "userland const struct timespec *";
8782 /* cpuset_getdomain */
8798 p = "userland domainset_t *";
8801 p = "userland int *";
8807 /* cpuset_setdomain */
8823 p = "userland domainset_t *";
8836 p = "userland void *";
8855 p = "userland char *";
8858 p = "userland struct fhandle *";
8871 p = "userland struct fhandle *";
8874 p = "userland const char *";
8884 p = "userland struct fhandle *";
8890 p = "userland const char *";
8900 p = "userland struct fhandle *";
8903 p = "userland char *";
8919 p = "userland const char *";
8931 /* copy_file_range */
8938 p = "userland off_t *";
8944 p = "userland off_t *";
8956 /* __sysctlbyname */
8960 p = "userland const char *";
8966 p = "userland void *";
8969 p = "userland size_t *";
8972 p = "userland void *";
8985 p = "userland const char *";
8997 p = "userland const char *";
9007 p = "userland const char *";
9010 p = "userland const char *";
9026 p = "userland uint32_t *";
9039 p = "userland const char *";
9042 p = "userland char *";
9070 /* rpctls_syscall */
9077 p = "userland const char *";
9090 p = "userland const void *";
9103 p = "userland struct aiocb *";
9113 p = "userland struct aiocb *";
9126 p = "userland const char *";
9165 strlcpy(desc, p, descsz);
9168 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
9170 const char *p = NULL;
9176 if (ndx == 0 || ndx == 1)
9183 if (ndx == 0 || ndx == 1)
9188 if (ndx == 0 || ndx == 1)
9193 if (ndx == 0 || ndx == 1)
9198 if (ndx == 0 || ndx == 1)
9203 if (ndx == 0 || ndx == 1)
9208 if (ndx == 0 || ndx == 1)
9213 if (ndx == 0 || ndx == 1)
9218 if (ndx == 0 || ndx == 1)
9223 if (ndx == 0 || ndx == 1)
9228 if (ndx == 0 || ndx == 1)
9233 if (ndx == 0 || ndx == 1)
9238 if (ndx == 0 || ndx == 1)
9245 if (ndx == 0 || ndx == 1)
9250 if (ndx == 0 || ndx == 1)
9255 if (ndx == 0 || ndx == 1)
9264 if (ndx == 0 || ndx == 1)
9269 if (ndx == 0 || ndx == 1)
9274 if (ndx == 0 || ndx == 1)
9279 if (ndx == 0 || ndx == 1)
9284 if (ndx == 0 || ndx == 1)
9289 if (ndx == 0 || ndx == 1)
9294 if (ndx == 0 || ndx == 1)
9299 if (ndx == 0 || ndx == 1)
9304 if (ndx == 0 || ndx == 1)
9309 if (ndx == 0 || ndx == 1)
9316 if (ndx == 0 || ndx == 1)
9323 if (ndx == 0 || ndx == 1)
9330 if (ndx == 0 || ndx == 1)
9335 if (ndx == 0 || ndx == 1)
9342 if (ndx == 0 || ndx == 1)
9347 if (ndx == 0 || ndx == 1)
9352 if (ndx == 0 || ndx == 1)
9357 if (ndx == 0 || ndx == 1)
9362 if (ndx == 0 || ndx == 1)
9367 if (ndx == 0 || ndx == 1)
9372 if (ndx == 0 || ndx == 1)
9377 if (ndx == 0 || ndx == 1)
9382 if (ndx == 0 || ndx == 1)
9387 if (ndx == 0 || ndx == 1)
9392 if (ndx == 0 || ndx == 1)
9397 if (ndx == 0 || ndx == 1)
9402 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)
9451 if (ndx == 0 || ndx == 1)
9456 if (ndx == 0 || ndx == 1)
9461 if (ndx == 0 || ndx == 1)
9466 if (ndx == 0 || ndx == 1)
9473 if (ndx == 0 || ndx == 1)
9478 if (ndx == 0 || ndx == 1)
9483 if (ndx == 0 || ndx == 1)
9488 if (ndx == 0 || ndx == 1)
9493 if (ndx == 0 || ndx == 1)
9498 if (ndx == 0 || ndx == 1)
9503 if (ndx == 0 || ndx == 1)
9508 if (ndx == 0 || ndx == 1)
9513 if (ndx == 0 || ndx == 1)
9518 if (ndx == 0 || ndx == 1)
9523 if (ndx == 0 || ndx == 1)
9528 if (ndx == 0 || ndx == 1)
9533 if (ndx == 0 || ndx == 1)
9538 if (ndx == 0 || ndx == 1)
9543 if (ndx == 0 || ndx == 1)
9548 if (ndx == 0 || ndx == 1)
9553 if (ndx == 0 || ndx == 1)
9558 if (ndx == 0 || ndx == 1)
9563 if (ndx == 0 || ndx == 1)
9568 if (ndx == 0 || ndx == 1)
9573 if (ndx == 0 || ndx == 1)
9578 if (ndx == 0 || ndx == 1)
9583 if (ndx == 0 || ndx == 1)
9588 if (ndx == 0 || ndx == 1)
9593 if (ndx == 0 || ndx == 1)
9598 if (ndx == 0 || ndx == 1)
9603 if (ndx == 0 || ndx == 1)
9608 if (ndx == 0 || ndx == 1)
9613 if (ndx == 0 || ndx == 1)
9618 if (ndx == 0 || ndx == 1)
9623 if (ndx == 0 || ndx == 1)
9630 if (ndx == 0 || ndx == 1)
9635 if (ndx == 0 || ndx == 1)
9640 if (ndx == 0 || ndx == 1)
9645 if (ndx == 0 || ndx == 1)
9650 if (ndx == 0 || ndx == 1)
9655 if (ndx == 0 || ndx == 1)
9660 if (ndx == 0 || ndx == 1)
9665 if (ndx == 0 || ndx == 1)
9670 if (ndx == 0 || ndx == 1)
9675 if (ndx == 0 || ndx == 1)
9680 if (ndx == 0 || ndx == 1)
9685 if (ndx == 0 || ndx == 1)
9690 if (ndx == 0 || ndx == 1)
9695 if (ndx == 0 || ndx == 1)
9700 if (ndx == 0 || ndx == 1)
9705 if (ndx == 0 || ndx == 1)
9710 if (ndx == 0 || ndx == 1)
9715 if (ndx == 0 || ndx == 1)
9720 if (ndx == 0 || ndx == 1)
9727 if (ndx == 0 || ndx == 1)
9732 if (ndx == 0 || ndx == 1)
9737 if (ndx == 0 || ndx == 1)
9742 if (ndx == 0 || ndx == 1)
9747 if (ndx == 0 || ndx == 1)
9752 if (ndx == 0 || ndx == 1)
9757 if (ndx == 0 || ndx == 1)
9782 if (ndx == 0 || ndx == 1)
9787 if (ndx == 0 || ndx == 1)
9792 if (ndx == 0 || ndx == 1)
9797 if (ndx == 0 || ndx == 1)
9802 if (ndx == 0 || ndx == 1)
9807 if (ndx == 0 || ndx == 1)
9812 if (ndx == 0 || ndx == 1)
9817 if (ndx == 0 || ndx == 1)
9822 if (ndx == 0 || ndx == 1)
9827 if (ndx == 0 || ndx == 1)
9832 if (ndx == 0 || ndx == 1)
9837 if (ndx == 0 || ndx == 1)
9842 if (ndx == 0 || ndx == 1)
9845 /* ktimer_settime */
9847 if (ndx == 0 || ndx == 1)
9850 /* ktimer_gettime */
9852 if (ndx == 0 || ndx == 1)
9855 /* ktimer_getoverrun */
9857 if (ndx == 0 || ndx == 1)
9862 if (ndx == 0 || ndx == 1)
9865 /* ffclock_getcounter */
9867 if (ndx == 0 || ndx == 1)
9870 /* ffclock_setestimate */
9872 if (ndx == 0 || ndx == 1)
9875 /* ffclock_getestimate */
9877 if (ndx == 0 || ndx == 1)
9880 /* clock_nanosleep */
9882 if (ndx == 0 || ndx == 1)
9885 /* clock_getcpuclockid2 */
9887 if (ndx == 0 || ndx == 1)
9892 if (ndx == 0 || ndx == 1)
9897 if (ndx == 0 || ndx == 1)
9902 if (ndx == 0 || ndx == 1)
9909 if (ndx == 0 || ndx == 1)
9914 if (ndx == 0 || ndx == 1)
9919 if (ndx == 0 || ndx == 1)
9924 if (ndx == 0 || ndx == 1)
9929 if (ndx == 0 || ndx == 1)
9934 if (ndx == 0 || ndx == 1)
9939 if (ndx == 0 || ndx == 1)
9944 if (ndx == 0 || ndx == 1)
9949 if (ndx == 0 || ndx == 1)
9954 if (ndx == 0 || ndx == 1)
9959 if (ndx == 0 || ndx == 1)
9964 if (ndx == 0 || ndx == 1)
9969 if (ndx == 0 || ndx == 1)
9974 if (ndx == 0 || ndx == 1)
9979 if (ndx == 0 || ndx == 1)
9984 if (ndx == 0 || ndx == 1)
9989 if (ndx == 0 || ndx == 1)
9994 if (ndx == 0 || ndx == 1)
9999 if (ndx == 0 || ndx == 1)
10004 if (ndx == 0 || ndx == 1)
10009 if (ndx == 0 || ndx == 1)
10014 if (ndx == 0 || ndx == 1)
10019 if (ndx == 0 || ndx == 1)
10024 if (ndx == 0 || ndx == 1)
10029 if (ndx == 0 || ndx == 1)
10034 if (ndx == 0 || ndx == 1)
10041 if (ndx == 0 || ndx == 1)
10048 if (ndx == 0 || ndx == 1)
10051 /* sched_setparam */
10053 if (ndx == 0 || ndx == 1)
10056 /* sched_getparam */
10058 if (ndx == 0 || ndx == 1)
10061 /* sched_setscheduler */
10063 if (ndx == 0 || ndx == 1)
10066 /* sched_getscheduler */
10068 if (ndx == 0 || ndx == 1)
10073 /* sched_get_priority_max */
10075 if (ndx == 0 || ndx == 1)
10078 /* sched_get_priority_min */
10080 if (ndx == 0 || ndx == 1)
10083 /* sched_rr_get_interval */
10085 if (ndx == 0 || ndx == 1)
10090 if (ndx == 0 || ndx == 1)
10095 if (ndx == 0 || ndx == 1)
10100 if (ndx == 0 || ndx == 1)
10103 /* nnpfs_syscall */
10105 if (ndx == 0 || ndx == 1)
10110 if (ndx == 0 || ndx == 1)
10115 if (ndx == 0 || ndx == 1)
10120 if (ndx == 0 || ndx == 1)
10125 if (ndx == 0 || ndx == 1)
10130 if (ndx == 0 || ndx == 1)
10133 /* __acl_get_file */
10135 if (ndx == 0 || ndx == 1)
10138 /* __acl_set_file */
10140 if (ndx == 0 || ndx == 1)
10145 if (ndx == 0 || ndx == 1)
10150 if (ndx == 0 || ndx == 1)
10153 /* __acl_delete_file */
10155 if (ndx == 0 || ndx == 1)
10158 /* __acl_delete_fd */
10160 if (ndx == 0 || ndx == 1)
10163 /* __acl_aclcheck_file */
10165 if (ndx == 0 || ndx == 1)
10168 /* __acl_aclcheck_fd */
10170 if (ndx == 0 || ndx == 1)
10175 if (ndx == 0 || ndx == 1)
10178 /* extattr_set_file */
10180 if (ndx == 0 || ndx == 1)
10183 /* extattr_get_file */
10185 if (ndx == 0 || ndx == 1)
10188 /* extattr_delete_file */
10190 if (ndx == 0 || ndx == 1)
10193 /* aio_waitcomplete */
10195 if (ndx == 0 || ndx == 1)
10200 if (ndx == 0 || ndx == 1)
10205 if (ndx == 0 || ndx == 1)
10210 /* extattr_set_fd */
10212 if (ndx == 0 || ndx == 1)
10215 /* extattr_get_fd */
10217 if (ndx == 0 || ndx == 1)
10220 /* extattr_delete_fd */
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)
10245 /* __mac_get_proc */
10247 if (ndx == 0 || ndx == 1)
10250 /* __mac_set_proc */
10252 if (ndx == 0 || ndx == 1)
10257 if (ndx == 0 || ndx == 1)
10260 /* __mac_get_file */
10262 if (ndx == 0 || ndx == 1)
10267 if (ndx == 0 || ndx == 1)
10270 /* __mac_set_file */
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)
10307 if (ndx == 0 || ndx == 1)
10312 if (ndx == 0 || ndx == 1)
10317 if (ndx == 0 || ndx == 1)
10322 if (ndx == 0 || ndx == 1)
10327 if (ndx == 0 || ndx == 1)
10332 if (ndx == 0 || ndx == 1)
10335 /* ksem_getvalue */
10337 if (ndx == 0 || ndx == 1)
10342 if (ndx == 0 || ndx == 1)
10345 /* __mac_get_pid */
10347 if (ndx == 0 || ndx == 1)
10350 /* __mac_get_link */
10352 if (ndx == 0 || ndx == 1)
10355 /* __mac_set_link */
10357 if (ndx == 0 || ndx == 1)
10360 /* extattr_set_link */
10362 if (ndx == 0 || ndx == 1)
10365 /* extattr_get_link */
10367 if (ndx == 0 || ndx == 1)
10370 /* extattr_delete_link */
10372 if (ndx == 0 || ndx == 1)
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)
10405 /* freebsd13_swapoff */
10407 if (ndx == 0 || ndx == 1)
10410 /* __acl_get_link */
10412 if (ndx == 0 || ndx == 1)
10415 /* __acl_set_link */
10417 if (ndx == 0 || ndx == 1)
10420 /* __acl_delete_link */
10422 if (ndx == 0 || ndx == 1)
10425 /* __acl_aclcheck_link */
10427 if (ndx == 0 || ndx == 1)
10432 if (ndx == 0 || ndx == 1)
10437 if (ndx == 0 || ndx == 1)
10442 if (ndx == 0 || ndx == 1)
10447 if (ndx == 0 || ndx == 1)
10452 if (ndx == 0 || ndx == 1)
10457 if (ndx == 0 || ndx == 1)
10460 /* extattr_list_fd */
10462 if (ndx == 0 || ndx == 1)
10465 /* extattr_list_file */
10467 if (ndx == 0 || ndx == 1)
10470 /* extattr_list_link */
10472 if (ndx == 0 || ndx == 1)
10475 /* ksem_timedwait */
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)
10525 /* getaudit_addr */
10527 if (ndx == 0 || ndx == 1)
10530 /* setaudit_addr */
10532 if (ndx == 0 || ndx == 1)
10537 if (ndx == 0 || ndx == 1)
10542 if (ndx == 0 || ndx == 1)
10547 if (ndx == 0 || ndx == 1)
10552 if (ndx == 0 || ndx == 1)
10557 if (ndx == 0 || ndx == 1)
10562 if (ndx == 0 || ndx == 1)
10565 /* kmq_timedreceive */
10567 if (ndx == 0 || ndx == 1)
10570 /* kmq_timedsend */
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)
10600 /* rtprio_thread */
10602 if (ndx == 0 || ndx == 1)
10607 if (ndx == 0 || ndx == 1)
10610 /* sctp_generic_sendmsg */
10612 if (ndx == 0 || ndx == 1)
10615 /* sctp_generic_sendmsg_iov */
10617 if (ndx == 0 || ndx == 1)
10620 /* sctp_generic_recvmsg */
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)
10667 if (ndx == 0 || ndx == 1)
10672 if (ndx == 0 || ndx == 1)
10677 if (ndx == 0 || ndx == 1)
10680 /* cpuset_getaffinity */
10682 if (ndx == 0 || ndx == 1)
10685 /* cpuset_setaffinity */
10687 if (ndx == 0 || ndx == 1)
10692 if (ndx == 0 || ndx == 1)
10697 if (ndx == 0 || ndx == 1)
10702 if (ndx == 0 || ndx == 1)
10707 if (ndx == 0 || ndx == 1)
10712 if (ndx == 0 || ndx == 1)
10717 if (ndx == 0 || ndx == 1)
10722 if (ndx == 0 || ndx == 1)
10727 if (ndx == 0 || ndx == 1)
10732 if (ndx == 0 || ndx == 1)
10737 if (ndx == 0 || ndx == 1)
10742 if (ndx == 0 || ndx == 1)
10747 if (ndx == 0 || ndx == 1)
10752 if (ndx == 0 || ndx == 1)
10757 if (ndx == 0 || ndx == 1)
10762 if (ndx == 0 || ndx == 1)
10767 if (ndx == 0 || ndx == 1)
10772 if (ndx == 0 || ndx == 1)
10777 if (ndx == 0 || ndx == 1)
10782 if (ndx == 0 || ndx == 1)
10787 if (ndx == 0 || ndx == 1)
10792 if (ndx == 0 || ndx == 1)
10797 if (ndx == 0 || ndx == 1)
10800 /* __cap_rights_get */
10802 if (ndx == 0 || ndx == 1)
10809 if (ndx == 0 || ndx == 1)
10814 if (ndx == 0 || ndx == 1)
10819 if (ndx == 0 || ndx == 1)
10824 if (ndx == 0 || ndx == 1)
10829 if (ndx == 0 || ndx == 1)
10832 /* getloginclass */
10834 if (ndx == 0 || ndx == 1)
10837 /* setloginclass */
10839 if (ndx == 0 || ndx == 1)
10842 /* rctl_get_racct */
10844 if (ndx == 0 || ndx == 1)
10847 /* rctl_get_rules */
10849 if (ndx == 0 || ndx == 1)
10852 /* rctl_get_limits */
10854 if (ndx == 0 || ndx == 1)
10857 /* rctl_add_rule */
10859 if (ndx == 0 || ndx == 1)
10862 /* rctl_remove_rule */
10864 if (ndx == 0 || ndx == 1)
10867 /* posix_fallocate */
10869 if (ndx == 0 || ndx == 1)
10872 /* posix_fadvise */
10874 if (ndx == 0 || ndx == 1)
10879 if (ndx == 0 || ndx == 1)
10882 /* cap_rights_limit */
10884 if (ndx == 0 || ndx == 1)
10887 /* cap_ioctls_limit */
10889 if (ndx == 0 || ndx == 1)
10892 /* cap_ioctls_get */
10894 if (ndx == 0 || ndx == 1)
10897 /* cap_fcntls_limit */
10899 if (ndx == 0 || ndx == 1)
10902 /* cap_fcntls_get */
10904 if (ndx == 0 || ndx == 1)
10909 if (ndx == 0 || ndx == 1)
10914 if (ndx == 0 || ndx == 1)
10919 if (ndx == 0 || ndx == 1)
10924 if (ndx == 0 || ndx == 1)
10929 if (ndx == 0 || ndx == 1)
10934 if (ndx == 0 || ndx == 1)
10939 if (ndx == 0 || ndx == 1)
10944 if (ndx == 0 || ndx == 1)
10949 if (ndx == 0 || ndx == 1)
10954 if (ndx == 0 || ndx == 1)
10959 if (ndx == 0 || ndx == 1)
10964 if (ndx == 0 || ndx == 1)
10969 if (ndx == 0 || ndx == 1)
10974 if (ndx == 0 || ndx == 1)
10977 /* getdirentries */
10979 if (ndx == 0 || ndx == 1)
10984 if (ndx == 0 || ndx == 1)
10989 if (ndx == 0 || ndx == 1)
10994 if (ndx == 0 || ndx == 1)
10999 if (ndx == 0 || ndx == 1)
11004 if (ndx == 0 || ndx == 1)
11009 if (ndx == 0 || ndx == 1)
11012 /* cpuset_getdomain */
11014 if (ndx == 0 || ndx == 1)
11017 /* cpuset_setdomain */
11019 if (ndx == 0 || ndx == 1)
11024 if (ndx == 0 || ndx == 1)
11029 if (ndx == 0 || ndx == 1)
11034 if (ndx == 0 || ndx == 1)
11039 if (ndx == 0 || ndx == 1)
11044 if (ndx == 0 || ndx == 1)
11049 if (ndx == 0 || ndx == 1)
11052 /* copy_file_range */
11054 if (ndx == 0 || ndx == 1)
11057 /* __sysctlbyname */
11059 if (ndx == 0 || ndx == 1)
11064 if (ndx == 0 || ndx == 1)
11069 if (ndx == 0 || ndx == 1)
11074 if (ndx == 0 || ndx == 1)
11079 if (ndx == 0 || ndx == 1)
11084 if (ndx == 0 || ndx == 1)
11087 /* rpctls_syscall */
11089 if (ndx == 0 || ndx == 1)
11094 if (ndx == 0 || ndx == 1)
11099 if (ndx == 0 || ndx == 1)
11104 if (ndx == 0 || ndx == 1)
11111 if (ndx == 0 || ndx == 1)
11116 if (ndx == 0 || ndx == 1)
11121 if (ndx == 0 || ndx == 1)
11128 strlcpy(desc, p, descsz);