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, u_int64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *) uarg;
21 struct sys_exit_args *p = params;
22 iarg[0] = p->rval; /* int */
33 struct read_args *p = params;
34 iarg[0] = p->fd; /* int */
35 uarg[1] = (intptr_t) p->buf; /* void * */
36 uarg[2] = p->nbyte; /* size_t */
42 struct write_args *p = params;
43 iarg[0] = p->fd; /* int */
44 uarg[1] = (intptr_t) p->buf; /* const void * */
45 uarg[2] = p->nbyte; /* size_t */
51 struct open_args *p = params;
52 uarg[0] = (intptr_t) p->path; /* char * */
53 iarg[1] = p->flags; /* int */
54 iarg[2] = p->mode; /* int */
60 struct close_args *p = params;
61 iarg[0] = p->fd; /* int */
67 struct wait_args *p = params;
68 iarg[0] = p->pid; /* int */
69 uarg[1] = (intptr_t) p->status; /* int * */
70 iarg[2] = p->options; /* int */
71 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
77 struct link_args *p = params;
78 uarg[0] = (intptr_t) p->path; /* char * */
79 uarg[1] = (intptr_t) p->link; /* char * */
85 struct unlink_args *p = params;
86 uarg[0] = (intptr_t) p->path; /* char * */
92 struct chdir_args *p = params;
93 uarg[0] = (intptr_t) p->path; /* char * */
99 struct fchdir_args *p = params;
100 iarg[0] = p->fd; /* int */
106 struct mknod_args *p = params;
107 uarg[0] = (intptr_t) p->path; /* char * */
108 iarg[1] = p->mode; /* int */
109 iarg[2] = p->dev; /* int */
115 struct chmod_args *p = params;
116 uarg[0] = (intptr_t) p->path; /* char * */
117 iarg[1] = p->mode; /* int */
123 struct chown_args *p = params;
124 uarg[0] = (intptr_t) p->path; /* char * */
125 iarg[1] = p->uid; /* int */
126 iarg[2] = p->gid; /* int */
132 struct obreak_args *p = params;
133 uarg[0] = (intptr_t) p->nsize; /* char * */
144 struct mount_args *p = params;
145 uarg[0] = (intptr_t) p->type; /* char * */
146 uarg[1] = (intptr_t) p->path; /* char * */
147 iarg[2] = p->flags; /* int */
148 uarg[3] = (intptr_t) p->data; /* caddr_t */
154 struct unmount_args *p = params;
155 uarg[0] = (intptr_t) p->path; /* char * */
156 iarg[1] = p->flags; /* int */
162 struct setuid_args *p = params;
163 uarg[0] = p->uid; /* uid_t */
179 struct ptrace_args *p = params;
180 iarg[0] = p->req; /* int */
181 iarg[1] = p->pid; /* pid_t */
182 uarg[2] = (intptr_t) p->addr; /* caddr_t */
183 iarg[3] = p->data; /* int */
189 struct recvmsg_args *p = params;
190 iarg[0] = p->s; /* int */
191 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
192 iarg[2] = p->flags; /* int */
198 struct sendmsg_args *p = params;
199 iarg[0] = p->s; /* int */
200 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
201 iarg[2] = p->flags; /* int */
207 struct recvfrom_args *p = params;
208 iarg[0] = p->s; /* int */
209 uarg[1] = (intptr_t) p->buf; /* caddr_t */
210 uarg[2] = p->len; /* size_t */
211 iarg[3] = p->flags; /* int */
212 uarg[4] = (intptr_t) p->from; /* struct sockaddr *__restrict */
213 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t *__restrict */
219 struct accept_args *p = params;
220 iarg[0] = p->s; /* int */
221 uarg[1] = (intptr_t) p->name; /* struct sockaddr *__restrict */
222 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t *__restrict */
228 struct getpeername_args *p = params;
229 iarg[0] = p->fdes; /* int */
230 uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */
231 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */
237 struct getsockname_args *p = params;
238 iarg[0] = p->fdes; /* int */
239 uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */
240 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */
246 struct access_args *p = params;
247 uarg[0] = (intptr_t) p->path; /* char * */
248 iarg[1] = p->flags; /* int */
254 struct chflags_args *p = params;
255 uarg[0] = (intptr_t) p->path; /* char * */
256 iarg[1] = p->flags; /* int */
262 struct fchflags_args *p = params;
263 iarg[0] = p->fd; /* int */
264 iarg[1] = p->flags; /* int */
275 struct kill_args *p = params;
276 iarg[0] = p->pid; /* int */
277 iarg[1] = p->signum; /* int */
288 struct dup_args *p = params;
289 uarg[0] = p->fd; /* u_int */
305 struct profil_args *p = params;
306 uarg[0] = (intptr_t) p->samples; /* caddr_t */
307 uarg[1] = p->size; /* size_t */
308 uarg[2] = p->offset; /* size_t */
309 uarg[3] = p->scale; /* u_int */
315 struct ktrace_args *p = params;
316 uarg[0] = (intptr_t) p->fname; /* const char * */
317 iarg[1] = p->ops; /* int */
318 iarg[2] = p->facs; /* int */
319 iarg[3] = p->pid; /* int */
330 struct getlogin_args *p = params;
331 uarg[0] = (intptr_t) p->namebuf; /* char * */
332 uarg[1] = p->namelen; /* u_int */
338 struct setlogin_args *p = params;
339 uarg[0] = (intptr_t) p->namebuf; /* char * */
345 struct acct_args *p = params;
346 uarg[0] = (intptr_t) p->path; /* char * */
352 struct sigaltstack_args *p = params;
353 uarg[0] = (intptr_t) p->ss; /* stack_t * */
354 uarg[1] = (intptr_t) p->oss; /* stack_t * */
360 struct ioctl_args *p = params;
361 iarg[0] = p->fd; /* int */
362 uarg[1] = p->com; /* u_long */
363 uarg[2] = (intptr_t) p->data; /* caddr_t */
369 struct reboot_args *p = params;
370 iarg[0] = p->opt; /* int */
376 struct revoke_args *p = params;
377 uarg[0] = (intptr_t) p->path; /* char * */
383 struct symlink_args *p = params;
384 uarg[0] = (intptr_t) p->path; /* char * */
385 uarg[1] = (intptr_t) p->link; /* char * */
391 struct readlink_args *p = params;
392 uarg[0] = (intptr_t) p->path; /* char * */
393 uarg[1] = (intptr_t) p->buf; /* char * */
394 iarg[2] = p->count; /* int */
400 struct execve_args *p = params;
401 uarg[0] = (intptr_t) p->fname; /* char * */
402 uarg[1] = (intptr_t) p->argv; /* char ** */
403 uarg[2] = (intptr_t) p->envv; /* char ** */
409 struct umask_args *p = params;
410 iarg[0] = p->newmask; /* int */
416 struct chroot_args *p = params;
417 uarg[0] = (intptr_t) p->path; /* char * */
423 struct msync_args *p = params;
424 uarg[0] = (intptr_t) p->addr; /* void * */
425 uarg[1] = p->len; /* size_t */
426 iarg[2] = p->flags; /* int */
437 struct sbrk_args *p = params;
438 iarg[0] = p->incr; /* int */
444 struct sstk_args *p = params;
445 iarg[0] = p->incr; /* int */
451 struct ovadvise_args *p = params;
452 iarg[0] = p->anom; /* int */
458 struct munmap_args *p = params;
459 uarg[0] = (intptr_t) p->addr; /* void * */
460 uarg[1] = p->len; /* size_t */
466 struct mprotect_args *p = params;
467 uarg[0] = (intptr_t) p->addr; /* const void * */
468 uarg[1] = p->len; /* size_t */
469 iarg[2] = p->prot; /* int */
475 struct madvise_args *p = params;
476 uarg[0] = (intptr_t) p->addr; /* void * */
477 uarg[1] = p->len; /* size_t */
478 iarg[2] = p->behav; /* int */
484 struct mincore_args *p = params;
485 uarg[0] = (intptr_t) p->addr; /* const void * */
486 uarg[1] = p->len; /* size_t */
487 uarg[2] = (intptr_t) p->vec; /* char * */
493 struct getgroups_args *p = params;
494 uarg[0] = p->gidsetsize; /* u_int */
495 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
501 struct setgroups_args *p = params;
502 uarg[0] = p->gidsetsize; /* u_int */
503 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
514 struct setpgid_args *p = params;
515 iarg[0] = p->pid; /* int */
516 iarg[1] = p->pgid; /* int */
522 struct setitimer_args *p = params;
523 uarg[0] = p->which; /* u_int */
524 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
525 uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */
531 struct swapon_args *p = params;
532 uarg[0] = (intptr_t) p->name; /* char * */
538 struct getitimer_args *p = params;
539 uarg[0] = p->which; /* u_int */
540 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
551 struct dup2_args *p = params;
552 uarg[0] = p->from; /* u_int */
553 uarg[1] = p->to; /* u_int */
559 struct fcntl_args *p = params;
560 iarg[0] = p->fd; /* int */
561 iarg[1] = p->cmd; /* int */
562 iarg[2] = p->arg; /* long */
568 struct select_args *p = params;
569 iarg[0] = p->nd; /* int */
570 uarg[1] = (intptr_t) p->in; /* fd_set * */
571 uarg[2] = (intptr_t) p->ou; /* fd_set * */
572 uarg[3] = (intptr_t) p->ex; /* fd_set * */
573 uarg[4] = (intptr_t) p->tv; /* struct timeval * */
579 struct fsync_args *p = params;
580 iarg[0] = p->fd; /* int */
586 struct setpriority_args *p = params;
587 iarg[0] = p->which; /* int */
588 iarg[1] = p->who; /* int */
589 iarg[2] = p->prio; /* int */
595 struct socket_args *p = params;
596 iarg[0] = p->domain; /* int */
597 iarg[1] = p->type; /* int */
598 iarg[2] = p->protocol; /* int */
604 struct connect_args *p = params;
605 iarg[0] = p->s; /* int */
606 uarg[1] = (intptr_t) p->name; /* caddr_t */
607 iarg[2] = p->namelen; /* int */
613 struct getpriority_args *p = params;
614 iarg[0] = p->which; /* int */
615 iarg[1] = p->who; /* int */
621 struct bind_args *p = params;
622 iarg[0] = p->s; /* int */
623 uarg[1] = (intptr_t) p->name; /* caddr_t */
624 iarg[2] = p->namelen; /* int */
630 struct setsockopt_args *p = params;
631 iarg[0] = p->s; /* int */
632 iarg[1] = p->level; /* int */
633 iarg[2] = p->name; /* int */
634 uarg[3] = (intptr_t) p->val; /* caddr_t */
635 iarg[4] = p->valsize; /* int */
641 struct listen_args *p = params;
642 iarg[0] = p->s; /* int */
643 iarg[1] = p->backlog; /* int */
649 struct gettimeofday_args *p = params;
650 uarg[0] = (intptr_t) p->tp; /* struct timeval * */
651 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
657 struct getrusage_args *p = params;
658 iarg[0] = p->who; /* int */
659 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
665 struct getsockopt_args *p = params;
666 iarg[0] = p->s; /* int */
667 iarg[1] = p->level; /* int */
668 iarg[2] = p->name; /* int */
669 uarg[3] = (intptr_t) p->val; /* caddr_t */
670 uarg[4] = (intptr_t) p->avalsize; /* int * */
676 struct readv_args *p = params;
677 iarg[0] = p->fd; /* int */
678 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
679 uarg[2] = p->iovcnt; /* u_int */
685 struct writev_args *p = params;
686 iarg[0] = p->fd; /* int */
687 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
688 uarg[2] = p->iovcnt; /* u_int */
694 struct settimeofday_args *p = params;
695 uarg[0] = (intptr_t) p->tv; /* struct timeval * */
696 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
702 struct fchown_args *p = params;
703 iarg[0] = p->fd; /* int */
704 iarg[1] = p->uid; /* int */
705 iarg[2] = p->gid; /* int */
711 struct fchmod_args *p = params;
712 iarg[0] = p->fd; /* int */
713 iarg[1] = p->mode; /* int */
719 struct setreuid_args *p = params;
720 iarg[0] = p->ruid; /* int */
721 iarg[1] = p->euid; /* int */
727 struct setregid_args *p = params;
728 iarg[0] = p->rgid; /* int */
729 iarg[1] = p->egid; /* int */
735 struct rename_args *p = params;
736 uarg[0] = (intptr_t) p->from; /* char * */
737 uarg[1] = (intptr_t) p->to; /* char * */
743 struct flock_args *p = params;
744 iarg[0] = p->fd; /* int */
745 iarg[1] = p->how; /* int */
751 struct mkfifo_args *p = params;
752 uarg[0] = (intptr_t) p->path; /* char * */
753 iarg[1] = p->mode; /* int */
759 struct sendto_args *p = params;
760 iarg[0] = p->s; /* int */
761 uarg[1] = (intptr_t) p->buf; /* caddr_t */
762 uarg[2] = p->len; /* size_t */
763 iarg[3] = p->flags; /* int */
764 uarg[4] = (intptr_t) p->to; /* caddr_t */
765 iarg[5] = p->tolen; /* int */
771 struct shutdown_args *p = params;
772 iarg[0] = p->s; /* int */
773 iarg[1] = p->how; /* int */
779 struct socketpair_args *p = params;
780 iarg[0] = p->domain; /* int */
781 iarg[1] = p->type; /* int */
782 iarg[2] = p->protocol; /* int */
783 uarg[3] = (intptr_t) p->rsv; /* int * */
789 struct mkdir_args *p = params;
790 uarg[0] = (intptr_t) p->path; /* char * */
791 iarg[1] = p->mode; /* int */
797 struct rmdir_args *p = params;
798 uarg[0] = (intptr_t) p->path; /* char * */
804 struct utimes_args *p = params;
805 uarg[0] = (intptr_t) p->path; /* char * */
806 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
812 struct adjtime_args *p = params;
813 uarg[0] = (intptr_t) p->delta; /* struct timeval * */
814 uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */
825 struct quotactl_args *p = params;
826 uarg[0] = (intptr_t) p->path; /* char * */
827 iarg[1] = p->cmd; /* int */
828 iarg[2] = p->uid; /* int */
829 uarg[3] = (intptr_t) p->arg; /* caddr_t */
835 struct nfssvc_args *p = params;
836 iarg[0] = p->flag; /* int */
837 uarg[1] = (intptr_t) p->argp; /* caddr_t */
843 struct lgetfh_args *p = params;
844 uarg[0] = (intptr_t) p->fname; /* char * */
845 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
851 struct getfh_args *p = params;
852 uarg[0] = (intptr_t) p->fname; /* char * */
853 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
859 struct getdomainname_args *p = params;
860 uarg[0] = (intptr_t) p->domainname; /* char * */
861 iarg[1] = p->len; /* int */
867 struct setdomainname_args *p = params;
868 uarg[0] = (intptr_t) p->domainname; /* char * */
869 iarg[1] = p->len; /* int */
875 struct uname_args *p = params;
876 uarg[0] = (intptr_t) p->name; /* struct utsname * */
882 struct sysarch_args *p = params;
883 iarg[0] = p->op; /* int */
884 uarg[1] = (intptr_t) p->parms; /* char * */
890 struct rtprio_args *p = params;
891 iarg[0] = p->function; /* int */
892 iarg[1] = p->pid; /* pid_t */
893 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
899 struct semsys_args *p = params;
900 iarg[0] = p->which; /* int */
901 iarg[1] = p->a2; /* int */
902 iarg[2] = p->a3; /* int */
903 iarg[3] = p->a4; /* int */
904 iarg[4] = p->a5; /* int */
910 struct msgsys_args *p = params;
911 iarg[0] = p->which; /* int */
912 iarg[1] = p->a2; /* int */
913 iarg[2] = p->a3; /* int */
914 iarg[3] = p->a4; /* int */
915 iarg[4] = p->a5; /* int */
916 iarg[5] = p->a6; /* int */
922 struct shmsys_args *p = params;
923 iarg[0] = p->which; /* int */
924 iarg[1] = p->a2; /* int */
925 iarg[2] = p->a3; /* int */
926 iarg[3] = p->a4; /* int */
932 struct freebsd6_pread_args *p = params;
933 iarg[0] = p->fd; /* int */
934 uarg[1] = (intptr_t) p->buf; /* void * */
935 uarg[2] = p->nbyte; /* size_t */
936 iarg[3] = p->pad; /* int */
937 iarg[4] = p->offset; /* off_t */
941 /* freebsd6_pwrite */
943 struct freebsd6_pwrite_args *p = params;
944 iarg[0] = p->fd; /* int */
945 uarg[1] = (intptr_t) p->buf; /* const void * */
946 uarg[2] = p->nbyte; /* size_t */
947 iarg[3] = p->pad; /* int */
948 iarg[4] = p->offset; /* off_t */
954 struct ntp_adjtime_args *p = params;
955 uarg[0] = (intptr_t) p->tp; /* struct timex * */
961 struct setgid_args *p = params;
962 iarg[0] = p->gid; /* gid_t */
968 struct setegid_args *p = params;
969 iarg[0] = p->egid; /* gid_t */
975 struct seteuid_args *p = params;
976 uarg[0] = p->euid; /* uid_t */
982 struct stat_args *p = params;
983 uarg[0] = (intptr_t) p->path; /* char * */
984 uarg[1] = (intptr_t) p->ub; /* struct stat * */
990 struct fstat_args *p = params;
991 iarg[0] = p->fd; /* int */
992 uarg[1] = (intptr_t) p->sb; /* struct stat * */
998 struct lstat_args *p = params;
999 uarg[0] = (intptr_t) p->path; /* char * */
1000 uarg[1] = (intptr_t) p->ub; /* struct stat * */
1006 struct pathconf_args *p = params;
1007 uarg[0] = (intptr_t) p->path; /* char * */
1008 iarg[1] = p->name; /* int */
1014 struct fpathconf_args *p = params;
1015 iarg[0] = p->fd; /* int */
1016 iarg[1] = p->name; /* int */
1022 struct __getrlimit_args *p = params;
1023 uarg[0] = p->which; /* u_int */
1024 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1030 struct __setrlimit_args *p = params;
1031 uarg[0] = p->which; /* u_int */
1032 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1038 struct getdirentries_args *p = params;
1039 iarg[0] = p->fd; /* int */
1040 uarg[1] = (intptr_t) p->buf; /* char * */
1041 uarg[2] = p->count; /* u_int */
1042 uarg[3] = (intptr_t) p->basep; /* long * */
1048 struct freebsd6_mmap_args *p = params;
1049 uarg[0] = (intptr_t) p->addr; /* caddr_t */
1050 uarg[1] = p->len; /* size_t */
1051 iarg[2] = p->prot; /* int */
1052 iarg[3] = p->flags; /* int */
1053 iarg[4] = p->fd; /* int */
1054 iarg[5] = p->pad; /* int */
1055 iarg[6] = p->pos; /* off_t */
1064 /* freebsd6_lseek */
1066 struct freebsd6_lseek_args *p = params;
1067 iarg[0] = p->fd; /* int */
1068 iarg[1] = p->pad; /* int */
1069 iarg[2] = p->offset; /* off_t */
1070 iarg[3] = p->whence; /* int */
1074 /* freebsd6_truncate */
1076 struct freebsd6_truncate_args *p = params;
1077 uarg[0] = (intptr_t) p->path; /* char * */
1078 iarg[1] = p->pad; /* int */
1079 iarg[2] = p->length; /* off_t */
1083 /* freebsd6_ftruncate */
1085 struct freebsd6_ftruncate_args *p = params;
1086 iarg[0] = p->fd; /* int */
1087 iarg[1] = p->pad; /* int */
1088 iarg[2] = p->length; /* off_t */
1094 struct sysctl_args *p = params;
1095 uarg[0] = (intptr_t) p->name; /* int * */
1096 uarg[1] = p->namelen; /* u_int */
1097 uarg[2] = (intptr_t) p->old; /* void * */
1098 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
1099 uarg[4] = (intptr_t) p->new; /* void * */
1100 uarg[5] = p->newlen; /* size_t */
1106 struct mlock_args *p = params;
1107 uarg[0] = (intptr_t) p->addr; /* const void * */
1108 uarg[1] = p->len; /* size_t */
1114 struct munlock_args *p = params;
1115 uarg[0] = (intptr_t) p->addr; /* const void * */
1116 uarg[1] = p->len; /* size_t */
1122 struct undelete_args *p = params;
1123 uarg[0] = (intptr_t) p->path; /* char * */
1129 struct futimes_args *p = params;
1130 iarg[0] = p->fd; /* int */
1131 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1137 struct getpgid_args *p = params;
1138 iarg[0] = p->pid; /* pid_t */
1144 struct poll_args *p = params;
1145 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1146 uarg[1] = p->nfds; /* u_int */
1147 iarg[2] = p->timeout; /* int */
1203 struct __semctl_args *p = params;
1204 iarg[0] = p->semid; /* int */
1205 iarg[1] = p->semnum; /* int */
1206 iarg[2] = p->cmd; /* int */
1207 uarg[3] = (intptr_t) p->arg; /* union semun * */
1213 struct semget_args *p = params;
1214 iarg[0] = p->key; /* key_t */
1215 iarg[1] = p->nsems; /* int */
1216 iarg[2] = p->semflg; /* int */
1222 struct semop_args *p = params;
1223 iarg[0] = p->semid; /* int */
1224 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1225 uarg[2] = p->nsops; /* size_t */
1231 struct msgctl_args *p = params;
1232 iarg[0] = p->msqid; /* int */
1233 iarg[1] = p->cmd; /* int */
1234 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
1240 struct msgget_args *p = params;
1241 iarg[0] = p->key; /* key_t */
1242 iarg[1] = p->msgflg; /* int */
1248 struct msgsnd_args *p = params;
1249 iarg[0] = p->msqid; /* int */
1250 uarg[1] = (intptr_t) p->msgp; /* const void * */
1251 uarg[2] = p->msgsz; /* size_t */
1252 iarg[3] = p->msgflg; /* int */
1258 struct msgrcv_args *p = params;
1259 iarg[0] = p->msqid; /* int */
1260 uarg[1] = (intptr_t) p->msgp; /* void * */
1261 uarg[2] = p->msgsz; /* size_t */
1262 iarg[3] = p->msgtyp; /* long */
1263 iarg[4] = p->msgflg; /* int */
1269 struct shmat_args *p = params;
1270 iarg[0] = p->shmid; /* int */
1271 uarg[1] = (intptr_t) p->shmaddr; /* const void * */
1272 iarg[2] = p->shmflg; /* int */
1278 struct shmctl_args *p = params;
1279 iarg[0] = p->shmid; /* int */
1280 iarg[1] = p->cmd; /* int */
1281 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
1287 struct shmdt_args *p = params;
1288 uarg[0] = (intptr_t) p->shmaddr; /* const void * */
1294 struct shmget_args *p = params;
1295 iarg[0] = p->key; /* key_t */
1296 uarg[1] = p->size; /* size_t */
1297 iarg[2] = p->shmflg; /* int */
1303 struct clock_gettime_args *p = params;
1304 iarg[0] = p->clock_id; /* clockid_t */
1305 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1311 struct clock_settime_args *p = params;
1312 iarg[0] = p->clock_id; /* clockid_t */
1313 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */
1319 struct clock_getres_args *p = params;
1320 iarg[0] = p->clock_id; /* clockid_t */
1321 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1327 struct ktimer_create_args *p = params;
1328 iarg[0] = p->clock_id; /* clockid_t */
1329 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1330 uarg[2] = (intptr_t) p->timerid; /* int * */
1336 struct ktimer_delete_args *p = params;
1337 iarg[0] = p->timerid; /* int */
1341 /* ktimer_settime */
1343 struct ktimer_settime_args *p = params;
1344 iarg[0] = p->timerid; /* int */
1345 iarg[1] = p->flags; /* int */
1346 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */
1347 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */
1351 /* ktimer_gettime */
1353 struct ktimer_gettime_args *p = params;
1354 iarg[0] = p->timerid; /* int */
1355 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */
1359 /* ktimer_getoverrun */
1361 struct ktimer_getoverrun_args *p = params;
1362 iarg[0] = p->timerid; /* int */
1368 struct nanosleep_args *p = params;
1369 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */
1370 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */
1376 struct ntp_gettime_args *p = params;
1377 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1383 struct minherit_args *p = params;
1384 uarg[0] = (intptr_t) p->addr; /* void * */
1385 uarg[1] = p->len; /* size_t */
1386 iarg[2] = p->inherit; /* int */
1392 struct rfork_args *p = params;
1393 iarg[0] = p->flags; /* int */
1399 struct openbsd_poll_args *p = params;
1400 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1401 uarg[1] = p->nfds; /* u_int */
1402 iarg[2] = p->timeout; /* int */
1413 struct lchown_args *p = params;
1414 uarg[0] = (intptr_t) p->path; /* char * */
1415 iarg[1] = p->uid; /* int */
1416 iarg[2] = p->gid; /* int */
1422 struct aio_read_args *p = params;
1423 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1429 struct aio_write_args *p = params;
1430 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1436 struct lio_listio_args *p = params;
1437 iarg[0] = p->mode; /* int */
1438 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1439 iarg[2] = p->nent; /* int */
1440 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1446 struct getdents_args *p = params;
1447 iarg[0] = p->fd; /* int */
1448 uarg[1] = (intptr_t) p->buf; /* char * */
1449 uarg[2] = p->count; /* size_t */
1455 struct lchmod_args *p = params;
1456 uarg[0] = (intptr_t) p->path; /* char * */
1457 iarg[1] = p->mode; /* mode_t */
1463 struct lchown_args *p = params;
1464 uarg[0] = (intptr_t) p->path; /* char * */
1465 uarg[1] = p->uid; /* uid_t */
1466 iarg[2] = p->gid; /* gid_t */
1472 struct lutimes_args *p = params;
1473 uarg[0] = (intptr_t) p->path; /* char * */
1474 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1480 struct msync_args *p = params;
1481 uarg[0] = (intptr_t) p->addr; /* void * */
1482 uarg[1] = p->len; /* size_t */
1483 iarg[2] = p->flags; /* int */
1489 struct nstat_args *p = params;
1490 uarg[0] = (intptr_t) p->path; /* char * */
1491 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1497 struct nfstat_args *p = params;
1498 iarg[0] = p->fd; /* int */
1499 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1505 struct nlstat_args *p = params;
1506 uarg[0] = (intptr_t) p->path; /* char * */
1507 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1513 struct preadv_args *p = params;
1514 iarg[0] = p->fd; /* int */
1515 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1516 uarg[2] = p->iovcnt; /* u_int */
1517 iarg[3] = p->offset; /* off_t */
1523 struct pwritev_args *p = params;
1524 iarg[0] = p->fd; /* int */
1525 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1526 uarg[2] = p->iovcnt; /* u_int */
1527 iarg[3] = p->offset; /* off_t */
1533 struct fhopen_args *p = params;
1534 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1535 iarg[1] = p->flags; /* int */
1541 struct fhstat_args *p = params;
1542 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1543 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1549 struct modnext_args *p = params;
1550 iarg[0] = p->modid; /* int */
1556 struct modstat_args *p = params;
1557 iarg[0] = p->modid; /* int */
1558 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1564 struct modfnext_args *p = params;
1565 iarg[0] = p->modid; /* int */
1571 struct modfind_args *p = params;
1572 uarg[0] = (intptr_t) p->name; /* const char * */
1578 struct kldload_args *p = params;
1579 uarg[0] = (intptr_t) p->file; /* const char * */
1585 struct kldunload_args *p = params;
1586 iarg[0] = p->fileid; /* int */
1592 struct kldfind_args *p = params;
1593 uarg[0] = (intptr_t) p->file; /* const char * */
1599 struct kldnext_args *p = params;
1600 iarg[0] = p->fileid; /* int */
1606 struct kldstat_args *p = params;
1607 iarg[0] = p->fileid; /* int */
1608 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1614 struct kldfirstmod_args *p = params;
1615 iarg[0] = p->fileid; /* int */
1621 struct getsid_args *p = params;
1622 iarg[0] = p->pid; /* pid_t */
1628 struct setresuid_args *p = params;
1629 uarg[0] = p->ruid; /* uid_t */
1630 uarg[1] = p->euid; /* uid_t */
1631 uarg[2] = p->suid; /* uid_t */
1637 struct setresgid_args *p = params;
1638 iarg[0] = p->rgid; /* gid_t */
1639 iarg[1] = p->egid; /* gid_t */
1640 iarg[2] = p->sgid; /* gid_t */
1646 struct aio_return_args *p = params;
1647 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1653 struct aio_suspend_args *p = params;
1654 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1655 iarg[1] = p->nent; /* int */
1656 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1662 struct aio_cancel_args *p = params;
1663 iarg[0] = p->fd; /* int */
1664 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1670 struct aio_error_args *p = params;
1671 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1677 struct oaio_read_args *p = params;
1678 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1684 struct oaio_write_args *p = params;
1685 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1691 struct olio_listio_args *p = params;
1692 iarg[0] = p->mode; /* int */
1693 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb *const * */
1694 iarg[2] = p->nent; /* int */
1695 uarg[3] = (intptr_t) p->sig; /* struct osigevent * */
1706 struct mlockall_args *p = params;
1707 iarg[0] = p->how; /* int */
1718 struct __getcwd_args *p = params;
1719 uarg[0] = (intptr_t) p->buf; /* u_char * */
1720 uarg[1] = p->buflen; /* u_int */
1724 /* sched_setparam */
1726 struct sched_setparam_args *p = params;
1727 iarg[0] = p->pid; /* pid_t */
1728 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1732 /* sched_getparam */
1734 struct sched_getparam_args *p = params;
1735 iarg[0] = p->pid; /* pid_t */
1736 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1740 /* sched_setscheduler */
1742 struct sched_setscheduler_args *p = params;
1743 iarg[0] = p->pid; /* pid_t */
1744 iarg[1] = p->policy; /* int */
1745 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1749 /* sched_getscheduler */
1751 struct sched_getscheduler_args *p = params;
1752 iarg[0] = p->pid; /* pid_t */
1761 /* sched_get_priority_max */
1763 struct sched_get_priority_max_args *p = params;
1764 iarg[0] = p->policy; /* int */
1768 /* sched_get_priority_min */
1770 struct sched_get_priority_min_args *p = params;
1771 iarg[0] = p->policy; /* int */
1775 /* sched_rr_get_interval */
1777 struct sched_rr_get_interval_args *p = params;
1778 iarg[0] = p->pid; /* pid_t */
1779 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1785 struct utrace_args *p = params;
1786 uarg[0] = (intptr_t) p->addr; /* const void * */
1787 uarg[1] = p->len; /* size_t */
1793 struct kldsym_args *p = params;
1794 iarg[0] = p->fileid; /* int */
1795 iarg[1] = p->cmd; /* int */
1796 uarg[2] = (intptr_t) p->data; /* void * */
1802 struct jail_args *p = params;
1803 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1809 struct sigprocmask_args *p = params;
1810 iarg[0] = p->how; /* int */
1811 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1812 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1818 struct sigsuspend_args *p = params;
1819 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1825 struct sigpending_args *p = params;
1826 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1832 struct sigtimedwait_args *p = params;
1833 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1834 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1835 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1841 struct sigwaitinfo_args *p = params;
1842 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1843 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1847 /* __acl_get_file */
1849 struct __acl_get_file_args *p = params;
1850 uarg[0] = (intptr_t) p->path; /* const char * */
1851 iarg[1] = p->type; /* acl_type_t */
1852 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1856 /* __acl_set_file */
1858 struct __acl_set_file_args *p = params;
1859 uarg[0] = (intptr_t) p->path; /* const char * */
1860 iarg[1] = p->type; /* acl_type_t */
1861 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1867 struct __acl_get_fd_args *p = params;
1868 iarg[0] = p->filedes; /* int */
1869 iarg[1] = p->type; /* acl_type_t */
1870 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1876 struct __acl_set_fd_args *p = params;
1877 iarg[0] = p->filedes; /* int */
1878 iarg[1] = p->type; /* acl_type_t */
1879 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1883 /* __acl_delete_file */
1885 struct __acl_delete_file_args *p = params;
1886 uarg[0] = (intptr_t) p->path; /* const char * */
1887 iarg[1] = p->type; /* acl_type_t */
1891 /* __acl_delete_fd */
1893 struct __acl_delete_fd_args *p = params;
1894 iarg[0] = p->filedes; /* int */
1895 iarg[1] = p->type; /* acl_type_t */
1899 /* __acl_aclcheck_file */
1901 struct __acl_aclcheck_file_args *p = params;
1902 uarg[0] = (intptr_t) p->path; /* const char * */
1903 iarg[1] = p->type; /* acl_type_t */
1904 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1908 /* __acl_aclcheck_fd */
1910 struct __acl_aclcheck_fd_args *p = params;
1911 iarg[0] = p->filedes; /* int */
1912 iarg[1] = p->type; /* acl_type_t */
1913 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1919 struct extattrctl_args *p = params;
1920 uarg[0] = (intptr_t) p->path; /* const char * */
1921 iarg[1] = p->cmd; /* int */
1922 uarg[2] = (intptr_t) p->filename; /* const char * */
1923 iarg[3] = p->attrnamespace; /* int */
1924 uarg[4] = (intptr_t) p->attrname; /* const char * */
1928 /* extattr_set_file */
1930 struct extattr_set_file_args *p = params;
1931 uarg[0] = (intptr_t) p->path; /* const char * */
1932 iarg[1] = p->attrnamespace; /* int */
1933 uarg[2] = (intptr_t) p->attrname; /* const char * */
1934 uarg[3] = (intptr_t) p->data; /* void * */
1935 uarg[4] = p->nbytes; /* size_t */
1939 /* extattr_get_file */
1941 struct extattr_get_file_args *p = params;
1942 uarg[0] = (intptr_t) p->path; /* const char * */
1943 iarg[1] = p->attrnamespace; /* int */
1944 uarg[2] = (intptr_t) p->attrname; /* const char * */
1945 uarg[3] = (intptr_t) p->data; /* void * */
1946 uarg[4] = p->nbytes; /* size_t */
1950 /* extattr_delete_file */
1952 struct extattr_delete_file_args *p = params;
1953 uarg[0] = (intptr_t) p->path; /* const char * */
1954 iarg[1] = p->attrnamespace; /* int */
1955 uarg[2] = (intptr_t) p->attrname; /* const char * */
1959 /* aio_waitcomplete */
1961 struct aio_waitcomplete_args *p = params;
1962 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1963 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1969 struct getresuid_args *p = params;
1970 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1971 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1972 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1978 struct getresgid_args *p = params;
1979 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1980 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1981 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1992 struct kevent_args *p = params;
1993 iarg[0] = p->fd; /* int */
1994 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
1995 iarg[2] = p->nchanges; /* int */
1996 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
1997 iarg[4] = p->nevents; /* int */
1998 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
2007 /* extattr_set_fd */
2009 struct extattr_set_fd_args *p = params;
2010 iarg[0] = p->fd; /* int */
2011 iarg[1] = p->attrnamespace; /* int */
2012 uarg[2] = (intptr_t) p->attrname; /* const char * */
2013 uarg[3] = (intptr_t) p->data; /* void * */
2014 uarg[4] = p->nbytes; /* size_t */
2018 /* extattr_get_fd */
2020 struct extattr_get_fd_args *p = params;
2021 iarg[0] = p->fd; /* int */
2022 iarg[1] = p->attrnamespace; /* int */
2023 uarg[2] = (intptr_t) p->attrname; /* const char * */
2024 uarg[3] = (intptr_t) p->data; /* void * */
2025 uarg[4] = p->nbytes; /* size_t */
2029 /* extattr_delete_fd */
2031 struct extattr_delete_fd_args *p = params;
2032 iarg[0] = p->fd; /* int */
2033 iarg[1] = p->attrnamespace; /* int */
2034 uarg[2] = (intptr_t) p->attrname; /* const char * */
2040 struct __setugid_args *p = params;
2041 iarg[0] = p->flag; /* int */
2047 struct nfsclnt_args *p = params;
2048 iarg[0] = p->flag; /* int */
2049 uarg[1] = (intptr_t) p->argp; /* caddr_t */
2055 struct eaccess_args *p = params;
2056 uarg[0] = (intptr_t) p->path; /* char * */
2057 iarg[1] = p->flags; /* int */
2063 struct nmount_args *p = params;
2064 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2065 uarg[1] = p->iovcnt; /* unsigned int */
2066 iarg[2] = p->flags; /* int */
2077 struct kse_wakeup_args *p = params;
2078 uarg[0] = (intptr_t) p->mbx; /* struct kse_mailbox * */
2084 struct kse_create_args *p = params;
2085 uarg[0] = (intptr_t) p->mbx; /* struct kse_mailbox * */
2086 iarg[1] = p->newgroup; /* int */
2090 /* kse_thr_interrupt */
2092 struct kse_thr_interrupt_args *p = params;
2093 uarg[0] = (intptr_t) p->tmbx; /* struct kse_thr_mailbox * */
2094 iarg[1] = p->cmd; /* int */
2095 iarg[2] = p->data; /* long */
2101 struct kse_release_args *p = params;
2102 uarg[0] = (intptr_t) p->timeout; /* struct timespec * */
2106 /* __mac_get_proc */
2108 struct __mac_get_proc_args *p = params;
2109 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2113 /* __mac_set_proc */
2115 struct __mac_set_proc_args *p = params;
2116 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2122 struct __mac_get_fd_args *p = params;
2123 iarg[0] = p->fd; /* int */
2124 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2128 /* __mac_get_file */
2130 struct __mac_get_file_args *p = params;
2131 uarg[0] = (intptr_t) p->path_p; /* const char * */
2132 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2138 struct __mac_set_fd_args *p = params;
2139 iarg[0] = p->fd; /* int */
2140 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2144 /* __mac_set_file */
2146 struct __mac_set_file_args *p = params;
2147 uarg[0] = (intptr_t) p->path_p; /* const char * */
2148 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2154 struct kenv_args *p = params;
2155 iarg[0] = p->what; /* int */
2156 uarg[1] = (intptr_t) p->name; /* const char * */
2157 uarg[2] = (intptr_t) p->value; /* char * */
2158 iarg[3] = p->len; /* int */
2164 struct lchflags_args *p = params;
2165 uarg[0] = (intptr_t) p->path; /* const char * */
2166 iarg[1] = p->flags; /* int */
2172 struct uuidgen_args *p = params;
2173 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2174 iarg[1] = p->count; /* int */
2180 struct sendfile_args *p = params;
2181 iarg[0] = p->fd; /* int */
2182 iarg[1] = p->s; /* int */
2183 iarg[2] = p->offset; /* off_t */
2184 uarg[3] = p->nbytes; /* size_t */
2185 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2186 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2187 iarg[6] = p->flags; /* int */
2193 struct mac_syscall_args *p = params;
2194 uarg[0] = (intptr_t) p->policy; /* const char * */
2195 iarg[1] = p->call; /* int */
2196 uarg[2] = (intptr_t) p->arg; /* void * */
2202 struct getfsstat_args *p = params;
2203 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2204 iarg[1] = p->bufsize; /* long */
2205 iarg[2] = p->flags; /* int */
2211 struct statfs_args *p = params;
2212 uarg[0] = (intptr_t) p->path; /* char * */
2213 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2219 struct fstatfs_args *p = params;
2220 iarg[0] = p->fd; /* int */
2221 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2227 struct fhstatfs_args *p = params;
2228 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2229 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2235 struct ksem_close_args *p = params;
2236 iarg[0] = p->id; /* semid_t */
2242 struct ksem_post_args *p = params;
2243 iarg[0] = p->id; /* semid_t */
2249 struct ksem_wait_args *p = params;
2250 iarg[0] = p->id; /* semid_t */
2256 struct ksem_trywait_args *p = params;
2257 iarg[0] = p->id; /* semid_t */
2263 struct ksem_init_args *p = params;
2264 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2265 uarg[1] = p->value; /* unsigned int */
2271 struct ksem_open_args *p = params;
2272 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2273 uarg[1] = (intptr_t) p->name; /* const char * */
2274 iarg[2] = p->oflag; /* int */
2275 iarg[3] = p->mode; /* mode_t */
2276 uarg[4] = p->value; /* unsigned int */
2282 struct ksem_unlink_args *p = params;
2283 uarg[0] = (intptr_t) p->name; /* const char * */
2289 struct ksem_getvalue_args *p = params;
2290 iarg[0] = p->id; /* semid_t */
2291 uarg[1] = (intptr_t) p->val; /* int * */
2297 struct ksem_destroy_args *p = params;
2298 iarg[0] = p->id; /* semid_t */
2304 struct __mac_get_pid_args *p = params;
2305 iarg[0] = p->pid; /* pid_t */
2306 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2310 /* __mac_get_link */
2312 struct __mac_get_link_args *p = params;
2313 uarg[0] = (intptr_t) p->path_p; /* const char * */
2314 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2318 /* __mac_set_link */
2320 struct __mac_set_link_args *p = params;
2321 uarg[0] = (intptr_t) p->path_p; /* const char * */
2322 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2326 /* extattr_set_link */
2328 struct extattr_set_link_args *p = params;
2329 uarg[0] = (intptr_t) p->path; /* const char * */
2330 iarg[1] = p->attrnamespace; /* int */
2331 uarg[2] = (intptr_t) p->attrname; /* const char * */
2332 uarg[3] = (intptr_t) p->data; /* void * */
2333 uarg[4] = p->nbytes; /* size_t */
2337 /* extattr_get_link */
2339 struct extattr_get_link_args *p = params;
2340 uarg[0] = (intptr_t) p->path; /* const char * */
2341 iarg[1] = p->attrnamespace; /* int */
2342 uarg[2] = (intptr_t) p->attrname; /* const char * */
2343 uarg[3] = (intptr_t) p->data; /* void * */
2344 uarg[4] = p->nbytes; /* size_t */
2348 /* extattr_delete_link */
2350 struct extattr_delete_link_args *p = params;
2351 uarg[0] = (intptr_t) p->path; /* const char * */
2352 iarg[1] = p->attrnamespace; /* int */
2353 uarg[2] = (intptr_t) p->attrname; /* const char * */
2359 struct __mac_execve_args *p = params;
2360 uarg[0] = (intptr_t) p->fname; /* char * */
2361 uarg[1] = (intptr_t) p->argv; /* char ** */
2362 uarg[2] = (intptr_t) p->envv; /* char ** */
2363 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2369 struct sigaction_args *p = params;
2370 iarg[0] = p->sig; /* int */
2371 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2372 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2378 struct sigreturn_args *p = params;
2379 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2385 struct getcontext_args *p = params;
2386 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2392 struct setcontext_args *p = params;
2393 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2399 struct swapcontext_args *p = params;
2400 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2401 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2407 struct swapoff_args *p = params;
2408 uarg[0] = (intptr_t) p->name; /* const char * */
2412 /* __acl_get_link */
2414 struct __acl_get_link_args *p = params;
2415 uarg[0] = (intptr_t) p->path; /* const char * */
2416 iarg[1] = p->type; /* acl_type_t */
2417 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2421 /* __acl_set_link */
2423 struct __acl_set_link_args *p = params;
2424 uarg[0] = (intptr_t) p->path; /* const char * */
2425 iarg[1] = p->type; /* acl_type_t */
2426 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2430 /* __acl_delete_link */
2432 struct __acl_delete_link_args *p = params;
2433 uarg[0] = (intptr_t) p->path; /* const char * */
2434 iarg[1] = p->type; /* acl_type_t */
2438 /* __acl_aclcheck_link */
2440 struct __acl_aclcheck_link_args *p = params;
2441 uarg[0] = (intptr_t) p->path; /* const char * */
2442 iarg[1] = p->type; /* acl_type_t */
2443 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2449 struct sigwait_args *p = params;
2450 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2451 uarg[1] = (intptr_t) p->sig; /* int * */
2457 struct thr_create_args *p = params;
2458 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2459 uarg[1] = (intptr_t) p->id; /* long * */
2460 iarg[2] = p->flags; /* int */
2466 struct thr_exit_args *p = params;
2467 uarg[0] = (intptr_t) p->state; /* long * */
2473 struct thr_self_args *p = params;
2474 uarg[0] = (intptr_t) p->id; /* long * */
2480 struct thr_kill_args *p = params;
2481 iarg[0] = p->id; /* long */
2482 iarg[1] = p->sig; /* int */
2488 struct _umtx_lock_args *p = params;
2489 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2495 struct _umtx_unlock_args *p = params;
2496 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2502 struct jail_attach_args *p = params;
2503 iarg[0] = p->jid; /* int */
2507 /* extattr_list_fd */
2509 struct extattr_list_fd_args *p = params;
2510 iarg[0] = p->fd; /* int */
2511 iarg[1] = p->attrnamespace; /* int */
2512 uarg[2] = (intptr_t) p->data; /* void * */
2513 uarg[3] = p->nbytes; /* size_t */
2517 /* extattr_list_file */
2519 struct extattr_list_file_args *p = params;
2520 uarg[0] = (intptr_t) p->path; /* const char * */
2521 iarg[1] = p->attrnamespace; /* int */
2522 uarg[2] = (intptr_t) p->data; /* void * */
2523 uarg[3] = p->nbytes; /* size_t */
2527 /* extattr_list_link */
2529 struct extattr_list_link_args *p = params;
2530 uarg[0] = (intptr_t) p->path; /* const char * */
2531 iarg[1] = p->attrnamespace; /* int */
2532 uarg[2] = (intptr_t) p->data; /* void * */
2533 uarg[3] = p->nbytes; /* size_t */
2539 struct kse_switchin_args *p = params;
2540 uarg[0] = (intptr_t) p->tmbx; /* struct kse_thr_mailbox * */
2541 iarg[1] = p->flags; /* int */
2545 /* ksem_timedwait */
2547 struct ksem_timedwait_args *p = params;
2548 iarg[0] = p->id; /* semid_t */
2549 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2555 struct thr_suspend_args *p = params;
2556 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2562 struct thr_wake_args *p = params;
2563 iarg[0] = p->id; /* long */
2569 struct kldunloadf_args *p = params;
2570 iarg[0] = p->fileid; /* int */
2571 iarg[1] = p->flags; /* int */
2577 struct audit_args *p = params;
2578 uarg[0] = (intptr_t) p->record; /* const void * */
2579 uarg[1] = p->length; /* u_int */
2585 struct auditon_args *p = params;
2586 iarg[0] = p->cmd; /* int */
2587 uarg[1] = (intptr_t) p->data; /* void * */
2588 uarg[2] = p->length; /* u_int */
2594 struct getauid_args *p = params;
2595 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2601 struct setauid_args *p = params;
2602 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2608 struct getaudit_args *p = params;
2609 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2615 struct setaudit_args *p = params;
2616 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2622 struct getaudit_addr_args *p = params;
2623 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2624 uarg[1] = p->length; /* u_int */
2630 struct setaudit_addr_args *p = params;
2631 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2632 uarg[1] = p->length; /* u_int */
2638 struct auditctl_args *p = params;
2639 uarg[0] = (intptr_t) p->path; /* char * */
2645 struct _umtx_op_args *p = params;
2646 uarg[0] = (intptr_t) p->obj; /* void * */
2647 iarg[1] = p->op; /* int */
2648 uarg[2] = p->val; /* u_long */
2649 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2650 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2656 struct thr_new_args *p = params;
2657 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2658 iarg[1] = p->param_size; /* int */
2664 struct sigqueue_args *p = params;
2665 iarg[0] = p->pid; /* pid_t */
2666 iarg[1] = p->signum; /* int */
2667 uarg[2] = (intptr_t) p->value; /* void * */
2673 struct kmq_open_args *p = params;
2674 uarg[0] = (intptr_t) p->path; /* const char * */
2675 iarg[1] = p->flags; /* int */
2676 iarg[2] = p->mode; /* mode_t */
2677 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2683 struct kmq_setattr_args *p = params;
2684 iarg[0] = p->mqd; /* int */
2685 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2686 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2690 /* kmq_timedreceive */
2692 struct kmq_timedreceive_args *p = params;
2693 iarg[0] = p->mqd; /* int */
2694 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2695 uarg[2] = p->msg_len; /* size_t */
2696 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2697 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2703 struct kmq_timedsend_args *p = params;
2704 iarg[0] = p->mqd; /* int */
2705 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2706 uarg[2] = p->msg_len; /* size_t */
2707 uarg[3] = p->msg_prio; /* unsigned */
2708 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2714 struct kmq_notify_args *p = params;
2715 iarg[0] = p->mqd; /* int */
2716 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2722 struct kmq_unlink_args *p = params;
2723 uarg[0] = (intptr_t) p->path; /* const char * */
2729 struct abort2_args *p = params;
2730 uarg[0] = (intptr_t) p->why; /* const char * */
2731 iarg[1] = p->nargs; /* int */
2732 uarg[2] = (intptr_t) p->args; /* void ** */
2738 struct thr_set_name_args *p = params;
2739 iarg[0] = p->id; /* long */
2740 uarg[1] = (intptr_t) p->name; /* const char * */
2746 struct aio_fsync_args *p = params;
2747 iarg[0] = p->op; /* int */
2748 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2754 struct rtprio_thread_args *p = params;
2755 iarg[0] = p->function; /* int */
2756 iarg[1] = p->lwpid; /* lwpid_t */
2757 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2763 struct sctp_peeloff_args *p = params;
2764 iarg[0] = p->sd; /* int */
2765 uarg[1] = p->name; /* uint32_t */
2769 /* sctp_generic_sendmsg */
2771 struct sctp_generic_sendmsg_args *p = params;
2772 iarg[0] = p->sd; /* int */
2773 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2774 iarg[2] = p->mlen; /* int */
2775 uarg[3] = (intptr_t) p->to; /* caddr_t */
2776 iarg[4] = p->tolen; /* __socklen_t */
2777 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2778 iarg[6] = p->flags; /* int */
2782 /* sctp_generic_sendmsg_iov */
2784 struct sctp_generic_sendmsg_iov_args *p = params;
2785 iarg[0] = p->sd; /* int */
2786 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2787 iarg[2] = p->iovlen; /* int */
2788 uarg[3] = (intptr_t) p->to; /* caddr_t */
2789 iarg[4] = p->tolen; /* __socklen_t */
2790 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2791 iarg[6] = p->flags; /* int */
2795 /* sctp_generic_recvmsg */
2797 struct sctp_generic_recvmsg_args *p = params;
2798 iarg[0] = p->sd; /* int */
2799 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2800 iarg[2] = p->iovlen; /* int */
2801 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2802 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2803 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2804 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2810 struct pread_args *p = params;
2811 iarg[0] = p->fd; /* int */
2812 uarg[1] = (intptr_t) p->buf; /* void * */
2813 uarg[2] = p->nbyte; /* size_t */
2814 iarg[3] = p->offset; /* off_t */
2820 struct pwrite_args *p = params;
2821 iarg[0] = p->fd; /* int */
2822 uarg[1] = (intptr_t) p->buf; /* const void * */
2823 uarg[2] = p->nbyte; /* size_t */
2824 iarg[3] = p->offset; /* off_t */
2830 struct mmap_args *p = params;
2831 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2832 uarg[1] = p->len; /* size_t */
2833 iarg[2] = p->prot; /* int */
2834 iarg[3] = p->flags; /* int */
2835 iarg[4] = p->fd; /* int */
2836 iarg[5] = p->pos; /* off_t */
2842 struct lseek_args *p = params;
2843 iarg[0] = p->fd; /* int */
2844 iarg[1] = p->offset; /* off_t */
2845 iarg[2] = p->whence; /* int */
2851 struct truncate_args *p = params;
2852 uarg[0] = (intptr_t) p->path; /* char * */
2853 iarg[1] = p->length; /* off_t */
2859 struct ftruncate_args *p = params;
2860 iarg[0] = p->fd; /* int */
2861 iarg[1] = p->length; /* off_t */