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 wait_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 *__restrict */
213 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t *__restrict */
219 struct accept_args *p = params;
220 iarg[0] = p->s; /* int */
221 uarg[1] = (intptr_t) p->name; /* struct sockaddr *__restrict */
222 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t *__restrict */
228 struct getpeername_args *p = params;
229 iarg[0] = p->fdes; /* int */
230 uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */
231 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */
237 struct getsockname_args *p = params;
238 iarg[0] = p->fdes; /* int */
239 uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */
240 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */
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; /* char * */
256 iarg[1] = p->flags; /* int */
262 struct fchflags_args *p = params;
263 iarg[0] = p->fd; /* int */
264 iarg[1] = p->flags; /* int */
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 freebsd6_pread_args *p = params;
920 iarg[0] = p->fd; /* int */
921 uarg[1] = (intptr_t) p->buf; /* void * */
922 uarg[2] = p->nbyte; /* size_t */
923 iarg[3] = p->pad; /* int */
924 iarg[4] = p->offset; /* off_t */
928 /* freebsd6_pwrite */
930 struct freebsd6_pwrite_args *p = params;
931 iarg[0] = p->fd; /* int */
932 uarg[1] = (intptr_t) p->buf; /* const void * */
933 uarg[2] = p->nbyte; /* size_t */
934 iarg[3] = p->pad; /* int */
935 iarg[4] = p->offset; /* off_t */
941 struct setfib_args *p = params;
942 iarg[0] = p->fibnum; /* int */
948 struct ntp_adjtime_args *p = params;
949 uarg[0] = (intptr_t) p->tp; /* struct timex * */
955 struct setgid_args *p = params;
956 iarg[0] = p->gid; /* gid_t */
962 struct setegid_args *p = params;
963 iarg[0] = p->egid; /* gid_t */
969 struct seteuid_args *p = params;
970 uarg[0] = p->euid; /* uid_t */
976 struct stat_args *p = params;
977 uarg[0] = (intptr_t) p->path; /* char * */
978 uarg[1] = (intptr_t) p->ub; /* struct stat * */
984 struct fstat_args *p = params;
985 iarg[0] = p->fd; /* int */
986 uarg[1] = (intptr_t) p->sb; /* struct stat * */
992 struct lstat_args *p = params;
993 uarg[0] = (intptr_t) p->path; /* char * */
994 uarg[1] = (intptr_t) p->ub; /* struct stat * */
1000 struct pathconf_args *p = params;
1001 uarg[0] = (intptr_t) p->path; /* char * */
1002 iarg[1] = p->name; /* int */
1008 struct fpathconf_args *p = params;
1009 iarg[0] = p->fd; /* int */
1010 iarg[1] = p->name; /* int */
1016 struct __getrlimit_args *p = params;
1017 uarg[0] = p->which; /* u_int */
1018 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1024 struct __setrlimit_args *p = params;
1025 uarg[0] = p->which; /* u_int */
1026 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1032 struct getdirentries_args *p = params;
1033 iarg[0] = p->fd; /* int */
1034 uarg[1] = (intptr_t) p->buf; /* char * */
1035 uarg[2] = p->count; /* u_int */
1036 uarg[3] = (intptr_t) p->basep; /* long * */
1042 struct freebsd6_mmap_args *p = params;
1043 uarg[0] = (intptr_t) p->addr; /* caddr_t */
1044 uarg[1] = p->len; /* size_t */
1045 iarg[2] = p->prot; /* int */
1046 iarg[3] = p->flags; /* int */
1047 iarg[4] = p->fd; /* int */
1048 iarg[5] = p->pad; /* int */
1049 iarg[6] = p->pos; /* off_t */
1058 /* freebsd6_lseek */
1060 struct freebsd6_lseek_args *p = params;
1061 iarg[0] = p->fd; /* int */
1062 iarg[1] = p->pad; /* int */
1063 iarg[2] = p->offset; /* off_t */
1064 iarg[3] = p->whence; /* int */
1068 /* freebsd6_truncate */
1070 struct freebsd6_truncate_args *p = params;
1071 uarg[0] = (intptr_t) p->path; /* char * */
1072 iarg[1] = p->pad; /* int */
1073 iarg[2] = p->length; /* off_t */
1077 /* freebsd6_ftruncate */
1079 struct freebsd6_ftruncate_args *p = params;
1080 iarg[0] = p->fd; /* int */
1081 iarg[1] = p->pad; /* int */
1082 iarg[2] = p->length; /* off_t */
1088 struct sysctl_args *p = params;
1089 uarg[0] = (intptr_t) p->name; /* int * */
1090 uarg[1] = p->namelen; /* u_int */
1091 uarg[2] = (intptr_t) p->old; /* void * */
1092 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
1093 uarg[4] = (intptr_t) p->new; /* void * */
1094 uarg[5] = p->newlen; /* size_t */
1100 struct mlock_args *p = params;
1101 uarg[0] = (intptr_t) p->addr; /* const void * */
1102 uarg[1] = p->len; /* size_t */
1108 struct munlock_args *p = params;
1109 uarg[0] = (intptr_t) p->addr; /* const void * */
1110 uarg[1] = p->len; /* size_t */
1116 struct undelete_args *p = params;
1117 uarg[0] = (intptr_t) p->path; /* char * */
1123 struct futimes_args *p = params;
1124 iarg[0] = p->fd; /* int */
1125 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1131 struct getpgid_args *p = params;
1132 iarg[0] = p->pid; /* pid_t */
1138 struct poll_args *p = params;
1139 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1140 uarg[1] = p->nfds; /* u_int */
1141 iarg[2] = p->timeout; /* int */
1197 struct semget_args *p = params;
1198 iarg[0] = p->key; /* key_t */
1199 iarg[1] = p->nsems; /* int */
1200 iarg[2] = p->semflg; /* int */
1206 struct semop_args *p = params;
1207 iarg[0] = p->semid; /* int */
1208 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1209 uarg[2] = p->nsops; /* size_t */
1215 struct msgget_args *p = params;
1216 iarg[0] = p->key; /* key_t */
1217 iarg[1] = p->msgflg; /* int */
1223 struct msgsnd_args *p = params;
1224 iarg[0] = p->msqid; /* int */
1225 uarg[1] = (intptr_t) p->msgp; /* const void * */
1226 uarg[2] = p->msgsz; /* size_t */
1227 iarg[3] = p->msgflg; /* int */
1233 struct msgrcv_args *p = params;
1234 iarg[0] = p->msqid; /* int */
1235 uarg[1] = (intptr_t) p->msgp; /* void * */
1236 uarg[2] = p->msgsz; /* size_t */
1237 iarg[3] = p->msgtyp; /* long */
1238 iarg[4] = p->msgflg; /* int */
1244 struct shmat_args *p = params;
1245 iarg[0] = p->shmid; /* int */
1246 uarg[1] = (intptr_t) p->shmaddr; /* const void * */
1247 iarg[2] = p->shmflg; /* int */
1253 struct shmdt_args *p = params;
1254 uarg[0] = (intptr_t) p->shmaddr; /* const void * */
1260 struct shmget_args *p = params;
1261 iarg[0] = p->key; /* key_t */
1262 uarg[1] = p->size; /* size_t */
1263 iarg[2] = p->shmflg; /* int */
1269 struct clock_gettime_args *p = params;
1270 iarg[0] = p->clock_id; /* clockid_t */
1271 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1277 struct clock_settime_args *p = params;
1278 iarg[0] = p->clock_id; /* clockid_t */
1279 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */
1285 struct clock_getres_args *p = params;
1286 iarg[0] = p->clock_id; /* clockid_t */
1287 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1293 struct ktimer_create_args *p = params;
1294 iarg[0] = p->clock_id; /* clockid_t */
1295 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1296 uarg[2] = (intptr_t) p->timerid; /* int * */
1302 struct ktimer_delete_args *p = params;
1303 iarg[0] = p->timerid; /* int */
1307 /* ktimer_settime */
1309 struct ktimer_settime_args *p = params;
1310 iarg[0] = p->timerid; /* int */
1311 iarg[1] = p->flags; /* int */
1312 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */
1313 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */
1317 /* ktimer_gettime */
1319 struct ktimer_gettime_args *p = params;
1320 iarg[0] = p->timerid; /* int */
1321 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */
1325 /* ktimer_getoverrun */
1327 struct ktimer_getoverrun_args *p = params;
1328 iarg[0] = p->timerid; /* int */
1334 struct nanosleep_args *p = params;
1335 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */
1336 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */
1340 /* ffclock_getcounter */
1342 struct ffclock_getcounter_args *p = params;
1343 uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */
1347 /* ffclock_setestimate */
1349 struct ffclock_setestimate_args *p = params;
1350 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1354 /* ffclock_getestimate */
1356 struct ffclock_getestimate_args *p = params;
1357 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1363 struct ntp_gettime_args *p = params;
1364 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1370 struct minherit_args *p = params;
1371 uarg[0] = (intptr_t) p->addr; /* void * */
1372 uarg[1] = p->len; /* size_t */
1373 iarg[2] = p->inherit; /* int */
1379 struct rfork_args *p = params;
1380 iarg[0] = p->flags; /* int */
1386 struct openbsd_poll_args *p = params;
1387 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1388 uarg[1] = p->nfds; /* u_int */
1389 iarg[2] = p->timeout; /* int */
1400 struct lchown_args *p = params;
1401 uarg[0] = (intptr_t) p->path; /* char * */
1402 iarg[1] = p->uid; /* int */
1403 iarg[2] = p->gid; /* int */
1409 struct aio_read_args *p = params;
1410 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1416 struct aio_write_args *p = params;
1417 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1423 struct lio_listio_args *p = params;
1424 iarg[0] = p->mode; /* int */
1425 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1426 iarg[2] = p->nent; /* int */
1427 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1433 struct getdents_args *p = params;
1434 iarg[0] = p->fd; /* int */
1435 uarg[1] = (intptr_t) p->buf; /* char * */
1436 uarg[2] = p->count; /* size_t */
1442 struct lchmod_args *p = params;
1443 uarg[0] = (intptr_t) p->path; /* char * */
1444 iarg[1] = p->mode; /* mode_t */
1450 struct lchown_args *p = params;
1451 uarg[0] = (intptr_t) p->path; /* char * */
1452 uarg[1] = p->uid; /* uid_t */
1453 iarg[2] = p->gid; /* gid_t */
1459 struct lutimes_args *p = params;
1460 uarg[0] = (intptr_t) p->path; /* char * */
1461 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1467 struct msync_args *p = params;
1468 uarg[0] = (intptr_t) p->addr; /* void * */
1469 uarg[1] = p->len; /* size_t */
1470 iarg[2] = p->flags; /* int */
1476 struct nstat_args *p = params;
1477 uarg[0] = (intptr_t) p->path; /* char * */
1478 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1484 struct nfstat_args *p = params;
1485 iarg[0] = p->fd; /* int */
1486 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1492 struct nlstat_args *p = params;
1493 uarg[0] = (intptr_t) p->path; /* char * */
1494 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1500 struct preadv_args *p = params;
1501 iarg[0] = p->fd; /* int */
1502 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1503 uarg[2] = p->iovcnt; /* u_int */
1504 iarg[3] = p->offset; /* off_t */
1510 struct pwritev_args *p = params;
1511 iarg[0] = p->fd; /* int */
1512 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1513 uarg[2] = p->iovcnt; /* u_int */
1514 iarg[3] = p->offset; /* off_t */
1520 struct fhopen_args *p = params;
1521 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1522 iarg[1] = p->flags; /* int */
1528 struct fhstat_args *p = params;
1529 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1530 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1536 struct modnext_args *p = params;
1537 iarg[0] = p->modid; /* int */
1543 struct modstat_args *p = params;
1544 iarg[0] = p->modid; /* int */
1545 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1551 struct modfnext_args *p = params;
1552 iarg[0] = p->modid; /* int */
1558 struct modfind_args *p = params;
1559 uarg[0] = (intptr_t) p->name; /* const char * */
1565 struct kldload_args *p = params;
1566 uarg[0] = (intptr_t) p->file; /* const char * */
1572 struct kldunload_args *p = params;
1573 iarg[0] = p->fileid; /* int */
1579 struct kldfind_args *p = params;
1580 uarg[0] = (intptr_t) p->file; /* const char * */
1586 struct kldnext_args *p = params;
1587 iarg[0] = p->fileid; /* int */
1593 struct kldstat_args *p = params;
1594 iarg[0] = p->fileid; /* int */
1595 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1601 struct kldfirstmod_args *p = params;
1602 iarg[0] = p->fileid; /* int */
1608 struct getsid_args *p = params;
1609 iarg[0] = p->pid; /* pid_t */
1615 struct setresuid_args *p = params;
1616 uarg[0] = p->ruid; /* uid_t */
1617 uarg[1] = p->euid; /* uid_t */
1618 uarg[2] = p->suid; /* uid_t */
1624 struct setresgid_args *p = params;
1625 iarg[0] = p->rgid; /* gid_t */
1626 iarg[1] = p->egid; /* gid_t */
1627 iarg[2] = p->sgid; /* gid_t */
1633 struct aio_return_args *p = params;
1634 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1640 struct aio_suspend_args *p = params;
1641 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1642 iarg[1] = p->nent; /* int */
1643 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1649 struct aio_cancel_args *p = params;
1650 iarg[0] = p->fd; /* int */
1651 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1657 struct aio_error_args *p = params;
1658 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1664 struct oaio_read_args *p = params;
1665 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1671 struct oaio_write_args *p = params;
1672 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1678 struct olio_listio_args *p = params;
1679 iarg[0] = p->mode; /* int */
1680 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb *const * */
1681 iarg[2] = p->nent; /* int */
1682 uarg[3] = (intptr_t) p->sig; /* struct osigevent * */
1693 struct mlockall_args *p = params;
1694 iarg[0] = p->how; /* int */
1705 struct __getcwd_args *p = params;
1706 uarg[0] = (intptr_t) p->buf; /* u_char * */
1707 uarg[1] = p->buflen; /* u_int */
1711 /* sched_setparam */
1713 struct sched_setparam_args *p = params;
1714 iarg[0] = p->pid; /* pid_t */
1715 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1719 /* sched_getparam */
1721 struct sched_getparam_args *p = params;
1722 iarg[0] = p->pid; /* pid_t */
1723 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1727 /* sched_setscheduler */
1729 struct sched_setscheduler_args *p = params;
1730 iarg[0] = p->pid; /* pid_t */
1731 iarg[1] = p->policy; /* int */
1732 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1736 /* sched_getscheduler */
1738 struct sched_getscheduler_args *p = params;
1739 iarg[0] = p->pid; /* pid_t */
1748 /* sched_get_priority_max */
1750 struct sched_get_priority_max_args *p = params;
1751 iarg[0] = p->policy; /* int */
1755 /* sched_get_priority_min */
1757 struct sched_get_priority_min_args *p = params;
1758 iarg[0] = p->policy; /* int */
1762 /* sched_rr_get_interval */
1764 struct sched_rr_get_interval_args *p = params;
1765 iarg[0] = p->pid; /* pid_t */
1766 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1772 struct utrace_args *p = params;
1773 uarg[0] = (intptr_t) p->addr; /* const void * */
1774 uarg[1] = p->len; /* size_t */
1780 struct kldsym_args *p = params;
1781 iarg[0] = p->fileid; /* int */
1782 iarg[1] = p->cmd; /* int */
1783 uarg[2] = (intptr_t) p->data; /* void * */
1789 struct jail_args *p = params;
1790 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1796 struct nnpfs_syscall_args *p = params;
1797 iarg[0] = p->operation; /* int */
1798 uarg[1] = (intptr_t) p->a_pathP; /* char * */
1799 iarg[2] = p->a_opcode; /* int */
1800 uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1801 iarg[4] = p->a_followSymlinks; /* int */
1807 struct sigprocmask_args *p = params;
1808 iarg[0] = p->how; /* int */
1809 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1810 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1816 struct sigsuspend_args *p = params;
1817 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1823 struct sigpending_args *p = params;
1824 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1830 struct sigtimedwait_args *p = params;
1831 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1832 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1833 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1839 struct sigwaitinfo_args *p = params;
1840 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1841 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1845 /* __acl_get_file */
1847 struct __acl_get_file_args *p = params;
1848 uarg[0] = (intptr_t) p->path; /* const char * */
1849 iarg[1] = p->type; /* acl_type_t */
1850 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1854 /* __acl_set_file */
1856 struct __acl_set_file_args *p = params;
1857 uarg[0] = (intptr_t) p->path; /* const char * */
1858 iarg[1] = p->type; /* acl_type_t */
1859 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1865 struct __acl_get_fd_args *p = params;
1866 iarg[0] = p->filedes; /* int */
1867 iarg[1] = p->type; /* acl_type_t */
1868 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1874 struct __acl_set_fd_args *p = params;
1875 iarg[0] = p->filedes; /* int */
1876 iarg[1] = p->type; /* acl_type_t */
1877 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1881 /* __acl_delete_file */
1883 struct __acl_delete_file_args *p = params;
1884 uarg[0] = (intptr_t) p->path; /* const char * */
1885 iarg[1] = p->type; /* acl_type_t */
1889 /* __acl_delete_fd */
1891 struct __acl_delete_fd_args *p = params;
1892 iarg[0] = p->filedes; /* int */
1893 iarg[1] = p->type; /* acl_type_t */
1897 /* __acl_aclcheck_file */
1899 struct __acl_aclcheck_file_args *p = params;
1900 uarg[0] = (intptr_t) p->path; /* const char * */
1901 iarg[1] = p->type; /* acl_type_t */
1902 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1906 /* __acl_aclcheck_fd */
1908 struct __acl_aclcheck_fd_args *p = params;
1909 iarg[0] = p->filedes; /* int */
1910 iarg[1] = p->type; /* acl_type_t */
1911 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1917 struct extattrctl_args *p = params;
1918 uarg[0] = (intptr_t) p->path; /* const char * */
1919 iarg[1] = p->cmd; /* int */
1920 uarg[2] = (intptr_t) p->filename; /* const char * */
1921 iarg[3] = p->attrnamespace; /* int */
1922 uarg[4] = (intptr_t) p->attrname; /* const char * */
1926 /* extattr_set_file */
1928 struct extattr_set_file_args *p = params;
1929 uarg[0] = (intptr_t) p->path; /* const char * */
1930 iarg[1] = p->attrnamespace; /* int */
1931 uarg[2] = (intptr_t) p->attrname; /* const char * */
1932 uarg[3] = (intptr_t) p->data; /* void * */
1933 uarg[4] = p->nbytes; /* size_t */
1937 /* extattr_get_file */
1939 struct extattr_get_file_args *p = params;
1940 uarg[0] = (intptr_t) p->path; /* const char * */
1941 iarg[1] = p->attrnamespace; /* int */
1942 uarg[2] = (intptr_t) p->attrname; /* const char * */
1943 uarg[3] = (intptr_t) p->data; /* void * */
1944 uarg[4] = p->nbytes; /* size_t */
1948 /* extattr_delete_file */
1950 struct extattr_delete_file_args *p = params;
1951 uarg[0] = (intptr_t) p->path; /* const char * */
1952 iarg[1] = p->attrnamespace; /* int */
1953 uarg[2] = (intptr_t) p->attrname; /* const char * */
1957 /* aio_waitcomplete */
1959 struct aio_waitcomplete_args *p = params;
1960 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1961 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1967 struct getresuid_args *p = params;
1968 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1969 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1970 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1976 struct getresgid_args *p = params;
1977 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1978 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1979 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1990 struct kevent_args *p = params;
1991 iarg[0] = p->fd; /* int */
1992 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
1993 iarg[2] = p->nchanges; /* int */
1994 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
1995 iarg[4] = p->nevents; /* int */
1996 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
2000 /* extattr_set_fd */
2002 struct extattr_set_fd_args *p = params;
2003 iarg[0] = p->fd; /* int */
2004 iarg[1] = p->attrnamespace; /* int */
2005 uarg[2] = (intptr_t) p->attrname; /* const char * */
2006 uarg[3] = (intptr_t) p->data; /* void * */
2007 uarg[4] = p->nbytes; /* size_t */
2011 /* extattr_get_fd */
2013 struct extattr_get_fd_args *p = params;
2014 iarg[0] = p->fd; /* int */
2015 iarg[1] = p->attrnamespace; /* int */
2016 uarg[2] = (intptr_t) p->attrname; /* const char * */
2017 uarg[3] = (intptr_t) p->data; /* void * */
2018 uarg[4] = p->nbytes; /* size_t */
2022 /* extattr_delete_fd */
2024 struct extattr_delete_fd_args *p = params;
2025 iarg[0] = p->fd; /* int */
2026 iarg[1] = p->attrnamespace; /* int */
2027 uarg[2] = (intptr_t) p->attrname; /* const char * */
2033 struct __setugid_args *p = params;
2034 iarg[0] = p->flag; /* int */
2040 struct eaccess_args *p = params;
2041 uarg[0] = (intptr_t) p->path; /* char * */
2042 iarg[1] = p->amode; /* int */
2048 struct afs3_syscall_args *p = params;
2049 iarg[0] = p->syscall; /* long */
2050 iarg[1] = p->parm1; /* long */
2051 iarg[2] = p->parm2; /* long */
2052 iarg[3] = p->parm3; /* long */
2053 iarg[4] = p->parm4; /* long */
2054 iarg[5] = p->parm5; /* long */
2055 iarg[6] = p->parm6; /* long */
2061 struct nmount_args *p = params;
2062 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2063 uarg[1] = p->iovcnt; /* unsigned int */
2064 iarg[2] = p->flags; /* int */
2068 /* __mac_get_proc */
2070 struct __mac_get_proc_args *p = params;
2071 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2075 /* __mac_set_proc */
2077 struct __mac_set_proc_args *p = params;
2078 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2084 struct __mac_get_fd_args *p = params;
2085 iarg[0] = p->fd; /* int */
2086 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2090 /* __mac_get_file */
2092 struct __mac_get_file_args *p = params;
2093 uarg[0] = (intptr_t) p->path_p; /* const char * */
2094 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2100 struct __mac_set_fd_args *p = params;
2101 iarg[0] = p->fd; /* int */
2102 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2106 /* __mac_set_file */
2108 struct __mac_set_file_args *p = params;
2109 uarg[0] = (intptr_t) p->path_p; /* const char * */
2110 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2116 struct kenv_args *p = params;
2117 iarg[0] = p->what; /* int */
2118 uarg[1] = (intptr_t) p->name; /* const char * */
2119 uarg[2] = (intptr_t) p->value; /* char * */
2120 iarg[3] = p->len; /* int */
2126 struct lchflags_args *p = params;
2127 uarg[0] = (intptr_t) p->path; /* const char * */
2128 iarg[1] = p->flags; /* int */
2134 struct uuidgen_args *p = params;
2135 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2136 iarg[1] = p->count; /* int */
2142 struct sendfile_args *p = params;
2143 iarg[0] = p->fd; /* int */
2144 iarg[1] = p->s; /* int */
2145 iarg[2] = p->offset; /* off_t */
2146 uarg[3] = p->nbytes; /* size_t */
2147 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2148 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2149 iarg[6] = p->flags; /* int */
2155 struct mac_syscall_args *p = params;
2156 uarg[0] = (intptr_t) p->policy; /* const char * */
2157 iarg[1] = p->call; /* int */
2158 uarg[2] = (intptr_t) p->arg; /* void * */
2164 struct getfsstat_args *p = params;
2165 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2166 iarg[1] = p->bufsize; /* long */
2167 iarg[2] = p->flags; /* int */
2173 struct statfs_args *p = params;
2174 uarg[0] = (intptr_t) p->path; /* char * */
2175 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2181 struct fstatfs_args *p = params;
2182 iarg[0] = p->fd; /* int */
2183 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2189 struct fhstatfs_args *p = params;
2190 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2191 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2197 struct ksem_close_args *p = params;
2198 iarg[0] = p->id; /* semid_t */
2204 struct ksem_post_args *p = params;
2205 iarg[0] = p->id; /* semid_t */
2211 struct ksem_wait_args *p = params;
2212 iarg[0] = p->id; /* semid_t */
2218 struct ksem_trywait_args *p = params;
2219 iarg[0] = p->id; /* semid_t */
2225 struct ksem_init_args *p = params;
2226 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2227 uarg[1] = p->value; /* unsigned int */
2233 struct ksem_open_args *p = params;
2234 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2235 uarg[1] = (intptr_t) p->name; /* const char * */
2236 iarg[2] = p->oflag; /* int */
2237 iarg[3] = p->mode; /* mode_t */
2238 uarg[4] = p->value; /* unsigned int */
2244 struct ksem_unlink_args *p = params;
2245 uarg[0] = (intptr_t) p->name; /* const char * */
2251 struct ksem_getvalue_args *p = params;
2252 iarg[0] = p->id; /* semid_t */
2253 uarg[1] = (intptr_t) p->val; /* int * */
2259 struct ksem_destroy_args *p = params;
2260 iarg[0] = p->id; /* semid_t */
2266 struct __mac_get_pid_args *p = params;
2267 iarg[0] = p->pid; /* pid_t */
2268 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2272 /* __mac_get_link */
2274 struct __mac_get_link_args *p = params;
2275 uarg[0] = (intptr_t) p->path_p; /* const char * */
2276 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2280 /* __mac_set_link */
2282 struct __mac_set_link_args *p = params;
2283 uarg[0] = (intptr_t) p->path_p; /* const char * */
2284 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2288 /* extattr_set_link */
2290 struct extattr_set_link_args *p = params;
2291 uarg[0] = (intptr_t) p->path; /* const char * */
2292 iarg[1] = p->attrnamespace; /* int */
2293 uarg[2] = (intptr_t) p->attrname; /* const char * */
2294 uarg[3] = (intptr_t) p->data; /* void * */
2295 uarg[4] = p->nbytes; /* size_t */
2299 /* extattr_get_link */
2301 struct extattr_get_link_args *p = params;
2302 uarg[0] = (intptr_t) p->path; /* const char * */
2303 iarg[1] = p->attrnamespace; /* int */
2304 uarg[2] = (intptr_t) p->attrname; /* const char * */
2305 uarg[3] = (intptr_t) p->data; /* void * */
2306 uarg[4] = p->nbytes; /* size_t */
2310 /* extattr_delete_link */
2312 struct extattr_delete_link_args *p = params;
2313 uarg[0] = (intptr_t) p->path; /* const char * */
2314 iarg[1] = p->attrnamespace; /* int */
2315 uarg[2] = (intptr_t) p->attrname; /* const char * */
2321 struct __mac_execve_args *p = params;
2322 uarg[0] = (intptr_t) p->fname; /* char * */
2323 uarg[1] = (intptr_t) p->argv; /* char ** */
2324 uarg[2] = (intptr_t) p->envv; /* char ** */
2325 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2331 struct sigaction_args *p = params;
2332 iarg[0] = p->sig; /* int */
2333 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2334 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2340 struct sigreturn_args *p = params;
2341 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2347 struct getcontext_args *p = params;
2348 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2354 struct setcontext_args *p = params;
2355 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2361 struct swapcontext_args *p = params;
2362 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2363 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2369 struct swapoff_args *p = params;
2370 uarg[0] = (intptr_t) p->name; /* const char * */
2374 /* __acl_get_link */
2376 struct __acl_get_link_args *p = params;
2377 uarg[0] = (intptr_t) p->path; /* const char * */
2378 iarg[1] = p->type; /* acl_type_t */
2379 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2383 /* __acl_set_link */
2385 struct __acl_set_link_args *p = params;
2386 uarg[0] = (intptr_t) p->path; /* const char * */
2387 iarg[1] = p->type; /* acl_type_t */
2388 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2392 /* __acl_delete_link */
2394 struct __acl_delete_link_args *p = params;
2395 uarg[0] = (intptr_t) p->path; /* const char * */
2396 iarg[1] = p->type; /* acl_type_t */
2400 /* __acl_aclcheck_link */
2402 struct __acl_aclcheck_link_args *p = params;
2403 uarg[0] = (intptr_t) p->path; /* const char * */
2404 iarg[1] = p->type; /* acl_type_t */
2405 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2411 struct sigwait_args *p = params;
2412 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2413 uarg[1] = (intptr_t) p->sig; /* int * */
2419 struct thr_create_args *p = params;
2420 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2421 uarg[1] = (intptr_t) p->id; /* long * */
2422 iarg[2] = p->flags; /* int */
2428 struct thr_exit_args *p = params;
2429 uarg[0] = (intptr_t) p->state; /* long * */
2435 struct thr_self_args *p = params;
2436 uarg[0] = (intptr_t) p->id; /* long * */
2442 struct thr_kill_args *p = params;
2443 iarg[0] = p->id; /* long */
2444 iarg[1] = p->sig; /* int */
2450 struct _umtx_lock_args *p = params;
2451 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2457 struct _umtx_unlock_args *p = params;
2458 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2464 struct jail_attach_args *p = params;
2465 iarg[0] = p->jid; /* int */
2469 /* extattr_list_fd */
2471 struct extattr_list_fd_args *p = params;
2472 iarg[0] = p->fd; /* int */
2473 iarg[1] = p->attrnamespace; /* int */
2474 uarg[2] = (intptr_t) p->data; /* void * */
2475 uarg[3] = p->nbytes; /* size_t */
2479 /* extattr_list_file */
2481 struct extattr_list_file_args *p = params;
2482 uarg[0] = (intptr_t) p->path; /* const char * */
2483 iarg[1] = p->attrnamespace; /* int */
2484 uarg[2] = (intptr_t) p->data; /* void * */
2485 uarg[3] = p->nbytes; /* size_t */
2489 /* extattr_list_link */
2491 struct extattr_list_link_args *p = params;
2492 uarg[0] = (intptr_t) p->path; /* const char * */
2493 iarg[1] = p->attrnamespace; /* int */
2494 uarg[2] = (intptr_t) p->data; /* void * */
2495 uarg[3] = p->nbytes; /* size_t */
2499 /* ksem_timedwait */
2501 struct ksem_timedwait_args *p = params;
2502 iarg[0] = p->id; /* semid_t */
2503 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2509 struct thr_suspend_args *p = params;
2510 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2516 struct thr_wake_args *p = params;
2517 iarg[0] = p->id; /* long */
2523 struct kldunloadf_args *p = params;
2524 iarg[0] = p->fileid; /* int */
2525 iarg[1] = p->flags; /* int */
2531 struct audit_args *p = params;
2532 uarg[0] = (intptr_t) p->record; /* const void * */
2533 uarg[1] = p->length; /* u_int */
2539 struct auditon_args *p = params;
2540 iarg[0] = p->cmd; /* int */
2541 uarg[1] = (intptr_t) p->data; /* void * */
2542 uarg[2] = p->length; /* u_int */
2548 struct getauid_args *p = params;
2549 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2555 struct setauid_args *p = params;
2556 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2562 struct getaudit_args *p = params;
2563 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2569 struct setaudit_args *p = params;
2570 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2576 struct getaudit_addr_args *p = params;
2577 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2578 uarg[1] = p->length; /* u_int */
2584 struct setaudit_addr_args *p = params;
2585 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2586 uarg[1] = p->length; /* u_int */
2592 struct auditctl_args *p = params;
2593 uarg[0] = (intptr_t) p->path; /* char * */
2599 struct _umtx_op_args *p = params;
2600 uarg[0] = (intptr_t) p->obj; /* void * */
2601 iarg[1] = p->op; /* int */
2602 uarg[2] = p->val; /* u_long */
2603 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2604 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2610 struct thr_new_args *p = params;
2611 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2612 iarg[1] = p->param_size; /* int */
2618 struct sigqueue_args *p = params;
2619 iarg[0] = p->pid; /* pid_t */
2620 iarg[1] = p->signum; /* int */
2621 uarg[2] = (intptr_t) p->value; /* void * */
2627 struct kmq_open_args *p = params;
2628 uarg[0] = (intptr_t) p->path; /* const char * */
2629 iarg[1] = p->flags; /* int */
2630 iarg[2] = p->mode; /* mode_t */
2631 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2637 struct kmq_setattr_args *p = params;
2638 iarg[0] = p->mqd; /* int */
2639 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2640 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2644 /* kmq_timedreceive */
2646 struct kmq_timedreceive_args *p = params;
2647 iarg[0] = p->mqd; /* int */
2648 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2649 uarg[2] = p->msg_len; /* size_t */
2650 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2651 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2657 struct kmq_timedsend_args *p = params;
2658 iarg[0] = p->mqd; /* int */
2659 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2660 uarg[2] = p->msg_len; /* size_t */
2661 uarg[3] = p->msg_prio; /* unsigned */
2662 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2668 struct kmq_notify_args *p = params;
2669 iarg[0] = p->mqd; /* int */
2670 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2676 struct kmq_unlink_args *p = params;
2677 uarg[0] = (intptr_t) p->path; /* const char * */
2683 struct abort2_args *p = params;
2684 uarg[0] = (intptr_t) p->why; /* const char * */
2685 iarg[1] = p->nargs; /* int */
2686 uarg[2] = (intptr_t) p->args; /* void ** */
2692 struct thr_set_name_args *p = params;
2693 iarg[0] = p->id; /* long */
2694 uarg[1] = (intptr_t) p->name; /* const char * */
2700 struct aio_fsync_args *p = params;
2701 iarg[0] = p->op; /* int */
2702 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2708 struct rtprio_thread_args *p = params;
2709 iarg[0] = p->function; /* int */
2710 iarg[1] = p->lwpid; /* lwpid_t */
2711 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2717 struct sctp_peeloff_args *p = params;
2718 iarg[0] = p->sd; /* int */
2719 uarg[1] = p->name; /* uint32_t */
2723 /* sctp_generic_sendmsg */
2725 struct sctp_generic_sendmsg_args *p = params;
2726 iarg[0] = p->sd; /* int */
2727 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2728 iarg[2] = p->mlen; /* int */
2729 uarg[3] = (intptr_t) p->to; /* caddr_t */
2730 iarg[4] = p->tolen; /* __socklen_t */
2731 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2732 iarg[6] = p->flags; /* int */
2736 /* sctp_generic_sendmsg_iov */
2738 struct sctp_generic_sendmsg_iov_args *p = params;
2739 iarg[0] = p->sd; /* int */
2740 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2741 iarg[2] = p->iovlen; /* int */
2742 uarg[3] = (intptr_t) p->to; /* caddr_t */
2743 iarg[4] = p->tolen; /* __socklen_t */
2744 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2745 iarg[6] = p->flags; /* int */
2749 /* sctp_generic_recvmsg */
2751 struct sctp_generic_recvmsg_args *p = params;
2752 iarg[0] = p->sd; /* int */
2753 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2754 iarg[2] = p->iovlen; /* int */
2755 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2756 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2757 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2758 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2764 struct pread_args *p = params;
2765 iarg[0] = p->fd; /* int */
2766 uarg[1] = (intptr_t) p->buf; /* void * */
2767 uarg[2] = p->nbyte; /* size_t */
2768 iarg[3] = p->offset; /* off_t */
2774 struct pwrite_args *p = params;
2775 iarg[0] = p->fd; /* int */
2776 uarg[1] = (intptr_t) p->buf; /* const void * */
2777 uarg[2] = p->nbyte; /* size_t */
2778 iarg[3] = p->offset; /* off_t */
2784 struct mmap_args *p = params;
2785 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2786 uarg[1] = p->len; /* size_t */
2787 iarg[2] = p->prot; /* int */
2788 iarg[3] = p->flags; /* int */
2789 iarg[4] = p->fd; /* int */
2790 iarg[5] = p->pos; /* off_t */
2796 struct lseek_args *p = params;
2797 iarg[0] = p->fd; /* int */
2798 iarg[1] = p->offset; /* off_t */
2799 iarg[2] = p->whence; /* int */
2805 struct truncate_args *p = params;
2806 uarg[0] = (intptr_t) p->path; /* char * */
2807 iarg[1] = p->length; /* off_t */
2813 struct ftruncate_args *p = params;
2814 iarg[0] = p->fd; /* int */
2815 iarg[1] = p->length; /* off_t */
2821 struct thr_kill2_args *p = params;
2822 iarg[0] = p->pid; /* pid_t */
2823 iarg[1] = p->id; /* long */
2824 iarg[2] = p->sig; /* int */
2830 struct shm_open_args *p = params;
2831 uarg[0] = (intptr_t) p->path; /* const char * */
2832 iarg[1] = p->flags; /* int */
2833 iarg[2] = p->mode; /* mode_t */
2839 struct shm_unlink_args *p = params;
2840 uarg[0] = (intptr_t) p->path; /* const char * */
2846 struct cpuset_args *p = params;
2847 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2853 struct cpuset_setid_args *p = params;
2854 iarg[0] = p->which; /* cpuwhich_t */
2855 iarg[1] = p->id; /* id_t */
2856 iarg[2] = p->setid; /* cpusetid_t */
2862 struct cpuset_getid_args *p = params;
2863 iarg[0] = p->level; /* cpulevel_t */
2864 iarg[1] = p->which; /* cpuwhich_t */
2865 iarg[2] = p->id; /* id_t */
2866 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2870 /* cpuset_getaffinity */
2872 struct cpuset_getaffinity_args *p = params;
2873 iarg[0] = p->level; /* cpulevel_t */
2874 iarg[1] = p->which; /* cpuwhich_t */
2875 iarg[2] = p->id; /* id_t */
2876 uarg[3] = p->cpusetsize; /* size_t */
2877 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2881 /* cpuset_setaffinity */
2883 struct cpuset_setaffinity_args *p = params;
2884 iarg[0] = p->level; /* cpulevel_t */
2885 iarg[1] = p->which; /* cpuwhich_t */
2886 iarg[2] = p->id; /* id_t */
2887 uarg[3] = p->cpusetsize; /* size_t */
2888 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2894 struct faccessat_args *p = params;
2895 iarg[0] = p->fd; /* int */
2896 uarg[1] = (intptr_t) p->path; /* char * */
2897 iarg[2] = p->amode; /* int */
2898 iarg[3] = p->flag; /* int */
2904 struct fchmodat_args *p = params;
2905 iarg[0] = p->fd; /* int */
2906 uarg[1] = (intptr_t) p->path; /* char * */
2907 iarg[2] = p->mode; /* mode_t */
2908 iarg[3] = p->flag; /* int */
2914 struct fchownat_args *p = params;
2915 iarg[0] = p->fd; /* int */
2916 uarg[1] = (intptr_t) p->path; /* char * */
2917 uarg[2] = p->uid; /* uid_t */
2918 iarg[3] = p->gid; /* gid_t */
2919 iarg[4] = p->flag; /* int */
2925 struct fexecve_args *p = params;
2926 iarg[0] = p->fd; /* int */
2927 uarg[1] = (intptr_t) p->argv; /* char ** */
2928 uarg[2] = (intptr_t) p->envv; /* char ** */
2934 struct fstatat_args *p = params;
2935 iarg[0] = p->fd; /* int */
2936 uarg[1] = (intptr_t) p->path; /* char * */
2937 uarg[2] = (intptr_t) p->buf; /* struct stat * */
2938 iarg[3] = p->flag; /* int */
2944 struct futimesat_args *p = params;
2945 iarg[0] = p->fd; /* int */
2946 uarg[1] = (intptr_t) p->path; /* char * */
2947 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2953 struct linkat_args *p = params;
2954 iarg[0] = p->fd1; /* int */
2955 uarg[1] = (intptr_t) p->path1; /* char * */
2956 iarg[2] = p->fd2; /* int */
2957 uarg[3] = (intptr_t) p->path2; /* char * */
2958 iarg[4] = p->flag; /* int */
2964 struct mkdirat_args *p = params;
2965 iarg[0] = p->fd; /* int */
2966 uarg[1] = (intptr_t) p->path; /* char * */
2967 iarg[2] = p->mode; /* mode_t */
2973 struct mkfifoat_args *p = params;
2974 iarg[0] = p->fd; /* int */
2975 uarg[1] = (intptr_t) p->path; /* char * */
2976 iarg[2] = p->mode; /* mode_t */
2982 struct mknodat_args *p = params;
2983 iarg[0] = p->fd; /* int */
2984 uarg[1] = (intptr_t) p->path; /* char * */
2985 iarg[2] = p->mode; /* mode_t */
2986 iarg[3] = p->dev; /* dev_t */
2992 struct openat_args *p = params;
2993 iarg[0] = p->fd; /* int */
2994 uarg[1] = (intptr_t) p->path; /* char * */
2995 iarg[2] = p->flag; /* int */
2996 iarg[3] = p->mode; /* mode_t */
3002 struct readlinkat_args *p = params;
3003 iarg[0] = p->fd; /* int */
3004 uarg[1] = (intptr_t) p->path; /* char * */
3005 uarg[2] = (intptr_t) p->buf; /* char * */
3006 uarg[3] = p->bufsize; /* size_t */
3012 struct renameat_args *p = params;
3013 iarg[0] = p->oldfd; /* int */
3014 uarg[1] = (intptr_t) p->old; /* char * */
3015 iarg[2] = p->newfd; /* int */
3016 uarg[3] = (intptr_t) p->new; /* char * */
3022 struct symlinkat_args *p = params;
3023 uarg[0] = (intptr_t) p->path1; /* char * */
3024 iarg[1] = p->fd; /* int */
3025 uarg[2] = (intptr_t) p->path2; /* char * */
3031 struct unlinkat_args *p = params;
3032 iarg[0] = p->fd; /* int */
3033 uarg[1] = (intptr_t) p->path; /* char * */
3034 iarg[2] = p->flag; /* int */
3040 struct posix_openpt_args *p = params;
3041 iarg[0] = p->flags; /* int */
3047 struct gssd_syscall_args *p = params;
3048 uarg[0] = (intptr_t) p->path; /* char * */
3054 struct jail_get_args *p = params;
3055 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
3056 uarg[1] = p->iovcnt; /* unsigned int */
3057 iarg[2] = p->flags; /* int */
3063 struct jail_set_args *p = params;
3064 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
3065 uarg[1] = p->iovcnt; /* unsigned int */
3066 iarg[2] = p->flags; /* int */
3072 struct jail_remove_args *p = params;
3073 iarg[0] = p->jid; /* int */
3079 struct closefrom_args *p = params;
3080 iarg[0] = p->lowfd; /* int */
3086 struct __semctl_args *p = params;
3087 iarg[0] = p->semid; /* int */
3088 iarg[1] = p->semnum; /* int */
3089 iarg[2] = p->cmd; /* int */
3090 uarg[3] = (intptr_t) p->arg; /* union semun * */
3096 struct msgctl_args *p = params;
3097 iarg[0] = p->msqid; /* int */
3098 iarg[1] = p->cmd; /* int */
3099 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
3105 struct shmctl_args *p = params;
3106 iarg[0] = p->shmid; /* int */
3107 iarg[1] = p->cmd; /* int */
3108 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
3114 struct lpathconf_args *p = params;
3115 uarg[0] = (intptr_t) p->path; /* char * */
3116 iarg[1] = p->name; /* int */
3122 struct cap_new_args *p = params;
3123 iarg[0] = p->fd; /* int */
3124 uarg[1] = p->rights; /* uint64_t */
3130 struct cap_getrights_args *p = params;
3131 iarg[0] = p->fd; /* int */
3132 uarg[1] = (intptr_t) p->rightsp; /* uint64_t * */
3143 struct cap_getmode_args *p = params;
3144 uarg[0] = (intptr_t) p->modep; /* u_int * */
3150 struct pdfork_args *p = params;
3151 uarg[0] = (intptr_t) p->fdp; /* int * */
3152 iarg[1] = p->flags; /* int */
3158 struct pdkill_args *p = params;
3159 iarg[0] = p->fd; /* int */
3160 iarg[1] = p->signum; /* int */
3166 struct pdgetpid_args *p = params;
3167 iarg[0] = p->fd; /* int */
3168 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
3174 struct pselect_args *p = params;
3175 iarg[0] = p->nd; /* int */
3176 uarg[1] = (intptr_t) p->in; /* fd_set * */
3177 uarg[2] = (intptr_t) p->ou; /* fd_set * */
3178 uarg[3] = (intptr_t) p->ex; /* fd_set * */
3179 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
3180 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
3186 struct getloginclass_args *p = params;
3187 uarg[0] = (intptr_t) p->namebuf; /* char * */
3188 uarg[1] = p->namelen; /* size_t */
3194 struct setloginclass_args *p = params;
3195 uarg[0] = (intptr_t) p->namebuf; /* const char * */
3199 /* rctl_get_racct */
3201 struct rctl_get_racct_args *p = params;
3202 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3203 uarg[1] = p->inbuflen; /* size_t */
3204 uarg[2] = (intptr_t) p->outbufp; /* void * */
3205 uarg[3] = p->outbuflen; /* size_t */
3209 /* rctl_get_rules */
3211 struct rctl_get_rules_args *p = params;
3212 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3213 uarg[1] = p->inbuflen; /* size_t */
3214 uarg[2] = (intptr_t) p->outbufp; /* void * */
3215 uarg[3] = p->outbuflen; /* size_t */
3219 /* rctl_get_limits */
3221 struct rctl_get_limits_args *p = params;
3222 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3223 uarg[1] = p->inbuflen; /* size_t */
3224 uarg[2] = (intptr_t) p->outbufp; /* void * */
3225 uarg[3] = p->outbuflen; /* size_t */
3231 struct rctl_add_rule_args *p = params;
3232 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3233 uarg[1] = p->inbuflen; /* size_t */
3234 uarg[2] = (intptr_t) p->outbufp; /* void * */
3235 uarg[3] = p->outbuflen; /* size_t */
3239 /* rctl_remove_rule */
3241 struct rctl_remove_rule_args *p = params;
3242 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3243 uarg[1] = p->inbuflen; /* size_t */
3244 uarg[2] = (intptr_t) p->outbufp; /* void * */
3245 uarg[3] = p->outbuflen; /* size_t */
3249 /* posix_fallocate */
3251 struct posix_fallocate_args *p = params;
3252 iarg[0] = p->fd; /* int */
3253 iarg[1] = p->offset; /* off_t */
3254 iarg[2] = p->len; /* off_t */
3260 struct posix_fadvise_args *p = params;
3261 iarg[0] = p->fd; /* int */
3262 iarg[1] = p->offset; /* off_t */
3263 iarg[2] = p->len; /* off_t */
3264 iarg[3] = p->advice; /* int */
3274 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3276 const char *p = NULL;
3365 p = "struct rusage *";
3546 p = "struct msghdr *";
3562 p = "struct msghdr *";
3587 p = "struct sockaddr *__restrict";
3590 p = "__socklen_t *__restrict";
3603 p = "struct sockaddr *__restrict";
3606 p = "__socklen_t *__restrict";
3619 p = "struct sockaddr *__restrict";
3622 p = "__socklen_t *__restrict";
3635 p = "struct sockaddr *__restrict";
3638 p = "__socklen_t *__restrict";
4065 p = "struct itimerval *";
4068 p = "struct itimerval *";
4091 p = "struct itimerval *";
4145 p = "struct timeval *";
4277 p = "struct timeval *";
4280 p = "struct timezone *";
4293 p = "struct rusage *";
4328 p = "struct iovec *";
4344 p = "struct iovec *";
4357 p = "struct timeval *";
4360 p = "struct timezone *";
4547 p = "struct timeval *";
4557 p = "struct timeval *";
4560 p = "struct timeval *";
4627 p = "struct fhandle *";
4640 p = "struct fhandle *";
4669 p = "struct rtprio *";
4741 /* freebsd6_pread */
4763 /* freebsd6_pwrite */
4799 p = "struct timex *";
4842 p = "struct stat *";
4855 p = "struct stat *";
4868 p = "struct stat *";
4907 p = "struct rlimit *";
4920 p = "struct rlimit *";
4976 /* freebsd6_lseek */
4995 /* freebsd6_truncate */
5011 /* freebsd6_ftruncate */
5095 p = "struct timeval *";
5115 p = "struct pollfd *";
5180 p = "struct sembuf *";
5292 p = "struct timespec *";
5305 p = "const struct timespec *";
5318 p = "struct timespec *";
5331 p = "struct sigevent *";
5350 /* ktimer_settime */
5360 p = "const struct itimerspec *";
5363 p = "struct itimerspec *";
5369 /* ktimer_gettime */
5376 p = "struct itimerspec *";
5382 /* ktimer_getoverrun */
5396 p = "const struct timespec *";
5399 p = "struct timespec *";
5405 /* ffclock_getcounter */
5415 /* ffclock_setestimate */
5419 p = "struct ffclock_estimate *";
5425 /* ffclock_getestimate */
5429 p = "struct ffclock_estimate *";
5439 p = "struct ntptimeval *";
5475 p = "struct pollfd *";
5510 p = "struct aiocb *";
5520 p = "struct aiocb *";
5533 p = "struct aiocb *const *";
5539 p = "struct sigevent *";
5597 p = "struct timeval *";
5626 p = "struct nstat *";
5639 p = "struct nstat *";
5652 p = "struct nstat *";
5665 p = "struct iovec *";
5684 p = "struct iovec *";
5700 p = "const struct fhandle *";
5713 p = "const struct fhandle *";
5716 p = "struct stat *";
5739 p = "struct module_stat *";
5812 p = "struct kld_file_stat *";
5874 p = "struct aiocb *";
5884 p = "struct aiocb *const *";
5890 p = "const struct timespec *";
5903 p = "struct aiocb *";
5913 p = "struct aiocb *";
5923 p = "struct oaiocb *";
5933 p = "struct oaiocb *";
5946 p = "struct oaiocb *const *";
5952 p = "struct osigevent *";
5987 /* sched_setparam */
5994 p = "const struct sched_param *";
6000 /* sched_getparam */
6007 p = "struct sched_param *";
6013 /* sched_setscheduler */
6023 p = "const struct sched_param *";
6029 /* sched_getscheduler */
6042 /* sched_get_priority_max */
6052 /* sched_get_priority_min */
6062 /* sched_rr_get_interval */
6069 p = "struct timespec *";
6108 p = "struct jail *";
6143 p = "const sigset_t *";
6156 p = "const sigset_t *";
6176 p = "const sigset_t *";
6182 p = "const struct timespec *";
6192 p = "const sigset_t *";
6201 /* __acl_get_file */
6217 /* __acl_set_file */
6265 /* __acl_delete_file */
6278 /* __acl_delete_fd */
6291 /* __acl_aclcheck_file */
6307 /* __acl_aclcheck_fd */
6345 /* extattr_set_file */
6367 /* extattr_get_file */
6389 /* extattr_delete_file */
6405 /* aio_waitcomplete */
6409 p = "struct aiocb **";
6412 p = "struct timespec *";
6460 p = "struct kevent *";
6466 p = "struct kevent *";
6472 p = "const struct timespec *";
6478 /* extattr_set_fd */
6500 /* extattr_get_fd */
6522 /* extattr_delete_fd */
6593 p = "struct iovec *";
6605 /* __mac_get_proc */
6615 /* __mac_set_proc */
6638 /* __mac_get_file */
6664 /* __mac_set_file */
6713 p = "struct uuid *";
6738 p = "struct sf_hdtr *";
6770 p = "struct statfs *";
6789 p = "struct statfs *";
6802 p = "struct statfs *";
6812 p = "const struct fhandle *";
6815 p = "struct statfs *";
6942 /* __mac_get_link */
6955 /* __mac_set_link */
6968 /* extattr_set_link */
6990 /* extattr_get_link */
7012 /* extattr_delete_link */
7054 p = "const struct sigaction *";
7057 p = "struct sigaction *";
7067 p = "const struct __ucontext *";
7077 p = "struct __ucontext *";
7087 p = "const struct __ucontext *";
7097 p = "struct __ucontext *";
7100 p = "const struct __ucontext *";
7116 /* __acl_get_link */
7132 /* __acl_set_link */
7148 /* __acl_delete_link */
7161 /* __acl_aclcheck_link */
7181 p = "const sigset_t *";
7243 p = "struct umtx *";
7253 p = "struct umtx *";
7269 /* extattr_list_fd */
7288 /* extattr_list_file */
7307 /* extattr_list_link */
7326 /* ksem_timedwait */
7333 p = "const struct timespec *";
7343 p = "const struct timespec *";
7425 p = "struct auditinfo *";
7435 p = "struct auditinfo *";
7445 p = "struct auditinfo_addr *";
7458 p = "struct auditinfo_addr *";
7503 p = "struct thr_param *";
7541 p = "const struct mq_attr *";
7554 p = "const struct mq_attr *";
7557 p = "struct mq_attr *";
7563 /* kmq_timedreceive */
7579 p = "const struct timespec *";
7601 p = "const struct timespec *";
7614 p = "const struct sigevent *";
7666 p = "struct aiocb *";
7682 p = "struct rtprio *";
7701 /* sctp_generic_sendmsg */
7720 p = "struct sctp_sndrcvinfo *";
7729 /* sctp_generic_sendmsg_iov */
7736 p = "struct iovec *";
7748 p = "struct sctp_sndrcvinfo *";
7757 /* sctp_generic_recvmsg */
7764 p = "struct iovec *";
7770 p = "struct sockaddr *";
7773 p = "__socklen_t *";
7776 p = "struct sctp_sndrcvinfo *";
7977 /* cpuset_getaffinity */
7999 /* cpuset_setaffinity */
8015 p = "const cpuset_t *";
8107 p = "struct stat *";
8126 p = "struct timeval *";
8318 p = "struct iovec *";
8334 p = "struct iovec *";
8379 p = "union semun *";
8395 p = "struct msqid_ds *";
8411 p = "struct shmid_ds *";
8524 p = "const struct timespec *";
8527 p = "const sigset_t *";
8556 /* rctl_get_racct */
8575 /* rctl_get_rules */
8594 /* rctl_get_limits */
8632 /* rctl_remove_rule */
8651 /* posix_fallocate */
8690 strlcpy(desc, p, descsz);
8693 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8695 const char *p = NULL;
8701 if (ndx == 0 || ndx == 1)
8708 if (ndx == 0 || ndx == 1)
8713 if (ndx == 0 || ndx == 1)
8718 if (ndx == 0 || ndx == 1)
8723 if (ndx == 0 || ndx == 1)
8728 if (ndx == 0 || ndx == 1)
8733 if (ndx == 0 || ndx == 1)
8738 if (ndx == 0 || ndx == 1)
8743 if (ndx == 0 || ndx == 1)
8748 if (ndx == 0 || ndx == 1)
8753 if (ndx == 0 || ndx == 1)
8758 if (ndx == 0 || ndx == 1)
8763 if (ndx == 0 || ndx == 1)
8768 if (ndx == 0 || ndx == 1)
8775 if (ndx == 0 || ndx == 1)
8780 if (ndx == 0 || ndx == 1)
8785 if (ndx == 0 || ndx == 1)
8794 if (ndx == 0 || ndx == 1)
8799 if (ndx == 0 || ndx == 1)
8804 if (ndx == 0 || ndx == 1)
8809 if (ndx == 0 || ndx == 1)
8814 if (ndx == 0 || ndx == 1)
8819 if (ndx == 0 || ndx == 1)
8824 if (ndx == 0 || ndx == 1)
8829 if (ndx == 0 || ndx == 1)
8834 if (ndx == 0 || ndx == 1)
8839 if (ndx == 0 || ndx == 1)
8846 if (ndx == 0 || ndx == 1)
8853 if (ndx == 0 || ndx == 1)
8862 if (ndx == 0 || ndx == 1)
8867 if (ndx == 0 || ndx == 1)
8874 if (ndx == 0 || ndx == 1)
8879 if (ndx == 0 || ndx == 1)
8884 if (ndx == 0 || ndx == 1)
8889 if (ndx == 0 || ndx == 1)
8894 if (ndx == 0 || ndx == 1)
8899 if (ndx == 0 || ndx == 1)
8904 if (ndx == 0 || ndx == 1)
8909 if (ndx == 0 || ndx == 1)
8914 if (ndx == 0 || ndx == 1)
8919 if (ndx == 0 || ndx == 1)
8924 if (ndx == 0 || ndx == 1)
8929 if (ndx == 0 || ndx == 1)
8934 if (ndx == 0 || ndx == 1)
8941 if (ndx == 0 || ndx == 1)
8946 if (ndx == 0 || ndx == 1)
8951 if (ndx == 0 || ndx == 1)
8956 if (ndx == 0 || ndx == 1)
8961 if (ndx == 0 || ndx == 1)
8966 if (ndx == 0 || ndx == 1)
8971 if (ndx == 0 || ndx == 1)
8976 if (ndx == 0 || ndx == 1)
8981 if (ndx == 0 || ndx == 1)
8988 if (ndx == 0 || ndx == 1)
8993 if (ndx == 0 || ndx == 1)
8998 if (ndx == 0 || ndx == 1)
9003 if (ndx == 0 || ndx == 1)
9010 if (ndx == 0 || ndx == 1)
9015 if (ndx == 0 || ndx == 1)
9020 if (ndx == 0 || ndx == 1)
9025 if (ndx == 0 || ndx == 1)
9030 if (ndx == 0 || ndx == 1)
9035 if (ndx == 0 || ndx == 1)
9040 if (ndx == 0 || ndx == 1)
9045 if (ndx == 0 || ndx == 1)
9050 if (ndx == 0 || ndx == 1)
9055 if (ndx == 0 || ndx == 1)
9060 if (ndx == 0 || ndx == 1)
9065 if (ndx == 0 || ndx == 1)
9070 if (ndx == 0 || ndx == 1)
9075 if (ndx == 0 || ndx == 1)
9080 if (ndx == 0 || ndx == 1)
9085 if (ndx == 0 || ndx == 1)
9090 if (ndx == 0 || ndx == 1)
9095 if (ndx == 0 || ndx == 1)
9100 if (ndx == 0 || ndx == 1)
9105 if (ndx == 0 || ndx == 1)
9110 if (ndx == 0 || ndx == 1)
9115 if (ndx == 0 || ndx == 1)
9120 if (ndx == 0 || ndx == 1)
9125 if (ndx == 0 || ndx == 1)
9130 if (ndx == 0 || ndx == 1)
9135 if (ndx == 0 || ndx == 1)
9140 if (ndx == 0 || ndx == 1)
9145 if (ndx == 0 || ndx == 1)
9150 if (ndx == 0 || ndx == 1)
9155 if (ndx == 0 || ndx == 1)
9160 if (ndx == 0 || ndx == 1)
9167 if (ndx == 0 || ndx == 1)
9172 if (ndx == 0 || ndx == 1)
9177 if (ndx == 0 || ndx == 1)
9182 if (ndx == 0 || ndx == 1)
9187 if (ndx == 0 || ndx == 1)
9192 if (ndx == 0 || ndx == 1)
9197 if (ndx == 0 || ndx == 1)
9202 if (ndx == 0 || ndx == 1)
9207 if (ndx == 0 || ndx == 1)
9212 if (ndx == 0 || ndx == 1)
9215 /* freebsd6_pread */
9217 if (ndx == 0 || ndx == 1)
9220 /* freebsd6_pwrite */
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 /* freebsd6_lseek */
9299 if (ndx == 0 || ndx == 1)
9302 /* freebsd6_truncate */
9304 if (ndx == 0 || ndx == 1)
9307 /* freebsd6_ftruncate */
9309 if (ndx == 0 || ndx == 1)
9314 if (ndx == 0 || ndx == 1)
9319 if (ndx == 0 || ndx == 1)
9324 if (ndx == 0 || ndx == 1)
9329 if (ndx == 0 || ndx == 1)
9334 if (ndx == 0 || ndx == 1)
9339 if (ndx == 0 || ndx == 1)
9344 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)
9432 /* ktimer_settime */
9434 if (ndx == 0 || ndx == 1)
9437 /* ktimer_gettime */
9439 if (ndx == 0 || ndx == 1)
9442 /* ktimer_getoverrun */
9444 if (ndx == 0 || ndx == 1)
9449 if (ndx == 0 || ndx == 1)
9452 /* ffclock_getcounter */
9454 if (ndx == 0 || ndx == 1)
9457 /* ffclock_setestimate */
9459 if (ndx == 0 || ndx == 1)
9462 /* ffclock_getestimate */
9464 if (ndx == 0 || ndx == 1)
9469 if (ndx == 0 || ndx == 1)
9474 if (ndx == 0 || ndx == 1)
9479 if (ndx == 0 || ndx == 1)
9484 if (ndx == 0 || ndx == 1)
9491 if (ndx == 0 || ndx == 1)
9496 if (ndx == 0 || ndx == 1)
9501 if (ndx == 0 || ndx == 1)
9506 if (ndx == 0 || ndx == 1)
9511 if (ndx == 0 || ndx == 1)
9516 if (ndx == 0 || ndx == 1)
9521 if (ndx == 0 || ndx == 1)
9526 if (ndx == 0 || ndx == 1)
9531 if (ndx == 0 || ndx == 1)
9536 if (ndx == 0 || ndx == 1)
9541 if (ndx == 0 || ndx == 1)
9546 if (ndx == 0 || ndx == 1)
9551 if (ndx == 0 || ndx == 1)
9556 if (ndx == 0 || ndx == 1)
9561 if (ndx == 0 || ndx == 1)
9566 if (ndx == 0 || ndx == 1)
9571 if (ndx == 0 || ndx == 1)
9576 if (ndx == 0 || ndx == 1)
9581 if (ndx == 0 || ndx == 1)
9586 if (ndx == 0 || ndx == 1)
9591 if (ndx == 0 || ndx == 1)
9596 if (ndx == 0 || ndx == 1)
9601 if (ndx == 0 || ndx == 1)
9606 if (ndx == 0 || ndx == 1)
9611 if (ndx == 0 || ndx == 1)
9616 if (ndx == 0 || ndx == 1)
9621 if (ndx == 0 || ndx == 1)
9626 if (ndx == 0 || ndx == 1)
9631 if (ndx == 0 || ndx == 1)
9636 if (ndx == 0 || ndx == 1)
9641 if (ndx == 0 || ndx == 1)
9646 if (ndx == 0 || ndx == 1)
9651 if (ndx == 0 || ndx == 1)
9656 if (ndx == 0 || ndx == 1)
9661 if (ndx == 0 || ndx == 1)
9666 if (ndx == 0 || ndx == 1)
9673 if (ndx == 0 || ndx == 1)
9680 if (ndx == 0 || ndx == 1)
9683 /* sched_setparam */
9685 if (ndx == 0 || ndx == 1)
9688 /* sched_getparam */
9690 if (ndx == 0 || ndx == 1)
9693 /* sched_setscheduler */
9695 if (ndx == 0 || ndx == 1)
9698 /* sched_getscheduler */
9700 if (ndx == 0 || ndx == 1)
9705 /* sched_get_priority_max */
9707 if (ndx == 0 || ndx == 1)
9710 /* sched_get_priority_min */
9712 if (ndx == 0 || ndx == 1)
9715 /* sched_rr_get_interval */
9717 if (ndx == 0 || ndx == 1)
9722 if (ndx == 0 || ndx == 1)
9727 if (ndx == 0 || ndx == 1)
9732 if (ndx == 0 || ndx == 1)
9737 if (ndx == 0 || ndx == 1)
9742 if (ndx == 0 || ndx == 1)
9747 if (ndx == 0 || ndx == 1)
9752 if (ndx == 0 || ndx == 1)
9757 if (ndx == 0 || ndx == 1)
9762 if (ndx == 0 || ndx == 1)
9765 /* __acl_get_file */
9767 if (ndx == 0 || ndx == 1)
9770 /* __acl_set_file */
9772 if (ndx == 0 || ndx == 1)
9777 if (ndx == 0 || ndx == 1)
9782 if (ndx == 0 || ndx == 1)
9785 /* __acl_delete_file */
9787 if (ndx == 0 || ndx == 1)
9790 /* __acl_delete_fd */
9792 if (ndx == 0 || ndx == 1)
9795 /* __acl_aclcheck_file */
9797 if (ndx == 0 || ndx == 1)
9800 /* __acl_aclcheck_fd */
9802 if (ndx == 0 || ndx == 1)
9807 if (ndx == 0 || ndx == 1)
9810 /* extattr_set_file */
9812 if (ndx == 0 || ndx == 1)
9815 /* extattr_get_file */
9817 if (ndx == 0 || ndx == 1)
9820 /* extattr_delete_file */
9822 if (ndx == 0 || ndx == 1)
9825 /* aio_waitcomplete */
9827 if (ndx == 0 || ndx == 1)
9832 if (ndx == 0 || ndx == 1)
9837 if (ndx == 0 || ndx == 1)
9844 if (ndx == 0 || ndx == 1)
9847 /* extattr_set_fd */
9849 if (ndx == 0 || ndx == 1)
9852 /* extattr_get_fd */
9854 if (ndx == 0 || ndx == 1)
9857 /* extattr_delete_fd */
9859 if (ndx == 0 || ndx == 1)
9864 if (ndx == 0 || ndx == 1)
9869 if (ndx == 0 || ndx == 1)
9874 if (ndx == 0 || ndx == 1)
9879 if (ndx == 0 || ndx == 1)
9882 /* __mac_get_proc */
9884 if (ndx == 0 || ndx == 1)
9887 /* __mac_set_proc */
9889 if (ndx == 0 || ndx == 1)
9894 if (ndx == 0 || ndx == 1)
9897 /* __mac_get_file */
9899 if (ndx == 0 || ndx == 1)
9904 if (ndx == 0 || ndx == 1)
9907 /* __mac_set_file */
9909 if (ndx == 0 || ndx == 1)
9914 if (ndx == 0 || ndx == 1)
9919 if (ndx == 0 || ndx == 1)
9924 if (ndx == 0 || ndx == 1)
9929 if (ndx == 0 || ndx == 1)
9934 if (ndx == 0 || ndx == 1)
9939 if (ndx == 0 || ndx == 1)
9944 if (ndx == 0 || ndx == 1)
9949 if (ndx == 0 || ndx == 1)
9954 if (ndx == 0 || ndx == 1)
9959 if (ndx == 0 || ndx == 1)
9964 if (ndx == 0 || ndx == 1)
9969 if (ndx == 0 || ndx == 1)
9974 if (ndx == 0 || ndx == 1)
9979 if (ndx == 0 || ndx == 1)
9984 if (ndx == 0 || ndx == 1)
9989 if (ndx == 0 || ndx == 1)
9994 if (ndx == 0 || ndx == 1)
9999 if (ndx == 0 || ndx == 1)
10002 /* __mac_get_pid */
10004 if (ndx == 0 || ndx == 1)
10007 /* __mac_get_link */
10009 if (ndx == 0 || ndx == 1)
10012 /* __mac_set_link */
10014 if (ndx == 0 || ndx == 1)
10017 /* extattr_set_link */
10019 if (ndx == 0 || ndx == 1)
10022 /* extattr_get_link */
10024 if (ndx == 0 || ndx == 1)
10027 /* extattr_delete_link */
10029 if (ndx == 0 || ndx == 1)
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)
10059 if (ndx == 0 || ndx == 1)
10064 if (ndx == 0 || ndx == 1)
10067 /* __acl_get_link */
10069 if (ndx == 0 || ndx == 1)
10072 /* __acl_set_link */
10074 if (ndx == 0 || ndx == 1)
10077 /* __acl_delete_link */
10079 if (ndx == 0 || ndx == 1)
10082 /* __acl_aclcheck_link */
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)
10127 /* extattr_list_fd */
10129 if (ndx == 0 || ndx == 1)
10132 /* extattr_list_file */
10134 if (ndx == 0 || ndx == 1)
10137 /* extattr_list_link */
10139 if (ndx == 0 || ndx == 1)
10142 /* ksem_timedwait */
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)
10169 if (ndx == 0 || ndx == 1)
10174 if (ndx == 0 || ndx == 1)
10179 if (ndx == 0 || ndx == 1)
10184 if (ndx == 0 || ndx == 1)
10189 if (ndx == 0 || ndx == 1)
10192 /* getaudit_addr */
10194 if (ndx == 0 || ndx == 1)
10197 /* setaudit_addr */
10199 if (ndx == 0 || ndx == 1)
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)
10232 /* kmq_timedreceive */
10234 if (ndx == 0 || ndx == 1)
10237 /* kmq_timedsend */
10239 if (ndx == 0 || ndx == 1)
10244 if (ndx == 0 || ndx == 1)
10249 if (ndx == 0 || ndx == 1)
10254 if (ndx == 0 || ndx == 1)
10259 if (ndx == 0 || ndx == 1)
10264 if (ndx == 0 || ndx == 1)
10267 /* rtprio_thread */
10269 if (ndx == 0 || ndx == 1)
10274 if (ndx == 0 || ndx == 1)
10277 /* sctp_generic_sendmsg */
10279 if (ndx == 0 || ndx == 1)
10282 /* sctp_generic_sendmsg_iov */
10284 if (ndx == 0 || ndx == 1)
10287 /* sctp_generic_recvmsg */
10289 if (ndx == 0 || ndx == 1)
10294 if (ndx == 0 || ndx == 1)
10299 if (ndx == 0 || ndx == 1)
10304 if (ndx == 0 || ndx == 1)
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)
10352 /* cpuset_getaffinity */
10354 if (ndx == 0 || ndx == 1)
10357 /* cpuset_setaffinity */
10359 if (ndx == 0 || ndx == 1)
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)
10399 if (ndx == 0 || ndx == 1)
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)
10434 if (ndx == 0 || ndx == 1)
10439 if (ndx == 0 || ndx == 1)
10444 if (ndx == 0 || ndx == 1)
10449 if (ndx == 0 || ndx == 1)
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)
10492 /* cap_getrights */
10494 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)
10524 /* getloginclass */
10526 if (ndx == 0 || ndx == 1)
10529 /* setloginclass */
10531 if (ndx == 0 || ndx == 1)
10534 /* rctl_get_racct */
10536 if (ndx == 0 || ndx == 1)
10539 /* rctl_get_rules */
10541 if (ndx == 0 || ndx == 1)
10544 /* rctl_get_limits */
10546 if (ndx == 0 || ndx == 1)
10549 /* rctl_add_rule */
10551 if (ndx == 0 || ndx == 1)
10554 /* rctl_remove_rule */
10556 if (ndx == 0 || ndx == 1)
10559 /* posix_fallocate */
10561 if (ndx == 0 || ndx == 1)
10564 /* posix_fadvise */
10566 if (ndx == 0 || ndx == 1)
10573 strlcpy(desc, p, descsz);