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 * */
1610 struct oaio_read_args *p = params;
1611 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1617 struct oaio_write_args *p = params;
1618 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1624 struct olio_listio_args *p = params;
1625 iarg[0] = p->mode; /* int */
1626 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb *const * */
1627 iarg[2] = p->nent; /* int */
1628 uarg[3] = (intptr_t) p->sig; /* struct osigevent * */
1639 struct mlockall_args *p = params;
1640 iarg[0] = p->how; /* int */
1651 struct __getcwd_args *p = params;
1652 uarg[0] = (intptr_t) p->buf; /* char * */
1653 uarg[1] = p->buflen; /* u_int */
1657 /* sched_setparam */
1659 struct sched_setparam_args *p = params;
1660 iarg[0] = p->pid; /* pid_t */
1661 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1665 /* sched_getparam */
1667 struct sched_getparam_args *p = params;
1668 iarg[0] = p->pid; /* pid_t */
1669 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1673 /* sched_setscheduler */
1675 struct sched_setscheduler_args *p = params;
1676 iarg[0] = p->pid; /* pid_t */
1677 iarg[1] = p->policy; /* int */
1678 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1682 /* sched_getscheduler */
1684 struct sched_getscheduler_args *p = params;
1685 iarg[0] = p->pid; /* pid_t */
1694 /* sched_get_priority_max */
1696 struct sched_get_priority_max_args *p = params;
1697 iarg[0] = p->policy; /* int */
1701 /* sched_get_priority_min */
1703 struct sched_get_priority_min_args *p = params;
1704 iarg[0] = p->policy; /* int */
1708 /* sched_rr_get_interval */
1710 struct sched_rr_get_interval_args *p = params;
1711 iarg[0] = p->pid; /* pid_t */
1712 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1718 struct utrace_args *p = params;
1719 uarg[0] = (intptr_t) p->addr; /* const void * */
1720 uarg[1] = p->len; /* size_t */
1726 struct kldsym_args *p = params;
1727 iarg[0] = p->fileid; /* int */
1728 iarg[1] = p->cmd; /* int */
1729 uarg[2] = (intptr_t) p->data; /* void * */
1735 struct jail_args *p = params;
1736 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1742 struct nnpfs_syscall_args *p = params;
1743 iarg[0] = p->operation; /* int */
1744 uarg[1] = (intptr_t) p->a_pathP; /* char * */
1745 iarg[2] = p->a_opcode; /* int */
1746 uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1747 iarg[4] = p->a_followSymlinks; /* int */
1753 struct sigprocmask_args *p = params;
1754 iarg[0] = p->how; /* int */
1755 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1756 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1762 struct sigsuspend_args *p = params;
1763 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1769 struct sigpending_args *p = params;
1770 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1776 struct sigtimedwait_args *p = params;
1777 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1778 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1779 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1785 struct sigwaitinfo_args *p = params;
1786 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1787 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1791 /* __acl_get_file */
1793 struct __acl_get_file_args *p = params;
1794 uarg[0] = (intptr_t) p->path; /* const char * */
1795 iarg[1] = p->type; /* acl_type_t */
1796 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1800 /* __acl_set_file */
1802 struct __acl_set_file_args *p = params;
1803 uarg[0] = (intptr_t) p->path; /* const char * */
1804 iarg[1] = p->type; /* acl_type_t */
1805 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1811 struct __acl_get_fd_args *p = params;
1812 iarg[0] = p->filedes; /* int */
1813 iarg[1] = p->type; /* acl_type_t */
1814 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1820 struct __acl_set_fd_args *p = params;
1821 iarg[0] = p->filedes; /* int */
1822 iarg[1] = p->type; /* acl_type_t */
1823 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1827 /* __acl_delete_file */
1829 struct __acl_delete_file_args *p = params;
1830 uarg[0] = (intptr_t) p->path; /* const char * */
1831 iarg[1] = p->type; /* acl_type_t */
1835 /* __acl_delete_fd */
1837 struct __acl_delete_fd_args *p = params;
1838 iarg[0] = p->filedes; /* int */
1839 iarg[1] = p->type; /* acl_type_t */
1843 /* __acl_aclcheck_file */
1845 struct __acl_aclcheck_file_args *p = params;
1846 uarg[0] = (intptr_t) p->path; /* const char * */
1847 iarg[1] = p->type; /* acl_type_t */
1848 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1852 /* __acl_aclcheck_fd */
1854 struct __acl_aclcheck_fd_args *p = params;
1855 iarg[0] = p->filedes; /* int */
1856 iarg[1] = p->type; /* acl_type_t */
1857 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1863 struct extattrctl_args *p = params;
1864 uarg[0] = (intptr_t) p->path; /* const char * */
1865 iarg[1] = p->cmd; /* int */
1866 uarg[2] = (intptr_t) p->filename; /* const char * */
1867 iarg[3] = p->attrnamespace; /* int */
1868 uarg[4] = (intptr_t) p->attrname; /* const char * */
1872 /* extattr_set_file */
1874 struct extattr_set_file_args *p = params;
1875 uarg[0] = (intptr_t) p->path; /* const char * */
1876 iarg[1] = p->attrnamespace; /* int */
1877 uarg[2] = (intptr_t) p->attrname; /* const char * */
1878 uarg[3] = (intptr_t) p->data; /* void * */
1879 uarg[4] = p->nbytes; /* size_t */
1883 /* extattr_get_file */
1885 struct extattr_get_file_args *p = params;
1886 uarg[0] = (intptr_t) p->path; /* const char * */
1887 iarg[1] = p->attrnamespace; /* int */
1888 uarg[2] = (intptr_t) p->attrname; /* const char * */
1889 uarg[3] = (intptr_t) p->data; /* void * */
1890 uarg[4] = p->nbytes; /* size_t */
1894 /* extattr_delete_file */
1896 struct extattr_delete_file_args *p = params;
1897 uarg[0] = (intptr_t) p->path; /* const char * */
1898 iarg[1] = p->attrnamespace; /* int */
1899 uarg[2] = (intptr_t) p->attrname; /* const char * */
1903 /* aio_waitcomplete */
1905 struct aio_waitcomplete_args *p = params;
1906 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1907 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1913 struct getresuid_args *p = params;
1914 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1915 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1916 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1922 struct getresgid_args *p = params;
1923 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1924 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1925 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1936 struct kevent_args *p = params;
1937 iarg[0] = p->fd; /* int */
1938 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
1939 iarg[2] = p->nchanges; /* int */
1940 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
1941 iarg[4] = p->nevents; /* int */
1942 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
1946 /* extattr_set_fd */
1948 struct extattr_set_fd_args *p = params;
1949 iarg[0] = p->fd; /* int */
1950 iarg[1] = p->attrnamespace; /* int */
1951 uarg[2] = (intptr_t) p->attrname; /* const char * */
1952 uarg[3] = (intptr_t) p->data; /* void * */
1953 uarg[4] = p->nbytes; /* size_t */
1957 /* extattr_get_fd */
1959 struct extattr_get_fd_args *p = params;
1960 iarg[0] = p->fd; /* int */
1961 iarg[1] = p->attrnamespace; /* int */
1962 uarg[2] = (intptr_t) p->attrname; /* const char * */
1963 uarg[3] = (intptr_t) p->data; /* void * */
1964 uarg[4] = p->nbytes; /* size_t */
1968 /* extattr_delete_fd */
1970 struct extattr_delete_fd_args *p = params;
1971 iarg[0] = p->fd; /* int */
1972 iarg[1] = p->attrnamespace; /* int */
1973 uarg[2] = (intptr_t) p->attrname; /* const char * */
1979 struct __setugid_args *p = params;
1980 iarg[0] = p->flag; /* int */
1986 struct eaccess_args *p = params;
1987 uarg[0] = (intptr_t) p->path; /* char * */
1988 iarg[1] = p->amode; /* int */
1994 struct afs3_syscall_args *p = params;
1995 iarg[0] = p->syscall; /* long */
1996 iarg[1] = p->parm1; /* long */
1997 iarg[2] = p->parm2; /* long */
1998 iarg[3] = p->parm3; /* long */
1999 iarg[4] = p->parm4; /* long */
2000 iarg[5] = p->parm5; /* long */
2001 iarg[6] = p->parm6; /* long */
2007 struct nmount_args *p = params;
2008 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2009 uarg[1] = p->iovcnt; /* unsigned int */
2010 iarg[2] = p->flags; /* int */
2014 /* __mac_get_proc */
2016 struct __mac_get_proc_args *p = params;
2017 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2021 /* __mac_set_proc */
2023 struct __mac_set_proc_args *p = params;
2024 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2030 struct __mac_get_fd_args *p = params;
2031 iarg[0] = p->fd; /* int */
2032 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2036 /* __mac_get_file */
2038 struct __mac_get_file_args *p = params;
2039 uarg[0] = (intptr_t) p->path_p; /* const char * */
2040 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2046 struct __mac_set_fd_args *p = params;
2047 iarg[0] = p->fd; /* int */
2048 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2052 /* __mac_set_file */
2054 struct __mac_set_file_args *p = params;
2055 uarg[0] = (intptr_t) p->path_p; /* const char * */
2056 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2062 struct kenv_args *p = params;
2063 iarg[0] = p->what; /* int */
2064 uarg[1] = (intptr_t) p->name; /* const char * */
2065 uarg[2] = (intptr_t) p->value; /* char * */
2066 iarg[3] = p->len; /* int */
2072 struct lchflags_args *p = params;
2073 uarg[0] = (intptr_t) p->path; /* const char * */
2074 uarg[1] = p->flags; /* u_long */
2080 struct uuidgen_args *p = params;
2081 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2082 iarg[1] = p->count; /* int */
2088 struct sendfile_args *p = params;
2089 iarg[0] = p->fd; /* int */
2090 iarg[1] = p->s; /* int */
2091 iarg[2] = p->offset; /* off_t */
2092 uarg[3] = p->nbytes; /* size_t */
2093 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2094 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2095 iarg[6] = p->flags; /* int */
2101 struct mac_syscall_args *p = params;
2102 uarg[0] = (intptr_t) p->policy; /* const char * */
2103 iarg[1] = p->call; /* int */
2104 uarg[2] = (intptr_t) p->arg; /* void * */
2110 struct getfsstat_args *p = params;
2111 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2112 iarg[1] = p->bufsize; /* long */
2113 iarg[2] = p->flags; /* int */
2119 struct statfs_args *p = params;
2120 uarg[0] = (intptr_t) p->path; /* char * */
2121 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2127 struct fstatfs_args *p = params;
2128 iarg[0] = p->fd; /* int */
2129 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2135 struct fhstatfs_args *p = params;
2136 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2137 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2143 struct ksem_close_args *p = params;
2144 iarg[0] = p->id; /* semid_t */
2150 struct ksem_post_args *p = params;
2151 iarg[0] = p->id; /* semid_t */
2157 struct ksem_wait_args *p = params;
2158 iarg[0] = p->id; /* semid_t */
2164 struct ksem_trywait_args *p = params;
2165 iarg[0] = p->id; /* semid_t */
2171 struct ksem_init_args *p = params;
2172 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2173 uarg[1] = p->value; /* unsigned int */
2179 struct ksem_open_args *p = params;
2180 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2181 uarg[1] = (intptr_t) p->name; /* const char * */
2182 iarg[2] = p->oflag; /* int */
2183 iarg[3] = p->mode; /* mode_t */
2184 uarg[4] = p->value; /* unsigned int */
2190 struct ksem_unlink_args *p = params;
2191 uarg[0] = (intptr_t) p->name; /* const char * */
2197 struct ksem_getvalue_args *p = params;
2198 iarg[0] = p->id; /* semid_t */
2199 uarg[1] = (intptr_t) p->val; /* int * */
2205 struct ksem_destroy_args *p = params;
2206 iarg[0] = p->id; /* semid_t */
2212 struct __mac_get_pid_args *p = params;
2213 iarg[0] = p->pid; /* pid_t */
2214 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2218 /* __mac_get_link */
2220 struct __mac_get_link_args *p = params;
2221 uarg[0] = (intptr_t) p->path_p; /* const char * */
2222 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2226 /* __mac_set_link */
2228 struct __mac_set_link_args *p = params;
2229 uarg[0] = (intptr_t) p->path_p; /* const char * */
2230 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2234 /* extattr_set_link */
2236 struct extattr_set_link_args *p = params;
2237 uarg[0] = (intptr_t) p->path; /* const char * */
2238 iarg[1] = p->attrnamespace; /* int */
2239 uarg[2] = (intptr_t) p->attrname; /* const char * */
2240 uarg[3] = (intptr_t) p->data; /* void * */
2241 uarg[4] = p->nbytes; /* size_t */
2245 /* extattr_get_link */
2247 struct extattr_get_link_args *p = params;
2248 uarg[0] = (intptr_t) p->path; /* const char * */
2249 iarg[1] = p->attrnamespace; /* int */
2250 uarg[2] = (intptr_t) p->attrname; /* const char * */
2251 uarg[3] = (intptr_t) p->data; /* void * */
2252 uarg[4] = p->nbytes; /* size_t */
2256 /* extattr_delete_link */
2258 struct extattr_delete_link_args *p = params;
2259 uarg[0] = (intptr_t) p->path; /* const char * */
2260 iarg[1] = p->attrnamespace; /* int */
2261 uarg[2] = (intptr_t) p->attrname; /* const char * */
2267 struct __mac_execve_args *p = params;
2268 uarg[0] = (intptr_t) p->fname; /* char * */
2269 uarg[1] = (intptr_t) p->argv; /* char ** */
2270 uarg[2] = (intptr_t) p->envv; /* char ** */
2271 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2277 struct sigaction_args *p = params;
2278 iarg[0] = p->sig; /* int */
2279 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2280 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2286 struct sigreturn_args *p = params;
2287 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2293 struct getcontext_args *p = params;
2294 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2300 struct setcontext_args *p = params;
2301 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2307 struct swapcontext_args *p = params;
2308 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2309 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2315 struct swapoff_args *p = params;
2316 uarg[0] = (intptr_t) p->name; /* const char * */
2320 /* __acl_get_link */
2322 struct __acl_get_link_args *p = params;
2323 uarg[0] = (intptr_t) p->path; /* const char * */
2324 iarg[1] = p->type; /* acl_type_t */
2325 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2329 /* __acl_set_link */
2331 struct __acl_set_link_args *p = params;
2332 uarg[0] = (intptr_t) p->path; /* const char * */
2333 iarg[1] = p->type; /* acl_type_t */
2334 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2338 /* __acl_delete_link */
2340 struct __acl_delete_link_args *p = params;
2341 uarg[0] = (intptr_t) p->path; /* const char * */
2342 iarg[1] = p->type; /* acl_type_t */
2346 /* __acl_aclcheck_link */
2348 struct __acl_aclcheck_link_args *p = params;
2349 uarg[0] = (intptr_t) p->path; /* const char * */
2350 iarg[1] = p->type; /* acl_type_t */
2351 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2357 struct sigwait_args *p = params;
2358 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2359 uarg[1] = (intptr_t) p->sig; /* int * */
2365 struct thr_create_args *p = params;
2366 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2367 uarg[1] = (intptr_t) p->id; /* long * */
2368 iarg[2] = p->flags; /* int */
2374 struct thr_exit_args *p = params;
2375 uarg[0] = (intptr_t) p->state; /* long * */
2381 struct thr_self_args *p = params;
2382 uarg[0] = (intptr_t) p->id; /* long * */
2388 struct thr_kill_args *p = params;
2389 iarg[0] = p->id; /* long */
2390 iarg[1] = p->sig; /* int */
2396 struct jail_attach_args *p = params;
2397 iarg[0] = p->jid; /* int */
2401 /* extattr_list_fd */
2403 struct extattr_list_fd_args *p = params;
2404 iarg[0] = p->fd; /* int */
2405 iarg[1] = p->attrnamespace; /* int */
2406 uarg[2] = (intptr_t) p->data; /* void * */
2407 uarg[3] = p->nbytes; /* size_t */
2411 /* extattr_list_file */
2413 struct extattr_list_file_args *p = params;
2414 uarg[0] = (intptr_t) p->path; /* const char * */
2415 iarg[1] = p->attrnamespace; /* int */
2416 uarg[2] = (intptr_t) p->data; /* void * */
2417 uarg[3] = p->nbytes; /* size_t */
2421 /* extattr_list_link */
2423 struct extattr_list_link_args *p = params;
2424 uarg[0] = (intptr_t) p->path; /* const char * */
2425 iarg[1] = p->attrnamespace; /* int */
2426 uarg[2] = (intptr_t) p->data; /* void * */
2427 uarg[3] = p->nbytes; /* size_t */
2431 /* ksem_timedwait */
2433 struct ksem_timedwait_args *p = params;
2434 iarg[0] = p->id; /* semid_t */
2435 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2441 struct thr_suspend_args *p = params;
2442 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2448 struct thr_wake_args *p = params;
2449 iarg[0] = p->id; /* long */
2455 struct kldunloadf_args *p = params;
2456 iarg[0] = p->fileid; /* int */
2457 iarg[1] = p->flags; /* int */
2463 struct audit_args *p = params;
2464 uarg[0] = (intptr_t) p->record; /* const void * */
2465 uarg[1] = p->length; /* u_int */
2471 struct auditon_args *p = params;
2472 iarg[0] = p->cmd; /* int */
2473 uarg[1] = (intptr_t) p->data; /* void * */
2474 uarg[2] = p->length; /* u_int */
2480 struct getauid_args *p = params;
2481 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2487 struct setauid_args *p = params;
2488 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2494 struct getaudit_args *p = params;
2495 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2501 struct setaudit_args *p = params;
2502 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2508 struct getaudit_addr_args *p = params;
2509 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2510 uarg[1] = p->length; /* u_int */
2516 struct setaudit_addr_args *p = params;
2517 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2518 uarg[1] = p->length; /* u_int */
2524 struct auditctl_args *p = params;
2525 uarg[0] = (intptr_t) p->path; /* char * */
2531 struct _umtx_op_args *p = params;
2532 uarg[0] = (intptr_t) p->obj; /* void * */
2533 iarg[1] = p->op; /* int */
2534 uarg[2] = p->val; /* u_long */
2535 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2536 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2542 struct thr_new_args *p = params;
2543 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2544 iarg[1] = p->param_size; /* int */
2550 struct sigqueue_args *p = params;
2551 iarg[0] = p->pid; /* pid_t */
2552 iarg[1] = p->signum; /* int */
2553 uarg[2] = (intptr_t) p->value; /* void * */
2559 struct kmq_open_args *p = params;
2560 uarg[0] = (intptr_t) p->path; /* const char * */
2561 iarg[1] = p->flags; /* int */
2562 iarg[2] = p->mode; /* mode_t */
2563 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2569 struct kmq_setattr_args *p = params;
2570 iarg[0] = p->mqd; /* int */
2571 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2572 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2576 /* kmq_timedreceive */
2578 struct kmq_timedreceive_args *p = params;
2579 iarg[0] = p->mqd; /* int */
2580 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2581 uarg[2] = p->msg_len; /* size_t */
2582 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2583 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2589 struct kmq_timedsend_args *p = params;
2590 iarg[0] = p->mqd; /* int */
2591 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2592 uarg[2] = p->msg_len; /* size_t */
2593 uarg[3] = p->msg_prio; /* unsigned */
2594 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2600 struct kmq_notify_args *p = params;
2601 iarg[0] = p->mqd; /* int */
2602 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2608 struct kmq_unlink_args *p = params;
2609 uarg[0] = (intptr_t) p->path; /* const char * */
2615 struct abort2_args *p = params;
2616 uarg[0] = (intptr_t) p->why; /* const char * */
2617 iarg[1] = p->nargs; /* int */
2618 uarg[2] = (intptr_t) p->args; /* void ** */
2624 struct thr_set_name_args *p = params;
2625 iarg[0] = p->id; /* long */
2626 uarg[1] = (intptr_t) p->name; /* const char * */
2632 struct aio_fsync_args *p = params;
2633 iarg[0] = p->op; /* int */
2634 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2640 struct rtprio_thread_args *p = params;
2641 iarg[0] = p->function; /* int */
2642 iarg[1] = p->lwpid; /* lwpid_t */
2643 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2649 struct sctp_peeloff_args *p = params;
2650 iarg[0] = p->sd; /* int */
2651 uarg[1] = p->name; /* uint32_t */
2655 /* sctp_generic_sendmsg */
2657 struct sctp_generic_sendmsg_args *p = params;
2658 iarg[0] = p->sd; /* int */
2659 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2660 iarg[2] = p->mlen; /* int */
2661 uarg[3] = (intptr_t) p->to; /* caddr_t */
2662 iarg[4] = p->tolen; /* __socklen_t */
2663 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2664 iarg[6] = p->flags; /* int */
2668 /* sctp_generic_sendmsg_iov */
2670 struct sctp_generic_sendmsg_iov_args *p = params;
2671 iarg[0] = p->sd; /* int */
2672 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2673 iarg[2] = p->iovlen; /* int */
2674 uarg[3] = (intptr_t) p->to; /* caddr_t */
2675 iarg[4] = p->tolen; /* __socklen_t */
2676 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2677 iarg[6] = p->flags; /* int */
2681 /* sctp_generic_recvmsg */
2683 struct sctp_generic_recvmsg_args *p = params;
2684 iarg[0] = p->sd; /* int */
2685 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2686 iarg[2] = p->iovlen; /* int */
2687 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2688 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2689 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2690 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2696 struct pread_args *p = params;
2697 iarg[0] = p->fd; /* int */
2698 uarg[1] = (intptr_t) p->buf; /* void * */
2699 uarg[2] = p->nbyte; /* size_t */
2700 iarg[3] = p->offset; /* off_t */
2706 struct pwrite_args *p = params;
2707 iarg[0] = p->fd; /* int */
2708 uarg[1] = (intptr_t) p->buf; /* const void * */
2709 uarg[2] = p->nbyte; /* size_t */
2710 iarg[3] = p->offset; /* off_t */
2716 struct mmap_args *p = params;
2717 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2718 uarg[1] = p->len; /* size_t */
2719 iarg[2] = p->prot; /* int */
2720 iarg[3] = p->flags; /* int */
2721 iarg[4] = p->fd; /* int */
2722 iarg[5] = p->pos; /* off_t */
2728 struct lseek_args *p = params;
2729 iarg[0] = p->fd; /* int */
2730 iarg[1] = p->offset; /* off_t */
2731 iarg[2] = p->whence; /* int */
2737 struct truncate_args *p = params;
2738 uarg[0] = (intptr_t) p->path; /* char * */
2739 iarg[1] = p->length; /* off_t */
2745 struct ftruncate_args *p = params;
2746 iarg[0] = p->fd; /* int */
2747 iarg[1] = p->length; /* off_t */
2753 struct thr_kill2_args *p = params;
2754 iarg[0] = p->pid; /* pid_t */
2755 iarg[1] = p->id; /* long */
2756 iarg[2] = p->sig; /* int */
2762 struct shm_open_args *p = params;
2763 uarg[0] = (intptr_t) p->path; /* const char * */
2764 iarg[1] = p->flags; /* int */
2765 iarg[2] = p->mode; /* mode_t */
2771 struct shm_unlink_args *p = params;
2772 uarg[0] = (intptr_t) p->path; /* const char * */
2778 struct cpuset_args *p = params;
2779 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2785 struct cpuset_setid_args *p = params;
2786 iarg[0] = p->which; /* cpuwhich_t */
2787 iarg[1] = p->id; /* id_t */
2788 iarg[2] = p->setid; /* cpusetid_t */
2794 struct cpuset_getid_args *p = params;
2795 iarg[0] = p->level; /* cpulevel_t */
2796 iarg[1] = p->which; /* cpuwhich_t */
2797 iarg[2] = p->id; /* id_t */
2798 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2802 /* cpuset_getaffinity */
2804 struct cpuset_getaffinity_args *p = params;
2805 iarg[0] = p->level; /* cpulevel_t */
2806 iarg[1] = p->which; /* cpuwhich_t */
2807 iarg[2] = p->id; /* id_t */
2808 uarg[3] = p->cpusetsize; /* size_t */
2809 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2813 /* cpuset_setaffinity */
2815 struct cpuset_setaffinity_args *p = params;
2816 iarg[0] = p->level; /* cpulevel_t */
2817 iarg[1] = p->which; /* cpuwhich_t */
2818 iarg[2] = p->id; /* id_t */
2819 uarg[3] = p->cpusetsize; /* size_t */
2820 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2826 struct faccessat_args *p = params;
2827 iarg[0] = p->fd; /* int */
2828 uarg[1] = (intptr_t) p->path; /* char * */
2829 iarg[2] = p->amode; /* int */
2830 iarg[3] = p->flag; /* int */
2836 struct fchmodat_args *p = params;
2837 iarg[0] = p->fd; /* int */
2838 uarg[1] = (intptr_t) p->path; /* char * */
2839 iarg[2] = p->mode; /* mode_t */
2840 iarg[3] = p->flag; /* int */
2846 struct fchownat_args *p = params;
2847 iarg[0] = p->fd; /* int */
2848 uarg[1] = (intptr_t) p->path; /* char * */
2849 uarg[2] = p->uid; /* uid_t */
2850 iarg[3] = p->gid; /* gid_t */
2851 iarg[4] = p->flag; /* int */
2857 struct fexecve_args *p = params;
2858 iarg[0] = p->fd; /* int */
2859 uarg[1] = (intptr_t) p->argv; /* char ** */
2860 uarg[2] = (intptr_t) p->envv; /* char ** */
2866 struct fstatat_args *p = params;
2867 iarg[0] = p->fd; /* int */
2868 uarg[1] = (intptr_t) p->path; /* char * */
2869 uarg[2] = (intptr_t) p->buf; /* struct stat * */
2870 iarg[3] = p->flag; /* int */
2876 struct futimesat_args *p = params;
2877 iarg[0] = p->fd; /* int */
2878 uarg[1] = (intptr_t) p->path; /* char * */
2879 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2885 struct linkat_args *p = params;
2886 iarg[0] = p->fd1; /* int */
2887 uarg[1] = (intptr_t) p->path1; /* char * */
2888 iarg[2] = p->fd2; /* int */
2889 uarg[3] = (intptr_t) p->path2; /* char * */
2890 iarg[4] = p->flag; /* int */
2896 struct mkdirat_args *p = params;
2897 iarg[0] = p->fd; /* int */
2898 uarg[1] = (intptr_t) p->path; /* char * */
2899 iarg[2] = p->mode; /* mode_t */
2905 struct mkfifoat_args *p = params;
2906 iarg[0] = p->fd; /* int */
2907 uarg[1] = (intptr_t) p->path; /* char * */
2908 iarg[2] = p->mode; /* mode_t */
2914 struct mknodat_args *p = params;
2915 iarg[0] = p->fd; /* int */
2916 uarg[1] = (intptr_t) p->path; /* char * */
2917 iarg[2] = p->mode; /* mode_t */
2918 iarg[3] = p->dev; /* dev_t */
2924 struct openat_args *p = params;
2925 iarg[0] = p->fd; /* int */
2926 uarg[1] = (intptr_t) p->path; /* char * */
2927 iarg[2] = p->flag; /* int */
2928 iarg[3] = p->mode; /* mode_t */
2934 struct readlinkat_args *p = params;
2935 iarg[0] = p->fd; /* int */
2936 uarg[1] = (intptr_t) p->path; /* char * */
2937 uarg[2] = (intptr_t) p->buf; /* char * */
2938 uarg[3] = p->bufsize; /* size_t */
2944 struct renameat_args *p = params;
2945 iarg[0] = p->oldfd; /* int */
2946 uarg[1] = (intptr_t) p->old; /* char * */
2947 iarg[2] = p->newfd; /* int */
2948 uarg[3] = (intptr_t) p->new; /* char * */
2954 struct symlinkat_args *p = params;
2955 uarg[0] = (intptr_t) p->path1; /* char * */
2956 iarg[1] = p->fd; /* int */
2957 uarg[2] = (intptr_t) p->path2; /* char * */
2963 struct unlinkat_args *p = params;
2964 iarg[0] = p->fd; /* int */
2965 uarg[1] = (intptr_t) p->path; /* char * */
2966 iarg[2] = p->flag; /* int */
2972 struct posix_openpt_args *p = params;
2973 iarg[0] = p->flags; /* int */
2979 struct gssd_syscall_args *p = params;
2980 uarg[0] = (intptr_t) p->path; /* char * */
2986 struct jail_get_args *p = params;
2987 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2988 uarg[1] = p->iovcnt; /* unsigned int */
2989 iarg[2] = p->flags; /* int */
2995 struct jail_set_args *p = params;
2996 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2997 uarg[1] = p->iovcnt; /* unsigned int */
2998 iarg[2] = p->flags; /* int */
3004 struct jail_remove_args *p = params;
3005 iarg[0] = p->jid; /* int */
3011 struct closefrom_args *p = params;
3012 iarg[0] = p->lowfd; /* int */
3018 struct __semctl_args *p = params;
3019 iarg[0] = p->semid; /* int */
3020 iarg[1] = p->semnum; /* int */
3021 iarg[2] = p->cmd; /* int */
3022 uarg[3] = (intptr_t) p->arg; /* union semun * */
3028 struct msgctl_args *p = params;
3029 iarg[0] = p->msqid; /* int */
3030 iarg[1] = p->cmd; /* int */
3031 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
3037 struct shmctl_args *p = params;
3038 iarg[0] = p->shmid; /* int */
3039 iarg[1] = p->cmd; /* int */
3040 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
3046 struct lpathconf_args *p = params;
3047 uarg[0] = (intptr_t) p->path; /* char * */
3048 iarg[1] = p->name; /* int */
3052 /* __cap_rights_get */
3054 struct __cap_rights_get_args *p = params;
3055 iarg[0] = p->version; /* int */
3056 iarg[1] = p->fd; /* int */
3057 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */
3068 struct cap_getmode_args *p = params;
3069 uarg[0] = (intptr_t) p->modep; /* u_int * */
3075 struct pdfork_args *p = params;
3076 uarg[0] = (intptr_t) p->fdp; /* int * */
3077 iarg[1] = p->flags; /* int */
3083 struct pdkill_args *p = params;
3084 iarg[0] = p->fd; /* int */
3085 iarg[1] = p->signum; /* int */
3091 struct pdgetpid_args *p = params;
3092 iarg[0] = p->fd; /* int */
3093 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
3099 struct pselect_args *p = params;
3100 iarg[0] = p->nd; /* int */
3101 uarg[1] = (intptr_t) p->in; /* fd_set * */
3102 uarg[2] = (intptr_t) p->ou; /* fd_set * */
3103 uarg[3] = (intptr_t) p->ex; /* fd_set * */
3104 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
3105 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
3111 struct getloginclass_args *p = params;
3112 uarg[0] = (intptr_t) p->namebuf; /* char * */
3113 uarg[1] = p->namelen; /* size_t */
3119 struct setloginclass_args *p = params;
3120 uarg[0] = (intptr_t) p->namebuf; /* const char * */
3124 /* rctl_get_racct */
3126 struct rctl_get_racct_args *p = params;
3127 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3128 uarg[1] = p->inbuflen; /* size_t */
3129 uarg[2] = (intptr_t) p->outbufp; /* void * */
3130 uarg[3] = p->outbuflen; /* size_t */
3134 /* rctl_get_rules */
3136 struct rctl_get_rules_args *p = params;
3137 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3138 uarg[1] = p->inbuflen; /* size_t */
3139 uarg[2] = (intptr_t) p->outbufp; /* void * */
3140 uarg[3] = p->outbuflen; /* size_t */
3144 /* rctl_get_limits */
3146 struct rctl_get_limits_args *p = params;
3147 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3148 uarg[1] = p->inbuflen; /* size_t */
3149 uarg[2] = (intptr_t) p->outbufp; /* void * */
3150 uarg[3] = p->outbuflen; /* size_t */
3156 struct rctl_add_rule_args *p = params;
3157 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3158 uarg[1] = p->inbuflen; /* size_t */
3159 uarg[2] = (intptr_t) p->outbufp; /* void * */
3160 uarg[3] = p->outbuflen; /* size_t */
3164 /* rctl_remove_rule */
3166 struct rctl_remove_rule_args *p = params;
3167 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3168 uarg[1] = p->inbuflen; /* size_t */
3169 uarg[2] = (intptr_t) p->outbufp; /* void * */
3170 uarg[3] = p->outbuflen; /* size_t */
3174 /* posix_fallocate */
3176 struct posix_fallocate_args *p = params;
3177 iarg[0] = p->fd; /* int */
3178 iarg[1] = p->offset; /* off_t */
3179 iarg[2] = p->len; /* off_t */
3185 struct posix_fadvise_args *p = params;
3186 iarg[0] = p->fd; /* int */
3187 iarg[1] = p->offset; /* off_t */
3188 iarg[2] = p->len; /* off_t */
3189 iarg[3] = p->advice; /* int */
3195 struct wait6_args *p = params;
3196 iarg[0] = p->idtype; /* idtype_t */
3197 iarg[1] = p->id; /* id_t */
3198 uarg[2] = (intptr_t) p->status; /* int * */
3199 iarg[3] = p->options; /* int */
3200 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */
3201 uarg[5] = (intptr_t) p->info; /* siginfo_t * */
3205 /* cap_rights_limit */
3207 struct cap_rights_limit_args *p = params;
3208 iarg[0] = p->fd; /* int */
3209 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */
3213 /* cap_ioctls_limit */
3215 struct cap_ioctls_limit_args *p = params;
3216 iarg[0] = p->fd; /* int */
3217 uarg[1] = (intptr_t) p->cmds; /* const u_long * */
3218 uarg[2] = p->ncmds; /* size_t */
3222 /* cap_ioctls_get */
3224 struct cap_ioctls_get_args *p = params;
3225 iarg[0] = p->fd; /* int */
3226 uarg[1] = (intptr_t) p->cmds; /* u_long * */
3227 uarg[2] = p->maxcmds; /* size_t */
3231 /* cap_fcntls_limit */
3233 struct cap_fcntls_limit_args *p = params;
3234 iarg[0] = p->fd; /* int */
3235 uarg[1] = p->fcntlrights; /* uint32_t */
3239 /* cap_fcntls_get */
3241 struct cap_fcntls_get_args *p = params;
3242 iarg[0] = p->fd; /* int */
3243 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
3249 struct bindat_args *p = params;
3250 iarg[0] = p->fd; /* int */
3251 iarg[1] = p->s; /* int */
3252 uarg[2] = (intptr_t) p->name; /* caddr_t */
3253 iarg[3] = p->namelen; /* int */
3259 struct connectat_args *p = params;
3260 iarg[0] = p->fd; /* int */
3261 iarg[1] = p->s; /* int */
3262 uarg[2] = (intptr_t) p->name; /* caddr_t */
3263 iarg[3] = p->namelen; /* int */
3269 struct chflagsat_args *p = params;
3270 iarg[0] = p->fd; /* int */
3271 uarg[1] = (intptr_t) p->path; /* const char * */
3272 uarg[2] = p->flags; /* u_long */
3273 iarg[3] = p->atflag; /* int */
3279 struct accept4_args *p = params;
3280 iarg[0] = p->s; /* int */
3281 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
3282 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
3283 iarg[3] = p->flags; /* int */
3289 struct pipe2_args *p = params;
3290 uarg[0] = (intptr_t) p->fildes; /* int * */
3291 iarg[1] = p->flags; /* int */
3297 struct aio_mlock_args *p = params;
3298 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3304 struct procctl_args *p = params;
3305 iarg[0] = p->idtype; /* idtype_t */
3306 iarg[1] = p->id; /* id_t */
3307 iarg[2] = p->com; /* int */
3308 uarg[3] = (intptr_t) p->data; /* void * */
3314 struct ppoll_args *p = params;
3315 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
3316 uarg[1] = p->nfds; /* u_int */
3317 uarg[2] = (intptr_t) p->ts; /* const struct timespec * */
3318 uarg[3] = (intptr_t) p->set; /* const sigset_t * */
3324 struct futimens_args *p = params;
3325 iarg[0] = p->fd; /* int */
3326 uarg[1] = (intptr_t) p->times; /* struct timespec * */
3332 struct utimensat_args *p = params;
3333 iarg[0] = p->fd; /* int */
3334 uarg[1] = (intptr_t) p->path; /* char * */
3335 uarg[2] = (intptr_t) p->times; /* struct timespec * */
3336 iarg[3] = p->flag; /* int */
3346 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3348 const char *p = NULL;
3437 p = "struct rusage *";
3618 p = "struct msghdr *";
3634 p = "struct msghdr *";
3659 p = "struct sockaddr *";
3662 p = "__socklen_t *";
3675 p = "struct sockaddr *";
3678 p = "__socklen_t *";
3691 p = "struct sockaddr *";
3694 p = "__socklen_t *";
3707 p = "struct sockaddr *";
3710 p = "__socklen_t *";
4137 p = "struct itimerval *";
4140 p = "struct itimerval *";
4163 p = "struct itimerval *";
4217 p = "struct timeval *";
4349 p = "struct timeval *";
4352 p = "struct timezone *";
4365 p = "struct rusage *";
4400 p = "struct iovec *";
4416 p = "struct iovec *";
4429 p = "struct timeval *";
4432 p = "struct timezone *";
4619 p = "struct timeval *";
4629 p = "struct timeval *";
4632 p = "struct timeval *";
4699 p = "struct fhandle *";
4712 p = "struct fhandle *";
4741 p = "struct rtprio *";
4827 p = "struct timex *";
4870 p = "struct stat *";
4883 p = "struct stat *";
4896 p = "struct stat *";
4935 p = "struct rlimit *";
4948 p = "struct rlimit *";
5044 p = "struct timeval *";
5064 p = "struct pollfd *";
5129 p = "struct sembuf *";
5241 p = "struct timespec *";
5254 p = "const struct timespec *";
5267 p = "struct timespec *";
5280 p = "struct sigevent *";
5299 /* ktimer_settime */
5309 p = "const struct itimerspec *";
5312 p = "struct itimerspec *";
5318 /* ktimer_gettime */
5325 p = "struct itimerspec *";
5331 /* ktimer_getoverrun */
5345 p = "const struct timespec *";
5348 p = "struct timespec *";
5354 /* ffclock_getcounter */
5364 /* ffclock_setestimate */
5368 p = "struct ffclock_estimate *";
5374 /* ffclock_getestimate */
5378 p = "struct ffclock_estimate *";
5384 /* clock_getcpuclockid2 */
5404 p = "struct ntptimeval *";
5440 p = "struct pollfd *";
5475 p = "struct aiocb *";
5485 p = "struct aiocb *";
5498 p = "struct aiocb *const *";
5504 p = "struct sigevent *";
5562 p = "struct timeval *";
5591 p = "struct nstat *";
5604 p = "struct nstat *";
5617 p = "struct nstat *";
5630 p = "struct iovec *";
5649 p = "struct iovec *";
5665 p = "const struct fhandle *";
5678 p = "const struct fhandle *";
5681 p = "struct stat *";
5704 p = "struct module_stat *";
5777 p = "struct kld_file_stat *";
5839 p = "struct aiocb *";
5849 p = "struct aiocb *const *";
5855 p = "const struct timespec *";
5868 p = "struct aiocb *";
5878 p = "struct aiocb *";
5888 p = "struct oaiocb *";
5898 p = "struct oaiocb *";
5911 p = "struct oaiocb *const *";
5917 p = "struct osigevent *";
5952 /* sched_setparam */
5959 p = "const struct sched_param *";
5965 /* sched_getparam */
5972 p = "struct sched_param *";
5978 /* sched_setscheduler */
5988 p = "const struct sched_param *";
5994 /* sched_getscheduler */
6007 /* sched_get_priority_max */
6017 /* sched_get_priority_min */
6027 /* sched_rr_get_interval */
6034 p = "struct timespec *";
6073 p = "struct jail *";
6108 p = "const sigset_t *";
6121 p = "const sigset_t *";
6141 p = "const sigset_t *";
6147 p = "const struct timespec *";
6157 p = "const sigset_t *";
6166 /* __acl_get_file */
6182 /* __acl_set_file */
6230 /* __acl_delete_file */
6243 /* __acl_delete_fd */
6256 /* __acl_aclcheck_file */
6272 /* __acl_aclcheck_fd */
6310 /* extattr_set_file */
6332 /* extattr_get_file */
6354 /* extattr_delete_file */
6370 /* aio_waitcomplete */
6374 p = "struct aiocb **";
6377 p = "struct timespec *";
6425 p = "struct kevent *";
6431 p = "struct kevent *";
6437 p = "const struct timespec *";
6443 /* extattr_set_fd */
6465 /* extattr_get_fd */
6487 /* extattr_delete_fd */
6558 p = "struct iovec *";
6570 /* __mac_get_proc */
6580 /* __mac_set_proc */
6603 /* __mac_get_file */
6629 /* __mac_set_file */
6678 p = "struct uuid *";
6703 p = "struct sf_hdtr *";
6735 p = "struct statfs *";
6754 p = "struct statfs *";
6767 p = "struct statfs *";
6777 p = "const struct fhandle *";
6780 p = "struct statfs *";
6907 /* __mac_get_link */
6920 /* __mac_set_link */
6933 /* extattr_set_link */
6955 /* extattr_get_link */
6977 /* extattr_delete_link */
7019 p = "const struct sigaction *";
7022 p = "struct sigaction *";
7032 p = "const struct __ucontext *";
7042 p = "struct __ucontext *";
7052 p = "const struct __ucontext *";
7062 p = "struct __ucontext *";
7065 p = "const struct __ucontext *";
7081 /* __acl_get_link */
7097 /* __acl_set_link */
7113 /* __acl_delete_link */
7126 /* __acl_aclcheck_link */
7146 p = "const sigset_t *";
7214 /* extattr_list_fd */
7233 /* extattr_list_file */
7252 /* extattr_list_link */
7271 /* ksem_timedwait */
7278 p = "const struct timespec *";
7288 p = "const struct timespec *";
7370 p = "struct auditinfo *";
7380 p = "struct auditinfo *";
7390 p = "struct auditinfo_addr *";
7403 p = "struct auditinfo_addr *";
7448 p = "struct thr_param *";
7486 p = "const struct mq_attr *";
7499 p = "const struct mq_attr *";
7502 p = "struct mq_attr *";
7508 /* kmq_timedreceive */
7524 p = "const struct timespec *";
7546 p = "const struct timespec *";
7559 p = "const struct sigevent *";
7611 p = "struct aiocb *";
7627 p = "struct rtprio *";
7646 /* sctp_generic_sendmsg */
7665 p = "struct sctp_sndrcvinfo *";
7674 /* sctp_generic_sendmsg_iov */
7681 p = "struct iovec *";
7693 p = "struct sctp_sndrcvinfo *";
7702 /* sctp_generic_recvmsg */
7709 p = "struct iovec *";
7715 p = "struct sockaddr *";
7718 p = "__socklen_t *";
7721 p = "struct sctp_sndrcvinfo *";
7922 /* cpuset_getaffinity */
7944 /* cpuset_setaffinity */
7960 p = "const cpuset_t *";
8052 p = "struct stat *";
8071 p = "struct timeval *";
8263 p = "struct iovec *";
8279 p = "struct iovec *";
8324 p = "union semun *";
8340 p = "struct msqid_ds *";
8356 p = "struct shmid_ds *";
8375 /* __cap_rights_get */
8385 p = "cap_rights_t *";
8459 p = "const struct timespec *";
8462 p = "const sigset_t *";
8491 /* rctl_get_racct */
8510 /* rctl_get_rules */
8529 /* rctl_get_limits */
8567 /* rctl_remove_rule */
8586 /* posix_fallocate */
8637 p = "struct __wrusage *";
8646 /* cap_rights_limit */
8653 p = "cap_rights_t *";
8659 /* cap_ioctls_limit */
8666 p = "const u_long *";
8675 /* cap_ioctls_get */
8691 /* cap_fcntls_limit */
8704 /* cap_fcntls_get */
8781 p = "struct sockaddr *";
8784 p = "__socklen_t *";
8810 p = "struct aiocb *";
8839 p = "struct pollfd *";
8845 p = "const struct timespec *";
8848 p = "const sigset_t *";
8861 p = "struct timespec *";
8877 p = "struct timespec *";
8890 strlcpy(desc, p, descsz);
8893 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8895 const char *p = NULL;
8901 if (ndx == 0 || ndx == 1)
8908 if (ndx == 0 || ndx == 1)
8913 if (ndx == 0 || ndx == 1)
8918 if (ndx == 0 || ndx == 1)
8923 if (ndx == 0 || ndx == 1)
8928 if (ndx == 0 || ndx == 1)
8933 if (ndx == 0 || ndx == 1)
8938 if (ndx == 0 || ndx == 1)
8943 if (ndx == 0 || ndx == 1)
8948 if (ndx == 0 || ndx == 1)
8953 if (ndx == 0 || ndx == 1)
8958 if (ndx == 0 || ndx == 1)
8963 if (ndx == 0 || ndx == 1)
8968 if (ndx == 0 || ndx == 1)
8975 if (ndx == 0 || ndx == 1)
8980 if (ndx == 0 || ndx == 1)
8985 if (ndx == 0 || ndx == 1)
8994 if (ndx == 0 || ndx == 1)
8999 if (ndx == 0 || ndx == 1)
9004 if (ndx == 0 || ndx == 1)
9009 if (ndx == 0 || ndx == 1)
9014 if (ndx == 0 || ndx == 1)
9019 if (ndx == 0 || ndx == 1)
9024 if (ndx == 0 || ndx == 1)
9029 if (ndx == 0 || ndx == 1)
9034 if (ndx == 0 || ndx == 1)
9039 if (ndx == 0 || ndx == 1)
9046 if (ndx == 0 || ndx == 1)
9053 if (ndx == 0 || ndx == 1)
9062 if (ndx == 0 || ndx == 1)
9067 if (ndx == 0 || ndx == 1)
9074 if (ndx == 0 || ndx == 1)
9079 if (ndx == 0 || ndx == 1)
9084 if (ndx == 0 || ndx == 1)
9089 if (ndx == 0 || ndx == 1)
9094 if (ndx == 0 || ndx == 1)
9099 if (ndx == 0 || ndx == 1)
9104 if (ndx == 0 || ndx == 1)
9109 if (ndx == 0 || ndx == 1)
9114 if (ndx == 0 || ndx == 1)
9119 if (ndx == 0 || ndx == 1)
9124 if (ndx == 0 || ndx == 1)
9129 if (ndx == 0 || ndx == 1)
9134 if (ndx == 0 || ndx == 1)
9141 if (ndx == 0 || ndx == 1)
9146 if (ndx == 0 || ndx == 1)
9151 if (ndx == 0 || ndx == 1)
9156 if (ndx == 0 || ndx == 1)
9161 if (ndx == 0 || ndx == 1)
9166 if (ndx == 0 || ndx == 1)
9171 if (ndx == 0 || ndx == 1)
9176 if (ndx == 0 || ndx == 1)
9181 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)
9210 if (ndx == 0 || ndx == 1)
9215 if (ndx == 0 || ndx == 1)
9220 if (ndx == 0 || ndx == 1)
9225 if (ndx == 0 || ndx == 1)
9230 if (ndx == 0 || ndx == 1)
9235 if (ndx == 0 || ndx == 1)
9240 if (ndx == 0 || ndx == 1)
9245 if (ndx == 0 || ndx == 1)
9250 if (ndx == 0 || ndx == 1)
9255 if (ndx == 0 || ndx == 1)
9260 if (ndx == 0 || ndx == 1)
9265 if (ndx == 0 || ndx == 1)
9270 if (ndx == 0 || ndx == 1)
9275 if (ndx == 0 || ndx == 1)
9280 if (ndx == 0 || ndx == 1)
9285 if (ndx == 0 || ndx == 1)
9290 if (ndx == 0 || ndx == 1)
9295 if (ndx == 0 || ndx == 1)
9300 if (ndx == 0 || ndx == 1)
9305 if (ndx == 0 || ndx == 1)
9310 if (ndx == 0 || ndx == 1)
9315 if (ndx == 0 || ndx == 1)
9320 if (ndx == 0 || ndx == 1)
9325 if (ndx == 0 || ndx == 1)
9330 if (ndx == 0 || ndx == 1)
9335 if (ndx == 0 || ndx == 1)
9340 if (ndx == 0 || ndx == 1)
9345 if (ndx == 0 || ndx == 1)
9350 if (ndx == 0 || ndx == 1)
9355 if (ndx == 0 || ndx == 1)
9360 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)
9407 if (ndx == 0 || ndx == 1)
9412 if (ndx == 0 || ndx == 1)
9417 if (ndx == 0 || ndx == 1)
9422 if (ndx == 0 || ndx == 1)
9427 if (ndx == 0 || ndx == 1)
9432 if (ndx == 0 || ndx == 1)
9437 if (ndx == 0 || ndx == 1)
9442 if (ndx == 0 || ndx == 1)
9447 if (ndx == 0 || ndx == 1)
9452 if (ndx == 0 || ndx == 1)
9457 if (ndx == 0 || ndx == 1)
9462 if (ndx == 0 || ndx == 1)
9467 if (ndx == 0 || ndx == 1)
9472 if (ndx == 0 || ndx == 1)
9477 if (ndx == 0 || ndx == 1)
9484 if (ndx == 0 || ndx == 1)
9489 if (ndx == 0 || ndx == 1)
9494 if (ndx == 0 || ndx == 1)
9499 if (ndx == 0 || ndx == 1)
9504 if (ndx == 0 || ndx == 1)
9509 if (ndx == 0 || ndx == 1)
9514 if (ndx == 0 || ndx == 1)
9539 if (ndx == 0 || ndx == 1)
9544 if (ndx == 0 || ndx == 1)
9549 if (ndx == 0 || ndx == 1)
9554 if (ndx == 0 || ndx == 1)
9559 if (ndx == 0 || ndx == 1)
9564 if (ndx == 0 || ndx == 1)
9569 if (ndx == 0 || ndx == 1)
9574 if (ndx == 0 || ndx == 1)
9579 if (ndx == 0 || ndx == 1)
9584 if (ndx == 0 || ndx == 1)
9589 if (ndx == 0 || ndx == 1)
9594 if (ndx == 0 || ndx == 1)
9599 if (ndx == 0 || ndx == 1)
9602 /* ktimer_settime */
9604 if (ndx == 0 || ndx == 1)
9607 /* ktimer_gettime */
9609 if (ndx == 0 || ndx == 1)
9612 /* ktimer_getoverrun */
9614 if (ndx == 0 || ndx == 1)
9619 if (ndx == 0 || ndx == 1)
9622 /* ffclock_getcounter */
9624 if (ndx == 0 || ndx == 1)
9627 /* ffclock_setestimate */
9629 if (ndx == 0 || ndx == 1)
9632 /* ffclock_getestimate */
9634 if (ndx == 0 || ndx == 1)
9637 /* clock_getcpuclockid2 */
9639 if (ndx == 0 || ndx == 1)
9644 if (ndx == 0 || ndx == 1)
9649 if (ndx == 0 || ndx == 1)
9654 if (ndx == 0 || ndx == 1)
9659 if (ndx == 0 || ndx == 1)
9666 if (ndx == 0 || ndx == 1)
9671 if (ndx == 0 || ndx == 1)
9676 if (ndx == 0 || ndx == 1)
9681 if (ndx == 0 || ndx == 1)
9686 if (ndx == 0 || ndx == 1)
9691 if (ndx == 0 || ndx == 1)
9696 if (ndx == 0 || ndx == 1)
9701 if (ndx == 0 || ndx == 1)
9706 if (ndx == 0 || ndx == 1)
9711 if (ndx == 0 || ndx == 1)
9716 if (ndx == 0 || ndx == 1)
9721 if (ndx == 0 || ndx == 1)
9726 if (ndx == 0 || ndx == 1)
9731 if (ndx == 0 || ndx == 1)
9736 if (ndx == 0 || ndx == 1)
9741 if (ndx == 0 || ndx == 1)
9746 if (ndx == 0 || ndx == 1)
9751 if (ndx == 0 || ndx == 1)
9756 if (ndx == 0 || ndx == 1)
9761 if (ndx == 0 || ndx == 1)
9766 if (ndx == 0 || ndx == 1)
9771 if (ndx == 0 || ndx == 1)
9776 if (ndx == 0 || ndx == 1)
9781 if (ndx == 0 || ndx == 1)
9786 if (ndx == 0 || ndx == 1)
9791 if (ndx == 0 || ndx == 1)
9796 if (ndx == 0 || ndx == 1)
9801 if (ndx == 0 || ndx == 1)
9806 if (ndx == 0 || ndx == 1)
9811 if (ndx == 0 || ndx == 1)
9816 if (ndx == 0 || ndx == 1)
9821 if (ndx == 0 || ndx == 1)
9826 if (ndx == 0 || ndx == 1)
9831 if (ndx == 0 || ndx == 1)
9836 if (ndx == 0 || ndx == 1)
9841 if (ndx == 0 || ndx == 1)
9848 if (ndx == 0 || ndx == 1)
9855 if (ndx == 0 || ndx == 1)
9858 /* sched_setparam */
9860 if (ndx == 0 || ndx == 1)
9863 /* sched_getparam */
9865 if (ndx == 0 || ndx == 1)
9868 /* sched_setscheduler */
9870 if (ndx == 0 || ndx == 1)
9873 /* sched_getscheduler */
9875 if (ndx == 0 || ndx == 1)
9880 /* sched_get_priority_max */
9882 if (ndx == 0 || ndx == 1)
9885 /* sched_get_priority_min */
9887 if (ndx == 0 || ndx == 1)
9890 /* sched_rr_get_interval */
9892 if (ndx == 0 || ndx == 1)
9897 if (ndx == 0 || ndx == 1)
9902 if (ndx == 0 || ndx == 1)
9907 if (ndx == 0 || ndx == 1)
9912 if (ndx == 0 || ndx == 1)
9917 if (ndx == 0 || ndx == 1)
9922 if (ndx == 0 || ndx == 1)
9927 if (ndx == 0 || ndx == 1)
9932 if (ndx == 0 || ndx == 1)
9937 if (ndx == 0 || ndx == 1)
9940 /* __acl_get_file */
9942 if (ndx == 0 || ndx == 1)
9945 /* __acl_set_file */
9947 if (ndx == 0 || ndx == 1)
9952 if (ndx == 0 || ndx == 1)
9957 if (ndx == 0 || ndx == 1)
9960 /* __acl_delete_file */
9962 if (ndx == 0 || ndx == 1)
9965 /* __acl_delete_fd */
9967 if (ndx == 0 || ndx == 1)
9970 /* __acl_aclcheck_file */
9972 if (ndx == 0 || ndx == 1)
9975 /* __acl_aclcheck_fd */
9977 if (ndx == 0 || ndx == 1)
9982 if (ndx == 0 || ndx == 1)
9985 /* extattr_set_file */
9987 if (ndx == 0 || ndx == 1)
9990 /* extattr_get_file */
9992 if (ndx == 0 || ndx == 1)
9995 /* extattr_delete_file */
9997 if (ndx == 0 || ndx == 1)
10000 /* aio_waitcomplete */
10002 if (ndx == 0 || ndx == 1)
10007 if (ndx == 0 || ndx == 1)
10012 if (ndx == 0 || ndx == 1)
10019 if (ndx == 0 || ndx == 1)
10022 /* extattr_set_fd */
10024 if (ndx == 0 || ndx == 1)
10027 /* extattr_get_fd */
10029 if (ndx == 0 || ndx == 1)
10032 /* extattr_delete_fd */
10034 if (ndx == 0 || ndx == 1)
10039 if (ndx == 0 || ndx == 1)
10044 if (ndx == 0 || ndx == 1)
10049 if (ndx == 0 || ndx == 1)
10054 if (ndx == 0 || ndx == 1)
10057 /* __mac_get_proc */
10059 if (ndx == 0 || ndx == 1)
10062 /* __mac_set_proc */
10064 if (ndx == 0 || ndx == 1)
10069 if (ndx == 0 || ndx == 1)
10072 /* __mac_get_file */
10074 if (ndx == 0 || ndx == 1)
10079 if (ndx == 0 || ndx == 1)
10082 /* __mac_set_file */
10084 if (ndx == 0 || ndx == 1)
10089 if (ndx == 0 || ndx == 1)
10094 if (ndx == 0 || ndx == 1)
10099 if (ndx == 0 || ndx == 1)
10104 if (ndx == 0 || ndx == 1)
10109 if (ndx == 0 || ndx == 1)
10114 if (ndx == 0 || ndx == 1)
10119 if (ndx == 0 || ndx == 1)
10124 if (ndx == 0 || ndx == 1)
10129 if (ndx == 0 || ndx == 1)
10134 if (ndx == 0 || ndx == 1)
10139 if (ndx == 0 || ndx == 1)
10144 if (ndx == 0 || ndx == 1)
10149 if (ndx == 0 || ndx == 1)
10154 if (ndx == 0 || ndx == 1)
10159 if (ndx == 0 || ndx == 1)
10164 if (ndx == 0 || ndx == 1)
10167 /* ksem_getvalue */
10169 if (ndx == 0 || ndx == 1)
10174 if (ndx == 0 || ndx == 1)
10177 /* __mac_get_pid */
10179 if (ndx == 0 || ndx == 1)
10182 /* __mac_get_link */
10184 if (ndx == 0 || ndx == 1)
10187 /* __mac_set_link */
10189 if (ndx == 0 || ndx == 1)
10192 /* extattr_set_link */
10194 if (ndx == 0 || ndx == 1)
10197 /* extattr_get_link */
10199 if (ndx == 0 || ndx == 1)
10202 /* extattr_delete_link */
10204 if (ndx == 0 || ndx == 1)
10209 if (ndx == 0 || ndx == 1)
10214 if (ndx == 0 || ndx == 1)
10219 if (ndx == 0 || ndx == 1)
10224 if (ndx == 0 || ndx == 1)
10229 if (ndx == 0 || ndx == 1)
10234 if (ndx == 0 || ndx == 1)
10239 if (ndx == 0 || ndx == 1)
10242 /* __acl_get_link */
10244 if (ndx == 0 || ndx == 1)
10247 /* __acl_set_link */
10249 if (ndx == 0 || ndx == 1)
10252 /* __acl_delete_link */
10254 if (ndx == 0 || ndx == 1)
10257 /* __acl_aclcheck_link */
10259 if (ndx == 0 || ndx == 1)
10264 if (ndx == 0 || ndx == 1)
10269 if (ndx == 0 || ndx == 1)
10274 if (ndx == 0 || ndx == 1)
10279 if (ndx == 0 || ndx == 1)
10284 if (ndx == 0 || ndx == 1)
10289 if (ndx == 0 || ndx == 1)
10292 /* extattr_list_fd */
10294 if (ndx == 0 || ndx == 1)
10297 /* extattr_list_file */
10299 if (ndx == 0 || ndx == 1)
10302 /* extattr_list_link */
10304 if (ndx == 0 || ndx == 1)
10307 /* ksem_timedwait */
10309 if (ndx == 0 || ndx == 1)
10314 if (ndx == 0 || ndx == 1)
10319 if (ndx == 0 || ndx == 1)
10324 if (ndx == 0 || ndx == 1)
10329 if (ndx == 0 || ndx == 1)
10334 if (ndx == 0 || ndx == 1)
10339 if (ndx == 0 || ndx == 1)
10344 if (ndx == 0 || ndx == 1)
10349 if (ndx == 0 || ndx == 1)
10354 if (ndx == 0 || ndx == 1)
10357 /* getaudit_addr */
10359 if (ndx == 0 || ndx == 1)
10362 /* setaudit_addr */
10364 if (ndx == 0 || ndx == 1)
10369 if (ndx == 0 || ndx == 1)
10374 if (ndx == 0 || ndx == 1)
10379 if (ndx == 0 || ndx == 1)
10384 if (ndx == 0 || ndx == 1)
10389 if (ndx == 0 || ndx == 1)
10394 if (ndx == 0 || ndx == 1)
10397 /* kmq_timedreceive */
10399 if (ndx == 0 || ndx == 1)
10402 /* kmq_timedsend */
10404 if (ndx == 0 || ndx == 1)
10409 if (ndx == 0 || ndx == 1)
10414 if (ndx == 0 || ndx == 1)
10419 if (ndx == 0 || ndx == 1)
10424 if (ndx == 0 || ndx == 1)
10429 if (ndx == 0 || ndx == 1)
10432 /* rtprio_thread */
10434 if (ndx == 0 || ndx == 1)
10439 if (ndx == 0 || ndx == 1)
10442 /* sctp_generic_sendmsg */
10444 if (ndx == 0 || ndx == 1)
10447 /* sctp_generic_sendmsg_iov */
10449 if (ndx == 0 || ndx == 1)
10452 /* sctp_generic_recvmsg */
10454 if (ndx == 0 || ndx == 1)
10459 if (ndx == 0 || ndx == 1)
10464 if (ndx == 0 || ndx == 1)
10469 if (ndx == 0 || ndx == 1)
10474 if (ndx == 0 || ndx == 1)
10479 if (ndx == 0 || ndx == 1)
10484 if (ndx == 0 || ndx == 1)
10489 if (ndx == 0 || ndx == 1)
10494 if (ndx == 0 || ndx == 1)
10499 if (ndx == 0 || ndx == 1)
10504 if (ndx == 0 || ndx == 1)
10509 if (ndx == 0 || ndx == 1)
10514 if (ndx == 0 || ndx == 1)
10517 /* cpuset_getaffinity */
10519 if (ndx == 0 || ndx == 1)
10522 /* cpuset_setaffinity */
10524 if (ndx == 0 || ndx == 1)
10529 if (ndx == 0 || ndx == 1)
10534 if (ndx == 0 || ndx == 1)
10539 if (ndx == 0 || ndx == 1)
10544 if (ndx == 0 || ndx == 1)
10549 if (ndx == 0 || ndx == 1)
10554 if (ndx == 0 || ndx == 1)
10559 if (ndx == 0 || ndx == 1)
10564 if (ndx == 0 || ndx == 1)
10569 if (ndx == 0 || ndx == 1)
10574 if (ndx == 0 || ndx == 1)
10579 if (ndx == 0 || ndx == 1)
10584 if (ndx == 0 || ndx == 1)
10589 if (ndx == 0 || ndx == 1)
10594 if (ndx == 0 || ndx == 1)
10599 if (ndx == 0 || ndx == 1)
10604 if (ndx == 0 || ndx == 1)
10609 if (ndx == 0 || ndx == 1)
10614 if (ndx == 0 || ndx == 1)
10619 if (ndx == 0 || ndx == 1)
10624 if (ndx == 0 || ndx == 1)
10629 if (ndx == 0 || ndx == 1)
10634 if (ndx == 0 || ndx == 1)
10639 if (ndx == 0 || ndx == 1)
10644 if (ndx == 0 || ndx == 1)
10649 if (ndx == 0 || ndx == 1)
10652 /* __cap_rights_get */
10654 if (ndx == 0 || ndx == 1)
10661 if (ndx == 0 || ndx == 1)
10666 if (ndx == 0 || ndx == 1)
10671 if (ndx == 0 || ndx == 1)
10676 if (ndx == 0 || ndx == 1)
10681 if (ndx == 0 || ndx == 1)
10684 /* getloginclass */
10686 if (ndx == 0 || ndx == 1)
10689 /* setloginclass */
10691 if (ndx == 0 || ndx == 1)
10694 /* rctl_get_racct */
10696 if (ndx == 0 || ndx == 1)
10699 /* rctl_get_rules */
10701 if (ndx == 0 || ndx == 1)
10704 /* rctl_get_limits */
10706 if (ndx == 0 || ndx == 1)
10709 /* rctl_add_rule */
10711 if (ndx == 0 || ndx == 1)
10714 /* rctl_remove_rule */
10716 if (ndx == 0 || ndx == 1)
10719 /* posix_fallocate */
10721 if (ndx == 0 || ndx == 1)
10724 /* posix_fadvise */
10726 if (ndx == 0 || ndx == 1)
10731 if (ndx == 0 || ndx == 1)
10734 /* cap_rights_limit */
10736 if (ndx == 0 || ndx == 1)
10739 /* cap_ioctls_limit */
10741 if (ndx == 0 || ndx == 1)
10744 /* cap_ioctls_get */
10746 if (ndx == 0 || ndx == 1)
10749 /* cap_fcntls_limit */
10751 if (ndx == 0 || ndx == 1)
10754 /* cap_fcntls_get */
10756 if (ndx == 0 || ndx == 1)
10761 if (ndx == 0 || ndx == 1)
10766 if (ndx == 0 || ndx == 1)
10771 if (ndx == 0 || ndx == 1)
10776 if (ndx == 0 || ndx == 1)
10781 if (ndx == 0 || ndx == 1)
10786 if (ndx == 0 || ndx == 1)
10791 if (ndx == 0 || ndx == 1)
10796 if (ndx == 0 || ndx == 1)
10801 if (ndx == 0 || ndx == 1)
10806 if (ndx == 0 || ndx == 1)
10813 strlcpy(desc, p, descsz);