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;
14 #if !defined(PAD64_REQUIRED) && !defined(__amd64__)
15 #define PAD64_REQUIRED
24 struct sys_exit_args *p = params;
25 iarg[0] = p->rval; /* int */
36 struct read_args *p = params;
37 iarg[0] = p->fd; /* int */
38 uarg[1] = (intptr_t) p->buf; /* void * */
39 uarg[2] = p->nbyte; /* size_t */
45 struct write_args *p = params;
46 iarg[0] = p->fd; /* int */
47 uarg[1] = (intptr_t) p->buf; /* const void * */
48 uarg[2] = p->nbyte; /* size_t */
54 struct open_args *p = params;
55 uarg[0] = (intptr_t) p->path; /* const char * */
56 iarg[1] = p->flags; /* int */
57 iarg[2] = p->mode; /* mode_t */
63 struct close_args *p = params;
64 iarg[0] = p->fd; /* int */
70 struct freebsd32_wait4_args *p = params;
71 iarg[0] = p->pid; /* int */
72 uarg[1] = (intptr_t) p->status; /* int * */
73 iarg[2] = p->options; /* int */
74 uarg[3] = (intptr_t) p->rusage; /* struct rusage32 * */
80 struct link_args *p = params;
81 uarg[0] = (intptr_t) p->path; /* const char * */
82 uarg[1] = (intptr_t) p->link; /* const char * */
88 struct unlink_args *p = params;
89 uarg[0] = (intptr_t) p->path; /* const char * */
95 struct chdir_args *p = params;
96 uarg[0] = (intptr_t) p->path; /* const char * */
102 struct fchdir_args *p = params;
103 iarg[0] = p->fd; /* int */
109 struct chmod_args *p = params;
110 uarg[0] = (intptr_t) p->path; /* const char * */
111 iarg[1] = p->mode; /* mode_t */
117 struct chown_args *p = params;
118 uarg[0] = (intptr_t) p->path; /* const char * */
119 iarg[1] = p->uid; /* int */
120 iarg[2] = p->gid; /* int */
126 struct break_args *p = params;
127 uarg[0] = (intptr_t) p->nsize; /* char * */
138 struct mount_args *p = params;
139 uarg[0] = (intptr_t) p->type; /* const char * */
140 uarg[1] = (intptr_t) p->path; /* const char * */
141 iarg[2] = p->flags; /* int */
142 uarg[3] = (intptr_t) p->data; /* void * */
148 struct unmount_args *p = params;
149 uarg[0] = (intptr_t) p->path; /* const char * */
150 iarg[1] = p->flags; /* int */
156 struct setuid_args *p = params;
157 uarg[0] = p->uid; /* uid_t */
173 struct ptrace_args *p = params;
174 iarg[0] = p->req; /* int */
175 iarg[1] = p->pid; /* pid_t */
176 uarg[2] = (intptr_t) p->addr; /* caddr_t */
177 iarg[3] = p->data; /* int */
181 /* freebsd32_recvmsg */
183 struct freebsd32_recvmsg_args *p = params;
184 iarg[0] = p->s; /* int */
185 uarg[1] = (intptr_t) p->msg; /* struct msghdr32 * */
186 iarg[2] = p->flags; /* int */
190 /* freebsd32_sendmsg */
192 struct freebsd32_sendmsg_args *p = params;
193 iarg[0] = p->s; /* int */
194 uarg[1] = (intptr_t) p->msg; /* struct msghdr32 * */
195 iarg[2] = p->flags; /* int */
199 /* freebsd32_recvfrom */
201 struct freebsd32_recvfrom_args *p = params;
202 iarg[0] = p->s; /* int */
203 uarg[1] = (intptr_t) p->buf; /* void * */
204 uarg[2] = p->len; /* uint32_t */
205 iarg[3] = p->flags; /* int */
206 uarg[4] = (intptr_t) p->from; /* struct sockaddr * */
207 uarg[5] = p->fromlenaddr; /* uint32_t */
213 struct accept_args *p = params;
214 iarg[0] = p->s; /* int */
215 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
216 uarg[2] = (intptr_t) p->anamelen; /* int * */
222 struct getpeername_args *p = params;
223 iarg[0] = p->fdes; /* int */
224 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */
225 uarg[2] = (intptr_t) p->alen; /* int * */
231 struct getsockname_args *p = params;
232 iarg[0] = p->fdes; /* int */
233 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */
234 uarg[2] = (intptr_t) p->alen; /* int * */
240 struct access_args *p = params;
241 uarg[0] = (intptr_t) p->path; /* const char * */
242 iarg[1] = p->amode; /* int */
248 struct chflags_args *p = params;
249 uarg[0] = (intptr_t) p->path; /* const char * */
250 uarg[1] = p->flags; /* u_long */
256 struct fchflags_args *p = params;
257 iarg[0] = p->fd; /* int */
258 uarg[1] = p->flags; /* u_long */
269 struct kill_args *p = params;
270 iarg[0] = p->pid; /* int */
271 iarg[1] = p->signum; /* int */
282 struct dup_args *p = params;
283 uarg[0] = p->fd; /* u_int */
294 struct profil_args *p = params;
295 uarg[0] = (intptr_t) p->samples; /* char * */
296 uarg[1] = p->size; /* size_t */
297 uarg[2] = p->offset; /* size_t */
298 uarg[3] = p->scale; /* u_int */
304 struct ktrace_args *p = params;
305 uarg[0] = (intptr_t) p->fname; /* const char * */
306 iarg[1] = p->ops; /* int */
307 iarg[2] = p->facs; /* int */
308 iarg[3] = p->pid; /* int */
319 struct getlogin_args *p = params;
320 uarg[0] = (intptr_t) p->namebuf; /* char * */
321 uarg[1] = p->namelen; /* u_int */
327 struct setlogin_args *p = params;
328 uarg[0] = (intptr_t) p->namebuf; /* const char * */
334 struct acct_args *p = params;
335 uarg[0] = (intptr_t) p->path; /* const char * */
339 /* freebsd32_sigaltstack */
341 struct freebsd32_sigaltstack_args *p = params;
342 uarg[0] = (intptr_t) p->ss; /* struct sigaltstack32 * */
343 uarg[1] = (intptr_t) p->oss; /* struct sigaltstack32 * */
347 /* freebsd32_ioctl */
349 struct freebsd32_ioctl_args *p = params;
350 iarg[0] = p->fd; /* int */
351 uarg[1] = p->com; /* uint32_t */
352 uarg[2] = (intptr_t) p->data; /* struct md_ioctl32 * */
358 struct reboot_args *p = params;
359 iarg[0] = p->opt; /* int */
365 struct revoke_args *p = params;
366 uarg[0] = (intptr_t) p->path; /* const char * */
372 struct symlink_args *p = params;
373 uarg[0] = (intptr_t) p->path; /* const char * */
374 uarg[1] = (intptr_t) p->link; /* const char * */
380 struct readlink_args *p = params;
381 uarg[0] = (intptr_t) p->path; /* const char * */
382 uarg[1] = (intptr_t) p->buf; /* char * */
383 uarg[2] = p->count; /* size_t */
387 /* freebsd32_execve */
389 struct freebsd32_execve_args *p = params;
390 uarg[0] = (intptr_t) p->fname; /* const char * */
391 uarg[1] = (intptr_t) p->argv; /* uint32_t * */
392 uarg[2] = (intptr_t) p->envv; /* uint32_t * */
398 struct umask_args *p = params;
399 iarg[0] = p->newmask; /* mode_t */
405 struct chroot_args *p = params;
406 uarg[0] = (intptr_t) p->path; /* const char * */
412 struct msync_args *p = params;
413 uarg[0] = (intptr_t) p->addr; /* void * */
414 uarg[1] = p->len; /* size_t */
415 iarg[2] = p->flags; /* int */
426 struct sbrk_args *p = params;
427 iarg[0] = p->incr; /* int */
433 struct sstk_args *p = params;
434 iarg[0] = p->incr; /* int */
440 struct munmap_args *p = params;
441 uarg[0] = (intptr_t) p->addr; /* void * */
442 uarg[1] = p->len; /* size_t */
446 /* freebsd32_mprotect */
448 struct freebsd32_mprotect_args *p = params;
449 uarg[0] = (intptr_t) p->addr; /* void * */
450 uarg[1] = p->len; /* size_t */
451 iarg[2] = p->prot; /* int */
457 struct madvise_args *p = params;
458 uarg[0] = (intptr_t) p->addr; /* void * */
459 uarg[1] = p->len; /* size_t */
460 iarg[2] = p->behav; /* int */
466 struct mincore_args *p = params;
467 uarg[0] = (intptr_t) p->addr; /* const void * */
468 uarg[1] = p->len; /* size_t */
469 uarg[2] = (intptr_t) p->vec; /* char * */
475 struct getgroups_args *p = params;
476 uarg[0] = p->gidsetsize; /* u_int */
477 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
483 struct setgroups_args *p = params;
484 uarg[0] = p->gidsetsize; /* u_int */
485 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
496 struct setpgid_args *p = params;
497 iarg[0] = p->pid; /* int */
498 iarg[1] = p->pgid; /* int */
502 /* freebsd32_setitimer */
504 struct freebsd32_setitimer_args *p = params;
505 uarg[0] = p->which; /* u_int */
506 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
507 uarg[2] = (intptr_t) p->oitv; /* struct itimerval32 * */
513 struct swapon_args *p = params;
514 uarg[0] = (intptr_t) p->name; /* const char * */
518 /* freebsd32_getitimer */
520 struct freebsd32_getitimer_args *p = params;
521 uarg[0] = p->which; /* u_int */
522 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
533 struct dup2_args *p = params;
534 uarg[0] = p->from; /* u_int */
535 uarg[1] = p->to; /* u_int */
539 /* freebsd32_fcntl */
541 struct freebsd32_fcntl_args *p = params;
542 iarg[0] = p->fd; /* int */
543 iarg[1] = p->cmd; /* int */
544 iarg[2] = p->arg; /* int */
548 /* freebsd32_select */
550 struct freebsd32_select_args *p = params;
551 iarg[0] = p->nd; /* int */
552 uarg[1] = (intptr_t) p->in; /* fd_set * */
553 uarg[2] = (intptr_t) p->ou; /* fd_set * */
554 uarg[3] = (intptr_t) p->ex; /* fd_set * */
555 uarg[4] = (intptr_t) p->tv; /* struct timeval32 * */
561 struct fsync_args *p = params;
562 iarg[0] = p->fd; /* int */
568 struct setpriority_args *p = params;
569 iarg[0] = p->which; /* int */
570 iarg[1] = p->who; /* int */
571 iarg[2] = p->prio; /* int */
577 struct socket_args *p = params;
578 iarg[0] = p->domain; /* int */
579 iarg[1] = p->type; /* int */
580 iarg[2] = p->protocol; /* int */
586 struct connect_args *p = params;
587 iarg[0] = p->s; /* int */
588 uarg[1] = (intptr_t) p->name; /* const struct sockaddr * */
589 iarg[2] = p->namelen; /* int */
595 struct getpriority_args *p = params;
596 iarg[0] = p->which; /* int */
597 iarg[1] = p->who; /* int */
603 struct bind_args *p = params;
604 iarg[0] = p->s; /* int */
605 uarg[1] = (intptr_t) p->name; /* const struct sockaddr * */
606 iarg[2] = p->namelen; /* int */
612 struct setsockopt_args *p = params;
613 iarg[0] = p->s; /* int */
614 iarg[1] = p->level; /* int */
615 iarg[2] = p->name; /* int */
616 uarg[3] = (intptr_t) p->val; /* const void * */
617 iarg[4] = p->valsize; /* int */
623 struct listen_args *p = params;
624 iarg[0] = p->s; /* int */
625 iarg[1] = p->backlog; /* int */
629 /* freebsd32_gettimeofday */
631 struct freebsd32_gettimeofday_args *p = params;
632 uarg[0] = (intptr_t) p->tp; /* struct timeval32 * */
633 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
637 /* freebsd32_getrusage */
639 struct freebsd32_getrusage_args *p = params;
640 iarg[0] = p->who; /* int */
641 uarg[1] = (intptr_t) p->rusage; /* struct rusage32 * */
647 struct getsockopt_args *p = params;
648 iarg[0] = p->s; /* int */
649 iarg[1] = p->level; /* int */
650 iarg[2] = p->name; /* int */
651 uarg[3] = (intptr_t) p->val; /* void * */
652 uarg[4] = (intptr_t) p->avalsize; /* int * */
656 /* freebsd32_readv */
658 struct freebsd32_readv_args *p = params;
659 iarg[0] = p->fd; /* int */
660 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
661 uarg[2] = p->iovcnt; /* u_int */
665 /* freebsd32_writev */
667 struct freebsd32_writev_args *p = params;
668 iarg[0] = p->fd; /* int */
669 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
670 uarg[2] = p->iovcnt; /* u_int */
674 /* freebsd32_settimeofday */
676 struct freebsd32_settimeofday_args *p = params;
677 uarg[0] = (intptr_t) p->tv; /* struct timeval32 * */
678 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
684 struct fchown_args *p = params;
685 iarg[0] = p->fd; /* int */
686 iarg[1] = p->uid; /* int */
687 iarg[2] = p->gid; /* int */
693 struct fchmod_args *p = params;
694 iarg[0] = p->fd; /* int */
695 iarg[1] = p->mode; /* mode_t */
701 struct setreuid_args *p = params;
702 iarg[0] = p->ruid; /* int */
703 iarg[1] = p->euid; /* int */
709 struct setregid_args *p = params;
710 iarg[0] = p->rgid; /* int */
711 iarg[1] = p->egid; /* int */
717 struct rename_args *p = params;
718 uarg[0] = (intptr_t) p->from; /* const char * */
719 uarg[1] = (intptr_t) p->to; /* const char * */
725 struct flock_args *p = params;
726 iarg[0] = p->fd; /* int */
727 iarg[1] = p->how; /* int */
733 struct mkfifo_args *p = params;
734 uarg[0] = (intptr_t) p->path; /* const char * */
735 iarg[1] = p->mode; /* mode_t */
741 struct sendto_args *p = params;
742 iarg[0] = p->s; /* int */
743 uarg[1] = (intptr_t) p->buf; /* const void * */
744 uarg[2] = p->len; /* size_t */
745 iarg[3] = p->flags; /* int */
746 uarg[4] = (intptr_t) p->to; /* const struct sockaddr * */
747 iarg[5] = p->tolen; /* int */
753 struct shutdown_args *p = params;
754 iarg[0] = p->s; /* int */
755 iarg[1] = p->how; /* int */
761 struct socketpair_args *p = params;
762 iarg[0] = p->domain; /* int */
763 iarg[1] = p->type; /* int */
764 iarg[2] = p->protocol; /* int */
765 uarg[3] = (intptr_t) p->rsv; /* int * */
771 struct mkdir_args *p = params;
772 uarg[0] = (intptr_t) p->path; /* const char * */
773 iarg[1] = p->mode; /* mode_t */
779 struct rmdir_args *p = params;
780 uarg[0] = (intptr_t) p->path; /* const char * */
784 /* freebsd32_utimes */
786 struct freebsd32_utimes_args *p = params;
787 uarg[0] = (intptr_t) p->path; /* const char * */
788 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
792 /* freebsd32_adjtime */
794 struct freebsd32_adjtime_args *p = params;
795 uarg[0] = (intptr_t) p->delta; /* struct timeval32 * */
796 uarg[1] = (intptr_t) p->olddelta; /* struct timeval32 * */
807 struct quotactl_args *p = params;
808 uarg[0] = (intptr_t) p->path; /* const char * */
809 iarg[1] = p->cmd; /* int */
810 iarg[2] = p->uid; /* int */
811 uarg[3] = (intptr_t) p->arg; /* void * */
817 struct getfh_args *p = params;
818 uarg[0] = (intptr_t) p->fname; /* const char * */
819 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
823 /* freebsd32_sysarch */
825 struct freebsd32_sysarch_args *p = params;
826 iarg[0] = p->op; /* int */
827 uarg[1] = (intptr_t) p->parms; /* char * */
833 struct rtprio_args *p = params;
834 iarg[0] = p->function; /* int */
835 iarg[1] = p->pid; /* pid_t */
836 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
840 /* freebsd32_semsys */
842 struct freebsd32_semsys_args *p = params;
843 iarg[0] = p->which; /* int */
844 iarg[1] = p->a2; /* int */
845 iarg[2] = p->a3; /* int */
846 iarg[3] = p->a4; /* int */
847 iarg[4] = p->a5; /* int */
851 /* freebsd32_msgsys */
853 struct freebsd32_msgsys_args *p = params;
854 iarg[0] = p->which; /* int */
855 iarg[1] = p->a2; /* int */
856 iarg[2] = p->a3; /* int */
857 iarg[3] = p->a4; /* int */
858 iarg[4] = p->a5; /* int */
859 iarg[5] = p->a6; /* int */
863 /* freebsd32_shmsys */
865 struct freebsd32_shmsys_args *p = params;
866 uarg[0] = p->which; /* uint32_t */
867 uarg[1] = p->a2; /* uint32_t */
868 uarg[2] = p->a3; /* uint32_t */
869 uarg[3] = p->a4; /* uint32_t */
875 struct ntp_adjtime_args *p = params;
876 uarg[0] = (intptr_t) p->tp; /* struct timex * */
882 struct setgid_args *p = params;
883 iarg[0] = p->gid; /* gid_t */
889 struct setegid_args *p = params;
890 iarg[0] = p->egid; /* gid_t */
896 struct seteuid_args *p = params;
897 uarg[0] = p->euid; /* uid_t */
903 struct pathconf_args *p = params;
904 uarg[0] = (intptr_t) p->path; /* const char * */
905 iarg[1] = p->name; /* int */
911 struct fpathconf_args *p = params;
912 iarg[0] = p->fd; /* int */
913 iarg[1] = p->name; /* int */
919 struct __getrlimit_args *p = params;
920 uarg[0] = p->which; /* u_int */
921 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
927 struct __setrlimit_args *p = params;
928 uarg[0] = p->which; /* u_int */
929 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
938 /* freebsd32___sysctl */
940 struct freebsd32___sysctl_args *p = params;
941 uarg[0] = (intptr_t) p->name; /* int * */
942 uarg[1] = p->namelen; /* u_int */
943 uarg[2] = (intptr_t) p->old; /* void * */
944 uarg[3] = (intptr_t) p->oldlenp; /* uint32_t * */
945 uarg[4] = (intptr_t) p->new; /* const void * */
946 uarg[5] = p->newlen; /* uint32_t */
952 struct mlock_args *p = params;
953 uarg[0] = (intptr_t) p->addr; /* const void * */
954 uarg[1] = p->len; /* size_t */
960 struct munlock_args *p = params;
961 uarg[0] = (intptr_t) p->addr; /* const void * */
962 uarg[1] = p->len; /* size_t */
968 struct undelete_args *p = params;
969 uarg[0] = (intptr_t) p->path; /* const char * */
973 /* freebsd32_futimes */
975 struct freebsd32_futimes_args *p = params;
976 iarg[0] = p->fd; /* int */
977 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
983 struct getpgid_args *p = params;
984 iarg[0] = p->pid; /* pid_t */
990 struct poll_args *p = params;
991 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
992 uarg[1] = p->nfds; /* u_int */
993 iarg[2] = p->timeout; /* int */
1049 struct semget_args *p = params;
1050 iarg[0] = p->key; /* key_t */
1051 iarg[1] = p->nsems; /* int */
1052 iarg[2] = p->semflg; /* int */
1058 struct semop_args *p = params;
1059 iarg[0] = p->semid; /* int */
1060 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1061 uarg[2] = p->nsops; /* u_int */
1067 struct msgget_args *p = params;
1068 iarg[0] = p->key; /* key_t */
1069 iarg[1] = p->msgflg; /* int */
1073 /* freebsd32_msgsnd */
1075 struct freebsd32_msgsnd_args *p = params;
1076 iarg[0] = p->msqid; /* int */
1077 uarg[1] = (intptr_t) p->msgp; /* void * */
1078 uarg[2] = p->msgsz; /* size_t */
1079 iarg[3] = p->msgflg; /* int */
1083 /* freebsd32_msgrcv */
1085 struct freebsd32_msgrcv_args *p = params;
1086 iarg[0] = p->msqid; /* int */
1087 uarg[1] = (intptr_t) p->msgp; /* void * */
1088 uarg[2] = p->msgsz; /* size_t */
1089 iarg[3] = p->msgtyp; /* long */
1090 iarg[4] = p->msgflg; /* int */
1096 struct shmat_args *p = params;
1097 iarg[0] = p->shmid; /* int */
1098 uarg[1] = (intptr_t) p->shmaddr; /* void * */
1099 iarg[2] = p->shmflg; /* int */
1105 struct shmdt_args *p = params;
1106 uarg[0] = (intptr_t) p->shmaddr; /* void * */
1112 struct shmget_args *p = params;
1113 iarg[0] = p->key; /* key_t */
1114 iarg[1] = p->size; /* int */
1115 iarg[2] = p->shmflg; /* int */
1119 /* freebsd32_clock_gettime */
1121 struct freebsd32_clock_gettime_args *p = params;
1122 iarg[0] = p->clock_id; /* clockid_t */
1123 uarg[1] = (intptr_t) p->tp; /* struct timespec32 * */
1127 /* freebsd32_clock_settime */
1129 struct freebsd32_clock_settime_args *p = params;
1130 iarg[0] = p->clock_id; /* clockid_t */
1131 uarg[1] = (intptr_t) p->tp; /* const struct timespec32 * */
1135 /* freebsd32_clock_getres */
1137 struct freebsd32_clock_getres_args *p = params;
1138 iarg[0] = p->clock_id; /* clockid_t */
1139 uarg[1] = (intptr_t) p->tp; /* struct timespec32 * */
1143 /* freebsd32_ktimer_create */
1145 struct freebsd32_ktimer_create_args *p = params;
1146 iarg[0] = p->clock_id; /* clockid_t */
1147 uarg[1] = (intptr_t) p->evp; /* struct sigevent32 * */
1148 uarg[2] = (intptr_t) p->timerid; /* int * */
1154 struct ktimer_delete_args *p = params;
1155 iarg[0] = p->timerid; /* int */
1159 /* freebsd32_ktimer_settime */
1161 struct freebsd32_ktimer_settime_args *p = params;
1162 iarg[0] = p->timerid; /* int */
1163 iarg[1] = p->flags; /* int */
1164 uarg[2] = (intptr_t) p->value; /* const struct itimerspec32 * */
1165 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec32 * */
1169 /* freebsd32_ktimer_gettime */
1171 struct freebsd32_ktimer_gettime_args *p = params;
1172 iarg[0] = p->timerid; /* int */
1173 uarg[1] = (intptr_t) p->value; /* struct itimerspec32 * */
1177 /* ktimer_getoverrun */
1179 struct ktimer_getoverrun_args *p = params;
1180 iarg[0] = p->timerid; /* int */
1184 /* freebsd32_nanosleep */
1186 struct freebsd32_nanosleep_args *p = params;
1187 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec32 * */
1188 uarg[1] = (intptr_t) p->rmtp; /* struct timespec32 * */
1192 /* ffclock_getcounter */
1194 struct ffclock_getcounter_args *p = params;
1195 uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */
1199 /* ffclock_setestimate */
1201 struct ffclock_setestimate_args *p = params;
1202 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1206 /* ffclock_getestimate */
1208 struct ffclock_getestimate_args *p = params;
1209 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1213 /* freebsd32_clock_nanosleep */
1215 struct freebsd32_clock_nanosleep_args *p = params;
1216 iarg[0] = p->clock_id; /* clockid_t */
1217 iarg[1] = p->flags; /* int */
1218 uarg[2] = (intptr_t) p->rqtp; /* const struct timespec32 * */
1219 uarg[3] = (intptr_t) p->rmtp; /* struct timespec32 * */
1223 /* freebsd32_clock_getcpuclockid2 */
1225 struct freebsd32_clock_getcpuclockid2_args *p = params;
1226 uarg[0] = p->id1; /* uint32_t */
1227 uarg[1] = p->id2; /* uint32_t */
1228 iarg[2] = p->which; /* int */
1229 uarg[3] = (intptr_t) p->clock_id; /* clockid_t * */
1235 struct minherit_args *p = params;
1236 uarg[0] = (intptr_t) p->addr; /* void * */
1237 uarg[1] = p->len; /* size_t */
1238 iarg[2] = p->inherit; /* int */
1244 struct rfork_args *p = params;
1245 iarg[0] = p->flags; /* int */
1256 struct lchown_args *p = params;
1257 uarg[0] = (intptr_t) p->path; /* const char * */
1258 iarg[1] = p->uid; /* int */
1259 iarg[2] = p->gid; /* int */
1263 /* freebsd32_aio_read */
1265 struct freebsd32_aio_read_args *p = params;
1266 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1270 /* freebsd32_aio_write */
1272 struct freebsd32_aio_write_args *p = params;
1273 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1277 /* freebsd32_lio_listio */
1279 struct freebsd32_lio_listio_args *p = params;
1280 iarg[0] = p->mode; /* int */
1281 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb32 *const * */
1282 iarg[2] = p->nent; /* int */
1283 uarg[3] = (intptr_t) p->sig; /* struct sigevent32 * */
1289 struct lchmod_args *p = params;
1290 uarg[0] = (intptr_t) p->path; /* const char * */
1291 iarg[1] = p->mode; /* mode_t */
1295 /* freebsd32_lutimes */
1297 struct freebsd32_lutimes_args *p = params;
1298 uarg[0] = (intptr_t) p->path; /* const char * */
1299 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
1303 /* freebsd32_preadv */
1305 struct freebsd32_preadv_args *p = params;
1306 iarg[0] = p->fd; /* int */
1307 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
1308 uarg[2] = p->iovcnt; /* u_int */
1309 uarg[3] = p->offset1; /* uint32_t */
1310 uarg[4] = p->offset2; /* uint32_t */
1314 /* freebsd32_pwritev */
1316 struct freebsd32_pwritev_args *p = params;
1317 iarg[0] = p->fd; /* int */
1318 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
1319 uarg[2] = p->iovcnt; /* u_int */
1320 uarg[3] = p->offset1; /* uint32_t */
1321 uarg[4] = p->offset2; /* uint32_t */
1327 struct fhopen_args *p = params;
1328 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1329 iarg[1] = p->flags; /* int */
1335 struct modnext_args *p = params;
1336 iarg[0] = p->modid; /* int */
1340 /* freebsd32_modstat */
1342 struct freebsd32_modstat_args *p = params;
1343 iarg[0] = p->modid; /* int */
1344 uarg[1] = (intptr_t) p->stat; /* struct module_stat32 * */
1350 struct modfnext_args *p = params;
1351 iarg[0] = p->modid; /* int */
1357 struct modfind_args *p = params;
1358 uarg[0] = (intptr_t) p->name; /* const char * */
1364 struct kldload_args *p = params;
1365 uarg[0] = (intptr_t) p->file; /* const char * */
1371 struct kldunload_args *p = params;
1372 iarg[0] = p->fileid; /* int */
1378 struct kldfind_args *p = params;
1379 uarg[0] = (intptr_t) p->file; /* const char * */
1385 struct kldnext_args *p = params;
1386 iarg[0] = p->fileid; /* int */
1390 /* freebsd32_kldstat */
1392 struct freebsd32_kldstat_args *p = params;
1393 iarg[0] = p->fileid; /* int */
1394 uarg[1] = (intptr_t) p->stat; /* struct kld32_file_stat * */
1400 struct kldfirstmod_args *p = params;
1401 iarg[0] = p->fileid; /* int */
1407 struct getsid_args *p = params;
1408 iarg[0] = p->pid; /* pid_t */
1414 struct setresuid_args *p = params;
1415 uarg[0] = p->ruid; /* uid_t */
1416 uarg[1] = p->euid; /* uid_t */
1417 uarg[2] = p->suid; /* uid_t */
1423 struct setresgid_args *p = params;
1424 iarg[0] = p->rgid; /* gid_t */
1425 iarg[1] = p->egid; /* gid_t */
1426 iarg[2] = p->sgid; /* gid_t */
1430 /* freebsd32_aio_return */
1432 struct freebsd32_aio_return_args *p = params;
1433 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1437 /* freebsd32_aio_suspend */
1439 struct freebsd32_aio_suspend_args *p = params;
1440 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 *const * */
1441 iarg[1] = p->nent; /* int */
1442 uarg[2] = (intptr_t) p->timeout; /* const struct timespec32 * */
1448 struct aio_cancel_args *p = params;
1449 iarg[0] = p->fd; /* int */
1450 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1454 /* freebsd32_aio_error */
1456 struct freebsd32_aio_error_args *p = params;
1457 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1468 struct mlockall_args *p = params;
1469 iarg[0] = p->how; /* int */
1480 struct __getcwd_args *p = params;
1481 uarg[0] = (intptr_t) p->buf; /* char * */
1482 uarg[1] = p->buflen; /* size_t */
1486 /* sched_setparam */
1488 struct sched_setparam_args *p = params;
1489 iarg[0] = p->pid; /* pid_t */
1490 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1494 /* sched_getparam */
1496 struct sched_getparam_args *p = params;
1497 iarg[0] = p->pid; /* pid_t */
1498 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1502 /* sched_setscheduler */
1504 struct sched_setscheduler_args *p = params;
1505 iarg[0] = p->pid; /* pid_t */
1506 iarg[1] = p->policy; /* int */
1507 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1511 /* sched_getscheduler */
1513 struct sched_getscheduler_args *p = params;
1514 iarg[0] = p->pid; /* pid_t */
1523 /* sched_get_priority_max */
1525 struct sched_get_priority_max_args *p = params;
1526 iarg[0] = p->policy; /* int */
1530 /* sched_get_priority_min */
1532 struct sched_get_priority_min_args *p = params;
1533 iarg[0] = p->policy; /* int */
1537 /* freebsd32_sched_rr_get_interval */
1539 struct freebsd32_sched_rr_get_interval_args *p = params;
1540 iarg[0] = p->pid; /* pid_t */
1541 uarg[1] = (intptr_t) p->interval; /* struct timespec32 * */
1547 struct utrace_args *p = params;
1548 uarg[0] = (intptr_t) p->addr; /* const void * */
1549 uarg[1] = p->len; /* size_t */
1555 struct kldsym_args *p = params;
1556 iarg[0] = p->fileid; /* int */
1557 iarg[1] = p->cmd; /* int */
1558 uarg[2] = (intptr_t) p->data; /* void * */
1562 /* freebsd32_jail */
1564 struct freebsd32_jail_args *p = params;
1565 uarg[0] = (intptr_t) p->jail; /* struct jail32 * */
1571 struct sigprocmask_args *p = params;
1572 iarg[0] = p->how; /* int */
1573 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1574 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1580 struct sigsuspend_args *p = params;
1581 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1587 struct sigpending_args *p = params;
1588 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1592 /* freebsd32_sigtimedwait */
1594 struct freebsd32_sigtimedwait_args *p = params;
1595 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1596 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1597 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1601 /* freebsd32_sigwaitinfo */
1603 struct freebsd32_sigwaitinfo_args *p = params;
1604 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1605 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1609 /* __acl_get_file */
1611 struct __acl_get_file_args *p = params;
1612 uarg[0] = (intptr_t) p->path; /* const char * */
1613 iarg[1] = p->type; /* acl_type_t */
1614 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1618 /* __acl_set_file */
1620 struct __acl_set_file_args *p = params;
1621 uarg[0] = (intptr_t) p->path; /* const char * */
1622 iarg[1] = p->type; /* acl_type_t */
1623 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1629 struct __acl_get_fd_args *p = params;
1630 iarg[0] = p->filedes; /* int */
1631 iarg[1] = p->type; /* acl_type_t */
1632 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1638 struct __acl_set_fd_args *p = params;
1639 iarg[0] = p->filedes; /* int */
1640 iarg[1] = p->type; /* acl_type_t */
1641 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1645 /* __acl_delete_file */
1647 struct __acl_delete_file_args *p = params;
1648 uarg[0] = (intptr_t) p->path; /* const char * */
1649 iarg[1] = p->type; /* acl_type_t */
1653 /* __acl_delete_fd */
1655 struct __acl_delete_fd_args *p = params;
1656 iarg[0] = p->filedes; /* int */
1657 iarg[1] = p->type; /* acl_type_t */
1661 /* __acl_aclcheck_file */
1663 struct __acl_aclcheck_file_args *p = params;
1664 uarg[0] = (intptr_t) p->path; /* const char * */
1665 iarg[1] = p->type; /* acl_type_t */
1666 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1670 /* __acl_aclcheck_fd */
1672 struct __acl_aclcheck_fd_args *p = params;
1673 iarg[0] = p->filedes; /* int */
1674 iarg[1] = p->type; /* acl_type_t */
1675 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1681 struct extattrctl_args *p = params;
1682 uarg[0] = (intptr_t) p->path; /* const char * */
1683 iarg[1] = p->cmd; /* int */
1684 uarg[2] = (intptr_t) p->filename; /* const char * */
1685 iarg[3] = p->attrnamespace; /* int */
1686 uarg[4] = (intptr_t) p->attrname; /* const char * */
1690 /* extattr_set_file */
1692 struct extattr_set_file_args *p = params;
1693 uarg[0] = (intptr_t) p->path; /* const char * */
1694 iarg[1] = p->attrnamespace; /* int */
1695 uarg[2] = (intptr_t) p->attrname; /* const char * */
1696 uarg[3] = (intptr_t) p->data; /* void * */
1697 uarg[4] = p->nbytes; /* size_t */
1701 /* extattr_get_file */
1703 struct extattr_get_file_args *p = params;
1704 uarg[0] = (intptr_t) p->path; /* const char * */
1705 iarg[1] = p->attrnamespace; /* int */
1706 uarg[2] = (intptr_t) p->attrname; /* const char * */
1707 uarg[3] = (intptr_t) p->data; /* void * */
1708 uarg[4] = p->nbytes; /* size_t */
1712 /* extattr_delete_file */
1714 struct extattr_delete_file_args *p = params;
1715 uarg[0] = (intptr_t) p->path; /* const char * */
1716 iarg[1] = p->attrnamespace; /* int */
1717 uarg[2] = (intptr_t) p->attrname; /* const char * */
1721 /* freebsd32_aio_waitcomplete */
1723 struct freebsd32_aio_waitcomplete_args *p = params;
1724 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 ** */
1725 uarg[1] = (intptr_t) p->timeout; /* struct timespec32 * */
1731 struct getresuid_args *p = params;
1732 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1733 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1734 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1740 struct getresgid_args *p = params;
1741 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1742 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1743 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1752 /* extattr_set_fd */
1754 struct extattr_set_fd_args *p = params;
1755 iarg[0] = p->fd; /* int */
1756 iarg[1] = p->attrnamespace; /* int */
1757 uarg[2] = (intptr_t) p->attrname; /* const char * */
1758 uarg[3] = (intptr_t) p->data; /* void * */
1759 uarg[4] = p->nbytes; /* size_t */
1763 /* extattr_get_fd */
1765 struct extattr_get_fd_args *p = params;
1766 iarg[0] = p->fd; /* int */
1767 iarg[1] = p->attrnamespace; /* int */
1768 uarg[2] = (intptr_t) p->attrname; /* const char * */
1769 uarg[3] = (intptr_t) p->data; /* void * */
1770 uarg[4] = p->nbytes; /* size_t */
1774 /* extattr_delete_fd */
1776 struct extattr_delete_fd_args *p = params;
1777 iarg[0] = p->fd; /* int */
1778 iarg[1] = p->attrnamespace; /* int */
1779 uarg[2] = (intptr_t) p->attrname; /* const char * */
1785 struct __setugid_args *p = params;
1786 iarg[0] = p->flag; /* int */
1792 struct eaccess_args *p = params;
1793 uarg[0] = (intptr_t) p->path; /* const char * */
1794 iarg[1] = p->amode; /* int */
1798 /* freebsd32_nmount */
1800 struct freebsd32_nmount_args *p = params;
1801 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
1802 uarg[1] = p->iovcnt; /* unsigned int */
1803 iarg[2] = p->flags; /* int */
1809 struct kenv_args *p = params;
1810 iarg[0] = p->what; /* int */
1811 uarg[1] = (intptr_t) p->name; /* const char * */
1812 uarg[2] = (intptr_t) p->value; /* char * */
1813 iarg[3] = p->len; /* int */
1819 struct lchflags_args *p = params;
1820 uarg[0] = (intptr_t) p->path; /* const char * */
1821 uarg[1] = p->flags; /* u_long */
1827 struct uuidgen_args *p = params;
1828 uarg[0] = (intptr_t) p->store; /* struct uuid * */
1829 iarg[1] = p->count; /* int */
1833 /* freebsd32_sendfile */
1835 struct freebsd32_sendfile_args *p = params;
1836 iarg[0] = p->fd; /* int */
1837 iarg[1] = p->s; /* int */
1838 uarg[2] = p->offset1; /* uint32_t */
1839 uarg[3] = p->offset2; /* uint32_t */
1840 uarg[4] = p->nbytes; /* size_t */
1841 uarg[5] = (intptr_t) p->hdtr; /* struct sf_hdtr32 * */
1842 uarg[6] = (intptr_t) p->sbytes; /* off_t * */
1843 iarg[7] = p->flags; /* int */
1849 struct ksem_close_args *p = params;
1850 iarg[0] = p->id; /* semid_t */
1856 struct ksem_post_args *p = params;
1857 iarg[0] = p->id; /* semid_t */
1863 struct ksem_wait_args *p = params;
1864 iarg[0] = p->id; /* semid_t */
1870 struct ksem_trywait_args *p = params;
1871 iarg[0] = p->id; /* semid_t */
1875 /* freebsd32_ksem_init */
1877 struct freebsd32_ksem_init_args *p = params;
1878 uarg[0] = (intptr_t) p->idp; /* semid_t * */
1879 uarg[1] = p->value; /* unsigned int */
1883 /* freebsd32_ksem_open */
1885 struct freebsd32_ksem_open_args *p = params;
1886 uarg[0] = (intptr_t) p->idp; /* semid_t * */
1887 uarg[1] = (intptr_t) p->name; /* const char * */
1888 iarg[2] = p->oflag; /* int */
1889 iarg[3] = p->mode; /* mode_t */
1890 uarg[4] = p->value; /* unsigned int */
1896 struct ksem_unlink_args *p = params;
1897 uarg[0] = (intptr_t) p->name; /* const char * */
1903 struct ksem_getvalue_args *p = params;
1904 iarg[0] = p->id; /* semid_t */
1905 uarg[1] = (intptr_t) p->val; /* int * */
1911 struct ksem_destroy_args *p = params;
1912 iarg[0] = p->id; /* semid_t */
1916 /* extattr_set_link */
1918 struct extattr_set_link_args *p = params;
1919 uarg[0] = (intptr_t) p->path; /* const char * */
1920 iarg[1] = p->attrnamespace; /* int */
1921 uarg[2] = (intptr_t) p->attrname; /* const char * */
1922 uarg[3] = (intptr_t) p->data; /* void * */
1923 uarg[4] = p->nbytes; /* size_t */
1927 /* extattr_get_link */
1929 struct extattr_get_link_args *p = params;
1930 uarg[0] = (intptr_t) p->path; /* const char * */
1931 iarg[1] = p->attrnamespace; /* int */
1932 uarg[2] = (intptr_t) p->attrname; /* const char * */
1933 uarg[3] = (intptr_t) p->data; /* void * */
1934 uarg[4] = p->nbytes; /* size_t */
1938 /* extattr_delete_link */
1940 struct extattr_delete_link_args *p = params;
1941 uarg[0] = (intptr_t) p->path; /* const char * */
1942 iarg[1] = p->attrnamespace; /* int */
1943 uarg[2] = (intptr_t) p->attrname; /* const char * */
1947 /* freebsd32_sigaction */
1949 struct freebsd32_sigaction_args *p = params;
1950 iarg[0] = p->sig; /* int */
1951 uarg[1] = (intptr_t) p->act; /* struct sigaction32 * */
1952 uarg[2] = (intptr_t) p->oact; /* struct sigaction32 * */
1956 /* freebsd32_sigreturn */
1958 struct freebsd32_sigreturn_args *p = params;
1959 uarg[0] = (intptr_t) p->sigcntxp; /* const struct freebsd32_ucontext * */
1963 /* freebsd32_getcontext */
1965 struct freebsd32_getcontext_args *p = params;
1966 uarg[0] = (intptr_t) p->ucp; /* struct freebsd32_ucontext * */
1970 /* freebsd32_setcontext */
1972 struct freebsd32_setcontext_args *p = params;
1973 uarg[0] = (intptr_t) p->ucp; /* const struct freebsd32_ucontext * */
1977 /* freebsd32_swapcontext */
1979 struct freebsd32_swapcontext_args *p = params;
1980 uarg[0] = (intptr_t) p->oucp; /* struct freebsd32_ucontext * */
1981 uarg[1] = (intptr_t) p->ucp; /* const struct freebsd32_ucontext * */
1985 /* __acl_get_link */
1987 struct __acl_get_link_args *p = params;
1988 uarg[0] = (intptr_t) p->path; /* const char * */
1989 iarg[1] = p->type; /* acl_type_t */
1990 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1994 /* __acl_set_link */
1996 struct __acl_set_link_args *p = params;
1997 uarg[0] = (intptr_t) p->path; /* const char * */
1998 iarg[1] = p->type; /* acl_type_t */
1999 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2003 /* __acl_delete_link */
2005 struct __acl_delete_link_args *p = params;
2006 uarg[0] = (intptr_t) p->path; /* const char * */
2007 iarg[1] = p->type; /* acl_type_t */
2011 /* __acl_aclcheck_link */
2013 struct __acl_aclcheck_link_args *p = params;
2014 uarg[0] = (intptr_t) p->path; /* const char * */
2015 iarg[1] = p->type; /* acl_type_t */
2016 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2022 struct sigwait_args *p = params;
2023 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2024 uarg[1] = (intptr_t) p->sig; /* int * */
2030 struct thr_exit_args *p = params;
2031 uarg[0] = (intptr_t) p->state; /* long * */
2037 struct thr_self_args *p = params;
2038 uarg[0] = (intptr_t) p->id; /* long * */
2044 struct thr_kill_args *p = params;
2045 iarg[0] = p->id; /* long */
2046 iarg[1] = p->sig; /* int */
2052 struct jail_attach_args *p = params;
2053 iarg[0] = p->jid; /* int */
2057 /* extattr_list_fd */
2059 struct extattr_list_fd_args *p = params;
2060 iarg[0] = p->fd; /* int */
2061 iarg[1] = p->attrnamespace; /* int */
2062 uarg[2] = (intptr_t) p->data; /* void * */
2063 uarg[3] = p->nbytes; /* size_t */
2067 /* extattr_list_file */
2069 struct extattr_list_file_args *p = params;
2070 uarg[0] = (intptr_t) p->path; /* const char * */
2071 iarg[1] = p->attrnamespace; /* int */
2072 uarg[2] = (intptr_t) p->data; /* void * */
2073 uarg[3] = p->nbytes; /* size_t */
2077 /* extattr_list_link */
2079 struct extattr_list_link_args *p = params;
2080 uarg[0] = (intptr_t) p->path; /* const char * */
2081 iarg[1] = p->attrnamespace; /* int */
2082 uarg[2] = (intptr_t) p->data; /* void * */
2083 uarg[3] = p->nbytes; /* size_t */
2087 /* freebsd32_ksem_timedwait */
2089 struct freebsd32_ksem_timedwait_args *p = params;
2090 iarg[0] = p->id; /* semid_t */
2091 uarg[1] = (intptr_t) p->abstime; /* const struct timespec32 * */
2095 /* freebsd32_thr_suspend */
2097 struct freebsd32_thr_suspend_args *p = params;
2098 uarg[0] = (intptr_t) p->timeout; /* const struct timespec32 * */
2104 struct thr_wake_args *p = params;
2105 iarg[0] = p->id; /* long */
2111 struct kldunloadf_args *p = params;
2112 iarg[0] = p->fileid; /* int */
2113 iarg[1] = p->flags; /* int */
2119 struct audit_args *p = params;
2120 uarg[0] = (intptr_t) p->record; /* const void * */
2121 uarg[1] = p->length; /* u_int */
2127 struct auditon_args *p = params;
2128 iarg[0] = p->cmd; /* int */
2129 uarg[1] = (intptr_t) p->data; /* void * */
2130 uarg[2] = p->length; /* u_int */
2136 struct getauid_args *p = params;
2137 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2143 struct setauid_args *p = params;
2144 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2150 struct getaudit_args *p = params;
2151 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2157 struct setaudit_args *p = params;
2158 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2164 struct getaudit_addr_args *p = params;
2165 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2166 uarg[1] = p->length; /* u_int */
2172 struct setaudit_addr_args *p = params;
2173 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2174 uarg[1] = p->length; /* u_int */
2180 struct auditctl_args *p = params;
2181 uarg[0] = (intptr_t) p->path; /* const char * */
2185 /* freebsd32__umtx_op */
2187 struct freebsd32__umtx_op_args *p = params;
2188 uarg[0] = (intptr_t) p->obj; /* void * */
2189 iarg[1] = p->op; /* int */
2190 uarg[2] = p->val; /* u_long */
2191 uarg[3] = (intptr_t) p->uaddr; /* void * */
2192 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2196 /* freebsd32_thr_new */
2198 struct freebsd32_thr_new_args *p = params;
2199 uarg[0] = (intptr_t) p->param; /* struct thr_param32 * */
2200 iarg[1] = p->param_size; /* int */
2204 /* freebsd32_sigqueue */
2206 struct freebsd32_sigqueue_args *p = params;
2207 iarg[0] = p->pid; /* pid_t */
2208 iarg[1] = p->signum; /* int */
2209 iarg[2] = p->value; /* int */
2213 /* freebsd32_kmq_open */
2215 struct freebsd32_kmq_open_args *p = params;
2216 uarg[0] = (intptr_t) p->path; /* const char * */
2217 iarg[1] = p->flags; /* int */
2218 iarg[2] = p->mode; /* mode_t */
2219 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr32 * */
2223 /* freebsd32_kmq_setattr */
2225 struct freebsd32_kmq_setattr_args *p = params;
2226 iarg[0] = p->mqd; /* int */
2227 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr32 * */
2228 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr32 * */
2232 /* freebsd32_kmq_timedreceive */
2234 struct freebsd32_kmq_timedreceive_args *p = params;
2235 iarg[0] = p->mqd; /* int */
2236 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2237 uarg[2] = p->msg_len; /* size_t */
2238 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2239 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec32 * */
2243 /* freebsd32_kmq_timedsend */
2245 struct freebsd32_kmq_timedsend_args *p = params;
2246 iarg[0] = p->mqd; /* int */
2247 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2248 uarg[2] = p->msg_len; /* size_t */
2249 uarg[3] = p->msg_prio; /* unsigned */
2250 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec32 * */
2254 /* freebsd32_kmq_notify */
2256 struct freebsd32_kmq_notify_args *p = params;
2257 iarg[0] = p->mqd; /* int */
2258 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent32 * */
2264 struct kmq_unlink_args *p = params;
2265 uarg[0] = (intptr_t) p->path; /* const char * */
2271 struct abort2_args *p = params;
2272 uarg[0] = (intptr_t) p->why; /* const char * */
2273 iarg[1] = p->nargs; /* int */
2274 uarg[2] = (intptr_t) p->args; /* void ** */
2280 struct thr_set_name_args *p = params;
2281 iarg[0] = p->id; /* long */
2282 uarg[1] = (intptr_t) p->name; /* const char * */
2286 /* freebsd32_aio_fsync */
2288 struct freebsd32_aio_fsync_args *p = params;
2289 iarg[0] = p->op; /* int */
2290 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
2296 struct rtprio_thread_args *p = params;
2297 iarg[0] = p->function; /* int */
2298 iarg[1] = p->lwpid; /* lwpid_t */
2299 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2305 struct sctp_peeloff_args *p = params;
2306 iarg[0] = p->sd; /* int */
2307 uarg[1] = p->name; /* uint32_t */
2311 /* sctp_generic_sendmsg */
2313 struct sctp_generic_sendmsg_args *p = params;
2314 iarg[0] = p->sd; /* int */
2315 uarg[1] = (intptr_t) p->msg; /* void * */
2316 iarg[2] = p->mlen; /* int */
2317 uarg[3] = (intptr_t) p->to; /* struct sockaddr * */
2318 iarg[4] = p->tolen; /* __socklen_t */
2319 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2320 iarg[6] = p->flags; /* int */
2324 /* sctp_generic_sendmsg_iov */
2326 struct sctp_generic_sendmsg_iov_args *p = params;
2327 iarg[0] = p->sd; /* int */
2328 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2329 iarg[2] = p->iovlen; /* int */
2330 uarg[3] = (intptr_t) p->to; /* struct sockaddr * */
2331 iarg[4] = p->tolen; /* __socklen_t */
2332 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2333 iarg[6] = p->flags; /* int */
2337 /* sctp_generic_recvmsg */
2339 struct sctp_generic_recvmsg_args *p = params;
2340 iarg[0] = p->sd; /* int */
2341 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2342 iarg[2] = p->iovlen; /* int */
2343 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2344 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2345 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2346 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2350 #ifdef PAD64_REQUIRED
2351 /* freebsd32_pread */
2353 struct freebsd32_pread_args *p = params;
2354 iarg[0] = p->fd; /* int */
2355 uarg[1] = (intptr_t) p->buf; /* void * */
2356 uarg[2] = p->nbyte; /* size_t */
2357 iarg[3] = p->pad; /* int */
2358 uarg[4] = p->offset1; /* uint32_t */
2359 uarg[5] = p->offset2; /* uint32_t */
2363 /* freebsd32_pwrite */
2365 struct freebsd32_pwrite_args *p = params;
2366 iarg[0] = p->fd; /* int */
2367 uarg[1] = (intptr_t) p->buf; /* const void * */
2368 uarg[2] = p->nbyte; /* size_t */
2369 iarg[3] = p->pad; /* int */
2370 uarg[4] = p->offset1; /* uint32_t */
2371 uarg[5] = p->offset2; /* uint32_t */
2375 /* freebsd32_mmap */
2377 struct freebsd32_mmap_args *p = params;
2378 uarg[0] = (intptr_t) p->addr; /* void * */
2379 uarg[1] = p->len; /* size_t */
2380 iarg[2] = p->prot; /* int */
2381 iarg[3] = p->flags; /* int */
2382 iarg[4] = p->fd; /* int */
2383 iarg[5] = p->pad; /* int */
2384 uarg[6] = p->pos1; /* uint32_t */
2385 uarg[7] = p->pos2; /* uint32_t */
2389 /* freebsd32_lseek */
2391 struct freebsd32_lseek_args *p = params;
2392 iarg[0] = p->fd; /* int */
2393 iarg[1] = p->pad; /* int */
2394 uarg[2] = p->offset1; /* uint32_t */
2395 uarg[3] = p->offset2; /* uint32_t */
2396 iarg[4] = p->whence; /* int */
2400 /* freebsd32_truncate */
2402 struct freebsd32_truncate_args *p = params;
2403 uarg[0] = (intptr_t) p->path; /* const char * */
2404 iarg[1] = p->pad; /* int */
2405 uarg[2] = p->length1; /* uint32_t */
2406 uarg[3] = p->length2; /* uint32_t */
2410 /* freebsd32_ftruncate */
2412 struct freebsd32_ftruncate_args *p = params;
2413 iarg[0] = p->fd; /* int */
2414 iarg[1] = p->pad; /* int */
2415 uarg[2] = p->length1; /* uint32_t */
2416 uarg[3] = p->length2; /* uint32_t */
2421 /* freebsd32_pread */
2423 struct freebsd32_pread_args *p = params;
2424 iarg[0] = p->fd; /* int */
2425 uarg[1] = (intptr_t) p->buf; /* void * */
2426 uarg[2] = p->nbyte; /* size_t */
2427 uarg[3] = p->offset1; /* uint32_t */
2428 uarg[4] = p->offset2; /* uint32_t */
2432 /* freebsd32_pwrite */
2434 struct freebsd32_pwrite_args *p = params;
2435 iarg[0] = p->fd; /* int */
2436 uarg[1] = (intptr_t) p->buf; /* const void * */
2437 uarg[2] = p->nbyte; /* size_t */
2438 uarg[3] = p->offset1; /* uint32_t */
2439 uarg[4] = p->offset2; /* uint32_t */
2443 /* freebsd32_mmap */
2445 struct freebsd32_mmap_args *p = params;
2446 uarg[0] = (intptr_t) p->addr; /* void * */
2447 uarg[1] = p->len; /* size_t */
2448 iarg[2] = p->prot; /* int */
2449 iarg[3] = p->flags; /* int */
2450 iarg[4] = p->fd; /* int */
2451 uarg[5] = p->pos1; /* uint32_t */
2452 uarg[6] = p->pos2; /* uint32_t */
2456 /* freebsd32_lseek */
2458 struct freebsd32_lseek_args *p = params;
2459 iarg[0] = p->fd; /* int */
2460 uarg[1] = p->offset1; /* uint32_t */
2461 uarg[2] = p->offset2; /* uint32_t */
2462 iarg[3] = p->whence; /* int */
2466 /* freebsd32_truncate */
2468 struct freebsd32_truncate_args *p = params;
2469 uarg[0] = (intptr_t) p->path; /* const char * */
2470 uarg[1] = p->length1; /* uint32_t */
2471 uarg[2] = p->length2; /* uint32_t */
2475 /* freebsd32_ftruncate */
2477 struct freebsd32_ftruncate_args *p = params;
2478 iarg[0] = p->fd; /* int */
2479 uarg[1] = p->length1; /* uint32_t */
2480 uarg[2] = p->length2; /* uint32_t */
2487 struct thr_kill2_args *p = params;
2488 iarg[0] = p->pid; /* pid_t */
2489 iarg[1] = p->id; /* long */
2490 iarg[2] = p->sig; /* int */
2496 struct shm_open_args *p = params;
2497 uarg[0] = (intptr_t) p->path; /* const char * */
2498 iarg[1] = p->flags; /* int */
2499 iarg[2] = p->mode; /* mode_t */
2505 struct shm_unlink_args *p = params;
2506 uarg[0] = (intptr_t) p->path; /* const char * */
2512 struct cpuset_args *p = params;
2513 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2517 #ifdef PAD64_REQUIRED
2518 /* freebsd32_cpuset_setid */
2520 struct freebsd32_cpuset_setid_args *p = params;
2521 iarg[0] = p->which; /* cpuwhich_t */
2522 iarg[1] = p->pad; /* int */
2523 uarg[2] = p->id1; /* uint32_t */
2524 uarg[3] = p->id2; /* uint32_t */
2525 iarg[4] = p->setid; /* cpusetid_t */
2530 /* freebsd32_cpuset_setid */
2532 struct freebsd32_cpuset_setid_args *p = params;
2533 iarg[0] = p->which; /* cpuwhich_t */
2534 uarg[1] = p->id1; /* uint32_t */
2535 uarg[2] = p->id2; /* uint32_t */
2536 iarg[3] = p->setid; /* cpusetid_t */
2541 /* freebsd32_cpuset_getid */
2543 struct freebsd32_cpuset_getid_args *p = params;
2544 iarg[0] = p->level; /* cpulevel_t */
2545 iarg[1] = p->which; /* cpuwhich_t */
2546 uarg[2] = p->id1; /* uint32_t */
2547 uarg[3] = p->id2; /* uint32_t */
2548 uarg[4] = (intptr_t) p->setid; /* cpusetid_t * */
2552 /* freebsd32_cpuset_getaffinity */
2554 struct freebsd32_cpuset_getaffinity_args *p = params;
2555 iarg[0] = p->level; /* cpulevel_t */
2556 iarg[1] = p->which; /* cpuwhich_t */
2557 uarg[2] = p->id1; /* uint32_t */
2558 uarg[3] = p->id2; /* uint32_t */
2559 uarg[4] = p->cpusetsize; /* size_t */
2560 uarg[5] = (intptr_t) p->mask; /* cpuset_t * */
2564 /* freebsd32_cpuset_setaffinity */
2566 struct freebsd32_cpuset_setaffinity_args *p = params;
2567 iarg[0] = p->level; /* cpulevel_t */
2568 iarg[1] = p->which; /* cpuwhich_t */
2569 uarg[2] = p->id1; /* uint32_t */
2570 uarg[3] = p->id2; /* uint32_t */
2571 uarg[4] = p->cpusetsize; /* size_t */
2572 uarg[5] = (intptr_t) p->mask; /* const cpuset_t * */
2578 struct faccessat_args *p = params;
2579 iarg[0] = p->fd; /* int */
2580 uarg[1] = (intptr_t) p->path; /* const char * */
2581 iarg[2] = p->amode; /* int */
2582 iarg[3] = p->flag; /* int */
2588 struct fchmodat_args *p = params;
2589 iarg[0] = p->fd; /* int */
2590 uarg[1] = (intptr_t) p->path; /* const char * */
2591 iarg[2] = p->mode; /* mode_t */
2592 iarg[3] = p->flag; /* int */
2598 struct fchownat_args *p = params;
2599 iarg[0] = p->fd; /* int */
2600 uarg[1] = (intptr_t) p->path; /* const char * */
2601 uarg[2] = p->uid; /* uid_t */
2602 iarg[3] = p->gid; /* gid_t */
2603 iarg[4] = p->flag; /* int */
2607 /* freebsd32_fexecve */
2609 struct freebsd32_fexecve_args *p = params;
2610 iarg[0] = p->fd; /* int */
2611 uarg[1] = (intptr_t) p->argv; /* uint32_t * */
2612 uarg[2] = (intptr_t) p->envv; /* uint32_t * */
2616 /* freebsd32_futimesat */
2618 struct freebsd32_futimesat_args *p = params;
2619 iarg[0] = p->fd; /* int */
2620 uarg[1] = (intptr_t) p->path; /* const char * */
2621 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2627 struct linkat_args *p = params;
2628 iarg[0] = p->fd1; /* int */
2629 uarg[1] = (intptr_t) p->path1; /* const char * */
2630 iarg[2] = p->fd2; /* int */
2631 uarg[3] = (intptr_t) p->path2; /* const char * */
2632 iarg[4] = p->flag; /* int */
2638 struct mkdirat_args *p = params;
2639 iarg[0] = p->fd; /* int */
2640 uarg[1] = (intptr_t) p->path; /* const char * */
2641 iarg[2] = p->mode; /* mode_t */
2647 struct mkfifoat_args *p = params;
2648 iarg[0] = p->fd; /* int */
2649 uarg[1] = (intptr_t) p->path; /* const char * */
2650 iarg[2] = p->mode; /* mode_t */
2656 struct openat_args *p = params;
2657 iarg[0] = p->fd; /* int */
2658 uarg[1] = (intptr_t) p->path; /* const char * */
2659 iarg[2] = p->flag; /* int */
2660 iarg[3] = p->mode; /* mode_t */
2666 struct readlinkat_args *p = params;
2667 iarg[0] = p->fd; /* int */
2668 uarg[1] = (intptr_t) p->path; /* const char * */
2669 uarg[2] = (intptr_t) p->buf; /* char * */
2670 uarg[3] = p->bufsize; /* size_t */
2676 struct renameat_args *p = params;
2677 iarg[0] = p->oldfd; /* int */
2678 uarg[1] = (intptr_t) p->old; /* const char * */
2679 iarg[2] = p->newfd; /* int */
2680 uarg[3] = (intptr_t) p->new; /* const char * */
2686 struct symlinkat_args *p = params;
2687 uarg[0] = (intptr_t) p->path1; /* const char * */
2688 iarg[1] = p->fd; /* int */
2689 uarg[2] = (intptr_t) p->path2; /* const char * */
2695 struct unlinkat_args *p = params;
2696 iarg[0] = p->fd; /* int */
2697 uarg[1] = (intptr_t) p->path; /* const char * */
2698 iarg[2] = p->flag; /* int */
2704 struct posix_openpt_args *p = params;
2705 iarg[0] = p->flags; /* int */
2709 /* freebsd32_jail_get */
2711 struct freebsd32_jail_get_args *p = params;
2712 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
2713 uarg[1] = p->iovcnt; /* unsigned int */
2714 iarg[2] = p->flags; /* int */
2718 /* freebsd32_jail_set */
2720 struct freebsd32_jail_set_args *p = params;
2721 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
2722 uarg[1] = p->iovcnt; /* unsigned int */
2723 iarg[2] = p->flags; /* int */
2729 struct jail_remove_args *p = params;
2730 iarg[0] = p->jid; /* int */
2736 struct closefrom_args *p = params;
2737 iarg[0] = p->lowfd; /* int */
2741 /* freebsd32_semctl */
2743 struct freebsd32_semctl_args *p = params;
2744 iarg[0] = p->semid; /* int */
2745 iarg[1] = p->semnum; /* int */
2746 iarg[2] = p->cmd; /* int */
2747 uarg[3] = (intptr_t) p->arg; /* union semun32 * */
2751 /* freebsd32_msgctl */
2753 struct freebsd32_msgctl_args *p = params;
2754 iarg[0] = p->msqid; /* int */
2755 iarg[1] = p->cmd; /* int */
2756 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds32 * */
2760 /* freebsd32_shmctl */
2762 struct freebsd32_shmctl_args *p = params;
2763 iarg[0] = p->shmid; /* int */
2764 iarg[1] = p->cmd; /* int */
2765 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds32 * */
2771 struct lpathconf_args *p = params;
2772 uarg[0] = (intptr_t) p->path; /* const char * */
2773 iarg[1] = p->name; /* int */
2777 /* __cap_rights_get */
2779 struct __cap_rights_get_args *p = params;
2780 iarg[0] = p->version; /* int */
2781 iarg[1] = p->fd; /* int */
2782 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */
2793 struct cap_getmode_args *p = params;
2794 uarg[0] = (intptr_t) p->modep; /* u_int * */
2800 struct pdfork_args *p = params;
2801 uarg[0] = (intptr_t) p->fdp; /* int * */
2802 iarg[1] = p->flags; /* int */
2808 struct pdkill_args *p = params;
2809 iarg[0] = p->fd; /* int */
2810 iarg[1] = p->signum; /* int */
2816 struct pdgetpid_args *p = params;
2817 iarg[0] = p->fd; /* int */
2818 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
2822 /* freebsd32_pselect */
2824 struct freebsd32_pselect_args *p = params;
2825 iarg[0] = p->nd; /* int */
2826 uarg[1] = (intptr_t) p->in; /* fd_set * */
2827 uarg[2] = (intptr_t) p->ou; /* fd_set * */
2828 uarg[3] = (intptr_t) p->ex; /* fd_set * */
2829 uarg[4] = (intptr_t) p->ts; /* const struct timespec32 * */
2830 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
2836 struct getloginclass_args *p = params;
2837 uarg[0] = (intptr_t) p->namebuf; /* char * */
2838 uarg[1] = p->namelen; /* size_t */
2844 struct setloginclass_args *p = params;
2845 uarg[0] = (intptr_t) p->namebuf; /* const char * */
2849 /* rctl_get_racct */
2851 struct rctl_get_racct_args *p = params;
2852 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2853 uarg[1] = p->inbuflen; /* size_t */
2854 uarg[2] = (intptr_t) p->outbufp; /* void * */
2855 uarg[3] = p->outbuflen; /* size_t */
2859 /* rctl_get_rules */
2861 struct rctl_get_rules_args *p = params;
2862 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2863 uarg[1] = p->inbuflen; /* size_t */
2864 uarg[2] = (intptr_t) p->outbufp; /* void * */
2865 uarg[3] = p->outbuflen; /* size_t */
2869 /* rctl_get_limits */
2871 struct rctl_get_limits_args *p = params;
2872 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2873 uarg[1] = p->inbuflen; /* size_t */
2874 uarg[2] = (intptr_t) p->outbufp; /* void * */
2875 uarg[3] = p->outbuflen; /* size_t */
2881 struct rctl_add_rule_args *p = params;
2882 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2883 uarg[1] = p->inbuflen; /* size_t */
2884 uarg[2] = (intptr_t) p->outbufp; /* void * */
2885 uarg[3] = p->outbuflen; /* size_t */
2889 /* rctl_remove_rule */
2891 struct rctl_remove_rule_args *p = params;
2892 uarg[0] = (intptr_t) p->inbufp; /* const void * */
2893 uarg[1] = p->inbuflen; /* size_t */
2894 uarg[2] = (intptr_t) p->outbufp; /* void * */
2895 uarg[3] = p->outbuflen; /* size_t */
2899 #ifdef PAD64_REQUIRED
2900 /* freebsd32_posix_fallocate */
2902 struct freebsd32_posix_fallocate_args *p = params;
2903 iarg[0] = p->fd; /* int */
2904 iarg[1] = p->pad; /* int */
2905 uarg[2] = p->offset1; /* uint32_t */
2906 uarg[3] = p->offset2; /* uint32_t */
2907 uarg[4] = p->len1; /* uint32_t */
2908 uarg[5] = p->len2; /* uint32_t */
2912 /* freebsd32_posix_fadvise */
2914 struct freebsd32_posix_fadvise_args *p = params;
2915 iarg[0] = p->fd; /* int */
2916 iarg[1] = p->pad; /* int */
2917 uarg[2] = p->offset1; /* uint32_t */
2918 uarg[3] = p->offset2; /* uint32_t */
2919 uarg[4] = p->len1; /* uint32_t */
2920 uarg[5] = p->len2; /* uint32_t */
2921 iarg[6] = p->advice; /* int */
2925 /* freebsd32_wait6 */
2927 struct freebsd32_wait6_args *p = params;
2928 iarg[0] = p->idtype; /* int */
2929 iarg[1] = p->pad; /* int */
2930 uarg[2] = p->id1; /* uint32_t */
2931 uarg[3] = p->id2; /* uint32_t */
2932 uarg[4] = (intptr_t) p->status; /* int * */
2933 iarg[5] = p->options; /* int */
2934 uarg[6] = (intptr_t) p->wrusage; /* struct wrusage32 * */
2935 uarg[7] = (intptr_t) p->info; /* siginfo_t * */
2940 /* freebsd32_posix_fallocate */
2942 struct freebsd32_posix_fallocate_args *p = params;
2943 iarg[0] = p->fd; /* int */
2944 uarg[1] = p->offset1; /* uint32_t */
2945 uarg[2] = p->offset2; /* uint32_t */
2946 uarg[3] = p->len1; /* uint32_t */
2947 uarg[4] = p->len2; /* uint32_t */
2951 /* freebsd32_posix_fadvise */
2953 struct freebsd32_posix_fadvise_args *p = params;
2954 iarg[0] = p->fd; /* int */
2955 uarg[1] = p->offset1; /* uint32_t */
2956 uarg[2] = p->offset2; /* uint32_t */
2957 uarg[3] = p->len1; /* uint32_t */
2958 uarg[4] = p->len2; /* uint32_t */
2959 iarg[5] = p->advice; /* int */
2963 /* freebsd32_wait6 */
2965 struct freebsd32_wait6_args *p = params;
2966 iarg[0] = p->idtype; /* int */
2967 uarg[1] = p->id1; /* uint32_t */
2968 uarg[2] = p->id2; /* uint32_t */
2969 uarg[3] = (intptr_t) p->status; /* int * */
2970 iarg[4] = p->options; /* int */
2971 uarg[5] = (intptr_t) p->wrusage; /* struct wrusage32 * */
2972 uarg[6] = (intptr_t) p->info; /* siginfo_t * */
2977 /* cap_rights_limit */
2979 struct cap_rights_limit_args *p = params;
2980 iarg[0] = p->fd; /* int */
2981 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */
2985 /* freebsd32_cap_ioctls_limit */
2987 struct freebsd32_cap_ioctls_limit_args *p = params;
2988 iarg[0] = p->fd; /* int */
2989 uarg[1] = (intptr_t) p->cmds; /* const uint32_t * */
2990 uarg[2] = p->ncmds; /* size_t */
2994 /* freebsd32_cap_ioctls_get */
2996 struct freebsd32_cap_ioctls_get_args *p = params;
2997 iarg[0] = p->fd; /* int */
2998 uarg[1] = (intptr_t) p->cmds; /* uint32_t * */
2999 uarg[2] = p->maxcmds; /* size_t */
3003 /* cap_fcntls_limit */
3005 struct cap_fcntls_limit_args *p = params;
3006 iarg[0] = p->fd; /* int */
3007 uarg[1] = p->fcntlrights; /* uint32_t */
3011 /* cap_fcntls_get */
3013 struct cap_fcntls_get_args *p = params;
3014 iarg[0] = p->fd; /* int */
3015 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
3021 struct bindat_args *p = params;
3022 iarg[0] = p->fd; /* int */
3023 iarg[1] = p->s; /* int */
3024 uarg[2] = (intptr_t) p->name; /* const struct sockaddr * */
3025 iarg[3] = p->namelen; /* int */
3031 struct connectat_args *p = params;
3032 iarg[0] = p->fd; /* int */
3033 iarg[1] = p->s; /* int */
3034 uarg[2] = (intptr_t) p->name; /* const struct sockaddr * */
3035 iarg[3] = p->namelen; /* int */
3041 struct chflagsat_args *p = params;
3042 iarg[0] = p->fd; /* int */
3043 uarg[1] = (intptr_t) p->path; /* const char * */
3044 uarg[2] = p->flags; /* u_long */
3045 iarg[3] = p->atflag; /* int */
3051 struct accept4_args *p = params;
3052 iarg[0] = p->s; /* int */
3053 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
3054 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
3055 iarg[3] = p->flags; /* int */
3061 struct pipe2_args *p = params;
3062 uarg[0] = (intptr_t) p->fildes; /* int * */
3063 iarg[1] = p->flags; /* int */
3067 /* freebsd32_aio_mlock */
3069 struct freebsd32_aio_mlock_args *p = params;
3070 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
3074 #ifdef PAD64_REQUIRED
3075 /* freebsd32_procctl */
3077 struct freebsd32_procctl_args *p = params;
3078 iarg[0] = p->idtype; /* int */
3079 iarg[1] = p->pad; /* int */
3080 uarg[2] = p->id1; /* uint32_t */
3081 uarg[3] = p->id2; /* uint32_t */
3082 iarg[4] = p->com; /* int */
3083 uarg[5] = (intptr_t) p->data; /* void * */
3088 /* freebsd32_procctl */
3090 struct freebsd32_procctl_args *p = params;
3091 iarg[0] = p->idtype; /* int */
3092 uarg[1] = p->id1; /* uint32_t */
3093 uarg[2] = p->id2; /* uint32_t */
3094 iarg[3] = p->com; /* int */
3095 uarg[4] = (intptr_t) p->data; /* void * */
3100 /* freebsd32_ppoll */
3102 struct freebsd32_ppoll_args *p = params;
3103 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
3104 uarg[1] = p->nfds; /* u_int */
3105 uarg[2] = (intptr_t) p->ts; /* const struct timespec32 * */
3106 uarg[3] = (intptr_t) p->set; /* const sigset_t * */
3110 /* freebsd32_futimens */
3112 struct freebsd32_futimens_args *p = params;
3113 iarg[0] = p->fd; /* int */
3114 uarg[1] = (intptr_t) p->times; /* struct timespec * */
3118 /* freebsd32_utimensat */
3120 struct freebsd32_utimensat_args *p = params;
3121 iarg[0] = p->fd; /* int */
3122 uarg[1] = (intptr_t) p->path; /* const char * */
3123 uarg[2] = (intptr_t) p->times; /* struct timespec * */
3124 iarg[3] = p->flag; /* int */
3130 struct fdatasync_args *p = params;
3131 iarg[0] = p->fd; /* int */
3135 /* freebsd32_fstat */
3137 struct freebsd32_fstat_args *p = params;
3138 iarg[0] = p->fd; /* int */
3139 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
3143 /* freebsd32_fstatat */
3145 struct freebsd32_fstatat_args *p = params;
3146 iarg[0] = p->fd; /* int */
3147 uarg[1] = (intptr_t) p->path; /* const char * */
3148 uarg[2] = (intptr_t) p->buf; /* struct stat32 * */
3149 iarg[3] = p->flag; /* int */
3153 /* freebsd32_fhstat */
3155 struct freebsd32_fhstat_args *p = params;
3156 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
3157 uarg[1] = (intptr_t) p->sb; /* struct stat32 * */
3163 struct getdirentries_args *p = params;
3164 iarg[0] = p->fd; /* int */
3165 uarg[1] = (intptr_t) p->buf; /* char * */
3166 uarg[2] = p->count; /* size_t */
3167 uarg[3] = (intptr_t) p->basep; /* off_t * */
3173 struct statfs_args *p = params;
3174 uarg[0] = (intptr_t) p->path; /* const char * */
3175 uarg[1] = (intptr_t) p->buf; /* struct statfs32 * */
3181 struct fstatfs_args *p = params;
3182 iarg[0] = p->fd; /* int */
3183 uarg[1] = (intptr_t) p->buf; /* struct statfs32 * */
3189 struct getfsstat_args *p = params;
3190 uarg[0] = (intptr_t) p->buf; /* struct statfs32 * */
3191 iarg[1] = p->bufsize; /* long */
3192 iarg[2] = p->mode; /* int */
3198 struct fhstatfs_args *p = params;
3199 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
3200 uarg[1] = (intptr_t) p->buf; /* struct statfs32 * */
3204 #ifdef PAD64_REQUIRED
3205 /* freebsd32_mknodat */
3207 struct freebsd32_mknodat_args *p = params;
3208 iarg[0] = p->fd; /* int */
3209 uarg[1] = (intptr_t) p->path; /* const char * */
3210 iarg[2] = p->mode; /* mode_t */
3211 iarg[3] = p->pad; /* int */
3212 uarg[4] = p->dev1; /* uint32_t */
3213 uarg[5] = p->dev2; /* uint32_t */
3218 /* freebsd32_mknodat */
3220 struct freebsd32_mknodat_args *p = params;
3221 iarg[0] = p->fd; /* int */
3222 uarg[1] = (intptr_t) p->path; /* const char * */
3223 iarg[2] = p->mode; /* mode_t */
3224 uarg[3] = p->dev1; /* uint32_t */
3225 uarg[4] = p->dev2; /* uint32_t */
3230 /* freebsd32_kevent */
3232 struct freebsd32_kevent_args *p = params;
3233 iarg[0] = p->fd; /* int */
3234 uarg[1] = (intptr_t) p->changelist; /* const struct kevent32 * */
3235 iarg[2] = p->nchanges; /* int */
3236 uarg[3] = (intptr_t) p->eventlist; /* struct kevent32 * */
3237 iarg[4] = p->nevents; /* int */
3238 uarg[5] = (intptr_t) p->timeout; /* const struct timespec32 * */
3242 /* freebsd32_cpuset_getdomain */
3244 struct freebsd32_cpuset_getdomain_args *p = params;
3245 iarg[0] = p->level; /* cpulevel_t */
3246 iarg[1] = p->which; /* cpuwhich_t */
3247 uarg[2] = p->id1; /* uint32_t */
3248 uarg[3] = p->id2; /* uint32_t */
3249 uarg[4] = p->domainsetsize; /* size_t */
3250 uarg[5] = (intptr_t) p->mask; /* domainset_t * */
3251 uarg[6] = (intptr_t) p->policy; /* int * */
3255 /* freebsd32_cpuset_setdomain */
3257 struct freebsd32_cpuset_setdomain_args *p = params;
3258 iarg[0] = p->level; /* cpulevel_t */
3259 iarg[1] = p->which; /* cpuwhich_t */
3260 uarg[2] = p->id1; /* uint32_t */
3261 uarg[3] = p->id2; /* uint32_t */
3262 uarg[4] = p->domainsetsize; /* size_t */
3263 uarg[5] = (intptr_t) p->mask; /* domainset_t * */
3264 iarg[6] = p->policy; /* int */
3270 struct getrandom_args *p = params;
3271 uarg[0] = (intptr_t) p->buf; /* void * */
3272 uarg[1] = p->buflen; /* size_t */
3273 uarg[2] = p->flags; /* unsigned int */
3279 struct getfhat_args *p = params;
3280 iarg[0] = p->fd; /* int */
3281 uarg[1] = (intptr_t) p->path; /* char * */
3282 uarg[2] = (intptr_t) p->fhp; /* struct fhandle * */
3283 iarg[3] = p->flags; /* int */
3289 struct fhlink_args *p = params;
3290 uarg[0] = (intptr_t) p->fhp; /* struct fhandle * */
3291 uarg[1] = (intptr_t) p->to; /* const char * */
3297 struct fhlinkat_args *p = params;
3298 uarg[0] = (intptr_t) p->fhp; /* struct fhandle * */
3299 iarg[1] = p->tofd; /* int */
3300 uarg[2] = (intptr_t) p->to; /* const char * */
3306 struct fhreadlink_args *p = params;
3307 uarg[0] = (intptr_t) p->fhp; /* struct fhandle * */
3308 uarg[1] = (intptr_t) p->buf; /* char * */
3309 uarg[2] = p->bufsize; /* size_t */
3315 struct funlinkat_args *p = params;
3316 iarg[0] = p->dfd; /* int */
3317 uarg[1] = (intptr_t) p->path; /* const char * */
3318 iarg[2] = p->fd; /* int */
3319 iarg[3] = p->flag; /* int */
3329 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3331 const char *p = NULL;
3333 #if !defined(PAD64_REQUIRED) && !defined(__amd64__)
3334 #define PAD64_REQUIRED
3359 p = "userland void *";
3375 p = "userland const void *";
3388 p = "userland const char *";
3410 /* freebsd32_wait4 */
3417 p = "userland int *";
3423 p = "userland struct rusage32 *";
3433 p = "userland const char *";
3436 p = "userland const char *";
3446 p = "userland const char *";
3456 p = "userland const char *";
3476 p = "userland const char *";
3489 p = "userland const char *";
3505 p = "userland char *";
3518 p = "userland const char *";
3521 p = "userland const char *";
3527 p = "userland void *";
3537 p = "userland const char *";
3581 /* freebsd32_recvmsg */
3588 p = "userland struct msghdr32 *";
3597 /* freebsd32_sendmsg */
3604 p = "userland struct msghdr32 *";
3613 /* freebsd32_recvfrom */
3620 p = "userland void *";
3629 p = "userland struct sockaddr *";
3645 p = "userland struct sockaddr *";
3648 p = "userland int *";
3661 p = "userland struct sockaddr *";
3664 p = "userland int *";
3677 p = "userland struct sockaddr *";
3680 p = "userland int *";
3690 p = "userland const char *";
3703 p = "userland const char *";
3761 p = "userland char *";
3780 p = "userland const char *";
3802 p = "userland char *";
3815 p = "userland const char *";
3825 p = "userland const char *";
3831 /* freebsd32_sigaltstack */
3835 p = "userland struct sigaltstack32 *";
3838 p = "userland struct sigaltstack32 *";
3844 /* freebsd32_ioctl */
3854 p = "userland struct md_ioctl32 *";
3874 p = "userland const char *";
3884 p = "userland const char *";
3887 p = "userland const char *";
3897 p = "userland const char *";
3900 p = "userland char *";
3909 /* freebsd32_execve */
3913 p = "userland const char *";
3916 p = "userland uint32_t *";
3919 p = "userland uint32_t *";
3939 p = "userland const char *";
3949 p = "userland void *";
3988 p = "userland void *";
3997 /* freebsd32_mprotect */
4001 p = "userland void *";
4017 p = "userland void *";
4033 p = "userland const void *";
4039 p = "userland char *";
4052 p = "userland gid_t *";
4065 p = "userland gid_t *";
4087 /* freebsd32_setitimer */
4094 p = "userland struct itimerval32 *";
4097 p = "userland struct itimerval32 *";
4107 p = "userland const char *";
4113 /* freebsd32_getitimer */
4120 p = "userland struct itimerval32 *";
4142 /* freebsd32_fcntl */
4158 /* freebsd32_select */
4165 p = "userland fd_set *";
4168 p = "userland fd_set *";
4171 p = "userland fd_set *";
4174 p = "userland struct timeval32 *";
4229 p = "userland const struct sockaddr *";
4258 p = "userland const struct sockaddr *";
4280 p = "userland const void *";
4302 /* freebsd32_gettimeofday */
4306 p = "userland struct timeval32 *";
4309 p = "userland struct timezone *";
4315 /* freebsd32_getrusage */
4322 p = "userland struct rusage32 *";
4341 p = "userland void *";
4344 p = "userland int *";
4350 /* freebsd32_readv */
4357 p = "userland struct iovec32 *";
4366 /* freebsd32_writev */
4373 p = "userland struct iovec32 *";
4382 /* freebsd32_settimeofday */
4386 p = "userland struct timeval32 *";
4389 p = "userland struct timezone *";
4454 p = "userland const char *";
4457 p = "userland const char *";
4480 p = "userland const char *";
4496 p = "userland const void *";
4505 p = "userland const struct sockaddr *";
4540 p = "userland int *";
4550 p = "userland const char *";
4563 p = "userland const char *";
4569 /* freebsd32_utimes */
4573 p = "userland const char *";
4576 p = "userland struct timeval32 *";
4582 /* freebsd32_adjtime */
4586 p = "userland struct timeval32 *";
4589 p = "userland struct timeval32 *";
4602 p = "userland const char *";
4611 p = "userland void *";
4621 p = "userland const char *";
4624 p = "userland struct fhandle *";
4630 /* freebsd32_sysarch */
4637 p = "userland char *";
4653 p = "userland struct rtprio *";
4659 /* freebsd32_semsys */
4681 /* freebsd32_msgsys */
4706 /* freebsd32_shmsys */
4729 p = "userland struct timex *";
4769 p = "userland const char *";
4798 p = "userland struct rlimit *";
4811 p = "userland struct rlimit *";
4820 /* freebsd32___sysctl */
4824 p = "userland int *";
4830 p = "userland void *";
4833 p = "userland uint32_t *";
4836 p = "userland const void *";
4849 p = "userland const void *";
4862 p = "userland const void *";
4875 p = "userland const char *";
4881 /* freebsd32_futimes */
4888 p = "userland struct timeval32 *";
4908 p = "userland struct pollfd *";
4973 p = "userland struct sembuf *";
4995 /* freebsd32_msgsnd */
5002 p = "userland void *";
5014 /* freebsd32_msgrcv */
5021 p = "userland void *";
5043 p = "userland void *";
5056 p = "userland void *";
5078 /* freebsd32_clock_gettime */
5085 p = "userland struct timespec32 *";
5091 /* freebsd32_clock_settime */
5098 p = "userland const struct timespec32 *";
5104 /* freebsd32_clock_getres */
5111 p = "userland struct timespec32 *";
5117 /* freebsd32_ktimer_create */
5124 p = "userland struct sigevent32 *";
5127 p = "userland int *";
5143 /* freebsd32_ktimer_settime */
5153 p = "userland const struct itimerspec32 *";
5156 p = "userland struct itimerspec32 *";
5162 /* freebsd32_ktimer_gettime */
5169 p = "userland struct itimerspec32 *";
5175 /* ktimer_getoverrun */
5185 /* freebsd32_nanosleep */
5189 p = "userland const struct timespec32 *";
5192 p = "userland struct timespec32 *";
5198 /* ffclock_getcounter */
5202 p = "userland ffcounter *";
5208 /* ffclock_setestimate */
5212 p = "userland struct ffclock_estimate *";
5218 /* ffclock_getestimate */
5222 p = "userland struct ffclock_estimate *";
5228 /* freebsd32_clock_nanosleep */
5238 p = "userland const struct timespec32 *";
5241 p = "userland struct timespec32 *";
5247 /* freebsd32_clock_getcpuclockid2 */
5260 p = "userland clockid_t *";
5270 p = "userland void *";
5299 p = "userland const char *";
5311 /* freebsd32_aio_read */
5315 p = "userland struct aiocb32 *";
5321 /* freebsd32_aio_write */
5325 p = "userland struct aiocb32 *";
5331 /* freebsd32_lio_listio */
5338 p = "userland struct aiocb32 *const *";
5344 p = "userland struct sigevent32 *";
5354 p = "userland const char *";
5363 /* freebsd32_lutimes */
5367 p = "userland const char *";
5370 p = "userland struct timeval32 *";
5376 /* freebsd32_preadv */
5383 p = "userland struct iovec32 *";
5398 /* freebsd32_pwritev */
5405 p = "userland struct iovec32 *";
5424 p = "userland const struct fhandle *";
5443 /* freebsd32_modstat */
5450 p = "userland struct module_stat32 *";
5470 p = "userland const char *";
5480 p = "userland const char *";
5500 p = "userland const char *";
5516 /* freebsd32_kldstat */
5523 p = "userland struct kld32_file_stat *";
5581 /* freebsd32_aio_return */
5585 p = "userland struct aiocb32 *";
5591 /* freebsd32_aio_suspend */
5595 p = "userland struct aiocb32 *const *";
5601 p = "userland const struct timespec32 *";
5614 p = "userland struct aiocb *";
5620 /* freebsd32_aio_error */
5624 p = "userland struct aiocb32 *";
5650 p = "userland char *";
5659 /* sched_setparam */
5666 p = "userland const struct sched_param *";
5672 /* sched_getparam */
5679 p = "userland struct sched_param *";
5685 /* sched_setscheduler */
5695 p = "userland const struct sched_param *";
5701 /* sched_getscheduler */
5714 /* sched_get_priority_max */
5724 /* sched_get_priority_min */
5734 /* freebsd32_sched_rr_get_interval */
5741 p = "userland struct timespec32 *";
5751 p = "userland const void *";
5770 p = "userland void *";
5776 /* freebsd32_jail */
5780 p = "userland struct jail32 *";
5793 p = "userland const sigset_t *";
5796 p = "userland sigset_t *";
5806 p = "userland const sigset_t *";
5816 p = "userland sigset_t *";
5822 /* freebsd32_sigtimedwait */
5826 p = "userland const sigset_t *";
5829 p = "userland siginfo_t *";
5832 p = "userland const struct timespec *";
5838 /* freebsd32_sigwaitinfo */
5842 p = "userland const sigset_t *";
5845 p = "userland siginfo_t *";
5851 /* __acl_get_file */
5855 p = "userland const char *";
5861 p = "userland struct acl *";
5867 /* __acl_set_file */
5871 p = "userland const char *";
5877 p = "userland struct acl *";
5893 p = "userland struct acl *";
5909 p = "userland struct acl *";
5915 /* __acl_delete_file */
5919 p = "userland const char *";
5928 /* __acl_delete_fd */
5941 /* __acl_aclcheck_file */
5945 p = "userland const char *";
5951 p = "userland struct acl *";
5957 /* __acl_aclcheck_fd */
5967 p = "userland struct acl *";
5977 p = "userland const char *";
5983 p = "userland const char *";
5989 p = "userland const char *";
5995 /* extattr_set_file */
5999 p = "userland const char *";
6005 p = "userland const char *";
6008 p = "userland void *";
6017 /* extattr_get_file */
6021 p = "userland const char *";
6027 p = "userland const char *";
6030 p = "userland void *";
6039 /* extattr_delete_file */
6043 p = "userland const char *";
6049 p = "userland const char *";
6055 /* freebsd32_aio_waitcomplete */
6059 p = "userland struct aiocb32 **";
6062 p = "userland struct timespec32 *";
6072 p = "userland uid_t *";
6075 p = "userland uid_t *";
6078 p = "userland uid_t *";
6088 p = "userland gid_t *";
6091 p = "userland gid_t *";
6094 p = "userland gid_t *";
6103 /* extattr_set_fd */
6113 p = "userland const char *";
6116 p = "userland void *";
6125 /* extattr_get_fd */
6135 p = "userland const char *";
6138 p = "userland void *";
6147 /* extattr_delete_fd */
6157 p = "userland const char *";
6177 p = "userland const char *";
6186 /* freebsd32_nmount */
6190 p = "userland struct iovec32 *";
6209 p = "userland const char *";
6212 p = "userland char *";
6225 p = "userland const char *";
6238 p = "userland struct uuid *";
6247 /* freebsd32_sendfile */
6266 p = "userland struct sf_hdtr32 *";
6269 p = "userland off_t *";
6318 /* freebsd32_ksem_init */
6322 p = "userland semid_t *";
6331 /* freebsd32_ksem_open */
6335 p = "userland semid_t *";
6338 p = "userland const char *";
6357 p = "userland const char *";
6370 p = "userland int *";
6386 /* extattr_set_link */
6390 p = "userland const char *";
6396 p = "userland const char *";
6399 p = "userland void *";
6408 /* extattr_get_link */
6412 p = "userland const char *";
6418 p = "userland const char *";
6421 p = "userland void *";
6430 /* extattr_delete_link */
6434 p = "userland const char *";
6440 p = "userland const char *";
6446 /* freebsd32_sigaction */
6453 p = "userland struct sigaction32 *";
6456 p = "userland struct sigaction32 *";
6462 /* freebsd32_sigreturn */
6466 p = "userland const struct freebsd32_ucontext *";
6472 /* freebsd32_getcontext */
6476 p = "userland struct freebsd32_ucontext *";
6482 /* freebsd32_setcontext */
6486 p = "userland const struct freebsd32_ucontext *";
6492 /* freebsd32_swapcontext */
6496 p = "userland struct freebsd32_ucontext *";
6499 p = "userland const struct freebsd32_ucontext *";
6505 /* __acl_get_link */
6509 p = "userland const char *";
6515 p = "userland struct acl *";
6521 /* __acl_set_link */
6525 p = "userland const char *";
6531 p = "userland struct acl *";
6537 /* __acl_delete_link */
6541 p = "userland const char *";
6550 /* __acl_aclcheck_link */
6554 p = "userland const char *";
6560 p = "userland struct acl *";
6570 p = "userland const sigset_t *";
6573 p = "userland int *";
6583 p = "userland long *";
6593 p = "userland long *";
6622 /* extattr_list_fd */
6632 p = "userland void *";
6641 /* extattr_list_file */
6645 p = "userland const char *";
6651 p = "userland void *";
6660 /* extattr_list_link */
6664 p = "userland const char *";
6670 p = "userland void *";
6679 /* freebsd32_ksem_timedwait */
6686 p = "userland const struct timespec32 *";
6692 /* freebsd32_thr_suspend */
6696 p = "userland const struct timespec32 *";
6729 p = "userland const void *";
6745 p = "userland void *";
6758 p = "userland uid_t *";
6768 p = "userland uid_t *";
6778 p = "userland struct auditinfo *";
6788 p = "userland struct auditinfo *";
6798 p = "userland struct auditinfo_addr *";
6811 p = "userland struct auditinfo_addr *";
6824 p = "userland const char *";
6830 /* freebsd32__umtx_op */
6834 p = "userland void *";
6843 p = "userland void *";
6846 p = "userland void *";
6852 /* freebsd32_thr_new */
6856 p = "userland struct thr_param32 *";
6865 /* freebsd32_sigqueue */
6881 /* freebsd32_kmq_open */
6885 p = "userland const char *";
6894 p = "userland const struct mq_attr32 *";
6900 /* freebsd32_kmq_setattr */
6907 p = "userland const struct mq_attr32 *";
6910 p = "userland struct mq_attr32 *";
6916 /* freebsd32_kmq_timedreceive */
6923 p = "userland char *";
6929 p = "userland unsigned *";
6932 p = "userland const struct timespec32 *";
6938 /* freebsd32_kmq_timedsend */
6945 p = "userland const char *";
6954 p = "userland const struct timespec32 *";
6960 /* freebsd32_kmq_notify */
6967 p = "userland const struct sigevent32 *";
6977 p = "userland const char *";
6987 p = "userland const char *";
6993 p = "userland void **";
7006 p = "userland const char *";
7012 /* freebsd32_aio_fsync */
7019 p = "userland struct aiocb32 *";
7035 p = "userland struct rtprio *";
7054 /* sctp_generic_sendmsg */
7061 p = "userland void *";
7067 p = "userland struct sockaddr *";
7073 p = "userland struct sctp_sndrcvinfo *";
7082 /* sctp_generic_sendmsg_iov */
7089 p = "userland struct iovec *";
7095 p = "userland struct sockaddr *";
7101 p = "userland struct sctp_sndrcvinfo *";
7110 /* sctp_generic_recvmsg */
7117 p = "userland struct iovec *";
7123 p = "userland struct sockaddr *";
7126 p = "userland __socklen_t *";
7129 p = "userland struct sctp_sndrcvinfo *";
7132 p = "userland int *";
7138 #ifdef PAD64_REQUIRED
7139 /* freebsd32_pread */
7146 p = "userland void *";
7164 /* freebsd32_pwrite */
7171 p = "userland const void *";
7189 /* freebsd32_mmap */
7193 p = "userland void *";
7220 /* freebsd32_lseek */
7242 /* freebsd32_truncate */
7246 p = "userland const char *";
7261 /* freebsd32_ftruncate */
7281 /* freebsd32_pread */
7288 p = "userland void *";
7303 /* freebsd32_pwrite */
7310 p = "userland const void *";
7325 /* freebsd32_mmap */
7329 p = "userland void *";
7353 /* freebsd32_lseek */
7372 /* freebsd32_truncate */
7376 p = "userland const char *";
7388 /* freebsd32_ftruncate */
7425 p = "userland const char *";
7441 p = "userland const char *";
7451 p = "userland cpusetid_t *";
7457 #ifdef PAD64_REQUIRED
7458 /* freebsd32_cpuset_setid */
7481 /* freebsd32_cpuset_setid */
7501 /* freebsd32_cpuset_getid */
7517 p = "userland cpusetid_t *";
7523 /* freebsd32_cpuset_getaffinity */
7542 p = "userland cpuset_t *";
7548 /* freebsd32_cpuset_setaffinity */
7567 p = "userland const cpuset_t *";
7580 p = "userland const char *";
7599 p = "userland const char *";
7618 p = "userland const char *";
7633 /* freebsd32_fexecve */
7640 p = "userland uint32_t *";
7643 p = "userland uint32_t *";
7649 /* freebsd32_futimesat */
7656 p = "userland const char *";
7659 p = "userland struct timeval *";
7672 p = "userland const char *";
7678 p = "userland const char *";
7694 p = "userland const char *";
7710 p = "userland const char *";
7726 p = "userland const char *";
7745 p = "userland const char *";
7748 p = "userland char *";
7764 p = "userland const char *";
7770 p = "userland const char *";
7780 p = "userland const char *";
7786 p = "userland const char *";
7799 p = "userland const char *";
7818 /* freebsd32_jail_get */
7822 p = "userland struct iovec32 *";
7834 /* freebsd32_jail_set */
7838 p = "userland struct iovec32 *";
7870 /* freebsd32_semctl */
7883 p = "userland union semun32 *";
7889 /* freebsd32_msgctl */
7899 p = "userland struct msqid_ds32 *";
7905 /* freebsd32_shmctl */
7915 p = "userland struct shmid_ds32 *";
7925 p = "userland const char *";
7934 /* __cap_rights_get */
7944 p = "userland cap_rights_t *";
7957 p = "userland u_int *";
7967 p = "userland int *";
7996 p = "userland pid_t *";
8002 /* freebsd32_pselect */
8009 p = "userland fd_set *";
8012 p = "userland fd_set *";
8015 p = "userland fd_set *";
8018 p = "userland const struct timespec32 *";
8021 p = "userland const sigset_t *";
8031 p = "userland char *";
8044 p = "userland const char *";
8050 /* rctl_get_racct */
8054 p = "userland const void *";
8060 p = "userland void *";
8069 /* rctl_get_rules */
8073 p = "userland const void *";
8079 p = "userland void *";
8088 /* rctl_get_limits */
8092 p = "userland const void *";
8098 p = "userland void *";
8111 p = "userland const void *";
8117 p = "userland void *";
8126 /* rctl_remove_rule */
8130 p = "userland const void *";
8136 p = "userland void *";
8145 #ifdef PAD64_REQUIRED
8146 /* freebsd32_posix_fallocate */
8171 /* freebsd32_posix_fadvise */
8199 /* freebsd32_wait6 */
8215 p = "userland int *";
8221 p = "userland struct wrusage32 *";
8224 p = "userland siginfo_t *";
8231 /* freebsd32_posix_fallocate */
8253 /* freebsd32_posix_fadvise */
8278 /* freebsd32_wait6 */
8291 p = "userland int *";
8297 p = "userland struct wrusage32 *";
8300 p = "userland siginfo_t *";
8307 /* cap_rights_limit */
8314 p = "userland cap_rights_t *";
8320 /* freebsd32_cap_ioctls_limit */
8327 p = "userland const uint32_t *";
8336 /* freebsd32_cap_ioctls_get */
8343 p = "userland uint32_t *";
8352 /* cap_fcntls_limit */
8365 /* cap_fcntls_get */
8372 p = "userland uint32_t *";
8388 p = "userland const struct sockaddr *";
8407 p = "userland const struct sockaddr *";
8423 p = "userland const char *";
8442 p = "userland struct sockaddr *";
8445 p = "userland __socklen_t *";
8458 p = "userland int *";
8467 /* freebsd32_aio_mlock */
8471 p = "userland struct aiocb32 *";
8477 #ifdef PAD64_REQUIRED
8478 /* freebsd32_procctl */
8497 p = "userland void *";
8504 /* freebsd32_procctl */
8520 p = "userland void *";
8527 /* freebsd32_ppoll */
8531 p = "userland struct pollfd *";
8537 p = "userland const struct timespec32 *";
8540 p = "userland const sigset_t *";
8546 /* freebsd32_futimens */
8553 p = "userland struct timespec *";
8559 /* freebsd32_utimensat */
8566 p = "userland const char *";
8569 p = "userland struct timespec *";
8588 /* freebsd32_fstat */
8595 p = "userland struct stat32 *";
8601 /* freebsd32_fstatat */
8608 p = "userland const char *";
8611 p = "userland struct stat32 *";
8620 /* freebsd32_fhstat */
8624 p = "userland const struct fhandle *";
8627 p = "userland struct stat32 *";
8640 p = "userland char *";
8646 p = "userland off_t *";
8656 p = "userland const char *";
8659 p = "userland struct statfs32 *";
8672 p = "userland struct statfs32 *";
8682 p = "userland struct statfs32 *";
8698 p = "userland const struct fhandle *";
8701 p = "userland struct statfs32 *";
8707 #ifdef PAD64_REQUIRED
8708 /* freebsd32_mknodat */
8715 p = "userland const char *";
8734 /* freebsd32_mknodat */
8741 p = "userland const char *";
8757 /* freebsd32_kevent */
8764 p = "userland const struct kevent32 *";
8770 p = "userland struct kevent32 *";
8776 p = "userland const struct timespec32 *";
8782 /* freebsd32_cpuset_getdomain */
8801 p = "userland domainset_t *";
8804 p = "userland int *";
8810 /* freebsd32_cpuset_setdomain */
8829 p = "userland domainset_t *";
8842 p = "userland void *";
8861 p = "userland char *";
8864 p = "userland struct fhandle *";
8877 p = "userland struct fhandle *";
8880 p = "userland const char *";
8890 p = "userland struct fhandle *";
8896 p = "userland const char *";
8906 p = "userland struct fhandle *";
8909 p = "userland char *";
8925 p = "userland const char *";
8941 strlcpy(desc, p, descsz);
8944 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8946 const char *p = NULL;
8948 #if !defined(PAD64_REQUIRED) && !defined(__amd64__)
8949 #define PAD64_REQUIRED
8955 if (ndx == 0 || ndx == 1)
8962 if (ndx == 0 || ndx == 1)
8967 if (ndx == 0 || ndx == 1)
8972 if (ndx == 0 || ndx == 1)
8977 if (ndx == 0 || ndx == 1)
8980 /* freebsd32_wait4 */
8982 if (ndx == 0 || ndx == 1)
8987 if (ndx == 0 || ndx == 1)
8992 if (ndx == 0 || ndx == 1)
8997 if (ndx == 0 || ndx == 1)
9002 if (ndx == 0 || ndx == 1)
9007 if (ndx == 0 || ndx == 1)
9012 if (ndx == 0 || ndx == 1)
9017 if (ndx == 0 || ndx == 1)
9024 if (ndx == 0 || ndx == 1)
9029 if (ndx == 0 || ndx == 1)
9034 if (ndx == 0 || ndx == 1)
9043 if (ndx == 0 || ndx == 1)
9046 /* freebsd32_recvmsg */
9048 if (ndx == 0 || ndx == 1)
9051 /* freebsd32_sendmsg */
9053 if (ndx == 0 || ndx == 1)
9056 /* freebsd32_recvfrom */
9058 if (ndx == 0 || ndx == 1)
9063 if (ndx == 0 || ndx == 1)
9068 if (ndx == 0 || ndx == 1)
9073 if (ndx == 0 || ndx == 1)
9078 if (ndx == 0 || ndx == 1)
9083 if (ndx == 0 || ndx == 1)
9088 if (ndx == 0 || ndx == 1)
9095 if (ndx == 0 || ndx == 1)
9102 if (ndx == 0 || ndx == 1)
9109 if (ndx == 0 || ndx == 1)
9114 if (ndx == 0 || ndx == 1)
9121 if (ndx == 0 || ndx == 1)
9126 if (ndx == 0 || ndx == 1)
9131 if (ndx == 0 || ndx == 1)
9134 /* freebsd32_sigaltstack */
9136 if (ndx == 0 || ndx == 1)
9139 /* freebsd32_ioctl */
9141 if (ndx == 0 || ndx == 1)
9146 if (ndx == 0 || ndx == 1)
9151 if (ndx == 0 || ndx == 1)
9156 if (ndx == 0 || ndx == 1)
9161 if (ndx == 0 || ndx == 1)
9164 /* freebsd32_execve */
9166 if (ndx == 0 || ndx == 1)
9171 if (ndx == 0 || ndx == 1)
9176 if (ndx == 0 || ndx == 1)
9181 if (ndx == 0 || ndx == 1)
9188 if (ndx == 0 || ndx == 1)
9193 if (ndx == 0 || ndx == 1)
9198 if (ndx == 0 || ndx == 1)
9201 /* freebsd32_mprotect */
9203 if (ndx == 0 || ndx == 1)
9208 if (ndx == 0 || ndx == 1)
9213 if (ndx == 0 || ndx == 1)
9218 if (ndx == 0 || ndx == 1)
9223 if (ndx == 0 || ndx == 1)
9230 if (ndx == 0 || ndx == 1)
9233 /* freebsd32_setitimer */
9235 if (ndx == 0 || ndx == 1)
9240 if (ndx == 0 || ndx == 1)
9243 /* freebsd32_getitimer */
9245 if (ndx == 0 || ndx == 1)
9252 if (ndx == 0 || ndx == 1)
9255 /* freebsd32_fcntl */
9257 if (ndx == 0 || ndx == 1)
9260 /* freebsd32_select */
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)
9305 /* freebsd32_gettimeofday */
9307 if (ndx == 0 || ndx == 1)
9310 /* freebsd32_getrusage */
9312 if (ndx == 0 || ndx == 1)
9317 if (ndx == 0 || ndx == 1)
9320 /* freebsd32_readv */
9322 if (ndx == 0 || ndx == 1)
9325 /* freebsd32_writev */
9327 if (ndx == 0 || ndx == 1)
9330 /* freebsd32_settimeofday */
9332 if (ndx == 0 || ndx == 1)
9337 if (ndx == 0 || ndx == 1)
9342 if (ndx == 0 || ndx == 1)
9347 if (ndx == 0 || ndx == 1)
9352 if (ndx == 0 || ndx == 1)
9357 if (ndx == 0 || ndx == 1)
9362 if (ndx == 0 || ndx == 1)
9367 if (ndx == 0 || ndx == 1)
9372 if (ndx == 0 || ndx == 1)
9377 if (ndx == 0 || ndx == 1)
9382 if (ndx == 0 || ndx == 1)
9387 if (ndx == 0 || ndx == 1)
9392 if (ndx == 0 || ndx == 1)
9395 /* freebsd32_utimes */
9397 if (ndx == 0 || ndx == 1)
9400 /* freebsd32_adjtime */
9402 if (ndx == 0 || ndx == 1)
9409 if (ndx == 0 || ndx == 1)
9414 if (ndx == 0 || ndx == 1)
9417 /* freebsd32_sysarch */
9419 if (ndx == 0 || ndx == 1)
9424 if (ndx == 0 || ndx == 1)
9427 /* freebsd32_semsys */
9429 if (ndx == 0 || ndx == 1)
9432 /* freebsd32_msgsys */
9434 if (ndx == 0 || ndx == 1)
9437 /* freebsd32_shmsys */
9439 if (ndx == 0 || ndx == 1)
9444 if (ndx == 0 || ndx == 1)
9449 if (ndx == 0 || ndx == 1)
9454 if (ndx == 0 || ndx == 1)
9459 if (ndx == 0 || ndx == 1)
9464 if (ndx == 0 || ndx == 1)
9469 if (ndx == 0 || ndx == 1)
9474 if (ndx == 0 || ndx == 1)
9479 if (ndx == 0 || ndx == 1)
9484 /* freebsd32___sysctl */
9486 if (ndx == 0 || ndx == 1)
9491 if (ndx == 0 || ndx == 1)
9496 if (ndx == 0 || ndx == 1)
9501 if (ndx == 0 || ndx == 1)
9504 /* freebsd32_futimes */
9506 if (ndx == 0 || ndx == 1)
9511 if (ndx == 0 || ndx == 1)
9516 if (ndx == 0 || ndx == 1)
9541 if (ndx == 0 || ndx == 1)
9546 if (ndx == 0 || ndx == 1)
9551 if (ndx == 0 || ndx == 1)
9554 /* freebsd32_msgsnd */
9556 if (ndx == 0 || ndx == 1)
9559 /* freebsd32_msgrcv */
9561 if (ndx == 0 || ndx == 1)
9566 if (ndx == 0 || ndx == 1)
9571 if (ndx == 0 || ndx == 1)
9576 if (ndx == 0 || ndx == 1)
9579 /* freebsd32_clock_gettime */
9581 if (ndx == 0 || ndx == 1)
9584 /* freebsd32_clock_settime */
9586 if (ndx == 0 || ndx == 1)
9589 /* freebsd32_clock_getres */
9591 if (ndx == 0 || ndx == 1)
9594 /* freebsd32_ktimer_create */
9596 if (ndx == 0 || ndx == 1)
9601 if (ndx == 0 || ndx == 1)
9604 /* freebsd32_ktimer_settime */
9606 if (ndx == 0 || ndx == 1)
9609 /* freebsd32_ktimer_gettime */
9611 if (ndx == 0 || ndx == 1)
9614 /* ktimer_getoverrun */
9616 if (ndx == 0 || ndx == 1)
9619 /* freebsd32_nanosleep */
9621 if (ndx == 0 || ndx == 1)
9624 /* ffclock_getcounter */
9626 if (ndx == 0 || ndx == 1)
9629 /* ffclock_setestimate */
9631 if (ndx == 0 || ndx == 1)
9634 /* ffclock_getestimate */
9636 if (ndx == 0 || ndx == 1)
9639 /* freebsd32_clock_nanosleep */
9641 if (ndx == 0 || ndx == 1)
9644 /* freebsd32_clock_getcpuclockid2 */
9646 if (ndx == 0 || ndx == 1)
9651 if (ndx == 0 || ndx == 1)
9656 if (ndx == 0 || ndx == 1)
9663 if (ndx == 0 || ndx == 1)
9666 /* freebsd32_aio_read */
9668 if (ndx == 0 || ndx == 1)
9671 /* freebsd32_aio_write */
9673 if (ndx == 0 || ndx == 1)
9676 /* freebsd32_lio_listio */
9678 if (ndx == 0 || ndx == 1)
9683 if (ndx == 0 || ndx == 1)
9686 /* freebsd32_lutimes */
9688 if (ndx == 0 || ndx == 1)
9691 /* freebsd32_preadv */
9693 if (ndx == 0 || ndx == 1)
9696 /* freebsd32_pwritev */
9698 if (ndx == 0 || ndx == 1)
9703 if (ndx == 0 || ndx == 1)
9708 if (ndx == 0 || ndx == 1)
9711 /* freebsd32_modstat */
9713 if (ndx == 0 || ndx == 1)
9718 if (ndx == 0 || ndx == 1)
9723 if (ndx == 0 || ndx == 1)
9728 if (ndx == 0 || ndx == 1)
9733 if (ndx == 0 || ndx == 1)
9738 if (ndx == 0 || ndx == 1)
9743 if (ndx == 0 || ndx == 1)
9746 /* freebsd32_kldstat */
9748 if (ndx == 0 || ndx == 1)
9753 if (ndx == 0 || ndx == 1)
9758 if (ndx == 0 || ndx == 1)
9763 if (ndx == 0 || ndx == 1)
9768 if (ndx == 0 || ndx == 1)
9771 /* freebsd32_aio_return */
9773 if (ndx == 0 || ndx == 1)
9776 /* freebsd32_aio_suspend */
9778 if (ndx == 0 || ndx == 1)
9783 if (ndx == 0 || ndx == 1)
9786 /* freebsd32_aio_error */
9788 if (ndx == 0 || ndx == 1)
9795 if (ndx == 0 || ndx == 1)
9802 if (ndx == 0 || ndx == 1)
9805 /* sched_setparam */
9807 if (ndx == 0 || ndx == 1)
9810 /* sched_getparam */
9812 if (ndx == 0 || ndx == 1)
9815 /* sched_setscheduler */
9817 if (ndx == 0 || ndx == 1)
9820 /* sched_getscheduler */
9822 if (ndx == 0 || ndx == 1)
9827 /* sched_get_priority_max */
9829 if (ndx == 0 || ndx == 1)
9832 /* sched_get_priority_min */
9834 if (ndx == 0 || ndx == 1)
9837 /* freebsd32_sched_rr_get_interval */
9839 if (ndx == 0 || ndx == 1)
9844 if (ndx == 0 || ndx == 1)
9849 if (ndx == 0 || ndx == 1)
9852 /* freebsd32_jail */
9854 if (ndx == 0 || ndx == 1)
9859 if (ndx == 0 || ndx == 1)
9864 if (ndx == 0 || ndx == 1)
9869 if (ndx == 0 || ndx == 1)
9872 /* freebsd32_sigtimedwait */
9874 if (ndx == 0 || ndx == 1)
9877 /* freebsd32_sigwaitinfo */
9879 if (ndx == 0 || ndx == 1)
9882 /* __acl_get_file */
9884 if (ndx == 0 || ndx == 1)
9887 /* __acl_set_file */
9889 if (ndx == 0 || ndx == 1)
9894 if (ndx == 0 || ndx == 1)
9899 if (ndx == 0 || ndx == 1)
9902 /* __acl_delete_file */
9904 if (ndx == 0 || ndx == 1)
9907 /* __acl_delete_fd */
9909 if (ndx == 0 || ndx == 1)
9912 /* __acl_aclcheck_file */
9914 if (ndx == 0 || ndx == 1)
9917 /* __acl_aclcheck_fd */
9919 if (ndx == 0 || ndx == 1)
9924 if (ndx == 0 || ndx == 1)
9927 /* extattr_set_file */
9929 if (ndx == 0 || ndx == 1)
9932 /* extattr_get_file */
9934 if (ndx == 0 || ndx == 1)
9937 /* extattr_delete_file */
9939 if (ndx == 0 || ndx == 1)
9942 /* freebsd32_aio_waitcomplete */
9944 if (ndx == 0 || ndx == 1)
9949 if (ndx == 0 || ndx == 1)
9954 if (ndx == 0 || ndx == 1)
9959 /* extattr_set_fd */
9961 if (ndx == 0 || ndx == 1)
9964 /* extattr_get_fd */
9966 if (ndx == 0 || ndx == 1)
9969 /* extattr_delete_fd */
9971 if (ndx == 0 || ndx == 1)
9976 if (ndx == 0 || ndx == 1)
9981 if (ndx == 0 || ndx == 1)
9984 /* freebsd32_nmount */
9986 if (ndx == 0 || ndx == 1)
9991 if (ndx == 0 || ndx == 1)
9996 if (ndx == 0 || ndx == 1)
10001 if (ndx == 0 || ndx == 1)
10004 /* freebsd32_sendfile */
10006 if (ndx == 0 || ndx == 1)
10011 if (ndx == 0 || ndx == 1)
10016 if (ndx == 0 || ndx == 1)
10021 if (ndx == 0 || ndx == 1)
10026 if (ndx == 0 || ndx == 1)
10029 /* freebsd32_ksem_init */
10031 if (ndx == 0 || ndx == 1)
10034 /* freebsd32_ksem_open */
10036 if (ndx == 0 || ndx == 1)
10041 if (ndx == 0 || ndx == 1)
10044 /* ksem_getvalue */
10046 if (ndx == 0 || ndx == 1)
10051 if (ndx == 0 || ndx == 1)
10054 /* extattr_set_link */
10056 if (ndx == 0 || ndx == 1)
10059 /* extattr_get_link */
10061 if (ndx == 0 || ndx == 1)
10064 /* extattr_delete_link */
10066 if (ndx == 0 || ndx == 1)
10069 /* freebsd32_sigaction */
10071 if (ndx == 0 || ndx == 1)
10074 /* freebsd32_sigreturn */
10076 if (ndx == 0 || ndx == 1)
10079 /* freebsd32_getcontext */
10081 if (ndx == 0 || ndx == 1)
10084 /* freebsd32_setcontext */
10086 if (ndx == 0 || ndx == 1)
10089 /* freebsd32_swapcontext */
10091 if (ndx == 0 || ndx == 1)
10094 /* __acl_get_link */
10096 if (ndx == 0 || ndx == 1)
10099 /* __acl_set_link */
10101 if (ndx == 0 || ndx == 1)
10104 /* __acl_delete_link */
10106 if (ndx == 0 || ndx == 1)
10109 /* __acl_aclcheck_link */
10111 if (ndx == 0 || ndx == 1)
10116 if (ndx == 0 || ndx == 1)
10121 if (ndx == 0 || ndx == 1)
10126 if (ndx == 0 || ndx == 1)
10131 if (ndx == 0 || ndx == 1)
10136 if (ndx == 0 || ndx == 1)
10139 /* extattr_list_fd */
10141 if (ndx == 0 || ndx == 1)
10144 /* extattr_list_file */
10146 if (ndx == 0 || ndx == 1)
10149 /* extattr_list_link */
10151 if (ndx == 0 || ndx == 1)
10154 /* freebsd32_ksem_timedwait */
10156 if (ndx == 0 || ndx == 1)
10159 /* freebsd32_thr_suspend */
10161 if (ndx == 0 || ndx == 1)
10166 if (ndx == 0 || ndx == 1)
10171 if (ndx == 0 || ndx == 1)
10176 if (ndx == 0 || ndx == 1)
10181 if (ndx == 0 || ndx == 1)
10186 if (ndx == 0 || ndx == 1)
10191 if (ndx == 0 || ndx == 1)
10196 if (ndx == 0 || ndx == 1)
10201 if (ndx == 0 || ndx == 1)
10204 /* getaudit_addr */
10206 if (ndx == 0 || ndx == 1)
10209 /* setaudit_addr */
10211 if (ndx == 0 || ndx == 1)
10216 if (ndx == 0 || ndx == 1)
10219 /* freebsd32__umtx_op */
10221 if (ndx == 0 || ndx == 1)
10224 /* freebsd32_thr_new */
10226 if (ndx == 0 || ndx == 1)
10229 /* freebsd32_sigqueue */
10231 if (ndx == 0 || ndx == 1)
10234 /* freebsd32_kmq_open */
10236 if (ndx == 0 || ndx == 1)
10239 /* freebsd32_kmq_setattr */
10241 if (ndx == 0 || ndx == 1)
10244 /* freebsd32_kmq_timedreceive */
10246 if (ndx == 0 || ndx == 1)
10249 /* freebsd32_kmq_timedsend */
10251 if (ndx == 0 || ndx == 1)
10254 /* freebsd32_kmq_notify */
10256 if (ndx == 0 || ndx == 1)
10261 if (ndx == 0 || ndx == 1)
10266 if (ndx == 0 || ndx == 1)
10271 if (ndx == 0 || ndx == 1)
10274 /* freebsd32_aio_fsync */
10276 if (ndx == 0 || ndx == 1)
10279 /* rtprio_thread */
10281 if (ndx == 0 || ndx == 1)
10286 if (ndx == 0 || ndx == 1)
10289 /* sctp_generic_sendmsg */
10291 if (ndx == 0 || ndx == 1)
10294 /* sctp_generic_sendmsg_iov */
10296 if (ndx == 0 || ndx == 1)
10299 /* sctp_generic_recvmsg */
10301 if (ndx == 0 || ndx == 1)
10304 #ifdef PAD64_REQUIRED
10305 /* freebsd32_pread */
10307 if (ndx == 0 || ndx == 1)
10310 /* freebsd32_pwrite */
10312 if (ndx == 0 || ndx == 1)
10315 /* freebsd32_mmap */
10317 if (ndx == 0 || ndx == 1)
10320 /* freebsd32_lseek */
10322 if (ndx == 0 || ndx == 1)
10325 /* freebsd32_truncate */
10327 if (ndx == 0 || ndx == 1)
10330 /* freebsd32_ftruncate */
10332 if (ndx == 0 || ndx == 1)
10336 /* freebsd32_pread */
10338 if (ndx == 0 || ndx == 1)
10341 /* freebsd32_pwrite */
10343 if (ndx == 0 || ndx == 1)
10346 /* freebsd32_mmap */
10348 if (ndx == 0 || ndx == 1)
10351 /* freebsd32_lseek */
10353 if (ndx == 0 || ndx == 1)
10356 /* freebsd32_truncate */
10358 if (ndx == 0 || ndx == 1)
10361 /* freebsd32_ftruncate */
10363 if (ndx == 0 || ndx == 1)
10369 if (ndx == 0 || ndx == 1)
10374 if (ndx == 0 || ndx == 1)
10379 if (ndx == 0 || ndx == 1)
10384 if (ndx == 0 || ndx == 1)
10387 #ifdef PAD64_REQUIRED
10388 /* freebsd32_cpuset_setid */
10390 if (ndx == 0 || ndx == 1)
10394 /* freebsd32_cpuset_setid */
10396 if (ndx == 0 || ndx == 1)
10400 /* freebsd32_cpuset_getid */
10402 if (ndx == 0 || ndx == 1)
10405 /* freebsd32_cpuset_getaffinity */
10407 if (ndx == 0 || ndx == 1)
10410 /* freebsd32_cpuset_setaffinity */
10412 if (ndx == 0 || ndx == 1)
10417 if (ndx == 0 || ndx == 1)
10422 if (ndx == 0 || ndx == 1)
10427 if (ndx == 0 || ndx == 1)
10430 /* freebsd32_fexecve */
10432 if (ndx == 0 || ndx == 1)
10435 /* freebsd32_futimesat */
10437 if (ndx == 0 || ndx == 1)
10442 if (ndx == 0 || ndx == 1)
10447 if (ndx == 0 || ndx == 1)
10452 if (ndx == 0 || ndx == 1)
10457 if (ndx == 0 || ndx == 1)
10462 if (ndx == 0 || ndx == 1)
10467 if (ndx == 0 || ndx == 1)
10472 if (ndx == 0 || ndx == 1)
10477 if (ndx == 0 || ndx == 1)
10482 if (ndx == 0 || ndx == 1)
10485 /* freebsd32_jail_get */
10487 if (ndx == 0 || ndx == 1)
10490 /* freebsd32_jail_set */
10492 if (ndx == 0 || ndx == 1)
10497 if (ndx == 0 || ndx == 1)
10502 if (ndx == 0 || ndx == 1)
10505 /* freebsd32_semctl */
10507 if (ndx == 0 || ndx == 1)
10510 /* freebsd32_msgctl */
10512 if (ndx == 0 || ndx == 1)
10515 /* freebsd32_shmctl */
10517 if (ndx == 0 || ndx == 1)
10522 if (ndx == 0 || ndx == 1)
10525 /* __cap_rights_get */
10527 if (ndx == 0 || ndx == 1)
10534 if (ndx == 0 || ndx == 1)
10539 if (ndx == 0 || ndx == 1)
10544 if (ndx == 0 || ndx == 1)
10549 if (ndx == 0 || ndx == 1)
10552 /* freebsd32_pselect */
10554 if (ndx == 0 || ndx == 1)
10557 /* getloginclass */
10559 if (ndx == 0 || ndx == 1)
10562 /* setloginclass */
10564 if (ndx == 0 || ndx == 1)
10567 /* rctl_get_racct */
10569 if (ndx == 0 || ndx == 1)
10572 /* rctl_get_rules */
10574 if (ndx == 0 || ndx == 1)
10577 /* rctl_get_limits */
10579 if (ndx == 0 || ndx == 1)
10582 /* rctl_add_rule */
10584 if (ndx == 0 || ndx == 1)
10587 /* rctl_remove_rule */
10589 if (ndx == 0 || ndx == 1)
10592 #ifdef PAD64_REQUIRED
10593 /* freebsd32_posix_fallocate */
10595 if (ndx == 0 || ndx == 1)
10598 /* freebsd32_posix_fadvise */
10600 if (ndx == 0 || ndx == 1)
10603 /* freebsd32_wait6 */
10605 if (ndx == 0 || ndx == 1)
10609 /* freebsd32_posix_fallocate */
10611 if (ndx == 0 || ndx == 1)
10614 /* freebsd32_posix_fadvise */
10616 if (ndx == 0 || ndx == 1)
10619 /* freebsd32_wait6 */
10621 if (ndx == 0 || ndx == 1)
10625 /* cap_rights_limit */
10627 if (ndx == 0 || ndx == 1)
10630 /* freebsd32_cap_ioctls_limit */
10632 if (ndx == 0 || ndx == 1)
10635 /* freebsd32_cap_ioctls_get */
10637 if (ndx == 0 || ndx == 1)
10640 /* cap_fcntls_limit */
10642 if (ndx == 0 || ndx == 1)
10645 /* cap_fcntls_get */
10647 if (ndx == 0 || ndx == 1)
10652 if (ndx == 0 || ndx == 1)
10657 if (ndx == 0 || ndx == 1)
10662 if (ndx == 0 || ndx == 1)
10667 if (ndx == 0 || ndx == 1)
10672 if (ndx == 0 || ndx == 1)
10675 /* freebsd32_aio_mlock */
10677 if (ndx == 0 || ndx == 1)
10680 #ifdef PAD64_REQUIRED
10681 /* freebsd32_procctl */
10683 if (ndx == 0 || ndx == 1)
10687 /* freebsd32_procctl */
10689 if (ndx == 0 || ndx == 1)
10693 /* freebsd32_ppoll */
10695 if (ndx == 0 || ndx == 1)
10698 /* freebsd32_futimens */
10700 if (ndx == 0 || ndx == 1)
10703 /* freebsd32_utimensat */
10705 if (ndx == 0 || ndx == 1)
10710 if (ndx == 0 || ndx == 1)
10713 /* freebsd32_fstat */
10715 if (ndx == 0 || ndx == 1)
10718 /* freebsd32_fstatat */
10720 if (ndx == 0 || ndx == 1)
10723 /* freebsd32_fhstat */
10725 if (ndx == 0 || ndx == 1)
10728 /* getdirentries */
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)
10753 #ifdef PAD64_REQUIRED
10754 /* freebsd32_mknodat */
10756 if (ndx == 0 || ndx == 1)
10760 /* freebsd32_mknodat */
10762 if (ndx == 0 || ndx == 1)
10766 /* freebsd32_kevent */
10768 if (ndx == 0 || ndx == 1)
10771 /* freebsd32_cpuset_getdomain */
10773 if (ndx == 0 || ndx == 1)
10776 /* freebsd32_cpuset_setdomain */
10778 if (ndx == 0 || ndx == 1)
10783 if (ndx == 0 || ndx == 1)
10788 if (ndx == 0 || ndx == 1)
10793 if (ndx == 0 || ndx == 1)
10798 if (ndx == 0 || ndx == 1)
10803 if (ndx == 0 || ndx == 1)
10808 if (ndx == 0 || ndx == 1)
10815 strlcpy(desc, p, descsz);