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;
22 struct exit_args *p = params;
23 iarg[a++] = p->rval; /* int */
34 struct read_args *p = params;
35 iarg[a++] = p->fd; /* int */
36 uarg[a++] = (intptr_t)p->buf; /* void * */
37 uarg[a++] = p->nbyte; /* size_t */
43 struct write_args *p = params;
44 iarg[a++] = p->fd; /* int */
45 uarg[a++] = (intptr_t)p->buf; /* const void * */
46 uarg[a++] = p->nbyte; /* size_t */
52 struct open_args *p = params;
53 uarg[a++] = (intptr_t)p->path; /* const char * */
54 iarg[a++] = p->flags; /* int */
55 iarg[a++] = p->mode; /* mode_t */
61 struct close_args *p = params;
62 iarg[a++] = p->fd; /* int */
68 struct wait4_args *p = params;
69 iarg[a++] = p->pid; /* int */
70 uarg[a++] = (intptr_t)p->status; /* int * */
71 iarg[a++] = p->options; /* int */
72 uarg[a++] = (intptr_t)p->rusage; /* struct rusage * */
78 struct link_args *p = params;
79 uarg[a++] = (intptr_t)p->path; /* const char * */
80 uarg[a++] = (intptr_t)p->link; /* const char * */
86 struct unlink_args *p = params;
87 uarg[a++] = (intptr_t)p->path; /* const char * */
93 struct chdir_args *p = params;
94 uarg[a++] = (intptr_t)p->path; /* const char * */
100 struct fchdir_args *p = params;
101 iarg[a++] = p->fd; /* int */
107 struct chmod_args *p = params;
108 uarg[a++] = (intptr_t)p->path; /* const char * */
109 iarg[a++] = p->mode; /* mode_t */
115 struct chown_args *p = params;
116 uarg[a++] = (intptr_t)p->path; /* const char * */
117 iarg[a++] = p->uid; /* int */
118 iarg[a++] = p->gid; /* int */
124 struct break_args *p = params;
125 uarg[a++] = (intptr_t)p->nsize; /* char * */
136 struct mount_args *p = params;
137 uarg[a++] = (intptr_t)p->type; /* const char * */
138 uarg[a++] = (intptr_t)p->path; /* const char * */
139 iarg[a++] = p->flags; /* int */
140 uarg[a++] = (intptr_t)p->data; /* void * */
146 struct unmount_args *p = params;
147 uarg[a++] = (intptr_t)p->path; /* const char * */
148 iarg[a++] = p->flags; /* int */
154 struct setuid_args *p = params;
155 uarg[a++] = p->uid; /* uid_t */
171 struct ptrace_args *p = params;
172 iarg[a++] = p->req; /* int */
173 iarg[a++] = p->pid; /* pid_t */
174 uarg[a++] = (intptr_t)p->addr; /* caddr_t */
175 iarg[a++] = p->data; /* int */
181 struct recvmsg_args *p = params;
182 iarg[a++] = p->s; /* int */
183 uarg[a++] = (intptr_t)p->msg; /* struct msghdr * */
184 iarg[a++] = p->flags; /* int */
190 struct sendmsg_args *p = params;
191 iarg[a++] = p->s; /* int */
192 uarg[a++] = (intptr_t)p->msg; /* const struct msghdr * */
193 iarg[a++] = p->flags; /* int */
199 struct recvfrom_args *p = params;
200 iarg[a++] = p->s; /* int */
201 uarg[a++] = (intptr_t)p->buf; /* void * */
202 uarg[a++] = p->len; /* size_t */
203 iarg[a++] = p->flags; /* int */
204 uarg[a++] = (intptr_t)p->from; /* struct sockaddr * */
205 uarg[a++] = (intptr_t)p->fromlenaddr; /* __socklen_t * */
211 struct accept_args *p = params;
212 iarg[a++] = p->s; /* int */
213 uarg[a++] = (intptr_t)p->name; /* struct sockaddr * */
214 uarg[a++] = (intptr_t)p->anamelen; /* __socklen_t * */
220 struct getpeername_args *p = params;
221 iarg[a++] = p->fdes; /* int */
222 uarg[a++] = (intptr_t)p->asa; /* struct sockaddr * */
223 uarg[a++] = (intptr_t)p->alen; /* __socklen_t * */
229 struct getsockname_args *p = params;
230 iarg[a++] = p->fdes; /* int */
231 uarg[a++] = (intptr_t)p->asa; /* struct sockaddr * */
232 uarg[a++] = (intptr_t)p->alen; /* __socklen_t * */
238 struct access_args *p = params;
239 uarg[a++] = (intptr_t)p->path; /* const char * */
240 iarg[a++] = p->amode; /* int */
246 struct chflags_args *p = params;
247 uarg[a++] = (intptr_t)p->path; /* const char * */
248 uarg[a++] = p->flags; /* u_long */
254 struct fchflags_args *p = params;
255 iarg[a++] = p->fd; /* int */
256 uarg[a++] = p->flags; /* u_long */
267 struct kill_args *p = params;
268 iarg[a++] = p->pid; /* int */
269 iarg[a++] = p->signum; /* int */
280 struct dup_args *p = params;
281 uarg[a++] = p->fd; /* u_int */
292 struct profil_args *p = params;
293 uarg[a++] = (intptr_t)p->samples; /* char * */
294 uarg[a++] = p->size; /* size_t */
295 uarg[a++] = p->offset; /* size_t */
296 uarg[a++] = p->scale; /* u_int */
302 struct ktrace_args *p = params;
303 uarg[a++] = (intptr_t)p->fname; /* const char * */
304 iarg[a++] = p->ops; /* int */
305 iarg[a++] = p->facs; /* int */
306 iarg[a++] = p->pid; /* int */
317 struct getlogin_args *p = params;
318 uarg[a++] = (intptr_t)p->namebuf; /* char * */
319 uarg[a++] = p->namelen; /* u_int */
325 struct setlogin_args *p = params;
326 uarg[a++] = (intptr_t)p->namebuf; /* const char * */
332 struct acct_args *p = params;
333 uarg[a++] = (intptr_t)p->path; /* const char * */
339 struct sigaltstack_args *p = params;
340 uarg[a++] = (intptr_t)p->ss; /* const struct sigaltstack * */
341 uarg[a++] = (intptr_t)p->oss; /* struct sigaltstack * */
347 struct ioctl_args *p = params;
348 iarg[a++] = p->fd; /* int */
349 uarg[a++] = p->com; /* u_long */
350 uarg[a++] = (intptr_t)p->data; /* char * */
356 struct reboot_args *p = params;
357 iarg[a++] = p->opt; /* int */
363 struct revoke_args *p = params;
364 uarg[a++] = (intptr_t)p->path; /* const char * */
370 struct symlink_args *p = params;
371 uarg[a++] = (intptr_t)p->path; /* const char * */
372 uarg[a++] = (intptr_t)p->link; /* const char * */
378 struct readlink_args *p = params;
379 uarg[a++] = (intptr_t)p->path; /* const char * */
380 uarg[a++] = (intptr_t)p->buf; /* char * */
381 uarg[a++] = p->count; /* size_t */
387 struct execve_args *p = params;
388 uarg[a++] = (intptr_t)p->fname; /* const char * */
389 uarg[a++] = (intptr_t)p->argv; /* char ** */
390 uarg[a++] = (intptr_t)p->envv; /* char ** */
396 struct umask_args *p = params;
397 iarg[a++] = p->newmask; /* mode_t */
403 struct chroot_args *p = params;
404 uarg[a++] = (intptr_t)p->path; /* const char * */
410 struct msync_args *p = params;
411 uarg[a++] = (intptr_t)p->addr; /* void * */
412 uarg[a++] = p->len; /* size_t */
413 iarg[a++] = p->flags; /* int */
424 struct sbrk_args *p = params;
425 iarg[a++] = p->incr; /* int */
431 struct sstk_args *p = params;
432 iarg[a++] = p->incr; /* int */
438 struct munmap_args *p = params;
439 uarg[a++] = (intptr_t)p->addr; /* void * */
440 uarg[a++] = p->len; /* size_t */
446 struct mprotect_args *p = params;
447 uarg[a++] = (intptr_t)p->addr; /* void * */
448 uarg[a++] = p->len; /* size_t */
449 iarg[a++] = p->prot; /* int */
455 struct madvise_args *p = params;
456 uarg[a++] = (intptr_t)p->addr; /* void * */
457 uarg[a++] = p->len; /* size_t */
458 iarg[a++] = p->behav; /* int */
464 struct mincore_args *p = params;
465 uarg[a++] = (intptr_t)p->addr; /* const void * */
466 uarg[a++] = p->len; /* size_t */
467 uarg[a++] = (intptr_t)p->vec; /* char * */
473 struct getgroups_args *p = params;
474 iarg[a++] = p->gidsetsize; /* int */
475 uarg[a++] = (intptr_t)p->gidset; /* gid_t * */
481 struct setgroups_args *p = params;
482 iarg[a++] = p->gidsetsize; /* int */
483 uarg[a++] = (intptr_t)p->gidset; /* const gid_t * */
494 struct setpgid_args *p = params;
495 iarg[a++] = p->pid; /* int */
496 iarg[a++] = p->pgid; /* int */
502 struct setitimer_args *p = params;
503 iarg[a++] = p->which; /* int */
504 uarg[a++] = (intptr_t)p->itv; /* const struct itimerval * */
505 uarg[a++] = (intptr_t)p->oitv; /* struct itimerval * */
511 struct swapon_args *p = params;
512 uarg[a++] = (intptr_t)p->name; /* const char * */
518 struct getitimer_args *p = params;
519 iarg[a++] = p->which; /* int */
520 uarg[a++] = (intptr_t)p->itv; /* struct itimerval * */
531 struct dup2_args *p = params;
532 uarg[a++] = p->from; /* u_int */
533 uarg[a++] = p->to; /* u_int */
539 struct fcntl_args *p = params;
540 iarg[a++] = p->fd; /* int */
541 iarg[a++] = p->cmd; /* int */
542 iarg[a++] = p->arg; /* long */
548 struct select_args *p = params;
549 iarg[a++] = p->nd; /* int */
550 uarg[a++] = (intptr_t)p->in; /* fd_set * */
551 uarg[a++] = (intptr_t)p->ou; /* fd_set * */
552 uarg[a++] = (intptr_t)p->ex; /* fd_set * */
553 uarg[a++] = (intptr_t)p->tv; /* struct timeval * */
559 struct fsync_args *p = params;
560 iarg[a++] = p->fd; /* int */
566 struct setpriority_args *p = params;
567 iarg[a++] = p->which; /* int */
568 iarg[a++] = p->who; /* int */
569 iarg[a++] = p->prio; /* int */
575 struct socket_args *p = params;
576 iarg[a++] = p->domain; /* int */
577 iarg[a++] = p->type; /* int */
578 iarg[a++] = p->protocol; /* int */
584 struct connect_args *p = params;
585 iarg[a++] = p->s; /* int */
586 uarg[a++] = (intptr_t)p->name; /* const struct sockaddr * */
587 iarg[a++] = p->namelen; /* __socklen_t */
593 struct getpriority_args *p = params;
594 iarg[a++] = p->which; /* int */
595 iarg[a++] = p->who; /* int */
601 struct bind_args *p = params;
602 iarg[a++] = p->s; /* int */
603 uarg[a++] = (intptr_t)p->name; /* const struct sockaddr * */
604 iarg[a++] = p->namelen; /* __socklen_t */
610 struct setsockopt_args *p = params;
611 iarg[a++] = p->s; /* int */
612 iarg[a++] = p->level; /* int */
613 iarg[a++] = p->name; /* int */
614 uarg[a++] = (intptr_t)p->val; /* const void * */
615 iarg[a++] = p->valsize; /* __socklen_t */
621 struct listen_args *p = params;
622 iarg[a++] = p->s; /* int */
623 iarg[a++] = p->backlog; /* int */
629 struct gettimeofday_args *p = params;
630 uarg[a++] = (intptr_t)p->tp; /* struct timeval * */
631 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
637 struct getrusage_args *p = params;
638 iarg[a++] = p->who; /* int */
639 uarg[a++] = (intptr_t)p->rusage; /* struct rusage * */
645 struct getsockopt_args *p = params;
646 iarg[a++] = p->s; /* int */
647 iarg[a++] = p->level; /* int */
648 iarg[a++] = p->name; /* int */
649 uarg[a++] = (intptr_t)p->val; /* void * */
650 uarg[a++] = (intptr_t)p->avalsize; /* __socklen_t * */
656 struct readv_args *p = params;
657 iarg[a++] = p->fd; /* int */
658 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */
659 uarg[a++] = p->iovcnt; /* u_int */
665 struct writev_args *p = params;
666 iarg[a++] = p->fd; /* int */
667 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */
668 uarg[a++] = p->iovcnt; /* u_int */
674 struct settimeofday_args *p = params;
675 uarg[a++] = (intptr_t)p->tv; /* const struct timeval * */
676 uarg[a++] = (intptr_t)p->tzp; /* const struct timezone * */
682 struct fchown_args *p = params;
683 iarg[a++] = p->fd; /* int */
684 iarg[a++] = p->uid; /* int */
685 iarg[a++] = p->gid; /* int */
691 struct fchmod_args *p = params;
692 iarg[a++] = p->fd; /* int */
693 iarg[a++] = p->mode; /* mode_t */
699 struct setreuid_args *p = params;
700 iarg[a++] = p->ruid; /* int */
701 iarg[a++] = p->euid; /* int */
707 struct setregid_args *p = params;
708 iarg[a++] = p->rgid; /* int */
709 iarg[a++] = p->egid; /* int */
715 struct rename_args *p = params;
716 uarg[a++] = (intptr_t)p->from; /* const char * */
717 uarg[a++] = (intptr_t)p->to; /* const char * */
723 struct flock_args *p = params;
724 iarg[a++] = p->fd; /* int */
725 iarg[a++] = p->how; /* int */
731 struct mkfifo_args *p = params;
732 uarg[a++] = (intptr_t)p->path; /* const char * */
733 iarg[a++] = p->mode; /* mode_t */
739 struct sendto_args *p = params;
740 iarg[a++] = p->s; /* int */
741 uarg[a++] = (intptr_t)p->buf; /* const void * */
742 uarg[a++] = p->len; /* size_t */
743 iarg[a++] = p->flags; /* int */
744 uarg[a++] = (intptr_t)p->to; /* const struct sockaddr * */
745 iarg[a++] = p->tolen; /* __socklen_t */
751 struct shutdown_args *p = params;
752 iarg[a++] = p->s; /* int */
753 iarg[a++] = p->how; /* int */
759 struct socketpair_args *p = params;
760 iarg[a++] = p->domain; /* int */
761 iarg[a++] = p->type; /* int */
762 iarg[a++] = p->protocol; /* int */
763 uarg[a++] = (intptr_t)p->rsv; /* int * */
769 struct mkdir_args *p = params;
770 uarg[a++] = (intptr_t)p->path; /* const char * */
771 iarg[a++] = p->mode; /* mode_t */
777 struct rmdir_args *p = params;
778 uarg[a++] = (intptr_t)p->path; /* const char * */
784 struct utimes_args *p = params;
785 uarg[a++] = (intptr_t)p->path; /* const char * */
786 uarg[a++] = (intptr_t)p->tptr; /* const struct timeval * */
792 struct adjtime_args *p = params;
793 uarg[a++] = (intptr_t)p->delta; /* const struct timeval * */
794 uarg[a++] = (intptr_t)p->olddelta; /* struct timeval * */
805 struct quotactl_args *p = params;
806 uarg[a++] = (intptr_t)p->path; /* const char * */
807 iarg[a++] = p->cmd; /* int */
808 iarg[a++] = p->uid; /* int */
809 uarg[a++] = (intptr_t)p->arg; /* void * */
815 struct nlm_syscall_args *p = params;
816 iarg[a++] = p->debug_level; /* int */
817 iarg[a++] = p->grace_period; /* int */
818 iarg[a++] = p->addr_count; /* int */
819 uarg[a++] = (intptr_t)p->addrs; /* char ** */
825 struct nfssvc_args *p = params;
826 iarg[a++] = p->flag; /* int */
827 uarg[a++] = (intptr_t)p->argp; /* void * */
833 struct lgetfh_args *p = params;
834 uarg[a++] = (intptr_t)p->fname; /* const char * */
835 uarg[a++] = (intptr_t)p->fhp; /* struct fhandle * */
841 struct getfh_args *p = params;
842 uarg[a++] = (intptr_t)p->fname; /* const char * */
843 uarg[a++] = (intptr_t)p->fhp; /* struct fhandle * */
849 struct sysarch_args *p = params;
850 iarg[a++] = p->op; /* int */
851 uarg[a++] = (intptr_t)p->parms; /* char * */
857 struct rtprio_args *p = params;
858 iarg[a++] = p->function; /* int */
859 iarg[a++] = p->pid; /* pid_t */
860 uarg[a++] = (intptr_t)p->rtp; /* struct rtprio * */
866 struct semsys_args *p = params;
867 iarg[a++] = p->which; /* int */
868 iarg[a++] = p->a2; /* int */
869 iarg[a++] = p->a3; /* int */
870 iarg[a++] = p->a4; /* int */
871 iarg[a++] = p->a5; /* int */
877 struct msgsys_args *p = params;
878 iarg[a++] = p->which; /* int */
879 iarg[a++] = p->a2; /* int */
880 iarg[a++] = p->a3; /* int */
881 iarg[a++] = p->a4; /* int */
882 iarg[a++] = p->a5; /* int */
883 iarg[a++] = p->a6; /* int */
889 struct shmsys_args *p = params;
890 iarg[a++] = p->which; /* int */
891 iarg[a++] = p->a2; /* int */
892 iarg[a++] = p->a3; /* int */
893 iarg[a++] = p->a4; /* int */
899 struct setfib_args *p = params;
900 iarg[a++] = p->fibnum; /* int */
906 struct ntp_adjtime_args *p = params;
907 uarg[a++] = (intptr_t)p->tp; /* struct timex * */
913 struct setgid_args *p = params;
914 iarg[a++] = p->gid; /* gid_t */
920 struct setegid_args *p = params;
921 iarg[a++] = p->egid; /* gid_t */
927 struct seteuid_args *p = params;
928 uarg[a++] = p->euid; /* uid_t */
934 struct pathconf_args *p = params;
935 uarg[a++] = (intptr_t)p->path; /* const char * */
936 iarg[a++] = p->name; /* int */
942 struct fpathconf_args *p = params;
943 iarg[a++] = p->fd; /* int */
944 iarg[a++] = p->name; /* int */
950 struct getrlimit_args *p = params;
951 uarg[a++] = p->which; /* u_int */
952 uarg[a++] = (intptr_t)p->rlp; /* struct rlimit * */
958 struct setrlimit_args *p = params;
959 uarg[a++] = p->which; /* u_int */
960 uarg[a++] = (intptr_t)p->rlp; /* struct rlimit * */
971 struct __sysctl_args *p = params;
972 uarg[a++] = (intptr_t)p->name; /* int * */
973 uarg[a++] = p->namelen; /* u_int */
974 uarg[a++] = (intptr_t)p->old; /* void * */
975 uarg[a++] = (intptr_t)p->oldlenp; /* size_t * */
976 uarg[a++] = (intptr_t)p->new; /* const void * */
977 uarg[a++] = p->newlen; /* size_t */
983 struct mlock_args *p = params;
984 uarg[a++] = (intptr_t)p->addr; /* const void * */
985 uarg[a++] = p->len; /* size_t */
991 struct munlock_args *p = params;
992 uarg[a++] = (intptr_t)p->addr; /* const void * */
993 uarg[a++] = p->len; /* size_t */
999 struct undelete_args *p = params;
1000 uarg[a++] = (intptr_t)p->path; /* const char * */
1006 struct futimes_args *p = params;
1007 iarg[a++] = p->fd; /* int */
1008 uarg[a++] = (intptr_t)p->tptr; /* const struct timeval * */
1014 struct getpgid_args *p = params;
1015 iarg[a++] = p->pid; /* pid_t */
1021 struct poll_args *p = params;
1022 uarg[a++] = (intptr_t)p->fds; /* struct pollfd * */
1023 uarg[a++] = p->nfds; /* u_int */
1024 iarg[a++] = p->timeout; /* int */
1080 struct semget_args *p = params;
1081 iarg[a++] = p->key; /* key_t */
1082 iarg[a++] = p->nsems; /* int */
1083 iarg[a++] = p->semflg; /* int */
1089 struct semop_args *p = params;
1090 iarg[a++] = p->semid; /* int */
1091 uarg[a++] = (intptr_t)p->sops; /* struct sembuf * */
1092 uarg[a++] = p->nsops; /* size_t */
1098 struct msgget_args *p = params;
1099 iarg[a++] = p->key; /* key_t */
1100 iarg[a++] = p->msgflg; /* int */
1106 struct msgsnd_args *p = params;
1107 iarg[a++] = p->msqid; /* int */
1108 uarg[a++] = (intptr_t)p->msgp; /* const void * */
1109 uarg[a++] = p->msgsz; /* size_t */
1110 iarg[a++] = p->msgflg; /* int */
1116 struct msgrcv_args *p = params;
1117 iarg[a++] = p->msqid; /* int */
1118 uarg[a++] = (intptr_t)p->msgp; /* void * */
1119 uarg[a++] = p->msgsz; /* size_t */
1120 iarg[a++] = p->msgtyp; /* long */
1121 iarg[a++] = p->msgflg; /* int */
1127 struct shmat_args *p = params;
1128 iarg[a++] = p->shmid; /* int */
1129 uarg[a++] = (intptr_t)p->shmaddr; /* const void * */
1130 iarg[a++] = p->shmflg; /* int */
1136 struct shmdt_args *p = params;
1137 uarg[a++] = (intptr_t)p->shmaddr; /* const void * */
1143 struct shmget_args *p = params;
1144 iarg[a++] = p->key; /* key_t */
1145 uarg[a++] = p->size; /* size_t */
1146 iarg[a++] = p->shmflg; /* int */
1152 struct clock_gettime_args *p = params;
1153 iarg[a++] = p->clock_id; /* clockid_t */
1154 uarg[a++] = (intptr_t)p->tp; /* struct timespec * */
1160 struct clock_settime_args *p = params;
1161 iarg[a++] = p->clock_id; /* clockid_t */
1162 uarg[a++] = (intptr_t)p->tp; /* const struct timespec * */
1168 struct clock_getres_args *p = params;
1169 iarg[a++] = p->clock_id; /* clockid_t */
1170 uarg[a++] = (intptr_t)p->tp; /* struct timespec * */
1176 struct ktimer_create_args *p = params;
1177 iarg[a++] = p->clock_id; /* clockid_t */
1178 uarg[a++] = (intptr_t)p->evp; /* struct sigevent * */
1179 uarg[a++] = (intptr_t)p->timerid; /* int * */
1185 struct ktimer_delete_args *p = params;
1186 iarg[a++] = p->timerid; /* int */
1190 /* ktimer_settime */
1192 struct ktimer_settime_args *p = params;
1193 iarg[a++] = p->timerid; /* int */
1194 iarg[a++] = p->flags; /* int */
1195 uarg[a++] = (intptr_t)p->value; /* const struct itimerspec * */
1196 uarg[a++] = (intptr_t)p->ovalue; /* struct itimerspec * */
1200 /* ktimer_gettime */
1202 struct ktimer_gettime_args *p = params;
1203 iarg[a++] = p->timerid; /* int */
1204 uarg[a++] = (intptr_t)p->value; /* struct itimerspec * */
1208 /* ktimer_getoverrun */
1210 struct ktimer_getoverrun_args *p = params;
1211 iarg[a++] = p->timerid; /* int */
1217 struct nanosleep_args *p = params;
1218 uarg[a++] = (intptr_t)p->rqtp; /* const struct timespec * */
1219 uarg[a++] = (intptr_t)p->rmtp; /* struct timespec * */
1223 /* ffclock_getcounter */
1225 struct ffclock_getcounter_args *p = params;
1226 uarg[a++] = (intptr_t)p->ffcount; /* ffcounter * */
1230 /* ffclock_setestimate */
1232 struct ffclock_setestimate_args *p = params;
1233 uarg[a++] = (intptr_t)p->cest; /* struct ffclock_estimate * */
1237 /* ffclock_getestimate */
1239 struct ffclock_getestimate_args *p = params;
1240 uarg[a++] = (intptr_t)p->cest; /* struct ffclock_estimate * */
1244 /* clock_nanosleep */
1246 struct clock_nanosleep_args *p = params;
1247 iarg[a++] = p->clock_id; /* clockid_t */
1248 iarg[a++] = p->flags; /* int */
1249 uarg[a++] = (intptr_t)p->rqtp; /* const struct timespec * */
1250 uarg[a++] = (intptr_t)p->rmtp; /* struct timespec * */
1254 /* clock_getcpuclockid2 */
1256 struct clock_getcpuclockid2_args *p = params;
1257 iarg[a++] = p->id; /* id_t */
1258 iarg[a++] = p->which; /* int */
1259 uarg[a++] = (intptr_t)p->clock_id; /* clockid_t * */
1265 struct ntp_gettime_args *p = params;
1266 uarg[a++] = (intptr_t)p->ntvp; /* struct ntptimeval * */
1272 struct minherit_args *p = params;
1273 uarg[a++] = (intptr_t)p->addr; /* void * */
1274 uarg[a++] = p->len; /* size_t */
1275 iarg[a++] = p->inherit; /* int */
1281 struct rfork_args *p = params;
1282 iarg[a++] = p->flags; /* int */
1293 struct lchown_args *p = params;
1294 uarg[a++] = (intptr_t)p->path; /* const char * */
1295 iarg[a++] = p->uid; /* int */
1296 iarg[a++] = p->gid; /* int */
1302 struct aio_read_args *p = params;
1303 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb * */
1309 struct aio_write_args *p = params;
1310 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb * */
1316 struct lio_listio_args *p = params;
1317 iarg[a++] = p->mode; /* int */
1318 uarg[a++] = (intptr_t)p->acb_list; /* struct aiocb * const * */
1319 iarg[a++] = p->nent; /* int */
1320 uarg[a++] = (intptr_t)p->sig; /* struct sigevent * */
1326 struct lchmod_args *p = params;
1327 uarg[a++] = (intptr_t)p->path; /* const char * */
1328 iarg[a++] = p->mode; /* mode_t */
1334 struct lutimes_args *p = params;
1335 uarg[a++] = (intptr_t)p->path; /* const char * */
1336 uarg[a++] = (intptr_t)p->tptr; /* const struct timeval * */
1342 struct preadv_args *p = params;
1343 iarg[a++] = p->fd; /* int */
1344 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */
1345 uarg[a++] = p->iovcnt; /* u_int */
1346 iarg[a++] = p->offset; /* off_t */
1352 struct pwritev_args *p = params;
1353 iarg[a++] = p->fd; /* int */
1354 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */
1355 uarg[a++] = p->iovcnt; /* u_int */
1356 iarg[a++] = p->offset; /* off_t */
1362 struct fhopen_args *p = params;
1363 uarg[a++] = (intptr_t)p->u_fhp; /* const struct fhandle * */
1364 iarg[a++] = p->flags; /* int */
1370 struct modnext_args *p = params;
1371 iarg[a++] = p->modid; /* int */
1377 struct modstat_args *p = params;
1378 iarg[a++] = p->modid; /* int */
1379 uarg[a++] = (intptr_t)p->stat; /* struct module_stat * */
1385 struct modfnext_args *p = params;
1386 iarg[a++] = p->modid; /* int */
1392 struct modfind_args *p = params;
1393 uarg[a++] = (intptr_t)p->name; /* const char * */
1399 struct kldload_args *p = params;
1400 uarg[a++] = (intptr_t)p->file; /* const char * */
1406 struct kldunload_args *p = params;
1407 iarg[a++] = p->fileid; /* int */
1413 struct kldfind_args *p = params;
1414 uarg[a++] = (intptr_t)p->file; /* const char * */
1420 struct kldnext_args *p = params;
1421 iarg[a++] = p->fileid; /* int */
1427 struct kldstat_args *p = params;
1428 iarg[a++] = p->fileid; /* int */
1429 uarg[a++] = (intptr_t)p->stat; /* struct kld_file_stat * */
1435 struct kldfirstmod_args *p = params;
1436 iarg[a++] = p->fileid; /* int */
1442 struct getsid_args *p = params;
1443 iarg[a++] = p->pid; /* pid_t */
1449 struct setresuid_args *p = params;
1450 uarg[a++] = p->ruid; /* uid_t */
1451 uarg[a++] = p->euid; /* uid_t */
1452 uarg[a++] = p->suid; /* uid_t */
1458 struct setresgid_args *p = params;
1459 iarg[a++] = p->rgid; /* gid_t */
1460 iarg[a++] = p->egid; /* gid_t */
1461 iarg[a++] = p->sgid; /* gid_t */
1467 struct aio_return_args *p = params;
1468 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb * */
1474 struct aio_suspend_args *p = params;
1475 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb * const * */
1476 iarg[a++] = p->nent; /* int */
1477 uarg[a++] = (intptr_t)p->timeout; /* const struct timespec * */
1483 struct aio_cancel_args *p = params;
1484 iarg[a++] = p->fd; /* int */
1485 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb * */
1491 struct aio_error_args *p = params;
1492 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb * */
1503 struct mlockall_args *p = params;
1504 iarg[a++] = p->how; /* int */
1515 struct __getcwd_args *p = params;
1516 uarg[a++] = (intptr_t)p->buf; /* char * */
1517 uarg[a++] = p->buflen; /* size_t */
1521 /* sched_setparam */
1523 struct sched_setparam_args *p = params;
1524 iarg[a++] = p->pid; /* pid_t */
1525 uarg[a++] = (intptr_t)p->param; /* const struct sched_param * */
1529 /* sched_getparam */
1531 struct sched_getparam_args *p = params;
1532 iarg[a++] = p->pid; /* pid_t */
1533 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */
1537 /* sched_setscheduler */
1539 struct sched_setscheduler_args *p = params;
1540 iarg[a++] = p->pid; /* pid_t */
1541 iarg[a++] = p->policy; /* int */
1542 uarg[a++] = (intptr_t)p->param; /* const struct sched_param * */
1546 /* sched_getscheduler */
1548 struct sched_getscheduler_args *p = params;
1549 iarg[a++] = p->pid; /* pid_t */
1558 /* sched_get_priority_max */
1560 struct sched_get_priority_max_args *p = params;
1561 iarg[a++] = p->policy; /* int */
1565 /* sched_get_priority_min */
1567 struct sched_get_priority_min_args *p = params;
1568 iarg[a++] = p->policy; /* int */
1572 /* sched_rr_get_interval */
1574 struct sched_rr_get_interval_args *p = params;
1575 iarg[a++] = p->pid; /* pid_t */
1576 uarg[a++] = (intptr_t)p->interval; /* struct timespec * */
1582 struct utrace_args *p = params;
1583 uarg[a++] = (intptr_t)p->addr; /* const void * */
1584 uarg[a++] = p->len; /* size_t */
1590 struct kldsym_args *p = params;
1591 iarg[a++] = p->fileid; /* int */
1592 iarg[a++] = p->cmd; /* int */
1593 uarg[a++] = (intptr_t)p->data; /* void * */
1599 struct jail_args *p = params;
1600 uarg[a++] = (intptr_t)p->jail; /* struct jail * */
1606 struct nnpfs_syscall_args *p = params;
1607 iarg[a++] = p->operation; /* int */
1608 uarg[a++] = (intptr_t)p->a_pathP; /* char * */
1609 iarg[a++] = p->a_opcode; /* int */
1610 uarg[a++] = (intptr_t)p->a_paramsP; /* void * */
1611 iarg[a++] = p->a_followSymlinks; /* int */
1617 struct sigprocmask_args *p = params;
1618 iarg[a++] = p->how; /* int */
1619 uarg[a++] = (intptr_t)p->set; /* const sigset_t * */
1620 uarg[a++] = (intptr_t)p->oset; /* sigset_t * */
1626 struct sigsuspend_args *p = params;
1627 uarg[a++] = (intptr_t)p->sigmask; /* const sigset_t * */
1633 struct sigpending_args *p = params;
1634 uarg[a++] = (intptr_t)p->set; /* sigset_t * */
1640 struct sigtimedwait_args *p = params;
1641 uarg[a++] = (intptr_t)p->set; /* const sigset_t * */
1642 uarg[a++] = (intptr_t)p->info; /* struct siginfo * */
1643 uarg[a++] = (intptr_t)p->timeout; /* const struct timespec * */
1649 struct sigwaitinfo_args *p = params;
1650 uarg[a++] = (intptr_t)p->set; /* const sigset_t * */
1651 uarg[a++] = (intptr_t)p->info; /* struct siginfo * */
1655 /* __acl_get_file */
1657 struct __acl_get_file_args *p = params;
1658 uarg[a++] = (intptr_t)p->path; /* const char * */
1659 iarg[a++] = p->type; /* acl_type_t */
1660 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
1664 /* __acl_set_file */
1666 struct __acl_set_file_args *p = params;
1667 uarg[a++] = (intptr_t)p->path; /* const char * */
1668 iarg[a++] = p->type; /* acl_type_t */
1669 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
1675 struct __acl_get_fd_args *p = params;
1676 iarg[a++] = p->filedes; /* int */
1677 iarg[a++] = p->type; /* acl_type_t */
1678 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
1684 struct __acl_set_fd_args *p = params;
1685 iarg[a++] = p->filedes; /* int */
1686 iarg[a++] = p->type; /* acl_type_t */
1687 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
1691 /* __acl_delete_file */
1693 struct __acl_delete_file_args *p = params;
1694 uarg[a++] = (intptr_t)p->path; /* const char * */
1695 iarg[a++] = p->type; /* acl_type_t */
1699 /* __acl_delete_fd */
1701 struct __acl_delete_fd_args *p = params;
1702 iarg[a++] = p->filedes; /* int */
1703 iarg[a++] = p->type; /* acl_type_t */
1707 /* __acl_aclcheck_file */
1709 struct __acl_aclcheck_file_args *p = params;
1710 uarg[a++] = (intptr_t)p->path; /* const char * */
1711 iarg[a++] = p->type; /* acl_type_t */
1712 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
1716 /* __acl_aclcheck_fd */
1718 struct __acl_aclcheck_fd_args *p = params;
1719 iarg[a++] = p->filedes; /* int */
1720 iarg[a++] = p->type; /* acl_type_t */
1721 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
1727 struct extattrctl_args *p = params;
1728 uarg[a++] = (intptr_t)p->path; /* const char * */
1729 iarg[a++] = p->cmd; /* int */
1730 uarg[a++] = (intptr_t)p->filename; /* const char * */
1731 iarg[a++] = p->attrnamespace; /* int */
1732 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1736 /* extattr_set_file */
1738 struct extattr_set_file_args *p = params;
1739 uarg[a++] = (intptr_t)p->path; /* const char * */
1740 iarg[a++] = p->attrnamespace; /* int */
1741 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1742 uarg[a++] = (intptr_t)p->data; /* void * */
1743 uarg[a++] = p->nbytes; /* size_t */
1747 /* extattr_get_file */
1749 struct extattr_get_file_args *p = params;
1750 uarg[a++] = (intptr_t)p->path; /* const char * */
1751 iarg[a++] = p->attrnamespace; /* int */
1752 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1753 uarg[a++] = (intptr_t)p->data; /* void * */
1754 uarg[a++] = p->nbytes; /* size_t */
1758 /* extattr_delete_file */
1760 struct extattr_delete_file_args *p = params;
1761 uarg[a++] = (intptr_t)p->path; /* const char * */
1762 iarg[a++] = p->attrnamespace; /* int */
1763 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1767 /* aio_waitcomplete */
1769 struct aio_waitcomplete_args *p = params;
1770 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb ** */
1771 uarg[a++] = (intptr_t)p->timeout; /* struct timespec * */
1777 struct getresuid_args *p = params;
1778 uarg[a++] = (intptr_t)p->ruid; /* uid_t * */
1779 uarg[a++] = (intptr_t)p->euid; /* uid_t * */
1780 uarg[a++] = (intptr_t)p->suid; /* uid_t * */
1786 struct getresgid_args *p = params;
1787 uarg[a++] = (intptr_t)p->rgid; /* gid_t * */
1788 uarg[a++] = (intptr_t)p->egid; /* gid_t * */
1789 uarg[a++] = (intptr_t)p->sgid; /* gid_t * */
1798 /* extattr_set_fd */
1800 struct extattr_set_fd_args *p = params;
1801 iarg[a++] = p->fd; /* int */
1802 iarg[a++] = p->attrnamespace; /* int */
1803 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1804 uarg[a++] = (intptr_t)p->data; /* void * */
1805 uarg[a++] = p->nbytes; /* size_t */
1809 /* extattr_get_fd */
1811 struct extattr_get_fd_args *p = params;
1812 iarg[a++] = p->fd; /* int */
1813 iarg[a++] = p->attrnamespace; /* int */
1814 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1815 uarg[a++] = (intptr_t)p->data; /* void * */
1816 uarg[a++] = p->nbytes; /* size_t */
1820 /* extattr_delete_fd */
1822 struct extattr_delete_fd_args *p = params;
1823 iarg[a++] = p->fd; /* int */
1824 iarg[a++] = p->attrnamespace; /* int */
1825 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1831 struct __setugid_args *p = params;
1832 iarg[a++] = p->flag; /* int */
1838 struct eaccess_args *p = params;
1839 uarg[a++] = (intptr_t)p->path; /* const char * */
1840 iarg[a++] = p->amode; /* int */
1846 struct afs3_syscall_args *p = params;
1847 iarg[a++] = p->syscall; /* long */
1848 iarg[a++] = p->parm1; /* long */
1849 iarg[a++] = p->parm2; /* long */
1850 iarg[a++] = p->parm3; /* long */
1851 iarg[a++] = p->parm4; /* long */
1852 iarg[a++] = p->parm5; /* long */
1853 iarg[a++] = p->parm6; /* long */
1859 struct nmount_args *p = params;
1860 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */
1861 uarg[a++] = p->iovcnt; /* unsigned int */
1862 iarg[a++] = p->flags; /* int */
1866 /* __mac_get_proc */
1868 struct __mac_get_proc_args *p = params;
1869 uarg[a++] = (intptr_t)p->mac_p; /* struct mac * */
1873 /* __mac_set_proc */
1875 struct __mac_set_proc_args *p = params;
1876 uarg[a++] = (intptr_t)p->mac_p; /* struct mac * */
1882 struct __mac_get_fd_args *p = params;
1883 iarg[a++] = p->fd; /* int */
1884 uarg[a++] = (intptr_t)p->mac_p; /* struct mac * */
1888 /* __mac_get_file */
1890 struct __mac_get_file_args *p = params;
1891 uarg[a++] = (intptr_t)p->path_p; /* const char * */
1892 uarg[a++] = (intptr_t)p->mac_p; /* struct mac * */
1898 struct __mac_set_fd_args *p = params;
1899 iarg[a++] = p->fd; /* int */
1900 uarg[a++] = (intptr_t)p->mac_p; /* struct mac * */
1904 /* __mac_set_file */
1906 struct __mac_set_file_args *p = params;
1907 uarg[a++] = (intptr_t)p->path_p; /* const char * */
1908 uarg[a++] = (intptr_t)p->mac_p; /* struct mac * */
1914 struct kenv_args *p = params;
1915 iarg[a++] = p->what; /* int */
1916 uarg[a++] = (intptr_t)p->name; /* const char * */
1917 uarg[a++] = (intptr_t)p->value; /* char * */
1918 iarg[a++] = p->len; /* int */
1924 struct lchflags_args *p = params;
1925 uarg[a++] = (intptr_t)p->path; /* const char * */
1926 uarg[a++] = p->flags; /* u_long */
1932 struct uuidgen_args *p = params;
1933 uarg[a++] = (intptr_t)p->store; /* struct uuid * */
1934 iarg[a++] = p->count; /* int */
1940 struct sendfile_args *p = params;
1941 iarg[a++] = p->fd; /* int */
1942 iarg[a++] = p->s; /* int */
1943 iarg[a++] = p->offset; /* off_t */
1944 uarg[a++] = p->nbytes; /* size_t */
1945 uarg[a++] = (intptr_t)p->hdtr; /* struct sf_hdtr * */
1946 uarg[a++] = (intptr_t)p->sbytes; /* off_t * */
1947 iarg[a++] = p->flags; /* int */
1953 struct mac_syscall_args *p = params;
1954 uarg[a++] = (intptr_t)p->policy; /* const char * */
1955 iarg[a++] = p->call; /* int */
1956 uarg[a++] = (intptr_t)p->arg; /* void * */
1962 struct ksem_close_args *p = params;
1963 iarg[a++] = p->id; /* semid_t */
1969 struct ksem_post_args *p = params;
1970 iarg[a++] = p->id; /* semid_t */
1976 struct ksem_wait_args *p = params;
1977 iarg[a++] = p->id; /* semid_t */
1983 struct ksem_trywait_args *p = params;
1984 iarg[a++] = p->id; /* semid_t */
1990 struct ksem_init_args *p = params;
1991 uarg[a++] = (intptr_t)p->idp; /* semid_t * */
1992 uarg[a++] = p->value; /* unsigned int */
1998 struct ksem_open_args *p = params;
1999 uarg[a++] = (intptr_t)p->idp; /* semid_t * */
2000 uarg[a++] = (intptr_t)p->name; /* const char * */
2001 iarg[a++] = p->oflag; /* int */
2002 iarg[a++] = p->mode; /* mode_t */
2003 uarg[a++] = p->value; /* unsigned int */
2009 struct ksem_unlink_args *p = params;
2010 uarg[a++] = (intptr_t)p->name; /* const char * */
2016 struct ksem_getvalue_args *p = params;
2017 iarg[a++] = p->id; /* semid_t */
2018 uarg[a++] = (intptr_t)p->val; /* int * */
2024 struct ksem_destroy_args *p = params;
2025 iarg[a++] = p->id; /* semid_t */
2031 struct __mac_get_pid_args *p = params;
2032 iarg[a++] = p->pid; /* pid_t */
2033 uarg[a++] = (intptr_t)p->mac_p; /* struct mac * */
2037 /* __mac_get_link */
2039 struct __mac_get_link_args *p = params;
2040 uarg[a++] = (intptr_t)p->path_p; /* const char * */
2041 uarg[a++] = (intptr_t)p->mac_p; /* struct mac * */
2045 /* __mac_set_link */
2047 struct __mac_set_link_args *p = params;
2048 uarg[a++] = (intptr_t)p->path_p; /* const char * */
2049 uarg[a++] = (intptr_t)p->mac_p; /* struct mac * */
2053 /* extattr_set_link */
2055 struct extattr_set_link_args *p = params;
2056 uarg[a++] = (intptr_t)p->path; /* const char * */
2057 iarg[a++] = p->attrnamespace; /* int */
2058 uarg[a++] = (intptr_t)p->attrname; /* const char * */
2059 uarg[a++] = (intptr_t)p->data; /* void * */
2060 uarg[a++] = p->nbytes; /* size_t */
2064 /* extattr_get_link */
2066 struct extattr_get_link_args *p = params;
2067 uarg[a++] = (intptr_t)p->path; /* const char * */
2068 iarg[a++] = p->attrnamespace; /* int */
2069 uarg[a++] = (intptr_t)p->attrname; /* const char * */
2070 uarg[a++] = (intptr_t)p->data; /* void * */
2071 uarg[a++] = p->nbytes; /* size_t */
2075 /* extattr_delete_link */
2077 struct extattr_delete_link_args *p = params;
2078 uarg[a++] = (intptr_t)p->path; /* const char * */
2079 iarg[a++] = p->attrnamespace; /* int */
2080 uarg[a++] = (intptr_t)p->attrname; /* const char * */
2086 struct __mac_execve_args *p = params;
2087 uarg[a++] = (intptr_t)p->fname; /* const char * */
2088 uarg[a++] = (intptr_t)p->argv; /* char ** */
2089 uarg[a++] = (intptr_t)p->envv; /* char ** */
2090 uarg[a++] = (intptr_t)p->mac_p; /* struct mac * */
2096 struct sigaction_args *p = params;
2097 iarg[a++] = p->sig; /* int */
2098 uarg[a++] = (intptr_t)p->act; /* const struct sigaction * */
2099 uarg[a++] = (intptr_t)p->oact; /* struct sigaction * */
2105 struct sigreturn_args *p = params;
2106 uarg[a++] = (intptr_t)p->sigcntxp; /* const struct __ucontext * */
2112 struct getcontext_args *p = params;
2113 uarg[a++] = (intptr_t)p->ucp; /* struct __ucontext * */
2119 struct setcontext_args *p = params;
2120 uarg[a++] = (intptr_t)p->ucp; /* const struct __ucontext * */
2126 struct swapcontext_args *p = params;
2127 uarg[a++] = (intptr_t)p->oucp; /* struct __ucontext * */
2128 uarg[a++] = (intptr_t)p->ucp; /* const struct __ucontext * */
2132 /* __acl_get_link */
2134 struct __acl_get_link_args *p = params;
2135 uarg[a++] = (intptr_t)p->path; /* const char * */
2136 iarg[a++] = p->type; /* acl_type_t */
2137 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
2141 /* __acl_set_link */
2143 struct __acl_set_link_args *p = params;
2144 uarg[a++] = (intptr_t)p->path; /* const char * */
2145 iarg[a++] = p->type; /* acl_type_t */
2146 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
2150 /* __acl_delete_link */
2152 struct __acl_delete_link_args *p = params;
2153 uarg[a++] = (intptr_t)p->path; /* const char * */
2154 iarg[a++] = p->type; /* acl_type_t */
2158 /* __acl_aclcheck_link */
2160 struct __acl_aclcheck_link_args *p = params;
2161 uarg[a++] = (intptr_t)p->path; /* const char * */
2162 iarg[a++] = p->type; /* acl_type_t */
2163 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
2169 struct sigwait_args *p = params;
2170 uarg[a++] = (intptr_t)p->set; /* const sigset_t * */
2171 uarg[a++] = (intptr_t)p->sig; /* int * */
2177 struct thr_create_args *p = params;
2178 uarg[a++] = (intptr_t)p->ctx; /* ucontext_t * */
2179 uarg[a++] = (intptr_t)p->id; /* long * */
2180 iarg[a++] = p->flags; /* int */
2186 struct thr_exit_args *p = params;
2187 uarg[a++] = (intptr_t)p->state; /* long * */
2193 struct thr_self_args *p = params;
2194 uarg[a++] = (intptr_t)p->id; /* long * */
2200 struct thr_kill_args *p = params;
2201 iarg[a++] = p->id; /* long */
2202 iarg[a++] = p->sig; /* int */
2208 struct jail_attach_args *p = params;
2209 iarg[a++] = p->jid; /* int */
2213 /* extattr_list_fd */
2215 struct extattr_list_fd_args *p = params;
2216 iarg[a++] = p->fd; /* int */
2217 iarg[a++] = p->attrnamespace; /* int */
2218 uarg[a++] = (intptr_t)p->data; /* void * */
2219 uarg[a++] = p->nbytes; /* size_t */
2223 /* extattr_list_file */
2225 struct extattr_list_file_args *p = params;
2226 uarg[a++] = (intptr_t)p->path; /* const char * */
2227 iarg[a++] = p->attrnamespace; /* int */
2228 uarg[a++] = (intptr_t)p->data; /* void * */
2229 uarg[a++] = p->nbytes; /* size_t */
2233 /* extattr_list_link */
2235 struct extattr_list_link_args *p = params;
2236 uarg[a++] = (intptr_t)p->path; /* const char * */
2237 iarg[a++] = p->attrnamespace; /* int */
2238 uarg[a++] = (intptr_t)p->data; /* void * */
2239 uarg[a++] = p->nbytes; /* size_t */
2243 /* ksem_timedwait */
2245 struct ksem_timedwait_args *p = params;
2246 iarg[a++] = p->id; /* semid_t */
2247 uarg[a++] = (intptr_t)p->abstime; /* const struct timespec * */
2253 struct thr_suspend_args *p = params;
2254 uarg[a++] = (intptr_t)p->timeout; /* const struct timespec * */
2260 struct thr_wake_args *p = params;
2261 iarg[a++] = p->id; /* long */
2267 struct kldunloadf_args *p = params;
2268 iarg[a++] = p->fileid; /* int */
2269 iarg[a++] = p->flags; /* int */
2275 struct audit_args *p = params;
2276 uarg[a++] = (intptr_t)p->record; /* const void * */
2277 uarg[a++] = p->length; /* u_int */
2283 struct auditon_args *p = params;
2284 iarg[a++] = p->cmd; /* int */
2285 uarg[a++] = (intptr_t)p->data; /* void * */
2286 uarg[a++] = p->length; /* u_int */
2292 struct getauid_args *p = params;
2293 uarg[a++] = (intptr_t)p->auid; /* uid_t * */
2299 struct setauid_args *p = params;
2300 uarg[a++] = (intptr_t)p->auid; /* uid_t * */
2306 struct getaudit_args *p = params;
2307 uarg[a++] = (intptr_t)p->auditinfo; /* struct auditinfo * */
2313 struct setaudit_args *p = params;
2314 uarg[a++] = (intptr_t)p->auditinfo; /* struct auditinfo * */
2320 struct getaudit_addr_args *p = params;
2321 uarg[a++] = (intptr_t)p->auditinfo_addr; /* struct auditinfo_addr * */
2322 uarg[a++] = p->length; /* u_int */
2328 struct setaudit_addr_args *p = params;
2329 uarg[a++] = (intptr_t)p->auditinfo_addr; /* struct auditinfo_addr * */
2330 uarg[a++] = p->length; /* u_int */
2336 struct auditctl_args *p = params;
2337 uarg[a++] = (intptr_t)p->path; /* const char * */
2343 struct _umtx_op_args *p = params;
2344 uarg[a++] = (intptr_t)p->obj; /* void * */
2345 iarg[a++] = p->op; /* int */
2346 uarg[a++] = p->val; /* u_long */
2347 uarg[a++] = (intptr_t)p->uaddr1; /* void * */
2348 uarg[a++] = (intptr_t)p->uaddr2; /* void * */
2354 struct thr_new_args *p = params;
2355 uarg[a++] = (intptr_t)p->param; /* struct thr_param * */
2356 iarg[a++] = p->param_size; /* int */
2362 struct sigqueue_args *p = params;
2363 iarg[a++] = p->pid; /* pid_t */
2364 iarg[a++] = p->signum; /* int */
2365 uarg[a++] = (intptr_t)p->value; /* void * */
2371 struct kmq_open_args *p = params;
2372 uarg[a++] = (intptr_t)p->path; /* const char * */
2373 iarg[a++] = p->flags; /* int */
2374 iarg[a++] = p->mode; /* mode_t */
2375 uarg[a++] = (intptr_t)p->attr; /* const struct mq_attr * */
2381 struct kmq_setattr_args *p = params;
2382 iarg[a++] = p->mqd; /* int */
2383 uarg[a++] = (intptr_t)p->attr; /* const struct mq_attr * */
2384 uarg[a++] = (intptr_t)p->oattr; /* struct mq_attr * */
2388 /* kmq_timedreceive */
2390 struct kmq_timedreceive_args *p = params;
2391 iarg[a++] = p->mqd; /* int */
2392 uarg[a++] = (intptr_t)p->msg_ptr; /* char * */
2393 uarg[a++] = p->msg_len; /* size_t */
2394 uarg[a++] = (intptr_t)p->msg_prio; /* unsigned * */
2395 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct timespec * */
2401 struct kmq_timedsend_args *p = params;
2402 iarg[a++] = p->mqd; /* int */
2403 uarg[a++] = (intptr_t)p->msg_ptr; /* const char * */
2404 uarg[a++] = p->msg_len; /* size_t */
2405 uarg[a++] = p->msg_prio; /* unsigned */
2406 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct timespec * */
2412 struct kmq_notify_args *p = params;
2413 iarg[a++] = p->mqd; /* int */
2414 uarg[a++] = (intptr_t)p->sigev; /* const struct sigevent * */
2420 struct kmq_unlink_args *p = params;
2421 uarg[a++] = (intptr_t)p->path; /* const char * */
2427 struct abort2_args *p = params;
2428 uarg[a++] = (intptr_t)p->why; /* const char * */
2429 iarg[a++] = p->nargs; /* int */
2430 uarg[a++] = (intptr_t)p->args; /* void ** */
2436 struct thr_set_name_args *p = params;
2437 iarg[a++] = p->id; /* long */
2438 uarg[a++] = (intptr_t)p->name; /* const char * */
2444 struct aio_fsync_args *p = params;
2445 iarg[a++] = p->op; /* int */
2446 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb * */
2452 struct rtprio_thread_args *p = params;
2453 iarg[a++] = p->function; /* int */
2454 iarg[a++] = p->lwpid; /* lwpid_t */
2455 uarg[a++] = (intptr_t)p->rtp; /* struct rtprio * */
2461 struct sctp_peeloff_args *p = params;
2462 iarg[a++] = p->sd; /* int */
2463 uarg[a++] = p->name; /* uint32_t */
2467 /* sctp_generic_sendmsg */
2469 struct sctp_generic_sendmsg_args *p = params;
2470 iarg[a++] = p->sd; /* int */
2471 uarg[a++] = (intptr_t)p->msg; /* void * */
2472 iarg[a++] = p->mlen; /* int */
2473 uarg[a++] = (intptr_t)p->to; /* const struct sockaddr * */
2474 iarg[a++] = p->tolen; /* __socklen_t */
2475 uarg[a++] = (intptr_t)p->sinfo; /* struct sctp_sndrcvinfo * */
2476 iarg[a++] = p->flags; /* int */
2480 /* sctp_generic_sendmsg_iov */
2482 struct sctp_generic_sendmsg_iov_args *p = params;
2483 iarg[a++] = p->sd; /* int */
2484 uarg[a++] = (intptr_t)p->iov; /* struct iovec * */
2485 iarg[a++] = p->iovlen; /* int */
2486 uarg[a++] = (intptr_t)p->to; /* const struct sockaddr * */
2487 iarg[a++] = p->tolen; /* __socklen_t */
2488 uarg[a++] = (intptr_t)p->sinfo; /* struct sctp_sndrcvinfo * */
2489 iarg[a++] = p->flags; /* int */
2493 /* sctp_generic_recvmsg */
2495 struct sctp_generic_recvmsg_args *p = params;
2496 iarg[a++] = p->sd; /* int */
2497 uarg[a++] = (intptr_t)p->iov; /* struct iovec * */
2498 iarg[a++] = p->iovlen; /* int */
2499 uarg[a++] = (intptr_t)p->from; /* struct sockaddr * */
2500 uarg[a++] = (intptr_t)p->fromlenaddr; /* __socklen_t * */
2501 uarg[a++] = (intptr_t)p->sinfo; /* struct sctp_sndrcvinfo * */
2502 uarg[a++] = (intptr_t)p->msg_flags; /* int * */
2508 struct pread_args *p = params;
2509 iarg[a++] = p->fd; /* int */
2510 uarg[a++] = (intptr_t)p->buf; /* void * */
2511 uarg[a++] = p->nbyte; /* size_t */
2512 iarg[a++] = p->offset; /* off_t */
2518 struct pwrite_args *p = params;
2519 iarg[a++] = p->fd; /* int */
2520 uarg[a++] = (intptr_t)p->buf; /* const void * */
2521 uarg[a++] = p->nbyte; /* size_t */
2522 iarg[a++] = p->offset; /* off_t */
2528 struct mmap_args *p = params;
2529 uarg[a++] = (intptr_t)p->addr; /* void * */
2530 uarg[a++] = p->len; /* size_t */
2531 iarg[a++] = p->prot; /* int */
2532 iarg[a++] = p->flags; /* int */
2533 iarg[a++] = p->fd; /* int */
2534 iarg[a++] = p->pos; /* off_t */
2540 struct lseek_args *p = params;
2541 iarg[a++] = p->fd; /* int */
2542 iarg[a++] = p->offset; /* off_t */
2543 iarg[a++] = p->whence; /* int */
2549 struct truncate_args *p = params;
2550 uarg[a++] = (intptr_t)p->path; /* const char * */
2551 iarg[a++] = p->length; /* off_t */
2557 struct ftruncate_args *p = params;
2558 iarg[a++] = p->fd; /* int */
2559 iarg[a++] = p->length; /* off_t */
2565 struct thr_kill2_args *p = params;
2566 iarg[a++] = p->pid; /* pid_t */
2567 iarg[a++] = p->id; /* long */
2568 iarg[a++] = p->sig; /* int */
2574 struct shm_unlink_args *p = params;
2575 uarg[a++] = (intptr_t)p->path; /* const char * */
2581 struct cpuset_args *p = params;
2582 uarg[a++] = (intptr_t)p->setid; /* cpusetid_t * */
2588 struct cpuset_setid_args *p = params;
2589 iarg[a++] = p->which; /* cpuwhich_t */
2590 iarg[a++] = p->id; /* id_t */
2591 iarg[a++] = p->setid; /* cpusetid_t */
2597 struct cpuset_getid_args *p = params;
2598 iarg[a++] = p->level; /* cpulevel_t */
2599 iarg[a++] = p->which; /* cpuwhich_t */
2600 iarg[a++] = p->id; /* id_t */
2601 uarg[a++] = (intptr_t)p->setid; /* cpusetid_t * */
2605 /* cpuset_getaffinity */
2607 struct cpuset_getaffinity_args *p = params;
2608 iarg[a++] = p->level; /* cpulevel_t */
2609 iarg[a++] = p->which; /* cpuwhich_t */
2610 iarg[a++] = p->id; /* id_t */
2611 uarg[a++] = p->cpusetsize; /* size_t */
2612 uarg[a++] = (intptr_t)p->mask; /* cpuset_t * */
2616 /* cpuset_setaffinity */
2618 struct cpuset_setaffinity_args *p = params;
2619 iarg[a++] = p->level; /* cpulevel_t */
2620 iarg[a++] = p->which; /* cpuwhich_t */
2621 iarg[a++] = p->id; /* id_t */
2622 uarg[a++] = p->cpusetsize; /* size_t */
2623 uarg[a++] = (intptr_t)p->mask; /* const cpuset_t * */
2629 struct faccessat_args *p = params;
2630 iarg[a++] = p->fd; /* int */
2631 uarg[a++] = (intptr_t)p->path; /* const char * */
2632 iarg[a++] = p->amode; /* int */
2633 iarg[a++] = p->flag; /* int */
2639 struct fchmodat_args *p = params;
2640 iarg[a++] = p->fd; /* int */
2641 uarg[a++] = (intptr_t)p->path; /* const char * */
2642 iarg[a++] = p->mode; /* mode_t */
2643 iarg[a++] = p->flag; /* int */
2649 struct fchownat_args *p = params;
2650 iarg[a++] = p->fd; /* int */
2651 uarg[a++] = (intptr_t)p->path; /* const char * */
2652 uarg[a++] = p->uid; /* uid_t */
2653 iarg[a++] = p->gid; /* gid_t */
2654 iarg[a++] = p->flag; /* int */
2660 struct fexecve_args *p = params;
2661 iarg[a++] = p->fd; /* int */
2662 uarg[a++] = (intptr_t)p->argv; /* char ** */
2663 uarg[a++] = (intptr_t)p->envv; /* char ** */
2669 struct futimesat_args *p = params;
2670 iarg[a++] = p->fd; /* int */
2671 uarg[a++] = (intptr_t)p->path; /* const char * */
2672 uarg[a++] = (intptr_t)p->times; /* const struct timeval * */
2678 struct linkat_args *p = params;
2679 iarg[a++] = p->fd1; /* int */
2680 uarg[a++] = (intptr_t)p->path1; /* const char * */
2681 iarg[a++] = p->fd2; /* int */
2682 uarg[a++] = (intptr_t)p->path2; /* const char * */
2683 iarg[a++] = p->flag; /* int */
2689 struct mkdirat_args *p = params;
2690 iarg[a++] = p->fd; /* int */
2691 uarg[a++] = (intptr_t)p->path; /* const char * */
2692 iarg[a++] = p->mode; /* mode_t */
2698 struct mkfifoat_args *p = params;
2699 iarg[a++] = p->fd; /* int */
2700 uarg[a++] = (intptr_t)p->path; /* const char * */
2701 iarg[a++] = p->mode; /* mode_t */
2707 struct openat_args *p = params;
2708 iarg[a++] = p->fd; /* int */
2709 uarg[a++] = (intptr_t)p->path; /* const char * */
2710 iarg[a++] = p->flag; /* int */
2711 iarg[a++] = p->mode; /* mode_t */
2717 struct readlinkat_args *p = params;
2718 iarg[a++] = p->fd; /* int */
2719 uarg[a++] = (intptr_t)p->path; /* const char * */
2720 uarg[a++] = (intptr_t)p->buf; /* char * */
2721 uarg[a++] = p->bufsize; /* size_t */
2727 struct renameat_args *p = params;
2728 iarg[a++] = p->oldfd; /* int */
2729 uarg[a++] = (intptr_t)p->old; /* const char * */
2730 iarg[a++] = p->newfd; /* int */
2731 uarg[a++] = (intptr_t)p->new; /* const char * */
2737 struct symlinkat_args *p = params;
2738 uarg[a++] = (intptr_t)p->path1; /* const char * */
2739 iarg[a++] = p->fd; /* int */
2740 uarg[a++] = (intptr_t)p->path2; /* const char * */
2746 struct unlinkat_args *p = params;
2747 iarg[a++] = p->fd; /* int */
2748 uarg[a++] = (intptr_t)p->path; /* const char * */
2749 iarg[a++] = p->flag; /* int */
2755 struct posix_openpt_args *p = params;
2756 iarg[a++] = p->flags; /* int */
2762 struct gssd_syscall_args *p = params;
2763 uarg[a++] = (intptr_t)p->path; /* const char * */
2769 struct jail_get_args *p = params;
2770 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */
2771 uarg[a++] = p->iovcnt; /* unsigned int */
2772 iarg[a++] = p->flags; /* int */
2778 struct jail_set_args *p = params;
2779 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */
2780 uarg[a++] = p->iovcnt; /* unsigned int */
2781 iarg[a++] = p->flags; /* int */
2787 struct jail_remove_args *p = params;
2788 iarg[a++] = p->jid; /* int */
2794 struct __semctl_args *p = params;
2795 iarg[a++] = p->semid; /* int */
2796 iarg[a++] = p->semnum; /* int */
2797 iarg[a++] = p->cmd; /* int */
2798 uarg[a++] = (intptr_t)p->arg; /* union semun * */
2804 struct msgctl_args *p = params;
2805 iarg[a++] = p->msqid; /* int */
2806 iarg[a++] = p->cmd; /* int */
2807 uarg[a++] = (intptr_t)p->buf; /* struct msqid_ds * */
2813 struct shmctl_args *p = params;
2814 iarg[a++] = p->shmid; /* int */
2815 iarg[a++] = p->cmd; /* int */
2816 uarg[a++] = (intptr_t)p->buf; /* struct shmid_ds * */
2822 struct lpathconf_args *p = params;
2823 uarg[a++] = (intptr_t)p->path; /* const char * */
2824 iarg[a++] = p->name; /* int */
2828 /* __cap_rights_get */
2830 struct __cap_rights_get_args *p = params;
2831 iarg[a++] = p->version; /* int */
2832 iarg[a++] = p->fd; /* int */
2833 uarg[a++] = (intptr_t)p->rightsp; /* cap_rights_t * */
2844 struct cap_getmode_args *p = params;
2845 uarg[a++] = (intptr_t)p->modep; /* u_int * */
2851 struct pdfork_args *p = params;
2852 uarg[a++] = (intptr_t)p->fdp; /* int * */
2853 iarg[a++] = p->flags; /* int */
2859 struct pdkill_args *p = params;
2860 iarg[a++] = p->fd; /* int */
2861 iarg[a++] = p->signum; /* int */
2867 struct pdgetpid_args *p = params;
2868 iarg[a++] = p->fd; /* int */
2869 uarg[a++] = (intptr_t)p->pidp; /* pid_t * */
2875 struct pselect_args *p = params;
2876 iarg[a++] = p->nd; /* int */
2877 uarg[a++] = (intptr_t)p->in; /* fd_set * */
2878 uarg[a++] = (intptr_t)p->ou; /* fd_set * */
2879 uarg[a++] = (intptr_t)p->ex; /* fd_set * */
2880 uarg[a++] = (intptr_t)p->ts; /* const struct timespec * */
2881 uarg[a++] = (intptr_t)p->sm; /* const sigset_t * */
2887 struct getloginclass_args *p = params;
2888 uarg[a++] = (intptr_t)p->namebuf; /* char * */
2889 uarg[a++] = p->namelen; /* size_t */
2895 struct setloginclass_args *p = params;
2896 uarg[a++] = (intptr_t)p->namebuf; /* const char * */
2900 /* rctl_get_racct */
2902 struct rctl_get_racct_args *p = params;
2903 uarg[a++] = (intptr_t)p->inbufp; /* const void * */
2904 uarg[a++] = p->inbuflen; /* size_t */
2905 uarg[a++] = (intptr_t)p->outbufp; /* void * */
2906 uarg[a++] = p->outbuflen; /* size_t */
2910 /* rctl_get_rules */
2912 struct rctl_get_rules_args *p = params;
2913 uarg[a++] = (intptr_t)p->inbufp; /* const void * */
2914 uarg[a++] = p->inbuflen; /* size_t */
2915 uarg[a++] = (intptr_t)p->outbufp; /* void * */
2916 uarg[a++] = p->outbuflen; /* size_t */
2920 /* rctl_get_limits */
2922 struct rctl_get_limits_args *p = params;
2923 uarg[a++] = (intptr_t)p->inbufp; /* const void * */
2924 uarg[a++] = p->inbuflen; /* size_t */
2925 uarg[a++] = (intptr_t)p->outbufp; /* void * */
2926 uarg[a++] = p->outbuflen; /* size_t */
2932 struct rctl_add_rule_args *p = params;
2933 uarg[a++] = (intptr_t)p->inbufp; /* const void * */
2934 uarg[a++] = p->inbuflen; /* size_t */
2935 uarg[a++] = (intptr_t)p->outbufp; /* void * */
2936 uarg[a++] = p->outbuflen; /* size_t */
2940 /* rctl_remove_rule */
2942 struct rctl_remove_rule_args *p = params;
2943 uarg[a++] = (intptr_t)p->inbufp; /* const void * */
2944 uarg[a++] = p->inbuflen; /* size_t */
2945 uarg[a++] = (intptr_t)p->outbufp; /* void * */
2946 uarg[a++] = p->outbuflen; /* size_t */
2950 /* posix_fallocate */
2952 struct posix_fallocate_args *p = params;
2953 iarg[a++] = p->fd; /* int */
2954 iarg[a++] = p->offset; /* off_t */
2955 iarg[a++] = p->len; /* off_t */
2961 struct posix_fadvise_args *p = params;
2962 iarg[a++] = p->fd; /* int */
2963 iarg[a++] = p->offset; /* off_t */
2964 iarg[a++] = p->len; /* off_t */
2965 iarg[a++] = p->advice; /* int */
2971 struct wait6_args *p = params;
2972 iarg[a++] = p->idtype; /* idtype_t */
2973 iarg[a++] = p->id; /* id_t */
2974 uarg[a++] = (intptr_t)p->status; /* int * */
2975 iarg[a++] = p->options; /* int */
2976 uarg[a++] = (intptr_t)p->wrusage; /* struct __wrusage * */
2977 uarg[a++] = (intptr_t)p->info; /* struct siginfo * */
2981 /* cap_rights_limit */
2983 struct cap_rights_limit_args *p = params;
2984 iarg[a++] = p->fd; /* int */
2985 uarg[a++] = (intptr_t)p->rightsp; /* cap_rights_t * */
2989 /* cap_ioctls_limit */
2991 struct cap_ioctls_limit_args *p = params;
2992 iarg[a++] = p->fd; /* int */
2993 uarg[a++] = (intptr_t)p->cmds; /* const u_long * */
2994 uarg[a++] = p->ncmds; /* size_t */
2998 /* cap_ioctls_get */
3000 struct cap_ioctls_get_args *p = params;
3001 iarg[a++] = p->fd; /* int */
3002 uarg[a++] = (intptr_t)p->cmds; /* u_long * */
3003 uarg[a++] = p->maxcmds; /* size_t */
3007 /* cap_fcntls_limit */
3009 struct cap_fcntls_limit_args *p = params;
3010 iarg[a++] = p->fd; /* int */
3011 uarg[a++] = p->fcntlrights; /* uint32_t */
3015 /* cap_fcntls_get */
3017 struct cap_fcntls_get_args *p = params;
3018 iarg[a++] = p->fd; /* int */
3019 uarg[a++] = (intptr_t)p->fcntlrightsp; /* uint32_t * */
3025 struct bindat_args *p = params;
3026 iarg[a++] = p->fd; /* int */
3027 iarg[a++] = p->s; /* int */
3028 uarg[a++] = (intptr_t)p->name; /* const struct sockaddr * */
3029 iarg[a++] = p->namelen; /* __socklen_t */
3035 struct connectat_args *p = params;
3036 iarg[a++] = p->fd; /* int */
3037 iarg[a++] = p->s; /* int */
3038 uarg[a++] = (intptr_t)p->name; /* const struct sockaddr * */
3039 iarg[a++] = p->namelen; /* __socklen_t */
3045 struct chflagsat_args *p = params;
3046 iarg[a++] = p->fd; /* int */
3047 uarg[a++] = (intptr_t)p->path; /* const char * */
3048 uarg[a++] = p->flags; /* u_long */
3049 iarg[a++] = p->atflag; /* int */
3055 struct accept4_args *p = params;
3056 iarg[a++] = p->s; /* int */
3057 uarg[a++] = (intptr_t)p->name; /* struct sockaddr * */
3058 uarg[a++] = (intptr_t)p->anamelen; /* __socklen_t * */
3059 iarg[a++] = p->flags; /* int */
3065 struct pipe2_args *p = params;
3066 uarg[a++] = (intptr_t)p->fildes; /* int * */
3067 iarg[a++] = p->flags; /* int */
3073 struct aio_mlock_args *p = params;
3074 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb * */
3080 struct procctl_args *p = params;
3081 iarg[a++] = p->idtype; /* idtype_t */
3082 iarg[a++] = p->id; /* id_t */
3083 iarg[a++] = p->com; /* int */
3084 uarg[a++] = (intptr_t)p->data; /* void * */
3090 struct ppoll_args *p = params;
3091 uarg[a++] = (intptr_t)p->fds; /* struct pollfd * */
3092 uarg[a++] = p->nfds; /* u_int */
3093 uarg[a++] = (intptr_t)p->ts; /* const struct timespec * */
3094 uarg[a++] = (intptr_t)p->set; /* const sigset_t * */
3100 struct futimens_args *p = params;
3101 iarg[a++] = p->fd; /* int */
3102 uarg[a++] = (intptr_t)p->times; /* const struct timespec * */
3108 struct utimensat_args *p = params;
3109 iarg[a++] = p->fd; /* int */
3110 uarg[a++] = (intptr_t)p->path; /* const char * */
3111 uarg[a++] = (intptr_t)p->times; /* const struct timespec * */
3112 iarg[a++] = p->flag; /* int */
3118 struct fdatasync_args *p = params;
3119 iarg[a++] = p->fd; /* int */
3125 struct fstat_args *p = params;
3126 iarg[a++] = p->fd; /* int */
3127 uarg[a++] = (intptr_t)p->sb; /* struct stat * */
3133 struct fstatat_args *p = params;
3134 iarg[a++] = p->fd; /* int */
3135 uarg[a++] = (intptr_t)p->path; /* const char * */
3136 uarg[a++] = (intptr_t)p->buf; /* struct stat * */
3137 iarg[a++] = p->flag; /* int */
3143 struct fhstat_args *p = params;
3144 uarg[a++] = (intptr_t)p->u_fhp; /* const struct fhandle * */
3145 uarg[a++] = (intptr_t)p->sb; /* struct stat * */
3151 struct getdirentries_args *p = params;
3152 iarg[a++] = p->fd; /* int */
3153 uarg[a++] = (intptr_t)p->buf; /* char * */
3154 uarg[a++] = p->count; /* size_t */
3155 uarg[a++] = (intptr_t)p->basep; /* off_t * */
3161 struct statfs_args *p = params;
3162 uarg[a++] = (intptr_t)p->path; /* const char * */
3163 uarg[a++] = (intptr_t)p->buf; /* struct statfs * */
3169 struct fstatfs_args *p = params;
3170 iarg[a++] = p->fd; /* int */
3171 uarg[a++] = (intptr_t)p->buf; /* struct statfs * */
3177 struct getfsstat_args *p = params;
3178 uarg[a++] = (intptr_t)p->buf; /* struct statfs * */
3179 iarg[a++] = p->bufsize; /* long */
3180 iarg[a++] = p->mode; /* int */
3186 struct fhstatfs_args *p = params;
3187 uarg[a++] = (intptr_t)p->u_fhp; /* const struct fhandle * */
3188 uarg[a++] = (intptr_t)p->buf; /* struct statfs * */
3194 struct mknodat_args *p = params;
3195 iarg[a++] = p->fd; /* int */
3196 uarg[a++] = (intptr_t)p->path; /* const char * */
3197 iarg[a++] = p->mode; /* mode_t */
3198 iarg[a++] = p->dev; /* dev_t */
3204 struct kevent_args *p = params;
3205 iarg[a++] = p->fd; /* int */
3206 uarg[a++] = (intptr_t)p->changelist; /* const struct kevent * */
3207 iarg[a++] = p->nchanges; /* int */
3208 uarg[a++] = (intptr_t)p->eventlist; /* struct kevent * */
3209 iarg[a++] = p->nevents; /* int */
3210 uarg[a++] = (intptr_t)p->timeout; /* const struct timespec * */
3214 /* cpuset_getdomain */
3216 struct cpuset_getdomain_args *p = params;
3217 iarg[a++] = p->level; /* cpulevel_t */
3218 iarg[a++] = p->which; /* cpuwhich_t */
3219 iarg[a++] = p->id; /* id_t */
3220 uarg[a++] = p->domainsetsize; /* size_t */
3221 uarg[a++] = (intptr_t)p->mask; /* domainset_t * */
3222 uarg[a++] = (intptr_t)p->policy; /* int * */
3226 /* cpuset_setdomain */
3228 struct cpuset_setdomain_args *p = params;
3229 iarg[a++] = p->level; /* cpulevel_t */
3230 iarg[a++] = p->which; /* cpuwhich_t */
3231 iarg[a++] = p->id; /* id_t */
3232 uarg[a++] = p->domainsetsize; /* size_t */
3233 uarg[a++] = (intptr_t)p->mask; /* domainset_t * */
3234 iarg[a++] = p->policy; /* int */
3240 struct getrandom_args *p = params;
3241 uarg[a++] = (intptr_t)p->buf; /* void * */
3242 uarg[a++] = p->buflen; /* size_t */
3243 uarg[a++] = p->flags; /* unsigned int */
3249 struct getfhat_args *p = params;
3250 iarg[a++] = p->fd; /* int */
3251 uarg[a++] = (intptr_t)p->path; /* char * */
3252 uarg[a++] = (intptr_t)p->fhp; /* struct fhandle * */
3253 iarg[a++] = p->flags; /* int */
3259 struct fhlink_args *p = params;
3260 uarg[a++] = (intptr_t)p->fhp; /* struct fhandle * */
3261 uarg[a++] = (intptr_t)p->to; /* const char * */
3267 struct fhlinkat_args *p = params;
3268 uarg[a++] = (intptr_t)p->fhp; /* struct fhandle * */
3269 iarg[a++] = p->tofd; /* int */
3270 uarg[a++] = (intptr_t)p->to; /* const char * */
3276 struct fhreadlink_args *p = params;
3277 uarg[a++] = (intptr_t)p->fhp; /* struct fhandle * */
3278 uarg[a++] = (intptr_t)p->buf; /* char * */
3279 uarg[a++] = p->bufsize; /* size_t */
3285 struct funlinkat_args *p = params;
3286 iarg[a++] = p->dfd; /* int */
3287 uarg[a++] = (intptr_t)p->path; /* const char * */
3288 iarg[a++] = p->fd; /* int */
3289 iarg[a++] = p->flag; /* int */
3293 /* copy_file_range */
3295 struct copy_file_range_args *p = params;
3296 iarg[a++] = p->infd; /* int */
3297 uarg[a++] = (intptr_t)p->inoffp; /* off_t * */
3298 iarg[a++] = p->outfd; /* int */
3299 uarg[a++] = (intptr_t)p->outoffp; /* off_t * */
3300 uarg[a++] = p->len; /* size_t */
3301 uarg[a++] = p->flags; /* unsigned int */
3305 /* __sysctlbyname */
3307 struct __sysctlbyname_args *p = params;
3308 uarg[a++] = (intptr_t)p->name; /* const char * */
3309 uarg[a++] = p->namelen; /* size_t */
3310 uarg[a++] = (intptr_t)p->old; /* void * */
3311 uarg[a++] = (intptr_t)p->oldlenp; /* size_t * */
3312 uarg[a++] = (intptr_t)p->new; /* void * */
3313 uarg[a++] = p->newlen; /* size_t */
3319 struct shm_open2_args *p = params;
3320 uarg[a++] = (intptr_t)p->path; /* const char * */
3321 iarg[a++] = p->flags; /* int */
3322 iarg[a++] = p->mode; /* mode_t */
3323 iarg[a++] = p->shmflags; /* int */
3324 uarg[a++] = (intptr_t)p->name; /* const char * */
3330 struct shm_rename_args *p = params;
3331 uarg[a++] = (intptr_t)p->path_from; /* const char * */
3332 uarg[a++] = (intptr_t)p->path_to; /* const char * */
3333 iarg[a++] = p->flags; /* int */
3339 struct sigfastblock_args *p = params;
3340 iarg[a++] = p->cmd; /* int */
3341 uarg[a++] = (intptr_t)p->ptr; /* uint32_t * */
3347 struct __realpathat_args *p = params;
3348 iarg[a++] = p->fd; /* int */
3349 uarg[a++] = (intptr_t)p->path; /* const char * */
3350 uarg[a++] = (intptr_t)p->buf; /* char * */
3351 uarg[a++] = p->size; /* size_t */
3352 iarg[a++] = p->flags; /* int */
3358 struct close_range_args *p = params;
3359 uarg[a++] = p->lowfd; /* u_int */
3360 uarg[a++] = p->highfd; /* u_int */
3361 iarg[a++] = p->flags; /* int */
3365 /* rpctls_syscall */
3367 struct rpctls_syscall_args *p = params;
3368 iarg[a++] = p->op; /* int */
3369 uarg[a++] = (intptr_t)p->path; /* const char * */
3375 struct __specialfd_args *p = params;
3376 iarg[a++] = p->type; /* int */
3377 uarg[a++] = (intptr_t)p->req; /* const void * */
3378 uarg[a++] = p->len; /* size_t */
3384 struct aio_writev_args *p = params;
3385 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb * */
3391 struct aio_readv_args *p = params;
3392 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb * */
3398 struct fspacectl_args *p = params;
3399 iarg[a++] = p->fd; /* int */
3400 iarg[a++] = p->cmd; /* int */
3401 uarg[a++] = (intptr_t)p->rqsr; /* const struct spacectl_range * */
3402 iarg[a++] = p->flags; /* int */
3403 uarg[a++] = (intptr_t)p->rmsr; /* struct spacectl_range * */
3414 struct swapoff_args *p = params;
3415 uarg[a++] = (intptr_t)p->name; /* const char * */
3416 uarg[a++] = p->flags; /* u_int */
3422 struct kqueuex_args *p = params;
3423 uarg[a++] = p->flags; /* u_int */
3433 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3435 const char *p = NULL;
3460 p = "userland void *";
3476 p = "userland const void *";
3489 p = "userland const char *";
3518 p = "userland int *";
3524 p = "userland struct rusage *";
3534 p = "userland const char *";
3537 p = "userland const char *";
3547 p = "userland const char *";
3557 p = "userland const char *";
3577 p = "userland const char *";
3590 p = "userland const char *";
3606 p = "userland char *";
3619 p = "userland const char *";
3622 p = "userland const char *";
3628 p = "userland void *";
3638 p = "userland const char *";
3689 p = "userland struct msghdr *";
3705 p = "userland const struct msghdr *";
3721 p = "userland void *";
3730 p = "userland struct sockaddr *";
3733 p = "userland __socklen_t *";
3746 p = "userland struct sockaddr *";
3749 p = "userland __socklen_t *";
3762 p = "userland struct sockaddr *";
3765 p = "userland __socklen_t *";
3778 p = "userland struct sockaddr *";
3781 p = "userland __socklen_t *";
3791 p = "userland const char *";
3804 p = "userland const char *";
3862 p = "userland char *";
3881 p = "userland const char *";
3903 p = "userland char *";
3916 p = "userland const char *";
3926 p = "userland const char *";
3936 p = "userland const struct sigaltstack *";
3939 p = "userland struct sigaltstack *";
3955 p = "userland char *";
3975 p = "userland const char *";
3985 p = "userland const char *";
3988 p = "userland const char *";
3998 p = "userland const char *";
4001 p = "userland char *";
4014 p = "userland const char *";
4017 p = "userland char **";
4020 p = "userland char **";
4040 p = "userland const char *";
4050 p = "userland void *";
4089 p = "userland void *";
4102 p = "userland void *";
4118 p = "userland void *";
4134 p = "userland const void *";
4140 p = "userland char *";
4153 p = "userland gid_t *";
4166 p = "userland const gid_t *";
4195 p = "userland const struct itimerval *";
4198 p = "userland struct itimerval *";
4208 p = "userland const char *";
4221 p = "userland struct itimerval *";
4266 p = "userland fd_set *";
4269 p = "userland fd_set *";
4272 p = "userland fd_set *";
4275 p = "userland struct timeval *";
4330 p = "userland const struct sockaddr *";
4359 p = "userland const struct sockaddr *";
4381 p = "userland const void *";
4407 p = "userland struct timeval *";
4410 p = "userland struct timezone *";
4423 p = "userland struct rusage *";
4442 p = "userland void *";
4445 p = "userland __socklen_t *";
4458 p = "userland struct iovec *";
4474 p = "userland struct iovec *";
4487 p = "userland const struct timeval *";
4490 p = "userland const struct timezone *";
4555 p = "userland const char *";
4558 p = "userland const char *";
4581 p = "userland const char *";
4597 p = "userland const void *";
4606 p = "userland const struct sockaddr *";
4641 p = "userland int *";
4651 p = "userland const char *";
4664 p = "userland const char *";
4674 p = "userland const char *";
4677 p = "userland const struct timeval *";
4687 p = "userland const struct timeval *";
4690 p = "userland struct timeval *";
4703 p = "userland const char *";
4712 p = "userland void *";
4731 p = "userland char **";
4744 p = "userland void *";
4754 p = "userland const char *";
4757 p = "userland struct fhandle *";
4767 p = "userland const char *";
4770 p = "userland struct fhandle *";
4783 p = "userland char *";
4799 p = "userland struct rtprio *";
4885 p = "userland struct timex *";
4925 p = "userland const char *";
4954 p = "userland struct rlimit *";
4967 p = "userland struct rlimit *";
4980 p = "userland int *";
4986 p = "userland void *";
4989 p = "userland size_t *";
4992 p = "userland const void *";
5005 p = "userland const void *";
5018 p = "userland const void *";
5031 p = "userland const char *";
5044 p = "userland const struct timeval *";
5064 p = "userland struct pollfd *";
5129 p = "userland struct sembuf *";
5158 p = "userland const void *";
5177 p = "userland void *";
5199 p = "userland const void *";
5212 p = "userland const void *";
5241 p = "userland struct timespec *";
5254 p = "userland const struct timespec *";
5267 p = "userland struct timespec *";
5280 p = "userland struct sigevent *";
5283 p = "userland int *";
5299 /* ktimer_settime */
5309 p = "userland const struct itimerspec *";
5312 p = "userland struct itimerspec *";
5318 /* ktimer_gettime */
5325 p = "userland struct itimerspec *";
5331 /* ktimer_getoverrun */
5345 p = "userland const struct timespec *";
5348 p = "userland struct timespec *";
5354 /* ffclock_getcounter */
5358 p = "userland ffcounter *";
5364 /* ffclock_setestimate */
5368 p = "userland struct ffclock_estimate *";
5374 /* ffclock_getestimate */
5378 p = "userland struct ffclock_estimate *";
5384 /* clock_nanosleep */
5394 p = "userland const struct timespec *";
5397 p = "userland struct timespec *";
5403 /* clock_getcpuclockid2 */
5413 p = "userland clockid_t *";
5423 p = "userland struct ntptimeval *";
5433 p = "userland void *";
5462 p = "userland const char *";
5478 p = "userland struct aiocb *";
5488 p = "userland struct aiocb *";
5501 p = "userland struct aiocb * const *";
5507 p = "userland struct sigevent *";
5517 p = "userland const char *";
5530 p = "userland const char *";
5533 p = "userland const struct timeval *";
5546 p = "userland struct iovec *";
5565 p = "userland struct iovec *";
5581 p = "userland const struct fhandle *";
5607 p = "userland struct module_stat *";
5627 p = "userland const char *";
5637 p = "userland const char *";
5657 p = "userland const char *";
5680 p = "userland struct kld_file_stat *";
5742 p = "userland struct aiocb *";
5752 p = "userland struct aiocb * const *";
5758 p = "userland const struct timespec *";
5771 p = "userland struct aiocb *";
5781 p = "userland struct aiocb *";
5807 p = "userland char *";
5816 /* sched_setparam */
5823 p = "userland const struct sched_param *";
5829 /* sched_getparam */
5836 p = "userland struct sched_param *";
5842 /* sched_setscheduler */
5852 p = "userland const struct sched_param *";
5858 /* sched_getscheduler */
5871 /* sched_get_priority_max */
5881 /* sched_get_priority_min */
5891 /* sched_rr_get_interval */
5898 p = "userland struct timespec *";
5908 p = "userland const void *";
5927 p = "userland void *";
5937 p = "userland struct jail *";
5950 p = "userland char *";
5956 p = "userland void *";
5972 p = "userland const sigset_t *";
5975 p = "userland sigset_t *";
5985 p = "userland const sigset_t *";
5995 p = "userland sigset_t *";
6005 p = "userland const sigset_t *";
6008 p = "userland struct siginfo *";
6011 p = "userland const struct timespec *";
6021 p = "userland const sigset_t *";
6024 p = "userland struct siginfo *";
6030 /* __acl_get_file */
6034 p = "userland const char *";
6040 p = "userland struct acl *";
6046 /* __acl_set_file */
6050 p = "userland const char *";
6056 p = "userland struct acl *";
6072 p = "userland struct acl *";
6088 p = "userland struct acl *";
6094 /* __acl_delete_file */
6098 p = "userland const char *";
6107 /* __acl_delete_fd */
6120 /* __acl_aclcheck_file */
6124 p = "userland const char *";
6130 p = "userland struct acl *";
6136 /* __acl_aclcheck_fd */
6146 p = "userland struct acl *";
6156 p = "userland const char *";
6162 p = "userland const char *";
6168 p = "userland const char *";
6174 /* extattr_set_file */
6178 p = "userland const char *";
6184 p = "userland const char *";
6187 p = "userland void *";
6196 /* extattr_get_file */
6200 p = "userland const char *";
6206 p = "userland const char *";
6209 p = "userland void *";
6218 /* extattr_delete_file */
6222 p = "userland const char *";
6228 p = "userland const char *";
6234 /* aio_waitcomplete */
6238 p = "userland struct aiocb **";
6241 p = "userland struct timespec *";
6251 p = "userland uid_t *";
6254 p = "userland uid_t *";
6257 p = "userland uid_t *";
6267 p = "userland gid_t *";
6270 p = "userland gid_t *";
6273 p = "userland gid_t *";
6282 /* extattr_set_fd */
6292 p = "userland const char *";
6295 p = "userland void *";
6304 /* extattr_get_fd */
6314 p = "userland const char *";
6317 p = "userland void *";
6326 /* extattr_delete_fd */
6336 p = "userland const char *";
6356 p = "userland const char *";
6397 p = "userland struct iovec *";
6409 /* __mac_get_proc */
6413 p = "userland struct mac *";
6419 /* __mac_set_proc */
6423 p = "userland struct mac *";
6436 p = "userland struct mac *";
6442 /* __mac_get_file */
6446 p = "userland const char *";
6449 p = "userland struct mac *";
6462 p = "userland struct mac *";
6468 /* __mac_set_file */
6472 p = "userland const char *";
6475 p = "userland struct mac *";
6488 p = "userland const char *";
6491 p = "userland char *";
6504 p = "userland const char *";
6517 p = "userland struct uuid *";
6542 p = "userland struct sf_hdtr *";
6545 p = "userland off_t *";
6558 p = "userland const char *";
6564 p = "userland void *";
6614 p = "userland semid_t *";
6627 p = "userland semid_t *";
6630 p = "userland const char *";
6649 p = "userland const char *";
6662 p = "userland int *";
6685 p = "userland struct mac *";
6691 /* __mac_get_link */
6695 p = "userland const char *";
6698 p = "userland struct mac *";
6704 /* __mac_set_link */
6708 p = "userland const char *";
6711 p = "userland struct mac *";
6717 /* extattr_set_link */
6721 p = "userland const char *";
6727 p = "userland const char *";
6730 p = "userland void *";
6739 /* extattr_get_link */
6743 p = "userland const char *";
6749 p = "userland const char *";
6752 p = "userland void *";
6761 /* extattr_delete_link */
6765 p = "userland const char *";
6771 p = "userland const char *";
6781 p = "userland const char *";
6784 p = "userland char **";
6787 p = "userland char **";
6790 p = "userland struct mac *";
6803 p = "userland const struct sigaction *";
6806 p = "userland struct sigaction *";
6816 p = "userland const struct __ucontext *";
6826 p = "userland struct __ucontext *";
6836 p = "userland const struct __ucontext *";
6846 p = "userland struct __ucontext *";
6849 p = "userland const struct __ucontext *";
6855 /* __acl_get_link */
6859 p = "userland const char *";
6865 p = "userland struct acl *";
6871 /* __acl_set_link */
6875 p = "userland const char *";
6881 p = "userland struct acl *";
6887 /* __acl_delete_link */
6891 p = "userland const char *";
6900 /* __acl_aclcheck_link */
6904 p = "userland const char *";
6910 p = "userland struct acl *";
6920 p = "userland const sigset_t *";
6923 p = "userland int *";
6933 p = "userland ucontext_t *";
6936 p = "userland long *";
6949 p = "userland long *";
6959 p = "userland long *";
6988 /* extattr_list_fd */
6998 p = "userland void *";
7007 /* extattr_list_file */
7011 p = "userland const char *";
7017 p = "userland void *";
7026 /* extattr_list_link */
7030 p = "userland const char *";
7036 p = "userland void *";
7045 /* ksem_timedwait */
7052 p = "userland const struct timespec *";
7062 p = "userland const struct timespec *";
7095 p = "userland const void *";
7111 p = "userland void *";
7124 p = "userland uid_t *";
7134 p = "userland uid_t *";
7144 p = "userland struct auditinfo *";
7154 p = "userland struct auditinfo *";
7164 p = "userland struct auditinfo_addr *";
7177 p = "userland struct auditinfo_addr *";
7190 p = "userland const char *";
7200 p = "userland void *";
7209 p = "userland void *";
7212 p = "userland void *";
7222 p = "userland struct thr_param *";
7241 p = "userland void *";
7251 p = "userland const char *";
7260 p = "userland const struct mq_attr *";
7273 p = "userland const struct mq_attr *";
7276 p = "userland struct mq_attr *";
7282 /* kmq_timedreceive */
7289 p = "userland char *";
7295 p = "userland unsigned *";
7298 p = "userland const struct timespec *";
7311 p = "userland const char *";
7320 p = "userland const struct timespec *";
7333 p = "userland const struct sigevent *";
7343 p = "userland const char *";
7353 p = "userland const char *";
7359 p = "userland void **";
7372 p = "userland const char *";
7385 p = "userland struct aiocb *";
7401 p = "userland struct rtprio *";
7420 /* sctp_generic_sendmsg */
7427 p = "userland void *";
7433 p = "userland const struct sockaddr *";
7439 p = "userland struct sctp_sndrcvinfo *";
7448 /* sctp_generic_sendmsg_iov */
7455 p = "userland struct iovec *";
7461 p = "userland const struct sockaddr *";
7467 p = "userland struct sctp_sndrcvinfo *";
7476 /* sctp_generic_recvmsg */
7483 p = "userland struct iovec *";
7489 p = "userland struct sockaddr *";
7492 p = "userland __socklen_t *";
7495 p = "userland struct sctp_sndrcvinfo *";
7498 p = "userland int *";
7511 p = "userland void *";
7530 p = "userland const void *";
7546 p = "userland void *";
7587 p = "userland const char *";
7629 p = "userland const char *";
7639 p = "userland cpusetid_t *";
7674 p = "userland cpusetid_t *";
7680 /* cpuset_getaffinity */
7696 p = "userland cpuset_t *";
7702 /* cpuset_setaffinity */
7718 p = "userland const cpuset_t *";
7731 p = "userland const char *";
7750 p = "userland const char *";
7769 p = "userland const char *";
7791 p = "userland char **";
7794 p = "userland char **";
7807 p = "userland const char *";
7810 p = "userland const struct timeval *";
7823 p = "userland const char *";
7829 p = "userland const char *";
7845 p = "userland const char *";
7861 p = "userland const char *";
7877 p = "userland const char *";
7896 p = "userland const char *";
7899 p = "userland char *";
7915 p = "userland const char *";
7921 p = "userland const char *";
7931 p = "userland const char *";
7937 p = "userland const char *";
7950 p = "userland const char *";
7973 p = "userland const char *";
7983 p = "userland struct iovec *";
7999 p = "userland struct iovec *";
8034 p = "userland union semun *";
8050 p = "userland struct msqid_ds *";
8066 p = "userland struct shmid_ds *";
8076 p = "userland const char *";
8085 /* __cap_rights_get */
8095 p = "userland cap_rights_t *";
8108 p = "userland u_int *";
8118 p = "userland int *";
8147 p = "userland pid_t *";
8160 p = "userland fd_set *";
8163 p = "userland fd_set *";
8166 p = "userland fd_set *";
8169 p = "userland const struct timespec *";
8172 p = "userland const sigset_t *";
8182 p = "userland char *";
8195 p = "userland const char *";
8201 /* rctl_get_racct */
8205 p = "userland const void *";
8211 p = "userland void *";
8220 /* rctl_get_rules */
8224 p = "userland const void *";
8230 p = "userland void *";
8239 /* rctl_get_limits */
8243 p = "userland const void *";
8249 p = "userland void *";
8262 p = "userland const void *";
8268 p = "userland void *";
8277 /* rctl_remove_rule */
8281 p = "userland const void *";
8287 p = "userland void *";
8296 /* posix_fallocate */
8341 p = "userland int *";
8347 p = "userland struct __wrusage *";
8350 p = "userland struct siginfo *";
8356 /* cap_rights_limit */
8363 p = "userland cap_rights_t *";
8369 /* cap_ioctls_limit */
8376 p = "userland const u_long *";
8385 /* cap_ioctls_get */
8392 p = "userland u_long *";
8401 /* cap_fcntls_limit */
8414 /* cap_fcntls_get */
8421 p = "userland uint32_t *";
8437 p = "userland const struct sockaddr *";
8456 p = "userland const struct sockaddr *";
8472 p = "userland const char *";
8491 p = "userland struct sockaddr *";
8494 p = "userland __socklen_t *";
8507 p = "userland int *";
8520 p = "userland struct aiocb *";
8539 p = "userland void *";
8549 p = "userland struct pollfd *";
8555 p = "userland const struct timespec *";
8558 p = "userland const sigset_t *";
8571 p = "userland const struct timespec *";
8584 p = "userland const char *";
8587 p = "userland const struct timespec *";
8613 p = "userland struct stat *";
8626 p = "userland const char *";
8629 p = "userland struct stat *";
8642 p = "userland const struct fhandle *";
8645 p = "userland struct stat *";
8658 p = "userland char *";
8664 p = "userland off_t *";
8674 p = "userland const char *";
8677 p = "userland struct statfs *";
8690 p = "userland struct statfs *";
8700 p = "userland struct statfs *";
8716 p = "userland const struct fhandle *";
8719 p = "userland struct statfs *";
8732 p = "userland const char *";
8751 p = "userland const struct kevent *";
8757 p = "userland struct kevent *";
8763 p = "userland const struct timespec *";
8769 /* cpuset_getdomain */
8785 p = "userland domainset_t *";
8788 p = "userland int *";
8794 /* cpuset_setdomain */
8810 p = "userland domainset_t *";
8823 p = "userland void *";
8842 p = "userland char *";
8845 p = "userland struct fhandle *";
8858 p = "userland struct fhandle *";
8861 p = "userland const char *";
8871 p = "userland struct fhandle *";
8877 p = "userland const char *";
8887 p = "userland struct fhandle *";
8890 p = "userland char *";
8906 p = "userland const char *";
8918 /* copy_file_range */
8925 p = "userland off_t *";
8931 p = "userland off_t *";
8943 /* __sysctlbyname */
8947 p = "userland const char *";
8953 p = "userland void *";
8956 p = "userland size_t *";
8959 p = "userland void *";
8972 p = "userland const char *";
8984 p = "userland const char *";
8994 p = "userland const char *";
8997 p = "userland const char *";
9013 p = "userland uint32_t *";
9026 p = "userland const char *";
9029 p = "userland char *";
9057 /* rpctls_syscall */
9064 p = "userland const char *";
9077 p = "userland const void *";
9090 p = "userland struct aiocb *";
9100 p = "userland struct aiocb *";
9116 p = "userland const struct spacectl_range *";
9122 p = "userland struct spacectl_range *";
9135 p = "userland const char *";
9158 strlcpy(desc, p, descsz);
9161 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
9163 const char *p = NULL;
9169 if (ndx == 0 || ndx == 1)
9176 if (ndx == 0 || ndx == 1)
9181 if (ndx == 0 || ndx == 1)
9186 if (ndx == 0 || ndx == 1)
9191 if (ndx == 0 || ndx == 1)
9196 if (ndx == 0 || ndx == 1)
9201 if (ndx == 0 || ndx == 1)
9206 if (ndx == 0 || ndx == 1)
9211 if (ndx == 0 || ndx == 1)
9216 if (ndx == 0 || ndx == 1)
9221 if (ndx == 0 || ndx == 1)
9226 if (ndx == 0 || ndx == 1)
9231 if (ndx == 0 || ndx == 1)
9238 if (ndx == 0 || ndx == 1)
9243 if (ndx == 0 || ndx == 1)
9248 if (ndx == 0 || ndx == 1)
9257 if (ndx == 0 || ndx == 1)
9262 if (ndx == 0 || ndx == 1)
9267 if (ndx == 0 || ndx == 1)
9272 if (ndx == 0 || ndx == 1)
9277 if (ndx == 0 || ndx == 1)
9282 if (ndx == 0 || ndx == 1)
9287 if (ndx == 0 || ndx == 1)
9292 if (ndx == 0 || ndx == 1)
9297 if (ndx == 0 || ndx == 1)
9302 if (ndx == 0 || ndx == 1)
9309 if (ndx == 0 || ndx == 1)
9316 if (ndx == 0 || ndx == 1)
9323 if (ndx == 0 || ndx == 1)
9328 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)
9365 if (ndx == 0 || ndx == 1)
9370 if (ndx == 0 || ndx == 1)
9375 if (ndx == 0 || ndx == 1)
9380 if (ndx == 0 || ndx == 1)
9385 if (ndx == 0 || ndx == 1)
9390 if (ndx == 0 || ndx == 1)
9395 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)
9444 if (ndx == 0 || ndx == 1)
9449 if (ndx == 0 || ndx == 1)
9454 if (ndx == 0 || ndx == 1)
9459 if (ndx == 0 || ndx == 1)
9466 if (ndx == 0 || ndx == 1)
9471 if (ndx == 0 || ndx == 1)
9476 if (ndx == 0 || ndx == 1)
9481 if (ndx == 0 || ndx == 1)
9486 if (ndx == 0 || ndx == 1)
9491 if (ndx == 0 || ndx == 1)
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)
9623 if (ndx == 0 || ndx == 1)
9628 if (ndx == 0 || ndx == 1)
9633 if (ndx == 0 || ndx == 1)
9638 if (ndx == 0 || ndx == 1)
9643 if (ndx == 0 || ndx == 1)
9648 if (ndx == 0 || ndx == 1)
9653 if (ndx == 0 || ndx == 1)
9658 if (ndx == 0 || ndx == 1)
9663 if (ndx == 0 || ndx == 1)
9668 if (ndx == 0 || ndx == 1)
9673 if (ndx == 0 || ndx == 1)
9678 if (ndx == 0 || ndx == 1)
9683 if (ndx == 0 || ndx == 1)
9688 if (ndx == 0 || ndx == 1)
9693 if (ndx == 0 || ndx == 1)
9698 if (ndx == 0 || ndx == 1)
9703 if (ndx == 0 || ndx == 1)
9708 if (ndx == 0 || ndx == 1)
9713 if (ndx == 0 || ndx == 1)
9720 if (ndx == 0 || ndx == 1)
9725 if (ndx == 0 || ndx == 1)
9730 if (ndx == 0 || ndx == 1)
9735 if (ndx == 0 || ndx == 1)
9740 if (ndx == 0 || ndx == 1)
9745 if (ndx == 0 || ndx == 1)
9750 if (ndx == 0 || ndx == 1)
9775 if (ndx == 0 || ndx == 1)
9780 if (ndx == 0 || ndx == 1)
9785 if (ndx == 0 || ndx == 1)
9790 if (ndx == 0 || ndx == 1)
9795 if (ndx == 0 || ndx == 1)
9800 if (ndx == 0 || ndx == 1)
9805 if (ndx == 0 || ndx == 1)
9810 if (ndx == 0 || ndx == 1)
9815 if (ndx == 0 || ndx == 1)
9820 if (ndx == 0 || ndx == 1)
9825 if (ndx == 0 || ndx == 1)
9830 if (ndx == 0 || ndx == 1)
9835 if (ndx == 0 || ndx == 1)
9838 /* ktimer_settime */
9840 if (ndx == 0 || ndx == 1)
9843 /* ktimer_gettime */
9845 if (ndx == 0 || ndx == 1)
9848 /* ktimer_getoverrun */
9850 if (ndx == 0 || ndx == 1)
9855 if (ndx == 0 || ndx == 1)
9858 /* ffclock_getcounter */
9860 if (ndx == 0 || ndx == 1)
9863 /* ffclock_setestimate */
9865 if (ndx == 0 || ndx == 1)
9868 /* ffclock_getestimate */
9870 if (ndx == 0 || ndx == 1)
9873 /* clock_nanosleep */
9875 if (ndx == 0 || ndx == 1)
9878 /* clock_getcpuclockid2 */
9880 if (ndx == 0 || ndx == 1)
9885 if (ndx == 0 || ndx == 1)
9890 if (ndx == 0 || ndx == 1)
9895 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)
9942 if (ndx == 0 || ndx == 1)
9947 if (ndx == 0 || ndx == 1)
9952 if (ndx == 0 || ndx == 1)
9957 if (ndx == 0 || ndx == 1)
9962 if (ndx == 0 || ndx == 1)
9967 if (ndx == 0 || ndx == 1)
9972 if (ndx == 0 || ndx == 1)
9977 if (ndx == 0 || ndx == 1)
9982 if (ndx == 0 || ndx == 1)
9987 if (ndx == 0 || ndx == 1)
9992 if (ndx == 0 || ndx == 1)
9997 if (ndx == 0 || ndx == 1)
10002 if (ndx == 0 || ndx == 1)
10007 if (ndx == 0 || ndx == 1)
10012 if (ndx == 0 || ndx == 1)
10017 if (ndx == 0 || ndx == 1)
10022 if (ndx == 0 || ndx == 1)
10027 if (ndx == 0 || ndx == 1)
10034 if (ndx == 0 || ndx == 1)
10041 if (ndx == 0 || ndx == 1)
10044 /* sched_setparam */
10046 if (ndx == 0 || ndx == 1)
10049 /* sched_getparam */
10051 if (ndx == 0 || ndx == 1)
10054 /* sched_setscheduler */
10056 if (ndx == 0 || ndx == 1)
10059 /* sched_getscheduler */
10061 if (ndx == 0 || ndx == 1)
10066 /* sched_get_priority_max */
10068 if (ndx == 0 || ndx == 1)
10071 /* sched_get_priority_min */
10073 if (ndx == 0 || ndx == 1)
10076 /* sched_rr_get_interval */
10078 if (ndx == 0 || ndx == 1)
10083 if (ndx == 0 || ndx == 1)
10088 if (ndx == 0 || ndx == 1)
10093 if (ndx == 0 || ndx == 1)
10096 /* nnpfs_syscall */
10098 if (ndx == 0 || ndx == 1)
10103 if (ndx == 0 || ndx == 1)
10108 if (ndx == 0 || ndx == 1)
10113 if (ndx == 0 || ndx == 1)
10118 if (ndx == 0 || ndx == 1)
10123 if (ndx == 0 || ndx == 1)
10126 /* __acl_get_file */
10128 if (ndx == 0 || ndx == 1)
10131 /* __acl_set_file */
10133 if (ndx == 0 || ndx == 1)
10138 if (ndx == 0 || ndx == 1)
10143 if (ndx == 0 || ndx == 1)
10146 /* __acl_delete_file */
10148 if (ndx == 0 || ndx == 1)
10151 /* __acl_delete_fd */
10153 if (ndx == 0 || ndx == 1)
10156 /* __acl_aclcheck_file */
10158 if (ndx == 0 || ndx == 1)
10161 /* __acl_aclcheck_fd */
10163 if (ndx == 0 || ndx == 1)
10168 if (ndx == 0 || ndx == 1)
10171 /* extattr_set_file */
10173 if (ndx == 0 || ndx == 1)
10176 /* extattr_get_file */
10178 if (ndx == 0 || ndx == 1)
10181 /* extattr_delete_file */
10183 if (ndx == 0 || ndx == 1)
10186 /* aio_waitcomplete */
10188 if (ndx == 0 || ndx == 1)
10193 if (ndx == 0 || ndx == 1)
10198 if (ndx == 0 || ndx == 1)
10203 /* extattr_set_fd */
10205 if (ndx == 0 || ndx == 1)
10208 /* extattr_get_fd */
10210 if (ndx == 0 || ndx == 1)
10213 /* extattr_delete_fd */
10215 if (ndx == 0 || ndx == 1)
10220 if (ndx == 0 || ndx == 1)
10225 if (ndx == 0 || ndx == 1)
10230 if (ndx == 0 || ndx == 1)
10235 if (ndx == 0 || ndx == 1)
10238 /* __mac_get_proc */
10240 if (ndx == 0 || ndx == 1)
10243 /* __mac_set_proc */
10245 if (ndx == 0 || ndx == 1)
10250 if (ndx == 0 || ndx == 1)
10253 /* __mac_get_file */
10255 if (ndx == 0 || ndx == 1)
10260 if (ndx == 0 || ndx == 1)
10263 /* __mac_set_file */
10265 if (ndx == 0 || ndx == 1)
10270 if (ndx == 0 || ndx == 1)
10275 if (ndx == 0 || ndx == 1)
10280 if (ndx == 0 || ndx == 1)
10285 if (ndx == 0 || ndx == 1)
10290 if (ndx == 0 || ndx == 1)
10295 if (ndx == 0 || ndx == 1)
10300 if (ndx == 0 || ndx == 1)
10305 if (ndx == 0 || ndx == 1)
10310 if (ndx == 0 || ndx == 1)
10315 if (ndx == 0 || ndx == 1)
10320 if (ndx == 0 || ndx == 1)
10325 if (ndx == 0 || ndx == 1)
10328 /* ksem_getvalue */
10330 if (ndx == 0 || ndx == 1)
10335 if (ndx == 0 || ndx == 1)
10338 /* __mac_get_pid */
10340 if (ndx == 0 || ndx == 1)
10343 /* __mac_get_link */
10345 if (ndx == 0 || ndx == 1)
10348 /* __mac_set_link */
10350 if (ndx == 0 || ndx == 1)
10353 /* extattr_set_link */
10355 if (ndx == 0 || ndx == 1)
10358 /* extattr_get_link */
10360 if (ndx == 0 || ndx == 1)
10363 /* extattr_delete_link */
10365 if (ndx == 0 || ndx == 1)
10370 if (ndx == 0 || ndx == 1)
10375 if (ndx == 0 || ndx == 1)
10380 if (ndx == 0 || ndx == 1)
10385 if (ndx == 0 || ndx == 1)
10390 if (ndx == 0 || ndx == 1)
10395 if (ndx == 0 || ndx == 1)
10398 /* __acl_get_link */
10400 if (ndx == 0 || ndx == 1)
10403 /* __acl_set_link */
10405 if (ndx == 0 || ndx == 1)
10408 /* __acl_delete_link */
10410 if (ndx == 0 || ndx == 1)
10413 /* __acl_aclcheck_link */
10415 if (ndx == 0 || ndx == 1)
10420 if (ndx == 0 || ndx == 1)
10425 if (ndx == 0 || ndx == 1)
10430 if (ndx == 0 || ndx == 1)
10435 if (ndx == 0 || ndx == 1)
10440 if (ndx == 0 || ndx == 1)
10445 if (ndx == 0 || ndx == 1)
10448 /* extattr_list_fd */
10450 if (ndx == 0 || ndx == 1)
10453 /* extattr_list_file */
10455 if (ndx == 0 || ndx == 1)
10458 /* extattr_list_link */
10460 if (ndx == 0 || ndx == 1)
10463 /* ksem_timedwait */
10465 if (ndx == 0 || ndx == 1)
10470 if (ndx == 0 || ndx == 1)
10475 if (ndx == 0 || ndx == 1)
10480 if (ndx == 0 || ndx == 1)
10485 if (ndx == 0 || ndx == 1)
10490 if (ndx == 0 || ndx == 1)
10495 if (ndx == 0 || ndx == 1)
10500 if (ndx == 0 || ndx == 1)
10505 if (ndx == 0 || ndx == 1)
10510 if (ndx == 0 || ndx == 1)
10513 /* getaudit_addr */
10515 if (ndx == 0 || ndx == 1)
10518 /* setaudit_addr */
10520 if (ndx == 0 || ndx == 1)
10525 if (ndx == 0 || ndx == 1)
10530 if (ndx == 0 || ndx == 1)
10535 if (ndx == 0 || ndx == 1)
10540 if (ndx == 0 || ndx == 1)
10545 if (ndx == 0 || ndx == 1)
10550 if (ndx == 0 || ndx == 1)
10553 /* kmq_timedreceive */
10555 if (ndx == 0 || ndx == 1)
10558 /* kmq_timedsend */
10560 if (ndx == 0 || ndx == 1)
10565 if (ndx == 0 || ndx == 1)
10570 if (ndx == 0 || ndx == 1)
10575 if (ndx == 0 || ndx == 1)
10580 if (ndx == 0 || ndx == 1)
10585 if (ndx == 0 || ndx == 1)
10588 /* rtprio_thread */
10590 if (ndx == 0 || ndx == 1)
10595 if (ndx == 0 || ndx == 1)
10598 /* sctp_generic_sendmsg */
10600 if (ndx == 0 || ndx == 1)
10603 /* sctp_generic_sendmsg_iov */
10605 if (ndx == 0 || ndx == 1)
10608 /* sctp_generic_recvmsg */
10610 if (ndx == 0 || ndx == 1)
10615 if (ndx == 0 || ndx == 1)
10620 if (ndx == 0 || ndx == 1)
10625 if (ndx == 0 || ndx == 1)
10630 if (ndx == 0 || ndx == 1)
10635 if (ndx == 0 || ndx == 1)
10640 if (ndx == 0 || ndx == 1)
10645 if (ndx == 0 || ndx == 1)
10650 if (ndx == 0 || ndx == 1)
10655 if (ndx == 0 || ndx == 1)
10660 if (ndx == 0 || ndx == 1)
10665 if (ndx == 0 || ndx == 1)
10668 /* cpuset_getaffinity */
10670 if (ndx == 0 || ndx == 1)
10673 /* cpuset_setaffinity */
10675 if (ndx == 0 || ndx == 1)
10680 if (ndx == 0 || ndx == 1)
10685 if (ndx == 0 || ndx == 1)
10690 if (ndx == 0 || ndx == 1)
10695 if (ndx == 0 || ndx == 1)
10700 if (ndx == 0 || ndx == 1)
10705 if (ndx == 0 || ndx == 1)
10710 if (ndx == 0 || ndx == 1)
10715 if (ndx == 0 || ndx == 1)
10720 if (ndx == 0 || ndx == 1)
10725 if (ndx == 0 || ndx == 1)
10730 if (ndx == 0 || ndx == 1)
10735 if (ndx == 0 || ndx == 1)
10740 if (ndx == 0 || ndx == 1)
10745 if (ndx == 0 || ndx == 1)
10750 if (ndx == 0 || ndx == 1)
10755 if (ndx == 0 || ndx == 1)
10760 if (ndx == 0 || ndx == 1)
10765 if (ndx == 0 || ndx == 1)
10770 if (ndx == 0 || ndx == 1)
10775 if (ndx == 0 || ndx == 1)
10780 if (ndx == 0 || ndx == 1)
10785 if (ndx == 0 || ndx == 1)
10788 /* __cap_rights_get */
10790 if (ndx == 0 || ndx == 1)
10797 if (ndx == 0 || ndx == 1)
10802 if (ndx == 0 || ndx == 1)
10807 if (ndx == 0 || ndx == 1)
10812 if (ndx == 0 || ndx == 1)
10817 if (ndx == 0 || ndx == 1)
10820 /* getloginclass */
10822 if (ndx == 0 || ndx == 1)
10825 /* setloginclass */
10827 if (ndx == 0 || ndx == 1)
10830 /* rctl_get_racct */
10832 if (ndx == 0 || ndx == 1)
10835 /* rctl_get_rules */
10837 if (ndx == 0 || ndx == 1)
10840 /* rctl_get_limits */
10842 if (ndx == 0 || ndx == 1)
10845 /* rctl_add_rule */
10847 if (ndx == 0 || ndx == 1)
10850 /* rctl_remove_rule */
10852 if (ndx == 0 || ndx == 1)
10855 /* posix_fallocate */
10857 if (ndx == 0 || ndx == 1)
10860 /* posix_fadvise */
10862 if (ndx == 0 || ndx == 1)
10867 if (ndx == 0 || ndx == 1)
10870 /* cap_rights_limit */
10872 if (ndx == 0 || ndx == 1)
10875 /* cap_ioctls_limit */
10877 if (ndx == 0 || ndx == 1)
10880 /* cap_ioctls_get */
10882 if (ndx == 0 || ndx == 1)
10885 /* cap_fcntls_limit */
10887 if (ndx == 0 || ndx == 1)
10890 /* cap_fcntls_get */
10892 if (ndx == 0 || ndx == 1)
10897 if (ndx == 0 || ndx == 1)
10902 if (ndx == 0 || ndx == 1)
10907 if (ndx == 0 || ndx == 1)
10912 if (ndx == 0 || ndx == 1)
10917 if (ndx == 0 || ndx == 1)
10922 if (ndx == 0 || ndx == 1)
10927 if (ndx == 0 || ndx == 1)
10932 if (ndx == 0 || ndx == 1)
10937 if (ndx == 0 || ndx == 1)
10942 if (ndx == 0 || ndx == 1)
10947 if (ndx == 0 || ndx == 1)
10952 if (ndx == 0 || ndx == 1)
10957 if (ndx == 0 || ndx == 1)
10962 if (ndx == 0 || ndx == 1)
10965 /* getdirentries */
10967 if (ndx == 0 || ndx == 1)
10972 if (ndx == 0 || ndx == 1)
10977 if (ndx == 0 || ndx == 1)
10982 if (ndx == 0 || ndx == 1)
10987 if (ndx == 0 || ndx == 1)
10992 if (ndx == 0 || ndx == 1)
10997 if (ndx == 0 || ndx == 1)
11000 /* cpuset_getdomain */
11002 if (ndx == 0 || ndx == 1)
11005 /* cpuset_setdomain */
11007 if (ndx == 0 || ndx == 1)
11012 if (ndx == 0 || ndx == 1)
11017 if (ndx == 0 || ndx == 1)
11022 if (ndx == 0 || ndx == 1)
11027 if (ndx == 0 || ndx == 1)
11032 if (ndx == 0 || ndx == 1)
11037 if (ndx == 0 || ndx == 1)
11040 /* copy_file_range */
11042 if (ndx == 0 || ndx == 1)
11045 /* __sysctlbyname */
11047 if (ndx == 0 || ndx == 1)
11052 if (ndx == 0 || ndx == 1)
11057 if (ndx == 0 || ndx == 1)
11062 if (ndx == 0 || ndx == 1)
11067 if (ndx == 0 || ndx == 1)
11072 if (ndx == 0 || ndx == 1)
11075 /* rpctls_syscall */
11077 if (ndx == 0 || ndx == 1)
11082 if (ndx == 0 || ndx == 1)
11087 if (ndx == 0 || ndx == 1)
11092 if (ndx == 0 || ndx == 1)
11097 if (ndx == 0 || ndx == 1)
11104 if (ndx == 0 || ndx == 1)
11109 if (ndx == 0 || ndx == 1)
11116 strlcpy(desc, p, descsz);