2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically generated.
6 * This file is part of the DTrace syscall provider.
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *) uarg;
21 struct sys_exit_args *p = params;
22 iarg[0] = p->rval; /* int */
33 struct read_args *p = params;
34 iarg[0] = p->fd; /* int */
35 uarg[1] = (intptr_t) p->buf; /* void * */
36 uarg[2] = p->nbyte; /* size_t */
42 struct write_args *p = params;
43 iarg[0] = p->fd; /* int */
44 uarg[1] = (intptr_t) p->buf; /* const void * */
45 uarg[2] = p->nbyte; /* size_t */
51 struct open_args *p = params;
52 uarg[0] = (intptr_t) p->path; /* char * */
53 iarg[1] = p->flags; /* int */
54 iarg[2] = p->mode; /* int */
60 struct close_args *p = params;
61 iarg[0] = p->fd; /* int */
67 struct wait4_args *p = params;
68 iarg[0] = p->pid; /* int */
69 uarg[1] = (intptr_t) p->status; /* int * */
70 iarg[2] = p->options; /* int */
71 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
77 struct link_args *p = params;
78 uarg[0] = (intptr_t) p->path; /* char * */
79 uarg[1] = (intptr_t) p->link; /* char * */
85 struct unlink_args *p = params;
86 uarg[0] = (intptr_t) p->path; /* char * */
92 struct chdir_args *p = params;
93 uarg[0] = (intptr_t) p->path; /* char * */
99 struct fchdir_args *p = params;
100 iarg[0] = p->fd; /* int */
106 struct mknod_args *p = params;
107 uarg[0] = (intptr_t) p->path; /* char * */
108 iarg[1] = p->mode; /* int */
109 iarg[2] = p->dev; /* int */
115 struct chmod_args *p = params;
116 uarg[0] = (intptr_t) p->path; /* char * */
117 iarg[1] = p->mode; /* int */
123 struct chown_args *p = params;
124 uarg[0] = (intptr_t) p->path; /* char * */
125 iarg[1] = p->uid; /* int */
126 iarg[2] = p->gid; /* int */
132 struct obreak_args *p = params;
133 uarg[0] = (intptr_t) p->nsize; /* char * */
144 struct mount_args *p = params;
145 uarg[0] = (intptr_t) p->type; /* char * */
146 uarg[1] = (intptr_t) p->path; /* char * */
147 iarg[2] = p->flags; /* int */
148 uarg[3] = (intptr_t) p->data; /* caddr_t */
154 struct unmount_args *p = params;
155 uarg[0] = (intptr_t) p->path; /* char * */
156 iarg[1] = p->flags; /* int */
162 struct setuid_args *p = params;
163 uarg[0] = p->uid; /* uid_t */
179 struct ptrace_args *p = params;
180 iarg[0] = p->req; /* int */
181 iarg[1] = p->pid; /* pid_t */
182 uarg[2] = (intptr_t) p->addr; /* caddr_t */
183 iarg[3] = p->data; /* int */
189 struct recvmsg_args *p = params;
190 iarg[0] = p->s; /* int */
191 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
192 iarg[2] = p->flags; /* int */
198 struct sendmsg_args *p = params;
199 iarg[0] = p->s; /* int */
200 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
201 iarg[2] = p->flags; /* int */
207 struct recvfrom_args *p = params;
208 iarg[0] = p->s; /* int */
209 uarg[1] = (intptr_t) p->buf; /* caddr_t */
210 uarg[2] = p->len; /* size_t */
211 iarg[3] = p->flags; /* int */
212 uarg[4] = (intptr_t) p->from; /* struct sockaddr * */
213 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
219 struct accept_args *p = params;
220 iarg[0] = p->s; /* int */
221 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
222 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
228 struct getpeername_args *p = params;
229 iarg[0] = p->fdes; /* int */
230 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */
231 uarg[2] = (intptr_t) p->alen; /* __socklen_t * */
237 struct getsockname_args *p = params;
238 iarg[0] = p->fdes; /* int */
239 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */
240 uarg[2] = (intptr_t) p->alen; /* __socklen_t * */
246 struct access_args *p = params;
247 uarg[0] = (intptr_t) p->path; /* char * */
248 iarg[1] = p->amode; /* int */
254 struct chflags_args *p = params;
255 uarg[0] = (intptr_t) p->path; /* const char * */
256 uarg[1] = p->flags; /* u_long */
262 struct fchflags_args *p = params;
263 iarg[0] = p->fd; /* int */
264 uarg[1] = p->flags; /* u_long */
275 struct kill_args *p = params;
276 iarg[0] = p->pid; /* int */
277 iarg[1] = p->signum; /* int */
288 struct dup_args *p = params;
289 uarg[0] = p->fd; /* u_int */
305 struct profil_args *p = params;
306 uarg[0] = (intptr_t) p->samples; /* caddr_t */
307 uarg[1] = p->size; /* size_t */
308 uarg[2] = p->offset; /* size_t */
309 uarg[3] = p->scale; /* u_int */
315 struct ktrace_args *p = params;
316 uarg[0] = (intptr_t) p->fname; /* const char * */
317 iarg[1] = p->ops; /* int */
318 iarg[2] = p->facs; /* int */
319 iarg[3] = p->pid; /* int */
330 struct getlogin_args *p = params;
331 uarg[0] = (intptr_t) p->namebuf; /* char * */
332 uarg[1] = p->namelen; /* u_int */
338 struct setlogin_args *p = params;
339 uarg[0] = (intptr_t) p->namebuf; /* char * */
345 struct acct_args *p = params;
346 uarg[0] = (intptr_t) p->path; /* char * */
352 struct sigaltstack_args *p = params;
353 uarg[0] = (intptr_t) p->ss; /* stack_t * */
354 uarg[1] = (intptr_t) p->oss; /* stack_t * */
360 struct ioctl_args *p = params;
361 iarg[0] = p->fd; /* int */
362 uarg[1] = p->com; /* u_long */
363 uarg[2] = (intptr_t) p->data; /* caddr_t */
369 struct reboot_args *p = params;
370 iarg[0] = p->opt; /* int */
376 struct revoke_args *p = params;
377 uarg[0] = (intptr_t) p->path; /* char * */
383 struct symlink_args *p = params;
384 uarg[0] = (intptr_t) p->path; /* char * */
385 uarg[1] = (intptr_t) p->link; /* char * */
391 struct readlink_args *p = params;
392 uarg[0] = (intptr_t) p->path; /* char * */
393 uarg[1] = (intptr_t) p->buf; /* char * */
394 uarg[2] = p->count; /* size_t */
400 struct execve_args *p = params;
401 uarg[0] = (intptr_t) p->fname; /* char * */
402 uarg[1] = (intptr_t) p->argv; /* char ** */
403 uarg[2] = (intptr_t) p->envv; /* char ** */
409 struct umask_args *p = params;
410 iarg[0] = p->newmask; /* int */
416 struct chroot_args *p = params;
417 uarg[0] = (intptr_t) p->path; /* char * */
423 struct msync_args *p = params;
424 uarg[0] = (intptr_t) p->addr; /* void * */
425 uarg[1] = p->len; /* size_t */
426 iarg[2] = p->flags; /* int */
437 struct sbrk_args *p = params;
438 iarg[0] = p->incr; /* int */
444 struct sstk_args *p = params;
445 iarg[0] = p->incr; /* int */
451 struct ovadvise_args *p = params;
452 iarg[0] = p->anom; /* int */
458 struct munmap_args *p = params;
459 uarg[0] = (intptr_t) p->addr; /* void * */
460 uarg[1] = p->len; /* size_t */
466 struct mprotect_args *p = params;
467 uarg[0] = (intptr_t) p->addr; /* const void * */
468 uarg[1] = p->len; /* size_t */
469 iarg[2] = p->prot; /* int */
475 struct madvise_args *p = params;
476 uarg[0] = (intptr_t) p->addr; /* void * */
477 uarg[1] = p->len; /* size_t */
478 iarg[2] = p->behav; /* int */
484 struct mincore_args *p = params;
485 uarg[0] = (intptr_t) p->addr; /* const void * */
486 uarg[1] = p->len; /* size_t */
487 uarg[2] = (intptr_t) p->vec; /* char * */
493 struct getgroups_args *p = params;
494 uarg[0] = p->gidsetsize; /* u_int */
495 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
501 struct setgroups_args *p = params;
502 uarg[0] = p->gidsetsize; /* u_int */
503 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
514 struct setpgid_args *p = params;
515 iarg[0] = p->pid; /* int */
516 iarg[1] = p->pgid; /* int */
522 struct setitimer_args *p = params;
523 uarg[0] = p->which; /* u_int */
524 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
525 uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */
531 struct swapon_args *p = params;
532 uarg[0] = (intptr_t) p->name; /* char * */
538 struct getitimer_args *p = params;
539 uarg[0] = p->which; /* u_int */
540 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
551 struct dup2_args *p = params;
552 uarg[0] = p->from; /* u_int */
553 uarg[1] = p->to; /* u_int */
559 struct fcntl_args *p = params;
560 iarg[0] = p->fd; /* int */
561 iarg[1] = p->cmd; /* int */
562 iarg[2] = p->arg; /* long */
568 struct select_args *p = params;
569 iarg[0] = p->nd; /* int */
570 uarg[1] = (intptr_t) p->in; /* fd_set * */
571 uarg[2] = (intptr_t) p->ou; /* fd_set * */
572 uarg[3] = (intptr_t) p->ex; /* fd_set * */
573 uarg[4] = (intptr_t) p->tv; /* struct timeval * */
579 struct fsync_args *p = params;
580 iarg[0] = p->fd; /* int */
586 struct setpriority_args *p = params;
587 iarg[0] = p->which; /* int */
588 iarg[1] = p->who; /* int */
589 iarg[2] = p->prio; /* int */
595 struct socket_args *p = params;
596 iarg[0] = p->domain; /* int */
597 iarg[1] = p->type; /* int */
598 iarg[2] = p->protocol; /* int */
604 struct connect_args *p = params;
605 iarg[0] = p->s; /* int */
606 uarg[1] = (intptr_t) p->name; /* caddr_t */
607 iarg[2] = p->namelen; /* int */
613 struct getpriority_args *p = params;
614 iarg[0] = p->which; /* int */
615 iarg[1] = p->who; /* int */
621 struct bind_args *p = params;
622 iarg[0] = p->s; /* int */
623 uarg[1] = (intptr_t) p->name; /* caddr_t */
624 iarg[2] = p->namelen; /* int */
630 struct setsockopt_args *p = params;
631 iarg[0] = p->s; /* int */
632 iarg[1] = p->level; /* int */
633 iarg[2] = p->name; /* int */
634 uarg[3] = (intptr_t) p->val; /* caddr_t */
635 iarg[4] = p->valsize; /* int */
641 struct listen_args *p = params;
642 iarg[0] = p->s; /* int */
643 iarg[1] = p->backlog; /* int */
649 struct gettimeofday_args *p = params;
650 uarg[0] = (intptr_t) p->tp; /* struct timeval * */
651 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
657 struct getrusage_args *p = params;
658 iarg[0] = p->who; /* int */
659 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
665 struct getsockopt_args *p = params;
666 iarg[0] = p->s; /* int */
667 iarg[1] = p->level; /* int */
668 iarg[2] = p->name; /* int */
669 uarg[3] = (intptr_t) p->val; /* caddr_t */
670 uarg[4] = (intptr_t) p->avalsize; /* int * */
676 struct readv_args *p = params;
677 iarg[0] = p->fd; /* int */
678 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
679 uarg[2] = p->iovcnt; /* u_int */
685 struct writev_args *p = params;
686 iarg[0] = p->fd; /* int */
687 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
688 uarg[2] = p->iovcnt; /* u_int */
694 struct settimeofday_args *p = params;
695 uarg[0] = (intptr_t) p->tv; /* struct timeval * */
696 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
702 struct fchown_args *p = params;
703 iarg[0] = p->fd; /* int */
704 iarg[1] = p->uid; /* int */
705 iarg[2] = p->gid; /* int */
711 struct fchmod_args *p = params;
712 iarg[0] = p->fd; /* int */
713 iarg[1] = p->mode; /* int */
719 struct setreuid_args *p = params;
720 iarg[0] = p->ruid; /* int */
721 iarg[1] = p->euid; /* int */
727 struct setregid_args *p = params;
728 iarg[0] = p->rgid; /* int */
729 iarg[1] = p->egid; /* int */
735 struct rename_args *p = params;
736 uarg[0] = (intptr_t) p->from; /* char * */
737 uarg[1] = (intptr_t) p->to; /* char * */
743 struct flock_args *p = params;
744 iarg[0] = p->fd; /* int */
745 iarg[1] = p->how; /* int */
751 struct mkfifo_args *p = params;
752 uarg[0] = (intptr_t) p->path; /* char * */
753 iarg[1] = p->mode; /* int */
759 struct sendto_args *p = params;
760 iarg[0] = p->s; /* int */
761 uarg[1] = (intptr_t) p->buf; /* caddr_t */
762 uarg[2] = p->len; /* size_t */
763 iarg[3] = p->flags; /* int */
764 uarg[4] = (intptr_t) p->to; /* caddr_t */
765 iarg[5] = p->tolen; /* int */
771 struct shutdown_args *p = params;
772 iarg[0] = p->s; /* int */
773 iarg[1] = p->how; /* int */
779 struct socketpair_args *p = params;
780 iarg[0] = p->domain; /* int */
781 iarg[1] = p->type; /* int */
782 iarg[2] = p->protocol; /* int */
783 uarg[3] = (intptr_t) p->rsv; /* int * */
789 struct mkdir_args *p = params;
790 uarg[0] = (intptr_t) p->path; /* char * */
791 iarg[1] = p->mode; /* int */
797 struct rmdir_args *p = params;
798 uarg[0] = (intptr_t) p->path; /* char * */
804 struct utimes_args *p = params;
805 uarg[0] = (intptr_t) p->path; /* char * */
806 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
812 struct adjtime_args *p = params;
813 uarg[0] = (intptr_t) p->delta; /* struct timeval * */
814 uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */
825 struct quotactl_args *p = params;
826 uarg[0] = (intptr_t) p->path; /* char * */
827 iarg[1] = p->cmd; /* int */
828 iarg[2] = p->uid; /* int */
829 uarg[3] = (intptr_t) p->arg; /* caddr_t */
835 struct nlm_syscall_args *p = params;
836 iarg[0] = p->debug_level; /* int */
837 iarg[1] = p->grace_period; /* int */
838 iarg[2] = p->addr_count; /* int */
839 uarg[3] = (intptr_t) p->addrs; /* char ** */
845 struct nfssvc_args *p = params;
846 iarg[0] = p->flag; /* int */
847 uarg[1] = (intptr_t) p->argp; /* caddr_t */
853 struct lgetfh_args *p = params;
854 uarg[0] = (intptr_t) p->fname; /* char * */
855 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
861 struct getfh_args *p = params;
862 uarg[0] = (intptr_t) p->fname; /* char * */
863 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
869 struct sysarch_args *p = params;
870 iarg[0] = p->op; /* int */
871 uarg[1] = (intptr_t) p->parms; /* char * */
877 struct rtprio_args *p = params;
878 iarg[0] = p->function; /* int */
879 iarg[1] = p->pid; /* pid_t */
880 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
886 struct semsys_args *p = params;
887 iarg[0] = p->which; /* int */
888 iarg[1] = p->a2; /* int */
889 iarg[2] = p->a3; /* int */
890 iarg[3] = p->a4; /* int */
891 iarg[4] = p->a5; /* int */
897 struct msgsys_args *p = params;
898 iarg[0] = p->which; /* int */
899 iarg[1] = p->a2; /* int */
900 iarg[2] = p->a3; /* int */
901 iarg[3] = p->a4; /* int */
902 iarg[4] = p->a5; /* int */
903 iarg[5] = p->a6; /* int */
909 struct shmsys_args *p = params;
910 iarg[0] = p->which; /* int */
911 iarg[1] = p->a2; /* int */
912 iarg[2] = p->a3; /* int */
913 iarg[3] = p->a4; /* int */
919 struct setfib_args *p = params;
920 iarg[0] = p->fibnum; /* int */
926 struct ntp_adjtime_args *p = params;
927 uarg[0] = (intptr_t) p->tp; /* struct timex * */
933 struct setgid_args *p = params;
934 iarg[0] = p->gid; /* gid_t */
940 struct setegid_args *p = params;
941 iarg[0] = p->egid; /* gid_t */
947 struct seteuid_args *p = params;
948 uarg[0] = p->euid; /* uid_t */
954 struct stat_args *p = params;
955 uarg[0] = (intptr_t) p->path; /* char * */
956 uarg[1] = (intptr_t) p->ub; /* struct stat * */
962 struct fstat_args *p = params;
963 iarg[0] = p->fd; /* int */
964 uarg[1] = (intptr_t) p->sb; /* struct stat * */
970 struct lstat_args *p = params;
971 uarg[0] = (intptr_t) p->path; /* char * */
972 uarg[1] = (intptr_t) p->ub; /* struct stat * */
978 struct pathconf_args *p = params;
979 uarg[0] = (intptr_t) p->path; /* char * */
980 iarg[1] = p->name; /* int */
986 struct fpathconf_args *p = params;
987 iarg[0] = p->fd; /* int */
988 iarg[1] = p->name; /* int */
994 struct __getrlimit_args *p = params;
995 uarg[0] = p->which; /* u_int */
996 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1002 struct __setrlimit_args *p = params;
1003 uarg[0] = p->which; /* u_int */
1004 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1010 struct getdirentries_args *p = params;
1011 iarg[0] = p->fd; /* int */
1012 uarg[1] = (intptr_t) p->buf; /* char * */
1013 uarg[2] = p->count; /* u_int */
1014 uarg[3] = (intptr_t) p->basep; /* long * */
1025 struct sysctl_args *p = params;
1026 uarg[0] = (intptr_t) p->name; /* int * */
1027 uarg[1] = p->namelen; /* u_int */
1028 uarg[2] = (intptr_t) p->old; /* void * */
1029 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
1030 uarg[4] = (intptr_t) p->new; /* void * */
1031 uarg[5] = p->newlen; /* size_t */
1037 struct mlock_args *p = params;
1038 uarg[0] = (intptr_t) p->addr; /* const void * */
1039 uarg[1] = p->len; /* size_t */
1045 struct munlock_args *p = params;
1046 uarg[0] = (intptr_t) p->addr; /* const void * */
1047 uarg[1] = p->len; /* size_t */
1053 struct undelete_args *p = params;
1054 uarg[0] = (intptr_t) p->path; /* char * */
1060 struct futimes_args *p = params;
1061 iarg[0] = p->fd; /* int */
1062 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1068 struct getpgid_args *p = params;
1069 iarg[0] = p->pid; /* pid_t */
1075 struct poll_args *p = params;
1076 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1077 uarg[1] = p->nfds; /* u_int */
1078 iarg[2] = p->timeout; /* int */
1134 struct semget_args *p = params;
1135 iarg[0] = p->key; /* key_t */
1136 iarg[1] = p->nsems; /* int */
1137 iarg[2] = p->semflg; /* int */
1143 struct semop_args *p = params;
1144 iarg[0] = p->semid; /* int */
1145 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1146 uarg[2] = p->nsops; /* size_t */
1152 struct msgget_args *p = params;
1153 iarg[0] = p->key; /* key_t */
1154 iarg[1] = p->msgflg; /* int */
1160 struct msgsnd_args *p = params;
1161 iarg[0] = p->msqid; /* int */
1162 uarg[1] = (intptr_t) p->msgp; /* const void * */
1163 uarg[2] = p->msgsz; /* size_t */
1164 iarg[3] = p->msgflg; /* int */
1170 struct msgrcv_args *p = params;
1171 iarg[0] = p->msqid; /* int */
1172 uarg[1] = (intptr_t) p->msgp; /* void * */
1173 uarg[2] = p->msgsz; /* size_t */
1174 iarg[3] = p->msgtyp; /* long */
1175 iarg[4] = p->msgflg; /* int */
1181 struct shmat_args *p = params;
1182 iarg[0] = p->shmid; /* int */
1183 uarg[1] = (intptr_t) p->shmaddr; /* const void * */
1184 iarg[2] = p->shmflg; /* int */
1190 struct shmdt_args *p = params;
1191 uarg[0] = (intptr_t) p->shmaddr; /* const void * */
1197 struct shmget_args *p = params;
1198 iarg[0] = p->key; /* key_t */
1199 uarg[1] = p->size; /* size_t */
1200 iarg[2] = p->shmflg; /* int */
1206 struct clock_gettime_args *p = params;
1207 iarg[0] = p->clock_id; /* clockid_t */
1208 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1214 struct clock_settime_args *p = params;
1215 iarg[0] = p->clock_id; /* clockid_t */
1216 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */
1222 struct clock_getres_args *p = params;
1223 iarg[0] = p->clock_id; /* clockid_t */
1224 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1230 struct ktimer_create_args *p = params;
1231 iarg[0] = p->clock_id; /* clockid_t */
1232 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1233 uarg[2] = (intptr_t) p->timerid; /* int * */
1239 struct ktimer_delete_args *p = params;
1240 iarg[0] = p->timerid; /* int */
1244 /* ktimer_settime */
1246 struct ktimer_settime_args *p = params;
1247 iarg[0] = p->timerid; /* int */
1248 iarg[1] = p->flags; /* int */
1249 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */
1250 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */
1254 /* ktimer_gettime */
1256 struct ktimer_gettime_args *p = params;
1257 iarg[0] = p->timerid; /* int */
1258 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */
1262 /* ktimer_getoverrun */
1264 struct ktimer_getoverrun_args *p = params;
1265 iarg[0] = p->timerid; /* int */
1271 struct nanosleep_args *p = params;
1272 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */
1273 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */
1277 /* ffclock_getcounter */
1279 struct ffclock_getcounter_args *p = params;
1280 uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */
1284 /* ffclock_setestimate */
1286 struct ffclock_setestimate_args *p = params;
1287 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1291 /* ffclock_getestimate */
1293 struct ffclock_getestimate_args *p = params;
1294 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1298 /* clock_getcpuclockid2 */
1300 struct clock_getcpuclockid2_args *p = params;
1301 iarg[0] = p->id; /* id_t */
1302 iarg[1] = p->which; /* int */
1303 uarg[2] = (intptr_t) p->clock_id; /* clockid_t * */
1309 struct ntp_gettime_args *p = params;
1310 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1316 struct minherit_args *p = params;
1317 uarg[0] = (intptr_t) p->addr; /* void * */
1318 uarg[1] = p->len; /* size_t */
1319 iarg[2] = p->inherit; /* int */
1325 struct rfork_args *p = params;
1326 iarg[0] = p->flags; /* int */
1332 struct openbsd_poll_args *p = params;
1333 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1334 uarg[1] = p->nfds; /* u_int */
1335 iarg[2] = p->timeout; /* int */
1346 struct lchown_args *p = params;
1347 uarg[0] = (intptr_t) p->path; /* char * */
1348 iarg[1] = p->uid; /* int */
1349 iarg[2] = p->gid; /* int */
1355 struct aio_read_args *p = params;
1356 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1362 struct aio_write_args *p = params;
1363 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1369 struct lio_listio_args *p = params;
1370 iarg[0] = p->mode; /* int */
1371 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1372 iarg[2] = p->nent; /* int */
1373 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1379 struct getdents_args *p = params;
1380 iarg[0] = p->fd; /* int */
1381 uarg[1] = (intptr_t) p->buf; /* char * */
1382 uarg[2] = p->count; /* size_t */
1388 struct lchmod_args *p = params;
1389 uarg[0] = (intptr_t) p->path; /* char * */
1390 iarg[1] = p->mode; /* mode_t */
1396 struct lchown_args *p = params;
1397 uarg[0] = (intptr_t) p->path; /* char * */
1398 uarg[1] = p->uid; /* uid_t */
1399 iarg[2] = p->gid; /* gid_t */
1405 struct lutimes_args *p = params;
1406 uarg[0] = (intptr_t) p->path; /* char * */
1407 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1413 struct msync_args *p = params;
1414 uarg[0] = (intptr_t) p->addr; /* void * */
1415 uarg[1] = p->len; /* size_t */
1416 iarg[2] = p->flags; /* int */
1422 struct nstat_args *p = params;
1423 uarg[0] = (intptr_t) p->path; /* char * */
1424 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1430 struct nfstat_args *p = params;
1431 iarg[0] = p->fd; /* int */
1432 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1438 struct nlstat_args *p = params;
1439 uarg[0] = (intptr_t) p->path; /* char * */
1440 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1446 struct preadv_args *p = params;
1447 iarg[0] = p->fd; /* int */
1448 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1449 uarg[2] = p->iovcnt; /* u_int */
1450 iarg[3] = p->offset; /* off_t */
1456 struct pwritev_args *p = params;
1457 iarg[0] = p->fd; /* int */
1458 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1459 uarg[2] = p->iovcnt; /* u_int */
1460 iarg[3] = p->offset; /* off_t */
1466 struct fhopen_args *p = params;
1467 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1468 iarg[1] = p->flags; /* int */
1474 struct fhstat_args *p = params;
1475 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1476 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1482 struct modnext_args *p = params;
1483 iarg[0] = p->modid; /* int */
1489 struct modstat_args *p = params;
1490 iarg[0] = p->modid; /* int */
1491 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1497 struct modfnext_args *p = params;
1498 iarg[0] = p->modid; /* int */
1504 struct modfind_args *p = params;
1505 uarg[0] = (intptr_t) p->name; /* const char * */
1511 struct kldload_args *p = params;
1512 uarg[0] = (intptr_t) p->file; /* const char * */
1518 struct kldunload_args *p = params;
1519 iarg[0] = p->fileid; /* int */
1525 struct kldfind_args *p = params;
1526 uarg[0] = (intptr_t) p->file; /* const char * */
1532 struct kldnext_args *p = params;
1533 iarg[0] = p->fileid; /* int */
1539 struct kldstat_args *p = params;
1540 iarg[0] = p->fileid; /* int */
1541 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1547 struct kldfirstmod_args *p = params;
1548 iarg[0] = p->fileid; /* int */
1554 struct getsid_args *p = params;
1555 iarg[0] = p->pid; /* pid_t */
1561 struct setresuid_args *p = params;
1562 uarg[0] = p->ruid; /* uid_t */
1563 uarg[1] = p->euid; /* uid_t */
1564 uarg[2] = p->suid; /* uid_t */
1570 struct setresgid_args *p = params;
1571 iarg[0] = p->rgid; /* gid_t */
1572 iarg[1] = p->egid; /* gid_t */
1573 iarg[2] = p->sgid; /* gid_t */
1579 struct aio_return_args *p = params;
1580 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1586 struct aio_suspend_args *p = params;
1587 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1588 iarg[1] = p->nent; /* int */
1589 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1595 struct aio_cancel_args *p = params;
1596 iarg[0] = p->fd; /* int */
1597 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1603 struct aio_error_args *p = params;
1604 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1615 struct mlockall_args *p = params;
1616 iarg[0] = p->how; /* int */
1627 struct __getcwd_args *p = params;
1628 uarg[0] = (intptr_t) p->buf; /* char * */
1629 uarg[1] = p->buflen; /* u_int */
1633 /* sched_setparam */
1635 struct sched_setparam_args *p = params;
1636 iarg[0] = p->pid; /* pid_t */
1637 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1641 /* sched_getparam */
1643 struct sched_getparam_args *p = params;
1644 iarg[0] = p->pid; /* pid_t */
1645 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1649 /* sched_setscheduler */
1651 struct sched_setscheduler_args *p = params;
1652 iarg[0] = p->pid; /* pid_t */
1653 iarg[1] = p->policy; /* int */
1654 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1658 /* sched_getscheduler */
1660 struct sched_getscheduler_args *p = params;
1661 iarg[0] = p->pid; /* pid_t */
1670 /* sched_get_priority_max */
1672 struct sched_get_priority_max_args *p = params;
1673 iarg[0] = p->policy; /* int */
1677 /* sched_get_priority_min */
1679 struct sched_get_priority_min_args *p = params;
1680 iarg[0] = p->policy; /* int */
1684 /* sched_rr_get_interval */
1686 struct sched_rr_get_interval_args *p = params;
1687 iarg[0] = p->pid; /* pid_t */
1688 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1694 struct utrace_args *p = params;
1695 uarg[0] = (intptr_t) p->addr; /* const void * */
1696 uarg[1] = p->len; /* size_t */
1702 struct kldsym_args *p = params;
1703 iarg[0] = p->fileid; /* int */
1704 iarg[1] = p->cmd; /* int */
1705 uarg[2] = (intptr_t) p->data; /* void * */
1711 struct jail_args *p = params;
1712 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1718 struct nnpfs_syscall_args *p = params;
1719 iarg[0] = p->operation; /* int */
1720 uarg[1] = (intptr_t) p->a_pathP; /* char * */
1721 iarg[2] = p->a_opcode; /* int */
1722 uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1723 iarg[4] = p->a_followSymlinks; /* int */
1729 struct sigprocmask_args *p = params;
1730 iarg[0] = p->how; /* int */
1731 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1732 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1738 struct sigsuspend_args *p = params;
1739 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1745 struct sigpending_args *p = params;
1746 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1752 struct sigtimedwait_args *p = params;
1753 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1754 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1755 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1761 struct sigwaitinfo_args *p = params;
1762 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1763 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1767 /* __acl_get_file */
1769 struct __acl_get_file_args *p = params;
1770 uarg[0] = (intptr_t) p->path; /* const char * */
1771 iarg[1] = p->type; /* acl_type_t */
1772 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1776 /* __acl_set_file */
1778 struct __acl_set_file_args *p = params;
1779 uarg[0] = (intptr_t) p->path; /* const char * */
1780 iarg[1] = p->type; /* acl_type_t */
1781 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1787 struct __acl_get_fd_args *p = params;
1788 iarg[0] = p->filedes; /* int */
1789 iarg[1] = p->type; /* acl_type_t */
1790 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1796 struct __acl_set_fd_args *p = params;
1797 iarg[0] = p->filedes; /* int */
1798 iarg[1] = p->type; /* acl_type_t */
1799 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1803 /* __acl_delete_file */
1805 struct __acl_delete_file_args *p = params;
1806 uarg[0] = (intptr_t) p->path; /* const char * */
1807 iarg[1] = p->type; /* acl_type_t */
1811 /* __acl_delete_fd */
1813 struct __acl_delete_fd_args *p = params;
1814 iarg[0] = p->filedes; /* int */
1815 iarg[1] = p->type; /* acl_type_t */
1819 /* __acl_aclcheck_file */
1821 struct __acl_aclcheck_file_args *p = params;
1822 uarg[0] = (intptr_t) p->path; /* const char * */
1823 iarg[1] = p->type; /* acl_type_t */
1824 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1828 /* __acl_aclcheck_fd */
1830 struct __acl_aclcheck_fd_args *p = params;
1831 iarg[0] = p->filedes; /* int */
1832 iarg[1] = p->type; /* acl_type_t */
1833 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1839 struct extattrctl_args *p = params;
1840 uarg[0] = (intptr_t) p->path; /* const char * */
1841 iarg[1] = p->cmd; /* int */
1842 uarg[2] = (intptr_t) p->filename; /* const char * */
1843 iarg[3] = p->attrnamespace; /* int */
1844 uarg[4] = (intptr_t) p->attrname; /* const char * */
1848 /* extattr_set_file */
1850 struct extattr_set_file_args *p = params;
1851 uarg[0] = (intptr_t) p->path; /* const char * */
1852 iarg[1] = p->attrnamespace; /* int */
1853 uarg[2] = (intptr_t) p->attrname; /* const char * */
1854 uarg[3] = (intptr_t) p->data; /* void * */
1855 uarg[4] = p->nbytes; /* size_t */
1859 /* extattr_get_file */
1861 struct extattr_get_file_args *p = params;
1862 uarg[0] = (intptr_t) p->path; /* const char * */
1863 iarg[1] = p->attrnamespace; /* int */
1864 uarg[2] = (intptr_t) p->attrname; /* const char * */
1865 uarg[3] = (intptr_t) p->data; /* void * */
1866 uarg[4] = p->nbytes; /* size_t */
1870 /* extattr_delete_file */
1872 struct extattr_delete_file_args *p = params;
1873 uarg[0] = (intptr_t) p->path; /* const char * */
1874 iarg[1] = p->attrnamespace; /* int */
1875 uarg[2] = (intptr_t) p->attrname; /* const char * */
1879 /* aio_waitcomplete */
1881 struct aio_waitcomplete_args *p = params;
1882 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1883 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1889 struct getresuid_args *p = params;
1890 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1891 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1892 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1898 struct getresgid_args *p = params;
1899 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1900 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1901 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1912 struct kevent_args *p = params;
1913 iarg[0] = p->fd; /* int */
1914 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
1915 iarg[2] = p->nchanges; /* int */
1916 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
1917 iarg[4] = p->nevents; /* int */
1918 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
1922 /* extattr_set_fd */
1924 struct extattr_set_fd_args *p = params;
1925 iarg[0] = p->fd; /* int */
1926 iarg[1] = p->attrnamespace; /* int */
1927 uarg[2] = (intptr_t) p->attrname; /* const char * */
1928 uarg[3] = (intptr_t) p->data; /* void * */
1929 uarg[4] = p->nbytes; /* size_t */
1933 /* extattr_get_fd */
1935 struct extattr_get_fd_args *p = params;
1936 iarg[0] = p->fd; /* int */
1937 iarg[1] = p->attrnamespace; /* int */
1938 uarg[2] = (intptr_t) p->attrname; /* const char * */
1939 uarg[3] = (intptr_t) p->data; /* void * */
1940 uarg[4] = p->nbytes; /* size_t */
1944 /* extattr_delete_fd */
1946 struct extattr_delete_fd_args *p = params;
1947 iarg[0] = p->fd; /* int */
1948 iarg[1] = p->attrnamespace; /* int */
1949 uarg[2] = (intptr_t) p->attrname; /* const char * */
1955 struct __setugid_args *p = params;
1956 iarg[0] = p->flag; /* int */
1962 struct eaccess_args *p = params;
1963 uarg[0] = (intptr_t) p->path; /* char * */
1964 iarg[1] = p->amode; /* int */
1970 struct afs3_syscall_args *p = params;
1971 iarg[0] = p->syscall; /* long */
1972 iarg[1] = p->parm1; /* long */
1973 iarg[2] = p->parm2; /* long */
1974 iarg[3] = p->parm3; /* long */
1975 iarg[4] = p->parm4; /* long */
1976 iarg[5] = p->parm5; /* long */
1977 iarg[6] = p->parm6; /* long */
1983 struct nmount_args *p = params;
1984 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
1985 uarg[1] = p->iovcnt; /* unsigned int */
1986 iarg[2] = p->flags; /* int */
1990 /* __mac_get_proc */
1992 struct __mac_get_proc_args *p = params;
1993 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
1997 /* __mac_set_proc */
1999 struct __mac_set_proc_args *p = params;
2000 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2006 struct __mac_get_fd_args *p = params;
2007 iarg[0] = p->fd; /* int */
2008 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2012 /* __mac_get_file */
2014 struct __mac_get_file_args *p = params;
2015 uarg[0] = (intptr_t) p->path_p; /* const char * */
2016 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2022 struct __mac_set_fd_args *p = params;
2023 iarg[0] = p->fd; /* int */
2024 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2028 /* __mac_set_file */
2030 struct __mac_set_file_args *p = params;
2031 uarg[0] = (intptr_t) p->path_p; /* const char * */
2032 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2038 struct kenv_args *p = params;
2039 iarg[0] = p->what; /* int */
2040 uarg[1] = (intptr_t) p->name; /* const char * */
2041 uarg[2] = (intptr_t) p->value; /* char * */
2042 iarg[3] = p->len; /* int */
2048 struct lchflags_args *p = params;
2049 uarg[0] = (intptr_t) p->path; /* const char * */
2050 uarg[1] = p->flags; /* u_long */
2056 struct uuidgen_args *p = params;
2057 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2058 iarg[1] = p->count; /* int */
2064 struct sendfile_args *p = params;
2065 iarg[0] = p->fd; /* int */
2066 iarg[1] = p->s; /* int */
2067 iarg[2] = p->offset; /* off_t */
2068 uarg[3] = p->nbytes; /* size_t */
2069 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2070 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2071 iarg[6] = p->flags; /* int */
2077 struct mac_syscall_args *p = params;
2078 uarg[0] = (intptr_t) p->policy; /* const char * */
2079 iarg[1] = p->call; /* int */
2080 uarg[2] = (intptr_t) p->arg; /* void * */
2086 struct getfsstat_args *p = params;
2087 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2088 iarg[1] = p->bufsize; /* long */
2089 iarg[2] = p->flags; /* int */
2095 struct statfs_args *p = params;
2096 uarg[0] = (intptr_t) p->path; /* char * */
2097 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2103 struct fstatfs_args *p = params;
2104 iarg[0] = p->fd; /* int */
2105 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2111 struct fhstatfs_args *p = params;
2112 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2113 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2119 struct ksem_close_args *p = params;
2120 iarg[0] = p->id; /* semid_t */
2126 struct ksem_post_args *p = params;
2127 iarg[0] = p->id; /* semid_t */
2133 struct ksem_wait_args *p = params;
2134 iarg[0] = p->id; /* semid_t */
2140 struct ksem_trywait_args *p = params;
2141 iarg[0] = p->id; /* semid_t */
2147 struct ksem_init_args *p = params;
2148 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2149 uarg[1] = p->value; /* unsigned int */
2155 struct ksem_open_args *p = params;
2156 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2157 uarg[1] = (intptr_t) p->name; /* const char * */
2158 iarg[2] = p->oflag; /* int */
2159 iarg[3] = p->mode; /* mode_t */
2160 uarg[4] = p->value; /* unsigned int */
2166 struct ksem_unlink_args *p = params;
2167 uarg[0] = (intptr_t) p->name; /* const char * */
2173 struct ksem_getvalue_args *p = params;
2174 iarg[0] = p->id; /* semid_t */
2175 uarg[1] = (intptr_t) p->val; /* int * */
2181 struct ksem_destroy_args *p = params;
2182 iarg[0] = p->id; /* semid_t */
2188 struct __mac_get_pid_args *p = params;
2189 iarg[0] = p->pid; /* pid_t */
2190 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2194 /* __mac_get_link */
2196 struct __mac_get_link_args *p = params;
2197 uarg[0] = (intptr_t) p->path_p; /* const char * */
2198 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2202 /* __mac_set_link */
2204 struct __mac_set_link_args *p = params;
2205 uarg[0] = (intptr_t) p->path_p; /* const char * */
2206 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2210 /* extattr_set_link */
2212 struct extattr_set_link_args *p = params;
2213 uarg[0] = (intptr_t) p->path; /* const char * */
2214 iarg[1] = p->attrnamespace; /* int */
2215 uarg[2] = (intptr_t) p->attrname; /* const char * */
2216 uarg[3] = (intptr_t) p->data; /* void * */
2217 uarg[4] = p->nbytes; /* size_t */
2221 /* extattr_get_link */
2223 struct extattr_get_link_args *p = params;
2224 uarg[0] = (intptr_t) p->path; /* const char * */
2225 iarg[1] = p->attrnamespace; /* int */
2226 uarg[2] = (intptr_t) p->attrname; /* const char * */
2227 uarg[3] = (intptr_t) p->data; /* void * */
2228 uarg[4] = p->nbytes; /* size_t */
2232 /* extattr_delete_link */
2234 struct extattr_delete_link_args *p = params;
2235 uarg[0] = (intptr_t) p->path; /* const char * */
2236 iarg[1] = p->attrnamespace; /* int */
2237 uarg[2] = (intptr_t) p->attrname; /* const char * */
2243 struct __mac_execve_args *p = params;
2244 uarg[0] = (intptr_t) p->fname; /* char * */
2245 uarg[1] = (intptr_t) p->argv; /* char ** */
2246 uarg[2] = (intptr_t) p->envv; /* char ** */
2247 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2253 struct sigaction_args *p = params;
2254 iarg[0] = p->sig; /* int */
2255 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2256 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2262 struct sigreturn_args *p = params;
2263 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2269 struct getcontext_args *p = params;
2270 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2276 struct setcontext_args *p = params;
2277 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2283 struct swapcontext_args *p = params;
2284 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2285 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2291 struct swapoff_args *p = params;
2292 uarg[0] = (intptr_t) p->name; /* const char * */
2296 /* __acl_get_link */
2298 struct __acl_get_link_args *p = params;
2299 uarg[0] = (intptr_t) p->path; /* const char * */
2300 iarg[1] = p->type; /* acl_type_t */
2301 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2305 /* __acl_set_link */
2307 struct __acl_set_link_args *p = params;
2308 uarg[0] = (intptr_t) p->path; /* const char * */
2309 iarg[1] = p->type; /* acl_type_t */
2310 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2314 /* __acl_delete_link */
2316 struct __acl_delete_link_args *p = params;
2317 uarg[0] = (intptr_t) p->path; /* const char * */
2318 iarg[1] = p->type; /* acl_type_t */
2322 /* __acl_aclcheck_link */
2324 struct __acl_aclcheck_link_args *p = params;
2325 uarg[0] = (intptr_t) p->path; /* const char * */
2326 iarg[1] = p->type; /* acl_type_t */
2327 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2333 struct sigwait_args *p = params;
2334 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2335 uarg[1] = (intptr_t) p->sig; /* int * */
2341 struct thr_create_args *p = params;
2342 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2343 uarg[1] = (intptr_t) p->id; /* long * */
2344 iarg[2] = p->flags; /* int */
2350 struct thr_exit_args *p = params;
2351 uarg[0] = (intptr_t) p->state; /* long * */
2357 struct thr_self_args *p = params;
2358 uarg[0] = (intptr_t) p->id; /* long * */
2364 struct thr_kill_args *p = params;
2365 iarg[0] = p->id; /* long */
2366 iarg[1] = p->sig; /* int */
2372 struct jail_attach_args *p = params;
2373 iarg[0] = p->jid; /* int */
2377 /* extattr_list_fd */
2379 struct extattr_list_fd_args *p = params;
2380 iarg[0] = p->fd; /* int */
2381 iarg[1] = p->attrnamespace; /* int */
2382 uarg[2] = (intptr_t) p->data; /* void * */
2383 uarg[3] = p->nbytes; /* size_t */
2387 /* extattr_list_file */
2389 struct extattr_list_file_args *p = params;
2390 uarg[0] = (intptr_t) p->path; /* const char * */
2391 iarg[1] = p->attrnamespace; /* int */
2392 uarg[2] = (intptr_t) p->data; /* void * */
2393 uarg[3] = p->nbytes; /* size_t */
2397 /* extattr_list_link */
2399 struct extattr_list_link_args *p = params;
2400 uarg[0] = (intptr_t) p->path; /* const char * */
2401 iarg[1] = p->attrnamespace; /* int */
2402 uarg[2] = (intptr_t) p->data; /* void * */
2403 uarg[3] = p->nbytes; /* size_t */
2407 /* ksem_timedwait */
2409 struct ksem_timedwait_args *p = params;
2410 iarg[0] = p->id; /* semid_t */
2411 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2417 struct thr_suspend_args *p = params;
2418 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2424 struct thr_wake_args *p = params;
2425 iarg[0] = p->id; /* long */
2431 struct kldunloadf_args *p = params;
2432 iarg[0] = p->fileid; /* int */
2433 iarg[1] = p->flags; /* int */
2439 struct audit_args *p = params;
2440 uarg[0] = (intptr_t) p->record; /* const void * */
2441 uarg[1] = p->length; /* u_int */
2447 struct auditon_args *p = params;
2448 iarg[0] = p->cmd; /* int */
2449 uarg[1] = (intptr_t) p->data; /* void * */
2450 uarg[2] = p->length; /* u_int */
2456 struct getauid_args *p = params;
2457 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2463 struct setauid_args *p = params;
2464 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2470 struct getaudit_args *p = params;
2471 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2477 struct setaudit_args *p = params;
2478 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2484 struct getaudit_addr_args *p = params;
2485 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2486 uarg[1] = p->length; /* u_int */
2492 struct setaudit_addr_args *p = params;
2493 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2494 uarg[1] = p->length; /* u_int */
2500 struct auditctl_args *p = params;
2501 uarg[0] = (intptr_t) p->path; /* char * */
2507 struct _umtx_op_args *p = params;
2508 uarg[0] = (intptr_t) p->obj; /* void * */
2509 iarg[1] = p->op; /* int */
2510 uarg[2] = p->val; /* u_long */
2511 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2512 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2518 struct thr_new_args *p = params;
2519 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2520 iarg[1] = p->param_size; /* int */
2526 struct sigqueue_args *p = params;
2527 iarg[0] = p->pid; /* pid_t */
2528 iarg[1] = p->signum; /* int */
2529 uarg[2] = (intptr_t) p->value; /* void * */
2535 struct kmq_open_args *p = params;
2536 uarg[0] = (intptr_t) p->path; /* const char * */
2537 iarg[1] = p->flags; /* int */
2538 iarg[2] = p->mode; /* mode_t */
2539 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2545 struct kmq_setattr_args *p = params;
2546 iarg[0] = p->mqd; /* int */
2547 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2548 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2552 /* kmq_timedreceive */
2554 struct kmq_timedreceive_args *p = params;
2555 iarg[0] = p->mqd; /* int */
2556 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2557 uarg[2] = p->msg_len; /* size_t */
2558 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2559 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2565 struct kmq_timedsend_args *p = params;
2566 iarg[0] = p->mqd; /* int */
2567 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2568 uarg[2] = p->msg_len; /* size_t */
2569 uarg[3] = p->msg_prio; /* unsigned */
2570 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2576 struct kmq_notify_args *p = params;
2577 iarg[0] = p->mqd; /* int */
2578 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2584 struct kmq_unlink_args *p = params;
2585 uarg[0] = (intptr_t) p->path; /* const char * */
2591 struct abort2_args *p = params;
2592 uarg[0] = (intptr_t) p->why; /* const char * */
2593 iarg[1] = p->nargs; /* int */
2594 uarg[2] = (intptr_t) p->args; /* void ** */
2600 struct thr_set_name_args *p = params;
2601 iarg[0] = p->id; /* long */
2602 uarg[1] = (intptr_t) p->name; /* const char * */
2608 struct aio_fsync_args *p = params;
2609 iarg[0] = p->op; /* int */
2610 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2616 struct rtprio_thread_args *p = params;
2617 iarg[0] = p->function; /* int */
2618 iarg[1] = p->lwpid; /* lwpid_t */
2619 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2625 struct sctp_peeloff_args *p = params;
2626 iarg[0] = p->sd; /* int */
2627 uarg[1] = p->name; /* uint32_t */
2631 /* sctp_generic_sendmsg */
2633 struct sctp_generic_sendmsg_args *p = params;
2634 iarg[0] = p->sd; /* int */
2635 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2636 iarg[2] = p->mlen; /* int */
2637 uarg[3] = (intptr_t) p->to; /* caddr_t */
2638 iarg[4] = p->tolen; /* __socklen_t */
2639 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2640 iarg[6] = p->flags; /* int */
2644 /* sctp_generic_sendmsg_iov */
2646 struct sctp_generic_sendmsg_iov_args *p = params;
2647 iarg[0] = p->sd; /* int */
2648 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2649 iarg[2] = p->iovlen; /* int */
2650 uarg[3] = (intptr_t) p->to; /* caddr_t */
2651 iarg[4] = p->tolen; /* __socklen_t */
2652 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2653 iarg[6] = p->flags; /* int */
2657 /* sctp_generic_recvmsg */
2659 struct sctp_generic_recvmsg_args *p = params;
2660 iarg[0] = p->sd; /* int */
2661 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2662 iarg[2] = p->iovlen; /* int */
2663 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2664 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2665 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2666 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2672 struct pread_args *p = params;
2673 iarg[0] = p->fd; /* int */
2674 uarg[1] = (intptr_t) p->buf; /* void * */
2675 uarg[2] = p->nbyte; /* size_t */
2676 iarg[3] = p->offset; /* off_t */
2682 struct pwrite_args *p = params;
2683 iarg[0] = p->fd; /* int */
2684 uarg[1] = (intptr_t) p->buf; /* const void * */
2685 uarg[2] = p->nbyte; /* size_t */
2686 iarg[3] = p->offset; /* off_t */
2692 struct mmap_args *p = params;
2693 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2694 uarg[1] = p->len; /* size_t */
2695 iarg[2] = p->prot; /* int */
2696 iarg[3] = p->flags; /* int */
2697 iarg[4] = p->fd; /* int */
2698 iarg[5] = p->pos; /* off_t */
2704 struct lseek_args *p = params;
2705 iarg[0] = p->fd; /* int */
2706 iarg[1] = p->offset; /* off_t */
2707 iarg[2] = p->whence; /* int */
2713 struct truncate_args *p = params;
2714 uarg[0] = (intptr_t) p->path; /* char * */
2715 iarg[1] = p->length; /* off_t */
2721 struct ftruncate_args *p = params;
2722 iarg[0] = p->fd; /* int */
2723 iarg[1] = p->length; /* off_t */
2729 struct thr_kill2_args *p = params;
2730 iarg[0] = p->pid; /* pid_t */
2731 iarg[1] = p->id; /* long */
2732 iarg[2] = p->sig; /* int */
2738 struct shm_open_args *p = params;
2739 uarg[0] = (intptr_t) p->path; /* const char * */
2740 iarg[1] = p->flags; /* int */
2741 iarg[2] = p->mode; /* mode_t */
2747 struct shm_unlink_args *p = params;
2748 uarg[0] = (intptr_t) p->path; /* const char * */
2754 struct cpuset_args *p = params;
2755 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2761 struct cpuset_setid_args *p = params;
2762 iarg[0] = p->which; /* cpuwhich_t */
2763 iarg[1] = p->id; /* id_t */
2764 iarg[2] = p->setid; /* cpusetid_t */
2770 struct cpuset_getid_args *p = params;
2771 iarg[0] = p->level; /* cpulevel_t */
2772 iarg[1] = p->which; /* cpuwhich_t */
2773 iarg[2] = p->id; /* id_t */
2774 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2778 /* cpuset_getaffinity */
2780 struct cpuset_getaffinity_args *p = params;
2781 iarg[0] = p->level; /* cpulevel_t */
2782 iarg[1] = p->which; /* cpuwhich_t */
2783 iarg[2] = p->id; /* id_t */
2784 uarg[3] = p->cpusetsize; /* size_t */
2785 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2789 /* cpuset_setaffinity */
2791 struct cpuset_setaffinity_args *p = params;
2792 iarg[0] = p->level; /* cpulevel_t */
2793 iarg[1] = p->which; /* cpuwhich_t */
2794 iarg[2] = p->id; /* id_t */
2795 uarg[3] = p->cpusetsize; /* size_t */
2796 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2802 struct faccessat_args *p = params;
2803 iarg[0] = p->fd; /* int */
2804 uarg[1] = (intptr_t) p->path; /* char * */
2805 iarg[2] = p->amode; /* int */
2806 iarg[3] = p->flag; /* int */
2812 struct fchmodat_args *p = params;
2813 iarg[0] = p->fd; /* int */
2814 uarg[1] = (intptr_t) p->path; /* char * */
2815 iarg[2] = p->mode; /* mode_t */
2816 iarg[3] = p->flag; /* int */
2822 struct fchownat_args *p = params;
2823 iarg[0] = p->fd; /* int */
2824 uarg[1] = (intptr_t) p->path; /* char * */
2825 uarg[2] = p->uid; /* uid_t */
2826 iarg[3] = p->gid; /* gid_t */
2827 iarg[4] = p->flag; /* int */
2833 struct fexecve_args *p = params;
2834 iarg[0] = p->fd; /* int */
2835 uarg[1] = (intptr_t) p->argv; /* char ** */
2836 uarg[2] = (intptr_t) p->envv; /* char ** */
2842 struct fstatat_args *p = params;
2843 iarg[0] = p->fd; /* int */
2844 uarg[1] = (intptr_t) p->path; /* char * */
2845 uarg[2] = (intptr_t) p->buf; /* struct stat * */
2846 iarg[3] = p->flag; /* int */
2852 struct futimesat_args *p = params;
2853 iarg[0] = p->fd; /* int */
2854 uarg[1] = (intptr_t) p->path; /* char * */
2855 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2861 struct linkat_args *p = params;
2862 iarg[0] = p->fd1; /* int */
2863 uarg[1] = (intptr_t) p->path1; /* char * */
2864 iarg[2] = p->fd2; /* int */
2865 uarg[3] = (intptr_t) p->path2; /* char * */
2866 iarg[4] = p->flag; /* int */
2872 struct mkdirat_args *p = params;
2873 iarg[0] = p->fd; /* int */
2874 uarg[1] = (intptr_t) p->path; /* char * */
2875 iarg[2] = p->mode; /* mode_t */
2881 struct mkfifoat_args *p = params;
2882 iarg[0] = p->fd; /* int */
2883 uarg[1] = (intptr_t) p->path; /* char * */
2884 iarg[2] = p->mode; /* mode_t */
2890 struct mknodat_args *p = params;
2891 iarg[0] = p->fd; /* int */
2892 uarg[1] = (intptr_t) p->path; /* char * */
2893 iarg[2] = p->mode; /* mode_t */
2894 iarg[3] = p->dev; /* dev_t */
2900 struct openat_args *p = params;
2901 iarg[0] = p->fd; /* int */
2902 uarg[1] = (intptr_t) p->path; /* char * */
2903 iarg[2] = p->flag; /* int */
2904 iarg[3] = p->mode; /* mode_t */
2910 struct readlinkat_args *p = params;
2911 iarg[0] = p->fd; /* int */
2912 uarg[1] = (intptr_t) p->path; /* char * */
2913 uarg[2] = (intptr_t) p->buf; /* char * */
2914 uarg[3] = p->bufsize; /* size_t */
2920 struct renameat_args *p = params;
2921 iarg[0] = p->oldfd; /* int */
2922 uarg[1] = (intptr_t) p->old; /* char * */
2923 iarg[2] = p->newfd; /* int */
2924 uarg[3] = (intptr_t) p->new; /* char * */
2930 struct symlinkat_args *p = params;
2931 uarg[0] = (intptr_t) p->path1; /* char * */
2932 iarg[1] = p->fd; /* int */
2933 uarg[2] = (intptr_t) p->path2; /* char * */
2939 struct unlinkat_args *p = params;
2940 iarg[0] = p->fd; /* int */
2941 uarg[1] = (intptr_t) p->path; /* char * */
2942 iarg[2] = p->flag; /* int */
2948 struct posix_openpt_args *p = params;
2949 iarg[0] = p->flags; /* int */
2955 struct gssd_syscall_args *p = params;
2956 uarg[0] = (intptr_t) p->path; /* char * */
2962 struct jail_get_args *p = params;
2963 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2964 uarg[1] = p->iovcnt; /* unsigned int */
2965 iarg[2] = p->flags; /* int */
2971 struct jail_set_args *p = params;
2972 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2973 uarg[1] = p->iovcnt; /* unsigned int */
2974 iarg[2] = p->flags; /* int */
2980 struct jail_remove_args *p = params;
2981 iarg[0] = p->jid; /* int */
2987 struct closefrom_args *p = params;
2988 iarg[0] = p->lowfd; /* int */
2994 struct __semctl_args *p = params;
2995 iarg[0] = p->semid; /* int */
2996 iarg[1] = p->semnum; /* int */
2997 iarg[2] = p->cmd; /* int */
2998 uarg[3] = (intptr_t) p->arg; /* union semun * */
3004 struct msgctl_args *p = params;
3005 iarg[0] = p->msqid; /* int */
3006 iarg[1] = p->cmd; /* int */
3007 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
3013 struct shmctl_args *p = params;
3014 iarg[0] = p->shmid; /* int */
3015 iarg[1] = p->cmd; /* int */
3016 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
3022 struct lpathconf_args *p = params;
3023 uarg[0] = (intptr_t) p->path; /* char * */
3024 iarg[1] = p->name; /* int */
3028 /* __cap_rights_get */
3030 struct __cap_rights_get_args *p = params;
3031 iarg[0] = p->version; /* int */
3032 iarg[1] = p->fd; /* int */
3033 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */
3044 struct cap_getmode_args *p = params;
3045 uarg[0] = (intptr_t) p->modep; /* u_int * */
3051 struct pdfork_args *p = params;
3052 uarg[0] = (intptr_t) p->fdp; /* int * */
3053 iarg[1] = p->flags; /* int */
3059 struct pdkill_args *p = params;
3060 iarg[0] = p->fd; /* int */
3061 iarg[1] = p->signum; /* int */
3067 struct pdgetpid_args *p = params;
3068 iarg[0] = p->fd; /* int */
3069 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
3075 struct pselect_args *p = params;
3076 iarg[0] = p->nd; /* int */
3077 uarg[1] = (intptr_t) p->in; /* fd_set * */
3078 uarg[2] = (intptr_t) p->ou; /* fd_set * */
3079 uarg[3] = (intptr_t) p->ex; /* fd_set * */
3080 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
3081 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
3087 struct getloginclass_args *p = params;
3088 uarg[0] = (intptr_t) p->namebuf; /* char * */
3089 uarg[1] = p->namelen; /* size_t */
3095 struct setloginclass_args *p = params;
3096 uarg[0] = (intptr_t) p->namebuf; /* const char * */
3100 /* rctl_get_racct */
3102 struct rctl_get_racct_args *p = params;
3103 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3104 uarg[1] = p->inbuflen; /* size_t */
3105 uarg[2] = (intptr_t) p->outbufp; /* void * */
3106 uarg[3] = p->outbuflen; /* size_t */
3110 /* rctl_get_rules */
3112 struct rctl_get_rules_args *p = params;
3113 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3114 uarg[1] = p->inbuflen; /* size_t */
3115 uarg[2] = (intptr_t) p->outbufp; /* void * */
3116 uarg[3] = p->outbuflen; /* size_t */
3120 /* rctl_get_limits */
3122 struct rctl_get_limits_args *p = params;
3123 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3124 uarg[1] = p->inbuflen; /* size_t */
3125 uarg[2] = (intptr_t) p->outbufp; /* void * */
3126 uarg[3] = p->outbuflen; /* size_t */
3132 struct rctl_add_rule_args *p = params;
3133 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3134 uarg[1] = p->inbuflen; /* size_t */
3135 uarg[2] = (intptr_t) p->outbufp; /* void * */
3136 uarg[3] = p->outbuflen; /* size_t */
3140 /* rctl_remove_rule */
3142 struct rctl_remove_rule_args *p = params;
3143 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3144 uarg[1] = p->inbuflen; /* size_t */
3145 uarg[2] = (intptr_t) p->outbufp; /* void * */
3146 uarg[3] = p->outbuflen; /* size_t */
3150 /* posix_fallocate */
3152 struct posix_fallocate_args *p = params;
3153 iarg[0] = p->fd; /* int */
3154 iarg[1] = p->offset; /* off_t */
3155 iarg[2] = p->len; /* off_t */
3161 struct posix_fadvise_args *p = params;
3162 iarg[0] = p->fd; /* int */
3163 iarg[1] = p->offset; /* off_t */
3164 iarg[2] = p->len; /* off_t */
3165 iarg[3] = p->advice; /* int */
3171 struct wait6_args *p = params;
3172 iarg[0] = p->idtype; /* idtype_t */
3173 iarg[1] = p->id; /* id_t */
3174 uarg[2] = (intptr_t) p->status; /* int * */
3175 iarg[3] = p->options; /* int */
3176 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */
3177 uarg[5] = (intptr_t) p->info; /* siginfo_t * */
3181 /* cap_rights_limit */
3183 struct cap_rights_limit_args *p = params;
3184 iarg[0] = p->fd; /* int */
3185 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */
3189 /* cap_ioctls_limit */
3191 struct cap_ioctls_limit_args *p = params;
3192 iarg[0] = p->fd; /* int */
3193 uarg[1] = (intptr_t) p->cmds; /* const u_long * */
3194 uarg[2] = p->ncmds; /* size_t */
3198 /* cap_ioctls_get */
3200 struct cap_ioctls_get_args *p = params;
3201 iarg[0] = p->fd; /* int */
3202 uarg[1] = (intptr_t) p->cmds; /* u_long * */
3203 uarg[2] = p->maxcmds; /* size_t */
3207 /* cap_fcntls_limit */
3209 struct cap_fcntls_limit_args *p = params;
3210 iarg[0] = p->fd; /* int */
3211 uarg[1] = p->fcntlrights; /* uint32_t */
3215 /* cap_fcntls_get */
3217 struct cap_fcntls_get_args *p = params;
3218 iarg[0] = p->fd; /* int */
3219 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
3225 struct bindat_args *p = params;
3226 iarg[0] = p->fd; /* int */
3227 iarg[1] = p->s; /* int */
3228 uarg[2] = (intptr_t) p->name; /* caddr_t */
3229 iarg[3] = p->namelen; /* int */
3235 struct connectat_args *p = params;
3236 iarg[0] = p->fd; /* int */
3237 iarg[1] = p->s; /* int */
3238 uarg[2] = (intptr_t) p->name; /* caddr_t */
3239 iarg[3] = p->namelen; /* int */
3245 struct chflagsat_args *p = params;
3246 iarg[0] = p->fd; /* int */
3247 uarg[1] = (intptr_t) p->path; /* const char * */
3248 uarg[2] = p->flags; /* u_long */
3249 iarg[3] = p->atflag; /* int */
3255 struct accept4_args *p = params;
3256 iarg[0] = p->s; /* int */
3257 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
3258 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
3259 iarg[3] = p->flags; /* int */
3265 struct pipe2_args *p = params;
3266 uarg[0] = (intptr_t) p->fildes; /* int * */
3267 iarg[1] = p->flags; /* int */
3273 struct aio_mlock_args *p = params;
3274 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3280 struct procctl_args *p = params;
3281 iarg[0] = p->idtype; /* idtype_t */
3282 iarg[1] = p->id; /* id_t */
3283 iarg[2] = p->com; /* int */
3284 uarg[3] = (intptr_t) p->data; /* void * */
3290 struct ppoll_args *p = params;
3291 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
3292 uarg[1] = p->nfds; /* u_int */
3293 uarg[2] = (intptr_t) p->ts; /* const struct timespec * */
3294 uarg[3] = (intptr_t) p->set; /* const sigset_t * */
3300 struct futimens_args *p = params;
3301 iarg[0] = p->fd; /* int */
3302 uarg[1] = (intptr_t) p->times; /* struct timespec * */
3308 struct utimensat_args *p = params;
3309 iarg[0] = p->fd; /* int */
3310 uarg[1] = (intptr_t) p->path; /* char * */
3311 uarg[2] = (intptr_t) p->times; /* struct timespec * */
3312 iarg[3] = p->flag; /* int */
3316 /* numa_getaffinity */
3318 struct numa_getaffinity_args *p = params;
3319 iarg[0] = p->which; /* cpuwhich_t */
3320 iarg[1] = p->id; /* id_t */
3321 uarg[2] = (intptr_t) p->policy; /* struct vm_domain_policy_entry * */
3325 /* numa_setaffinity */
3327 struct numa_setaffinity_args *p = params;
3328 iarg[0] = p->which; /* cpuwhich_t */
3329 iarg[1] = p->id; /* id_t */
3330 uarg[2] = (intptr_t) p->policy; /* const struct vm_domain_policy_entry * */
3340 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3342 const char *p = NULL;
3431 p = "struct rusage *";
3612 p = "struct msghdr *";
3628 p = "struct msghdr *";
3653 p = "struct sockaddr *";
3656 p = "__socklen_t *";
3669 p = "struct sockaddr *";
3672 p = "__socklen_t *";
3685 p = "struct sockaddr *";
3688 p = "__socklen_t *";
3701 p = "struct sockaddr *";
3704 p = "__socklen_t *";
4131 p = "struct itimerval *";
4134 p = "struct itimerval *";
4157 p = "struct itimerval *";
4211 p = "struct timeval *";
4343 p = "struct timeval *";
4346 p = "struct timezone *";
4359 p = "struct rusage *";
4394 p = "struct iovec *";
4410 p = "struct iovec *";
4423 p = "struct timeval *";
4426 p = "struct timezone *";
4613 p = "struct timeval *";
4623 p = "struct timeval *";
4626 p = "struct timeval *";
4693 p = "struct fhandle *";
4706 p = "struct fhandle *";
4735 p = "struct rtprio *";
4821 p = "struct timex *";
4864 p = "struct stat *";
4877 p = "struct stat *";
4890 p = "struct stat *";
4929 p = "struct rlimit *";
4942 p = "struct rlimit *";
5038 p = "struct timeval *";
5058 p = "struct pollfd *";
5123 p = "struct sembuf *";
5235 p = "struct timespec *";
5248 p = "const struct timespec *";
5261 p = "struct timespec *";
5274 p = "struct sigevent *";
5293 /* ktimer_settime */
5303 p = "const struct itimerspec *";
5306 p = "struct itimerspec *";
5312 /* ktimer_gettime */
5319 p = "struct itimerspec *";
5325 /* ktimer_getoverrun */
5339 p = "const struct timespec *";
5342 p = "struct timespec *";
5348 /* ffclock_getcounter */
5358 /* ffclock_setestimate */
5362 p = "struct ffclock_estimate *";
5368 /* ffclock_getestimate */
5372 p = "struct ffclock_estimate *";
5378 /* clock_getcpuclockid2 */
5398 p = "struct ntptimeval *";
5434 p = "struct pollfd *";
5469 p = "struct aiocb *";
5479 p = "struct aiocb *";
5492 p = "struct aiocb *const *";
5498 p = "struct sigevent *";
5556 p = "struct timeval *";
5585 p = "struct nstat *";
5598 p = "struct nstat *";
5611 p = "struct nstat *";
5624 p = "struct iovec *";
5643 p = "struct iovec *";
5659 p = "const struct fhandle *";
5672 p = "const struct fhandle *";
5675 p = "struct stat *";
5698 p = "struct module_stat *";
5771 p = "struct kld_file_stat *";
5833 p = "struct aiocb *";
5843 p = "struct aiocb *const *";
5849 p = "const struct timespec *";
5862 p = "struct aiocb *";
5872 p = "struct aiocb *";
5907 /* sched_setparam */
5914 p = "const struct sched_param *";
5920 /* sched_getparam */
5927 p = "struct sched_param *";
5933 /* sched_setscheduler */
5943 p = "const struct sched_param *";
5949 /* sched_getscheduler */
5962 /* sched_get_priority_max */
5972 /* sched_get_priority_min */
5982 /* sched_rr_get_interval */
5989 p = "struct timespec *";
6028 p = "struct jail *";
6063 p = "const sigset_t *";
6076 p = "const sigset_t *";
6096 p = "const sigset_t *";
6102 p = "const struct timespec *";
6112 p = "const sigset_t *";
6121 /* __acl_get_file */
6137 /* __acl_set_file */
6185 /* __acl_delete_file */
6198 /* __acl_delete_fd */
6211 /* __acl_aclcheck_file */
6227 /* __acl_aclcheck_fd */
6265 /* extattr_set_file */
6287 /* extattr_get_file */
6309 /* extattr_delete_file */
6325 /* aio_waitcomplete */
6329 p = "struct aiocb **";
6332 p = "struct timespec *";
6380 p = "struct kevent *";
6386 p = "struct kevent *";
6392 p = "const struct timespec *";
6398 /* extattr_set_fd */
6420 /* extattr_get_fd */
6442 /* extattr_delete_fd */
6513 p = "struct iovec *";
6525 /* __mac_get_proc */
6535 /* __mac_set_proc */
6558 /* __mac_get_file */
6584 /* __mac_set_file */
6633 p = "struct uuid *";
6658 p = "struct sf_hdtr *";
6690 p = "struct statfs *";
6709 p = "struct statfs *";
6722 p = "struct statfs *";
6732 p = "const struct fhandle *";
6735 p = "struct statfs *";
6862 /* __mac_get_link */
6875 /* __mac_set_link */
6888 /* extattr_set_link */
6910 /* extattr_get_link */
6932 /* extattr_delete_link */
6974 p = "const struct sigaction *";
6977 p = "struct sigaction *";
6987 p = "const struct __ucontext *";
6997 p = "struct __ucontext *";
7007 p = "const struct __ucontext *";
7017 p = "struct __ucontext *";
7020 p = "const struct __ucontext *";
7036 /* __acl_get_link */
7052 /* __acl_set_link */
7068 /* __acl_delete_link */
7081 /* __acl_aclcheck_link */
7101 p = "const sigset_t *";
7169 /* extattr_list_fd */
7188 /* extattr_list_file */
7207 /* extattr_list_link */
7226 /* ksem_timedwait */
7233 p = "const struct timespec *";
7243 p = "const struct timespec *";
7325 p = "struct auditinfo *";
7335 p = "struct auditinfo *";
7345 p = "struct auditinfo_addr *";
7358 p = "struct auditinfo_addr *";
7403 p = "struct thr_param *";
7441 p = "const struct mq_attr *";
7454 p = "const struct mq_attr *";
7457 p = "struct mq_attr *";
7463 /* kmq_timedreceive */
7479 p = "const struct timespec *";
7501 p = "const struct timespec *";
7514 p = "const struct sigevent *";
7566 p = "struct aiocb *";
7582 p = "struct rtprio *";
7601 /* sctp_generic_sendmsg */
7620 p = "struct sctp_sndrcvinfo *";
7629 /* sctp_generic_sendmsg_iov */
7636 p = "struct iovec *";
7648 p = "struct sctp_sndrcvinfo *";
7657 /* sctp_generic_recvmsg */
7664 p = "struct iovec *";
7670 p = "struct sockaddr *";
7673 p = "__socklen_t *";
7676 p = "struct sctp_sndrcvinfo *";
7877 /* cpuset_getaffinity */
7899 /* cpuset_setaffinity */
7915 p = "const cpuset_t *";
8007 p = "struct stat *";
8026 p = "struct timeval *";
8218 p = "struct iovec *";
8234 p = "struct iovec *";
8279 p = "union semun *";
8295 p = "struct msqid_ds *";
8311 p = "struct shmid_ds *";
8330 /* __cap_rights_get */
8340 p = "cap_rights_t *";
8414 p = "const struct timespec *";
8417 p = "const sigset_t *";
8446 /* rctl_get_racct */
8465 /* rctl_get_rules */
8484 /* rctl_get_limits */
8522 /* rctl_remove_rule */
8541 /* posix_fallocate */
8592 p = "struct __wrusage *";
8601 /* cap_rights_limit */
8608 p = "cap_rights_t *";
8614 /* cap_ioctls_limit */
8621 p = "const u_long *";
8630 /* cap_ioctls_get */
8646 /* cap_fcntls_limit */
8659 /* cap_fcntls_get */
8736 p = "struct sockaddr *";
8739 p = "__socklen_t *";
8765 p = "struct aiocb *";
8794 p = "struct pollfd *";
8800 p = "const struct timespec *";
8803 p = "const sigset_t *";
8816 p = "struct timespec *";
8832 p = "struct timespec *";
8841 /* numa_getaffinity */
8851 p = "struct vm_domain_policy_entry *";
8857 /* numa_setaffinity */
8867 p = "const struct vm_domain_policy_entry *";
8877 strlcpy(desc, p, descsz);
8880 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8882 const char *p = NULL;
8888 if (ndx == 0 || ndx == 1)
8895 if (ndx == 0 || ndx == 1)
8900 if (ndx == 0 || ndx == 1)
8905 if (ndx == 0 || ndx == 1)
8910 if (ndx == 0 || ndx == 1)
8915 if (ndx == 0 || ndx == 1)
8920 if (ndx == 0 || ndx == 1)
8925 if (ndx == 0 || ndx == 1)
8930 if (ndx == 0 || ndx == 1)
8935 if (ndx == 0 || ndx == 1)
8940 if (ndx == 0 || ndx == 1)
8945 if (ndx == 0 || ndx == 1)
8950 if (ndx == 0 || ndx == 1)
8955 if (ndx == 0 || ndx == 1)
8962 if (ndx == 0 || ndx == 1)
8967 if (ndx == 0 || ndx == 1)
8972 if (ndx == 0 || ndx == 1)
8981 if (ndx == 0 || ndx == 1)
8986 if (ndx == 0 || ndx == 1)
8991 if (ndx == 0 || ndx == 1)
8996 if (ndx == 0 || ndx == 1)
9001 if (ndx == 0 || ndx == 1)
9006 if (ndx == 0 || ndx == 1)
9011 if (ndx == 0 || ndx == 1)
9016 if (ndx == 0 || ndx == 1)
9021 if (ndx == 0 || ndx == 1)
9026 if (ndx == 0 || ndx == 1)
9033 if (ndx == 0 || ndx == 1)
9040 if (ndx == 0 || ndx == 1)
9049 if (ndx == 0 || ndx == 1)
9054 if (ndx == 0 || ndx == 1)
9061 if (ndx == 0 || ndx == 1)
9066 if (ndx == 0 || ndx == 1)
9071 if (ndx == 0 || ndx == 1)
9076 if (ndx == 0 || ndx == 1)
9081 if (ndx == 0 || ndx == 1)
9086 if (ndx == 0 || ndx == 1)
9091 if (ndx == 0 || ndx == 1)
9096 if (ndx == 0 || ndx == 1)
9101 if (ndx == 0 || ndx == 1)
9106 if (ndx == 0 || ndx == 1)
9111 if (ndx == 0 || ndx == 1)
9116 if (ndx == 0 || ndx == 1)
9121 if (ndx == 0 || ndx == 1)
9128 if (ndx == 0 || ndx == 1)
9133 if (ndx == 0 || ndx == 1)
9138 if (ndx == 0 || ndx == 1)
9143 if (ndx == 0 || ndx == 1)
9148 if (ndx == 0 || ndx == 1)
9153 if (ndx == 0 || ndx == 1)
9158 if (ndx == 0 || ndx == 1)
9163 if (ndx == 0 || ndx == 1)
9168 if (ndx == 0 || ndx == 1)
9175 if (ndx == 0 || ndx == 1)
9180 if (ndx == 0 || ndx == 1)
9185 if (ndx == 0 || ndx == 1)
9190 if (ndx == 0 || ndx == 1)
9197 if (ndx == 0 || ndx == 1)
9202 if (ndx == 0 || ndx == 1)
9207 if (ndx == 0 || ndx == 1)
9212 if (ndx == 0 || ndx == 1)
9217 if (ndx == 0 || ndx == 1)
9222 if (ndx == 0 || ndx == 1)
9227 if (ndx == 0 || ndx == 1)
9232 if (ndx == 0 || ndx == 1)
9237 if (ndx == 0 || ndx == 1)
9242 if (ndx == 0 || ndx == 1)
9247 if (ndx == 0 || ndx == 1)
9252 if (ndx == 0 || ndx == 1)
9257 if (ndx == 0 || ndx == 1)
9262 if (ndx == 0 || ndx == 1)
9267 if (ndx == 0 || ndx == 1)
9272 if (ndx == 0 || ndx == 1)
9277 if (ndx == 0 || ndx == 1)
9282 if (ndx == 0 || ndx == 1)
9287 if (ndx == 0 || ndx == 1)
9292 if (ndx == 0 || ndx == 1)
9297 if (ndx == 0 || ndx == 1)
9302 if (ndx == 0 || ndx == 1)
9307 if (ndx == 0 || ndx == 1)
9312 if (ndx == 0 || ndx == 1)
9317 if (ndx == 0 || ndx == 1)
9322 if (ndx == 0 || ndx == 1)
9327 if (ndx == 0 || ndx == 1)
9332 if (ndx == 0 || ndx == 1)
9337 if (ndx == 0 || ndx == 1)
9342 if (ndx == 0 || ndx == 1)
9347 if (ndx == 0 || ndx == 1)
9354 if (ndx == 0 || ndx == 1)
9359 if (ndx == 0 || ndx == 1)
9364 if (ndx == 0 || ndx == 1)
9369 if (ndx == 0 || ndx == 1)
9374 if (ndx == 0 || ndx == 1)
9379 if (ndx == 0 || ndx == 1)
9384 if (ndx == 0 || ndx == 1)
9389 if (ndx == 0 || ndx == 1)
9394 if (ndx == 0 || ndx == 1)
9399 if (ndx == 0 || ndx == 1)
9404 if (ndx == 0 || ndx == 1)
9409 if (ndx == 0 || ndx == 1)
9414 if (ndx == 0 || ndx == 1)
9419 if (ndx == 0 || ndx == 1)
9424 if (ndx == 0 || ndx == 1)
9429 if (ndx == 0 || ndx == 1)
9434 if (ndx == 0 || ndx == 1)
9439 if (ndx == 0 || ndx == 1)
9444 if (ndx == 0 || ndx == 1)
9449 if (ndx == 0 || ndx == 1)
9454 if (ndx == 0 || ndx == 1)
9459 if (ndx == 0 || ndx == 1)
9464 if (ndx == 0 || ndx == 1)
9471 if (ndx == 0 || ndx == 1)
9476 if (ndx == 0 || ndx == 1)
9481 if (ndx == 0 || ndx == 1)
9486 if (ndx == 0 || ndx == 1)
9491 if (ndx == 0 || ndx == 1)
9496 if (ndx == 0 || ndx == 1)
9501 if (ndx == 0 || ndx == 1)
9526 if (ndx == 0 || ndx == 1)
9531 if (ndx == 0 || ndx == 1)
9536 if (ndx == 0 || ndx == 1)
9541 if (ndx == 0 || ndx == 1)
9546 if (ndx == 0 || ndx == 1)
9551 if (ndx == 0 || ndx == 1)
9556 if (ndx == 0 || ndx == 1)
9561 if (ndx == 0 || ndx == 1)
9566 if (ndx == 0 || ndx == 1)
9571 if (ndx == 0 || ndx == 1)
9576 if (ndx == 0 || ndx == 1)
9581 if (ndx == 0 || ndx == 1)
9586 if (ndx == 0 || ndx == 1)
9589 /* ktimer_settime */
9591 if (ndx == 0 || ndx == 1)
9594 /* ktimer_gettime */
9596 if (ndx == 0 || ndx == 1)
9599 /* ktimer_getoverrun */
9601 if (ndx == 0 || ndx == 1)
9606 if (ndx == 0 || ndx == 1)
9609 /* ffclock_getcounter */
9611 if (ndx == 0 || ndx == 1)
9614 /* ffclock_setestimate */
9616 if (ndx == 0 || ndx == 1)
9619 /* ffclock_getestimate */
9621 if (ndx == 0 || ndx == 1)
9624 /* clock_getcpuclockid2 */
9626 if (ndx == 0 || ndx == 1)
9631 if (ndx == 0 || ndx == 1)
9636 if (ndx == 0 || ndx == 1)
9641 if (ndx == 0 || ndx == 1)
9646 if (ndx == 0 || ndx == 1)
9653 if (ndx == 0 || ndx == 1)
9658 if (ndx == 0 || ndx == 1)
9663 if (ndx == 0 || ndx == 1)
9668 if (ndx == 0 || ndx == 1)
9673 if (ndx == 0 || ndx == 1)
9678 if (ndx == 0 || ndx == 1)
9683 if (ndx == 0 || ndx == 1)
9688 if (ndx == 0 || ndx == 1)
9693 if (ndx == 0 || ndx == 1)
9698 if (ndx == 0 || ndx == 1)
9703 if (ndx == 0 || ndx == 1)
9708 if (ndx == 0 || ndx == 1)
9713 if (ndx == 0 || ndx == 1)
9718 if (ndx == 0 || ndx == 1)
9723 if (ndx == 0 || ndx == 1)
9728 if (ndx == 0 || ndx == 1)
9733 if (ndx == 0 || ndx == 1)
9738 if (ndx == 0 || ndx == 1)
9743 if (ndx == 0 || ndx == 1)
9748 if (ndx == 0 || ndx == 1)
9753 if (ndx == 0 || ndx == 1)
9758 if (ndx == 0 || ndx == 1)
9763 if (ndx == 0 || ndx == 1)
9768 if (ndx == 0 || ndx == 1)
9773 if (ndx == 0 || ndx == 1)
9778 if (ndx == 0 || ndx == 1)
9783 if (ndx == 0 || ndx == 1)
9788 if (ndx == 0 || ndx == 1)
9793 if (ndx == 0 || ndx == 1)
9798 if (ndx == 0 || ndx == 1)
9803 if (ndx == 0 || ndx == 1)
9808 if (ndx == 0 || ndx == 1)
9813 if (ndx == 0 || ndx == 1)
9820 if (ndx == 0 || ndx == 1)
9827 if (ndx == 0 || ndx == 1)
9830 /* sched_setparam */
9832 if (ndx == 0 || ndx == 1)
9835 /* sched_getparam */
9837 if (ndx == 0 || ndx == 1)
9840 /* sched_setscheduler */
9842 if (ndx == 0 || ndx == 1)
9845 /* sched_getscheduler */
9847 if (ndx == 0 || ndx == 1)
9852 /* sched_get_priority_max */
9854 if (ndx == 0 || ndx == 1)
9857 /* sched_get_priority_min */
9859 if (ndx == 0 || ndx == 1)
9862 /* sched_rr_get_interval */
9864 if (ndx == 0 || ndx == 1)
9869 if (ndx == 0 || ndx == 1)
9874 if (ndx == 0 || ndx == 1)
9879 if (ndx == 0 || ndx == 1)
9884 if (ndx == 0 || ndx == 1)
9889 if (ndx == 0 || ndx == 1)
9894 if (ndx == 0 || ndx == 1)
9899 if (ndx == 0 || ndx == 1)
9904 if (ndx == 0 || ndx == 1)
9909 if (ndx == 0 || ndx == 1)
9912 /* __acl_get_file */
9914 if (ndx == 0 || ndx == 1)
9917 /* __acl_set_file */
9919 if (ndx == 0 || ndx == 1)
9924 if (ndx == 0 || ndx == 1)
9929 if (ndx == 0 || ndx == 1)
9932 /* __acl_delete_file */
9934 if (ndx == 0 || ndx == 1)
9937 /* __acl_delete_fd */
9939 if (ndx == 0 || ndx == 1)
9942 /* __acl_aclcheck_file */
9944 if (ndx == 0 || ndx == 1)
9947 /* __acl_aclcheck_fd */
9949 if (ndx == 0 || ndx == 1)
9954 if (ndx == 0 || ndx == 1)
9957 /* extattr_set_file */
9959 if (ndx == 0 || ndx == 1)
9962 /* extattr_get_file */
9964 if (ndx == 0 || ndx == 1)
9967 /* extattr_delete_file */
9969 if (ndx == 0 || ndx == 1)
9972 /* aio_waitcomplete */
9974 if (ndx == 0 || ndx == 1)
9979 if (ndx == 0 || ndx == 1)
9984 if (ndx == 0 || ndx == 1)
9991 if (ndx == 0 || ndx == 1)
9994 /* extattr_set_fd */
9996 if (ndx == 0 || ndx == 1)
9999 /* extattr_get_fd */
10001 if (ndx == 0 || ndx == 1)
10004 /* extattr_delete_fd */
10006 if (ndx == 0 || ndx == 1)
10011 if (ndx == 0 || ndx == 1)
10016 if (ndx == 0 || ndx == 1)
10021 if (ndx == 0 || ndx == 1)
10026 if (ndx == 0 || ndx == 1)
10029 /* __mac_get_proc */
10031 if (ndx == 0 || ndx == 1)
10034 /* __mac_set_proc */
10036 if (ndx == 0 || ndx == 1)
10041 if (ndx == 0 || ndx == 1)
10044 /* __mac_get_file */
10046 if (ndx == 0 || ndx == 1)
10051 if (ndx == 0 || ndx == 1)
10054 /* __mac_set_file */
10056 if (ndx == 0 || ndx == 1)
10061 if (ndx == 0 || ndx == 1)
10066 if (ndx == 0 || ndx == 1)
10071 if (ndx == 0 || ndx == 1)
10076 if (ndx == 0 || ndx == 1)
10081 if (ndx == 0 || ndx == 1)
10086 if (ndx == 0 || ndx == 1)
10091 if (ndx == 0 || ndx == 1)
10096 if (ndx == 0 || ndx == 1)
10101 if (ndx == 0 || ndx == 1)
10106 if (ndx == 0 || ndx == 1)
10111 if (ndx == 0 || ndx == 1)
10116 if (ndx == 0 || ndx == 1)
10121 if (ndx == 0 || ndx == 1)
10126 if (ndx == 0 || ndx == 1)
10131 if (ndx == 0 || ndx == 1)
10136 if (ndx == 0 || ndx == 1)
10139 /* ksem_getvalue */
10141 if (ndx == 0 || ndx == 1)
10146 if (ndx == 0 || ndx == 1)
10149 /* __mac_get_pid */
10151 if (ndx == 0 || ndx == 1)
10154 /* __mac_get_link */
10156 if (ndx == 0 || ndx == 1)
10159 /* __mac_set_link */
10161 if (ndx == 0 || ndx == 1)
10164 /* extattr_set_link */
10166 if (ndx == 0 || ndx == 1)
10169 /* extattr_get_link */
10171 if (ndx == 0 || ndx == 1)
10174 /* extattr_delete_link */
10176 if (ndx == 0 || ndx == 1)
10181 if (ndx == 0 || ndx == 1)
10186 if (ndx == 0 || ndx == 1)
10191 if (ndx == 0 || ndx == 1)
10196 if (ndx == 0 || ndx == 1)
10201 if (ndx == 0 || ndx == 1)
10206 if (ndx == 0 || ndx == 1)
10211 if (ndx == 0 || ndx == 1)
10214 /* __acl_get_link */
10216 if (ndx == 0 || ndx == 1)
10219 /* __acl_set_link */
10221 if (ndx == 0 || ndx == 1)
10224 /* __acl_delete_link */
10226 if (ndx == 0 || ndx == 1)
10229 /* __acl_aclcheck_link */
10231 if (ndx == 0 || ndx == 1)
10236 if (ndx == 0 || ndx == 1)
10241 if (ndx == 0 || ndx == 1)
10246 if (ndx == 0 || ndx == 1)
10251 if (ndx == 0 || ndx == 1)
10256 if (ndx == 0 || ndx == 1)
10261 if (ndx == 0 || ndx == 1)
10264 /* extattr_list_fd */
10266 if (ndx == 0 || ndx == 1)
10269 /* extattr_list_file */
10271 if (ndx == 0 || ndx == 1)
10274 /* extattr_list_link */
10276 if (ndx == 0 || ndx == 1)
10279 /* ksem_timedwait */
10281 if (ndx == 0 || ndx == 1)
10286 if (ndx == 0 || ndx == 1)
10291 if (ndx == 0 || ndx == 1)
10296 if (ndx == 0 || ndx == 1)
10301 if (ndx == 0 || ndx == 1)
10306 if (ndx == 0 || ndx == 1)
10311 if (ndx == 0 || ndx == 1)
10316 if (ndx == 0 || ndx == 1)
10321 if (ndx == 0 || ndx == 1)
10326 if (ndx == 0 || ndx == 1)
10329 /* getaudit_addr */
10331 if (ndx == 0 || ndx == 1)
10334 /* setaudit_addr */
10336 if (ndx == 0 || ndx == 1)
10341 if (ndx == 0 || ndx == 1)
10346 if (ndx == 0 || ndx == 1)
10351 if (ndx == 0 || ndx == 1)
10356 if (ndx == 0 || ndx == 1)
10361 if (ndx == 0 || ndx == 1)
10366 if (ndx == 0 || ndx == 1)
10369 /* kmq_timedreceive */
10371 if (ndx == 0 || ndx == 1)
10374 /* kmq_timedsend */
10376 if (ndx == 0 || ndx == 1)
10381 if (ndx == 0 || ndx == 1)
10386 if (ndx == 0 || ndx == 1)
10391 if (ndx == 0 || ndx == 1)
10396 if (ndx == 0 || ndx == 1)
10401 if (ndx == 0 || ndx == 1)
10404 /* rtprio_thread */
10406 if (ndx == 0 || ndx == 1)
10411 if (ndx == 0 || ndx == 1)
10414 /* sctp_generic_sendmsg */
10416 if (ndx == 0 || ndx == 1)
10419 /* sctp_generic_sendmsg_iov */
10421 if (ndx == 0 || ndx == 1)
10424 /* sctp_generic_recvmsg */
10426 if (ndx == 0 || ndx == 1)
10431 if (ndx == 0 || ndx == 1)
10436 if (ndx == 0 || ndx == 1)
10441 if (ndx == 0 || ndx == 1)
10446 if (ndx == 0 || ndx == 1)
10451 if (ndx == 0 || ndx == 1)
10456 if (ndx == 0 || ndx == 1)
10461 if (ndx == 0 || ndx == 1)
10466 if (ndx == 0 || ndx == 1)
10471 if (ndx == 0 || ndx == 1)
10476 if (ndx == 0 || ndx == 1)
10481 if (ndx == 0 || ndx == 1)
10486 if (ndx == 0 || ndx == 1)
10489 /* cpuset_getaffinity */
10491 if (ndx == 0 || ndx == 1)
10494 /* cpuset_setaffinity */
10496 if (ndx == 0 || ndx == 1)
10501 if (ndx == 0 || ndx == 1)
10506 if (ndx == 0 || ndx == 1)
10511 if (ndx == 0 || ndx == 1)
10516 if (ndx == 0 || ndx == 1)
10521 if (ndx == 0 || ndx == 1)
10526 if (ndx == 0 || ndx == 1)
10531 if (ndx == 0 || ndx == 1)
10536 if (ndx == 0 || ndx == 1)
10541 if (ndx == 0 || ndx == 1)
10546 if (ndx == 0 || ndx == 1)
10551 if (ndx == 0 || ndx == 1)
10556 if (ndx == 0 || ndx == 1)
10561 if (ndx == 0 || ndx == 1)
10566 if (ndx == 0 || ndx == 1)
10571 if (ndx == 0 || ndx == 1)
10576 if (ndx == 0 || ndx == 1)
10581 if (ndx == 0 || ndx == 1)
10586 if (ndx == 0 || ndx == 1)
10591 if (ndx == 0 || ndx == 1)
10596 if (ndx == 0 || ndx == 1)
10601 if (ndx == 0 || ndx == 1)
10606 if (ndx == 0 || ndx == 1)
10611 if (ndx == 0 || ndx == 1)
10616 if (ndx == 0 || ndx == 1)
10621 if (ndx == 0 || ndx == 1)
10624 /* __cap_rights_get */
10626 if (ndx == 0 || ndx == 1)
10633 if (ndx == 0 || ndx == 1)
10638 if (ndx == 0 || ndx == 1)
10643 if (ndx == 0 || ndx == 1)
10648 if (ndx == 0 || ndx == 1)
10653 if (ndx == 0 || ndx == 1)
10656 /* getloginclass */
10658 if (ndx == 0 || ndx == 1)
10661 /* setloginclass */
10663 if (ndx == 0 || ndx == 1)
10666 /* rctl_get_racct */
10668 if (ndx == 0 || ndx == 1)
10671 /* rctl_get_rules */
10673 if (ndx == 0 || ndx == 1)
10676 /* rctl_get_limits */
10678 if (ndx == 0 || ndx == 1)
10681 /* rctl_add_rule */
10683 if (ndx == 0 || ndx == 1)
10686 /* rctl_remove_rule */
10688 if (ndx == 0 || ndx == 1)
10691 /* posix_fallocate */
10693 if (ndx == 0 || ndx == 1)
10696 /* posix_fadvise */
10698 if (ndx == 0 || ndx == 1)
10703 if (ndx == 0 || ndx == 1)
10706 /* cap_rights_limit */
10708 if (ndx == 0 || ndx == 1)
10711 /* cap_ioctls_limit */
10713 if (ndx == 0 || ndx == 1)
10716 /* cap_ioctls_get */
10718 if (ndx == 0 || ndx == 1)
10721 /* cap_fcntls_limit */
10723 if (ndx == 0 || ndx == 1)
10726 /* cap_fcntls_get */
10728 if (ndx == 0 || ndx == 1)
10733 if (ndx == 0 || ndx == 1)
10738 if (ndx == 0 || ndx == 1)
10743 if (ndx == 0 || ndx == 1)
10748 if (ndx == 0 || ndx == 1)
10753 if (ndx == 0 || ndx == 1)
10758 if (ndx == 0 || ndx == 1)
10763 if (ndx == 0 || ndx == 1)
10768 if (ndx == 0 || ndx == 1)
10773 if (ndx == 0 || ndx == 1)
10778 if (ndx == 0 || ndx == 1)
10781 /* numa_getaffinity */
10783 if (ndx == 0 || ndx == 1)
10786 /* numa_setaffinity */
10788 if (ndx == 0 || ndx == 1)
10795 strlcpy(desc, p, descsz);