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 nlm_syscall_args *p = params;
836 iarg[0] = p->debug_level; /* int */
837 iarg[1] = p->grace_period; /* int */
838 iarg[2] = p->addr_count; /* int */
839 uarg[3] = (intptr_t) p->addrs; /* char ** */
845 struct nfssvc_args *p = params;
846 iarg[0] = p->flag; /* int */
847 uarg[1] = (intptr_t) p->argp; /* caddr_t */
853 struct lgetfh_args *p = params;
854 uarg[0] = (intptr_t) p->fname; /* char * */
855 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
861 struct getfh_args *p = params;
862 uarg[0] = (intptr_t) p->fname; /* char * */
863 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
869 struct getdomainname_args *p = params;
870 uarg[0] = (intptr_t) p->domainname; /* char * */
871 iarg[1] = p->len; /* int */
877 struct setdomainname_args *p = params;
878 uarg[0] = (intptr_t) p->domainname; /* char * */
879 iarg[1] = p->len; /* int */
885 struct uname_args *p = params;
886 uarg[0] = (intptr_t) p->name; /* struct utsname * */
892 struct sysarch_args *p = params;
893 iarg[0] = p->op; /* int */
894 uarg[1] = (intptr_t) p->parms; /* char * */
900 struct rtprio_args *p = params;
901 iarg[0] = p->function; /* int */
902 iarg[1] = p->pid; /* pid_t */
903 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
909 struct semsys_args *p = params;
910 iarg[0] = p->which; /* int */
911 iarg[1] = p->a2; /* int */
912 iarg[2] = p->a3; /* int */
913 iarg[3] = p->a4; /* int */
914 iarg[4] = p->a5; /* int */
920 struct msgsys_args *p = params;
921 iarg[0] = p->which; /* int */
922 iarg[1] = p->a2; /* int */
923 iarg[2] = p->a3; /* int */
924 iarg[3] = p->a4; /* int */
925 iarg[4] = p->a5; /* int */
926 iarg[5] = p->a6; /* int */
932 struct shmsys_args *p = params;
933 iarg[0] = p->which; /* int */
934 iarg[1] = p->a2; /* int */
935 iarg[2] = p->a3; /* int */
936 iarg[3] = p->a4; /* int */
942 struct freebsd6_pread_args *p = params;
943 iarg[0] = p->fd; /* int */
944 uarg[1] = (intptr_t) p->buf; /* void * */
945 uarg[2] = p->nbyte; /* size_t */
946 iarg[3] = p->pad; /* int */
947 iarg[4] = p->offset; /* off_t */
951 /* freebsd6_pwrite */
953 struct freebsd6_pwrite_args *p = params;
954 iarg[0] = p->fd; /* int */
955 uarg[1] = (intptr_t) p->buf; /* const void * */
956 uarg[2] = p->nbyte; /* size_t */
957 iarg[3] = p->pad; /* int */
958 iarg[4] = p->offset; /* off_t */
964 struct setfib_args *p = params;
965 iarg[0] = p->fibnum; /* int */
971 struct ntp_adjtime_args *p = params;
972 uarg[0] = (intptr_t) p->tp; /* struct timex * */
978 struct setgid_args *p = params;
979 iarg[0] = p->gid; /* gid_t */
985 struct setegid_args *p = params;
986 iarg[0] = p->egid; /* gid_t */
992 struct seteuid_args *p = params;
993 uarg[0] = p->euid; /* uid_t */
999 struct stat_args *p = params;
1000 uarg[0] = (intptr_t) p->path; /* char * */
1001 uarg[1] = (intptr_t) p->ub; /* struct stat * */
1007 struct fstat_args *p = params;
1008 iarg[0] = p->fd; /* int */
1009 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1015 struct lstat_args *p = params;
1016 uarg[0] = (intptr_t) p->path; /* char * */
1017 uarg[1] = (intptr_t) p->ub; /* struct stat * */
1023 struct pathconf_args *p = params;
1024 uarg[0] = (intptr_t) p->path; /* char * */
1025 iarg[1] = p->name; /* int */
1031 struct fpathconf_args *p = params;
1032 iarg[0] = p->fd; /* int */
1033 iarg[1] = p->name; /* int */
1039 struct __getrlimit_args *p = params;
1040 uarg[0] = p->which; /* u_int */
1041 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1047 struct __setrlimit_args *p = params;
1048 uarg[0] = p->which; /* u_int */
1049 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1055 struct getdirentries_args *p = params;
1056 iarg[0] = p->fd; /* int */
1057 uarg[1] = (intptr_t) p->buf; /* char * */
1058 uarg[2] = p->count; /* u_int */
1059 uarg[3] = (intptr_t) p->basep; /* long * */
1065 struct freebsd6_mmap_args *p = params;
1066 uarg[0] = (intptr_t) p->addr; /* caddr_t */
1067 uarg[1] = p->len; /* size_t */
1068 iarg[2] = p->prot; /* int */
1069 iarg[3] = p->flags; /* int */
1070 iarg[4] = p->fd; /* int */
1071 iarg[5] = p->pad; /* int */
1072 iarg[6] = p->pos; /* off_t */
1081 /* freebsd6_lseek */
1083 struct freebsd6_lseek_args *p = params;
1084 iarg[0] = p->fd; /* int */
1085 iarg[1] = p->pad; /* int */
1086 iarg[2] = p->offset; /* off_t */
1087 iarg[3] = p->whence; /* int */
1091 /* freebsd6_truncate */
1093 struct freebsd6_truncate_args *p = params;
1094 uarg[0] = (intptr_t) p->path; /* char * */
1095 iarg[1] = p->pad; /* int */
1096 iarg[2] = p->length; /* off_t */
1100 /* freebsd6_ftruncate */
1102 struct freebsd6_ftruncate_args *p = params;
1103 iarg[0] = p->fd; /* int */
1104 iarg[1] = p->pad; /* int */
1105 iarg[2] = p->length; /* off_t */
1111 struct sysctl_args *p = params;
1112 uarg[0] = (intptr_t) p->name; /* int * */
1113 uarg[1] = p->namelen; /* u_int */
1114 uarg[2] = (intptr_t) p->old; /* void * */
1115 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
1116 uarg[4] = (intptr_t) p->new; /* void * */
1117 uarg[5] = p->newlen; /* size_t */
1123 struct mlock_args *p = params;
1124 uarg[0] = (intptr_t) p->addr; /* const void * */
1125 uarg[1] = p->len; /* size_t */
1131 struct munlock_args *p = params;
1132 uarg[0] = (intptr_t) p->addr; /* const void * */
1133 uarg[1] = p->len; /* size_t */
1139 struct undelete_args *p = params;
1140 uarg[0] = (intptr_t) p->path; /* char * */
1146 struct futimes_args *p = params;
1147 iarg[0] = p->fd; /* int */
1148 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1154 struct getpgid_args *p = params;
1155 iarg[0] = p->pid; /* pid_t */
1161 struct poll_args *p = params;
1162 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1163 uarg[1] = p->nfds; /* u_int */
1164 iarg[2] = p->timeout; /* int */
1220 struct __semctl_args *p = params;
1221 iarg[0] = p->semid; /* int */
1222 iarg[1] = p->semnum; /* int */
1223 iarg[2] = p->cmd; /* int */
1224 uarg[3] = (intptr_t) p->arg; /* union semun * */
1230 struct semget_args *p = params;
1231 iarg[0] = p->key; /* key_t */
1232 iarg[1] = p->nsems; /* int */
1233 iarg[2] = p->semflg; /* int */
1239 struct semop_args *p = params;
1240 iarg[0] = p->semid; /* int */
1241 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1242 uarg[2] = p->nsops; /* size_t */
1248 struct msgctl_args *p = params;
1249 iarg[0] = p->msqid; /* int */
1250 iarg[1] = p->cmd; /* int */
1251 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
1257 struct msgget_args *p = params;
1258 iarg[0] = p->key; /* key_t */
1259 iarg[1] = p->msgflg; /* int */
1265 struct msgsnd_args *p = params;
1266 iarg[0] = p->msqid; /* int */
1267 uarg[1] = (intptr_t) p->msgp; /* const void * */
1268 uarg[2] = p->msgsz; /* size_t */
1269 iarg[3] = p->msgflg; /* int */
1275 struct msgrcv_args *p = params;
1276 iarg[0] = p->msqid; /* int */
1277 uarg[1] = (intptr_t) p->msgp; /* void * */
1278 uarg[2] = p->msgsz; /* size_t */
1279 iarg[3] = p->msgtyp; /* long */
1280 iarg[4] = p->msgflg; /* int */
1286 struct shmat_args *p = params;
1287 iarg[0] = p->shmid; /* int */
1288 uarg[1] = (intptr_t) p->shmaddr; /* const void * */
1289 iarg[2] = p->shmflg; /* int */
1295 struct shmctl_args *p = params;
1296 iarg[0] = p->shmid; /* int */
1297 iarg[1] = p->cmd; /* int */
1298 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
1304 struct shmdt_args *p = params;
1305 uarg[0] = (intptr_t) p->shmaddr; /* const void * */
1311 struct shmget_args *p = params;
1312 iarg[0] = p->key; /* key_t */
1313 uarg[1] = p->size; /* size_t */
1314 iarg[2] = p->shmflg; /* int */
1320 struct clock_gettime_args *p = params;
1321 iarg[0] = p->clock_id; /* clockid_t */
1322 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1328 struct clock_settime_args *p = params;
1329 iarg[0] = p->clock_id; /* clockid_t */
1330 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */
1336 struct clock_getres_args *p = params;
1337 iarg[0] = p->clock_id; /* clockid_t */
1338 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1344 struct ktimer_create_args *p = params;
1345 iarg[0] = p->clock_id; /* clockid_t */
1346 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1347 uarg[2] = (intptr_t) p->timerid; /* int * */
1353 struct ktimer_delete_args *p = params;
1354 iarg[0] = p->timerid; /* int */
1358 /* ktimer_settime */
1360 struct ktimer_settime_args *p = params;
1361 iarg[0] = p->timerid; /* int */
1362 iarg[1] = p->flags; /* int */
1363 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */
1364 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */
1368 /* ktimer_gettime */
1370 struct ktimer_gettime_args *p = params;
1371 iarg[0] = p->timerid; /* int */
1372 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */
1376 /* ktimer_getoverrun */
1378 struct ktimer_getoverrun_args *p = params;
1379 iarg[0] = p->timerid; /* int */
1385 struct nanosleep_args *p = params;
1386 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */
1387 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */
1393 struct ntp_gettime_args *p = params;
1394 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1400 struct minherit_args *p = params;
1401 uarg[0] = (intptr_t) p->addr; /* void * */
1402 uarg[1] = p->len; /* size_t */
1403 iarg[2] = p->inherit; /* int */
1409 struct rfork_args *p = params;
1410 iarg[0] = p->flags; /* int */
1416 struct openbsd_poll_args *p = params;
1417 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1418 uarg[1] = p->nfds; /* u_int */
1419 iarg[2] = p->timeout; /* int */
1430 struct lchown_args *p = params;
1431 uarg[0] = (intptr_t) p->path; /* char * */
1432 iarg[1] = p->uid; /* int */
1433 iarg[2] = p->gid; /* int */
1439 struct aio_read_args *p = params;
1440 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1446 struct aio_write_args *p = params;
1447 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1453 struct lio_listio_args *p = params;
1454 iarg[0] = p->mode; /* int */
1455 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1456 iarg[2] = p->nent; /* int */
1457 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1463 struct getdents_args *p = params;
1464 iarg[0] = p->fd; /* int */
1465 uarg[1] = (intptr_t) p->buf; /* char * */
1466 uarg[2] = p->count; /* size_t */
1472 struct lchmod_args *p = params;
1473 uarg[0] = (intptr_t) p->path; /* char * */
1474 iarg[1] = p->mode; /* mode_t */
1480 struct lchown_args *p = params;
1481 uarg[0] = (intptr_t) p->path; /* char * */
1482 uarg[1] = p->uid; /* uid_t */
1483 iarg[2] = p->gid; /* gid_t */
1489 struct lutimes_args *p = params;
1490 uarg[0] = (intptr_t) p->path; /* char * */
1491 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1497 struct msync_args *p = params;
1498 uarg[0] = (intptr_t) p->addr; /* void * */
1499 uarg[1] = p->len; /* size_t */
1500 iarg[2] = p->flags; /* int */
1506 struct nstat_args *p = params;
1507 uarg[0] = (intptr_t) p->path; /* char * */
1508 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1514 struct nfstat_args *p = params;
1515 iarg[0] = p->fd; /* int */
1516 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1522 struct nlstat_args *p = params;
1523 uarg[0] = (intptr_t) p->path; /* char * */
1524 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1530 struct preadv_args *p = params;
1531 iarg[0] = p->fd; /* int */
1532 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1533 uarg[2] = p->iovcnt; /* u_int */
1534 iarg[3] = p->offset; /* off_t */
1540 struct pwritev_args *p = params;
1541 iarg[0] = p->fd; /* int */
1542 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1543 uarg[2] = p->iovcnt; /* u_int */
1544 iarg[3] = p->offset; /* off_t */
1550 struct fhopen_args *p = params;
1551 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1552 iarg[1] = p->flags; /* int */
1558 struct fhstat_args *p = params;
1559 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1560 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1566 struct modnext_args *p = params;
1567 iarg[0] = p->modid; /* int */
1573 struct modstat_args *p = params;
1574 iarg[0] = p->modid; /* int */
1575 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1581 struct modfnext_args *p = params;
1582 iarg[0] = p->modid; /* int */
1588 struct modfind_args *p = params;
1589 uarg[0] = (intptr_t) p->name; /* const char * */
1595 struct kldload_args *p = params;
1596 uarg[0] = (intptr_t) p->file; /* const char * */
1602 struct kldunload_args *p = params;
1603 iarg[0] = p->fileid; /* int */
1609 struct kldfind_args *p = params;
1610 uarg[0] = (intptr_t) p->file; /* const char * */
1616 struct kldnext_args *p = params;
1617 iarg[0] = p->fileid; /* int */
1623 struct kldstat_args *p = params;
1624 iarg[0] = p->fileid; /* int */
1625 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1631 struct kldfirstmod_args *p = params;
1632 iarg[0] = p->fileid; /* int */
1638 struct getsid_args *p = params;
1639 iarg[0] = p->pid; /* pid_t */
1645 struct setresuid_args *p = params;
1646 uarg[0] = p->ruid; /* uid_t */
1647 uarg[1] = p->euid; /* uid_t */
1648 uarg[2] = p->suid; /* uid_t */
1654 struct setresgid_args *p = params;
1655 iarg[0] = p->rgid; /* gid_t */
1656 iarg[1] = p->egid; /* gid_t */
1657 iarg[2] = p->sgid; /* gid_t */
1663 struct aio_return_args *p = params;
1664 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1670 struct aio_suspend_args *p = params;
1671 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1672 iarg[1] = p->nent; /* int */
1673 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1679 struct aio_cancel_args *p = params;
1680 iarg[0] = p->fd; /* int */
1681 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1687 struct aio_error_args *p = params;
1688 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1694 struct oaio_read_args *p = params;
1695 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1701 struct oaio_write_args *p = params;
1702 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1708 struct olio_listio_args *p = params;
1709 iarg[0] = p->mode; /* int */
1710 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb *const * */
1711 iarg[2] = p->nent; /* int */
1712 uarg[3] = (intptr_t) p->sig; /* struct osigevent * */
1723 struct mlockall_args *p = params;
1724 iarg[0] = p->how; /* int */
1735 struct __getcwd_args *p = params;
1736 uarg[0] = (intptr_t) p->buf; /* u_char * */
1737 uarg[1] = p->buflen; /* u_int */
1741 /* sched_setparam */
1743 struct sched_setparam_args *p = params;
1744 iarg[0] = p->pid; /* pid_t */
1745 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1749 /* sched_getparam */
1751 struct sched_getparam_args *p = params;
1752 iarg[0] = p->pid; /* pid_t */
1753 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1757 /* sched_setscheduler */
1759 struct sched_setscheduler_args *p = params;
1760 iarg[0] = p->pid; /* pid_t */
1761 iarg[1] = p->policy; /* int */
1762 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1766 /* sched_getscheduler */
1768 struct sched_getscheduler_args *p = params;
1769 iarg[0] = p->pid; /* pid_t */
1778 /* sched_get_priority_max */
1780 struct sched_get_priority_max_args *p = params;
1781 iarg[0] = p->policy; /* int */
1785 /* sched_get_priority_min */
1787 struct sched_get_priority_min_args *p = params;
1788 iarg[0] = p->policy; /* int */
1792 /* sched_rr_get_interval */
1794 struct sched_rr_get_interval_args *p = params;
1795 iarg[0] = p->pid; /* pid_t */
1796 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1802 struct utrace_args *p = params;
1803 uarg[0] = (intptr_t) p->addr; /* const void * */
1804 uarg[1] = p->len; /* size_t */
1810 struct kldsym_args *p = params;
1811 iarg[0] = p->fileid; /* int */
1812 iarg[1] = p->cmd; /* int */
1813 uarg[2] = (intptr_t) p->data; /* void * */
1819 struct jail_args *p = params;
1820 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1826 struct sigprocmask_args *p = params;
1827 iarg[0] = p->how; /* int */
1828 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1829 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1835 struct sigsuspend_args *p = params;
1836 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1842 struct sigpending_args *p = params;
1843 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1849 struct sigtimedwait_args *p = params;
1850 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1851 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1852 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1858 struct sigwaitinfo_args *p = params;
1859 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1860 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1864 /* __acl_get_file */
1866 struct __acl_get_file_args *p = params;
1867 uarg[0] = (intptr_t) p->path; /* const char * */
1868 iarg[1] = p->type; /* acl_type_t */
1869 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1873 /* __acl_set_file */
1875 struct __acl_set_file_args *p = params;
1876 uarg[0] = (intptr_t) p->path; /* const char * */
1877 iarg[1] = p->type; /* acl_type_t */
1878 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1884 struct __acl_get_fd_args *p = params;
1885 iarg[0] = p->filedes; /* int */
1886 iarg[1] = p->type; /* acl_type_t */
1887 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1893 struct __acl_set_fd_args *p = params;
1894 iarg[0] = p->filedes; /* int */
1895 iarg[1] = p->type; /* acl_type_t */
1896 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1900 /* __acl_delete_file */
1902 struct __acl_delete_file_args *p = params;
1903 uarg[0] = (intptr_t) p->path; /* const char * */
1904 iarg[1] = p->type; /* acl_type_t */
1908 /* __acl_delete_fd */
1910 struct __acl_delete_fd_args *p = params;
1911 iarg[0] = p->filedes; /* int */
1912 iarg[1] = p->type; /* acl_type_t */
1916 /* __acl_aclcheck_file */
1918 struct __acl_aclcheck_file_args *p = params;
1919 uarg[0] = (intptr_t) p->path; /* const char * */
1920 iarg[1] = p->type; /* acl_type_t */
1921 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1925 /* __acl_aclcheck_fd */
1927 struct __acl_aclcheck_fd_args *p = params;
1928 iarg[0] = p->filedes; /* int */
1929 iarg[1] = p->type; /* acl_type_t */
1930 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1936 struct extattrctl_args *p = params;
1937 uarg[0] = (intptr_t) p->path; /* const char * */
1938 iarg[1] = p->cmd; /* int */
1939 uarg[2] = (intptr_t) p->filename; /* const char * */
1940 iarg[3] = p->attrnamespace; /* int */
1941 uarg[4] = (intptr_t) p->attrname; /* const char * */
1945 /* extattr_set_file */
1947 struct extattr_set_file_args *p = params;
1948 uarg[0] = (intptr_t) p->path; /* const char * */
1949 iarg[1] = p->attrnamespace; /* int */
1950 uarg[2] = (intptr_t) p->attrname; /* const char * */
1951 uarg[3] = (intptr_t) p->data; /* void * */
1952 uarg[4] = p->nbytes; /* size_t */
1956 /* extattr_get_file */
1958 struct extattr_get_file_args *p = params;
1959 uarg[0] = (intptr_t) p->path; /* const char * */
1960 iarg[1] = p->attrnamespace; /* int */
1961 uarg[2] = (intptr_t) p->attrname; /* const char * */
1962 uarg[3] = (intptr_t) p->data; /* void * */
1963 uarg[4] = p->nbytes; /* size_t */
1967 /* extattr_delete_file */
1969 struct extattr_delete_file_args *p = params;
1970 uarg[0] = (intptr_t) p->path; /* const char * */
1971 iarg[1] = p->attrnamespace; /* int */
1972 uarg[2] = (intptr_t) p->attrname; /* const char * */
1976 /* aio_waitcomplete */
1978 struct aio_waitcomplete_args *p = params;
1979 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1980 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1986 struct getresuid_args *p = params;
1987 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1988 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1989 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1995 struct getresgid_args *p = params;
1996 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1997 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1998 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
2009 struct kevent_args *p = params;
2010 iarg[0] = p->fd; /* int */
2011 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
2012 iarg[2] = p->nchanges; /* int */
2013 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
2014 iarg[4] = p->nevents; /* int */
2015 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
2024 /* extattr_set_fd */
2026 struct extattr_set_fd_args *p = params;
2027 iarg[0] = p->fd; /* int */
2028 iarg[1] = p->attrnamespace; /* int */
2029 uarg[2] = (intptr_t) p->attrname; /* const char * */
2030 uarg[3] = (intptr_t) p->data; /* void * */
2031 uarg[4] = p->nbytes; /* size_t */
2035 /* extattr_get_fd */
2037 struct extattr_get_fd_args *p = params;
2038 iarg[0] = p->fd; /* int */
2039 iarg[1] = p->attrnamespace; /* int */
2040 uarg[2] = (intptr_t) p->attrname; /* const char * */
2041 uarg[3] = (intptr_t) p->data; /* void * */
2042 uarg[4] = p->nbytes; /* size_t */
2046 /* extattr_delete_fd */
2048 struct extattr_delete_fd_args *p = params;
2049 iarg[0] = p->fd; /* int */
2050 iarg[1] = p->attrnamespace; /* int */
2051 uarg[2] = (intptr_t) p->attrname; /* const char * */
2057 struct __setugid_args *p = params;
2058 iarg[0] = p->flag; /* int */
2064 struct nfsclnt_args *p = params;
2065 iarg[0] = p->flag; /* int */
2066 uarg[1] = (intptr_t) p->argp; /* caddr_t */
2072 struct eaccess_args *p = params;
2073 uarg[0] = (intptr_t) p->path; /* char * */
2074 iarg[1] = p->flags; /* int */
2080 struct nmount_args *p = params;
2081 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2082 uarg[1] = p->iovcnt; /* unsigned int */
2083 iarg[2] = p->flags; /* int */
2094 struct kse_wakeup_args *p = params;
2095 uarg[0] = (intptr_t) p->mbx; /* struct kse_mailbox * */
2101 struct kse_create_args *p = params;
2102 uarg[0] = (intptr_t) p->mbx; /* struct kse_mailbox * */
2103 iarg[1] = p->newgroup; /* int */
2107 /* kse_thr_interrupt */
2109 struct kse_thr_interrupt_args *p = params;
2110 uarg[0] = (intptr_t) p->tmbx; /* struct kse_thr_mailbox * */
2111 iarg[1] = p->cmd; /* int */
2112 iarg[2] = p->data; /* long */
2118 struct kse_release_args *p = params;
2119 uarg[0] = (intptr_t) p->timeout; /* struct timespec * */
2123 /* __mac_get_proc */
2125 struct __mac_get_proc_args *p = params;
2126 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2130 /* __mac_set_proc */
2132 struct __mac_set_proc_args *p = params;
2133 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2139 struct __mac_get_fd_args *p = params;
2140 iarg[0] = p->fd; /* int */
2141 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2145 /* __mac_get_file */
2147 struct __mac_get_file_args *p = params;
2148 uarg[0] = (intptr_t) p->path_p; /* const char * */
2149 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2155 struct __mac_set_fd_args *p = params;
2156 iarg[0] = p->fd; /* int */
2157 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2161 /* __mac_set_file */
2163 struct __mac_set_file_args *p = params;
2164 uarg[0] = (intptr_t) p->path_p; /* const char * */
2165 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2171 struct kenv_args *p = params;
2172 iarg[0] = p->what; /* int */
2173 uarg[1] = (intptr_t) p->name; /* const char * */
2174 uarg[2] = (intptr_t) p->value; /* char * */
2175 iarg[3] = p->len; /* int */
2181 struct lchflags_args *p = params;
2182 uarg[0] = (intptr_t) p->path; /* const char * */
2183 iarg[1] = p->flags; /* int */
2189 struct uuidgen_args *p = params;
2190 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2191 iarg[1] = p->count; /* int */
2197 struct sendfile_args *p = params;
2198 iarg[0] = p->fd; /* int */
2199 iarg[1] = p->s; /* int */
2200 iarg[2] = p->offset; /* off_t */
2201 uarg[3] = p->nbytes; /* size_t */
2202 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2203 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2204 iarg[6] = p->flags; /* int */
2210 struct mac_syscall_args *p = params;
2211 uarg[0] = (intptr_t) p->policy; /* const char * */
2212 iarg[1] = p->call; /* int */
2213 uarg[2] = (intptr_t) p->arg; /* void * */
2219 struct getfsstat_args *p = params;
2220 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2221 iarg[1] = p->bufsize; /* long */
2222 iarg[2] = p->flags; /* int */
2228 struct statfs_args *p = params;
2229 uarg[0] = (intptr_t) p->path; /* char * */
2230 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2236 struct fstatfs_args *p = params;
2237 iarg[0] = p->fd; /* int */
2238 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2244 struct fhstatfs_args *p = params;
2245 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2246 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2252 struct ksem_close_args *p = params;
2253 iarg[0] = p->id; /* semid_t */
2259 struct ksem_post_args *p = params;
2260 iarg[0] = p->id; /* semid_t */
2266 struct ksem_wait_args *p = params;
2267 iarg[0] = p->id; /* semid_t */
2273 struct ksem_trywait_args *p = params;
2274 iarg[0] = p->id; /* semid_t */
2280 struct ksem_init_args *p = params;
2281 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2282 uarg[1] = p->value; /* unsigned int */
2288 struct ksem_open_args *p = params;
2289 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2290 uarg[1] = (intptr_t) p->name; /* const char * */
2291 iarg[2] = p->oflag; /* int */
2292 iarg[3] = p->mode; /* mode_t */
2293 uarg[4] = p->value; /* unsigned int */
2299 struct ksem_unlink_args *p = params;
2300 uarg[0] = (intptr_t) p->name; /* const char * */
2306 struct ksem_getvalue_args *p = params;
2307 iarg[0] = p->id; /* semid_t */
2308 uarg[1] = (intptr_t) p->val; /* int * */
2314 struct ksem_destroy_args *p = params;
2315 iarg[0] = p->id; /* semid_t */
2321 struct __mac_get_pid_args *p = params;
2322 iarg[0] = p->pid; /* pid_t */
2323 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2327 /* __mac_get_link */
2329 struct __mac_get_link_args *p = params;
2330 uarg[0] = (intptr_t) p->path_p; /* const char * */
2331 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2335 /* __mac_set_link */
2337 struct __mac_set_link_args *p = params;
2338 uarg[0] = (intptr_t) p->path_p; /* const char * */
2339 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2343 /* extattr_set_link */
2345 struct extattr_set_link_args *p = params;
2346 uarg[0] = (intptr_t) p->path; /* const char * */
2347 iarg[1] = p->attrnamespace; /* int */
2348 uarg[2] = (intptr_t) p->attrname; /* const char * */
2349 uarg[3] = (intptr_t) p->data; /* void * */
2350 uarg[4] = p->nbytes; /* size_t */
2354 /* extattr_get_link */
2356 struct extattr_get_link_args *p = params;
2357 uarg[0] = (intptr_t) p->path; /* const char * */
2358 iarg[1] = p->attrnamespace; /* int */
2359 uarg[2] = (intptr_t) p->attrname; /* const char * */
2360 uarg[3] = (intptr_t) p->data; /* void * */
2361 uarg[4] = p->nbytes; /* size_t */
2365 /* extattr_delete_link */
2367 struct extattr_delete_link_args *p = params;
2368 uarg[0] = (intptr_t) p->path; /* const char * */
2369 iarg[1] = p->attrnamespace; /* int */
2370 uarg[2] = (intptr_t) p->attrname; /* const char * */
2376 struct __mac_execve_args *p = params;
2377 uarg[0] = (intptr_t) p->fname; /* char * */
2378 uarg[1] = (intptr_t) p->argv; /* char ** */
2379 uarg[2] = (intptr_t) p->envv; /* char ** */
2380 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2386 struct sigaction_args *p = params;
2387 iarg[0] = p->sig; /* int */
2388 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2389 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2395 struct sigreturn_args *p = params;
2396 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2402 struct getcontext_args *p = params;
2403 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2409 struct setcontext_args *p = params;
2410 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2416 struct swapcontext_args *p = params;
2417 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2418 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2424 struct swapoff_args *p = params;
2425 uarg[0] = (intptr_t) p->name; /* const char * */
2429 /* __acl_get_link */
2431 struct __acl_get_link_args *p = params;
2432 uarg[0] = (intptr_t) p->path; /* const char * */
2433 iarg[1] = p->type; /* acl_type_t */
2434 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2438 /* __acl_set_link */
2440 struct __acl_set_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 * */
2447 /* __acl_delete_link */
2449 struct __acl_delete_link_args *p = params;
2450 uarg[0] = (intptr_t) p->path; /* const char * */
2451 iarg[1] = p->type; /* acl_type_t */
2455 /* __acl_aclcheck_link */
2457 struct __acl_aclcheck_link_args *p = params;
2458 uarg[0] = (intptr_t) p->path; /* const char * */
2459 iarg[1] = p->type; /* acl_type_t */
2460 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2466 struct sigwait_args *p = params;
2467 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2468 uarg[1] = (intptr_t) p->sig; /* int * */
2474 struct thr_create_args *p = params;
2475 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2476 uarg[1] = (intptr_t) p->id; /* long * */
2477 iarg[2] = p->flags; /* int */
2483 struct thr_exit_args *p = params;
2484 uarg[0] = (intptr_t) p->state; /* long * */
2490 struct thr_self_args *p = params;
2491 uarg[0] = (intptr_t) p->id; /* long * */
2497 struct thr_kill_args *p = params;
2498 iarg[0] = p->id; /* long */
2499 iarg[1] = p->sig; /* int */
2505 struct _umtx_lock_args *p = params;
2506 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2512 struct _umtx_unlock_args *p = params;
2513 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2519 struct jail_attach_args *p = params;
2520 iarg[0] = p->jid; /* int */
2524 /* extattr_list_fd */
2526 struct extattr_list_fd_args *p = params;
2527 iarg[0] = p->fd; /* int */
2528 iarg[1] = p->attrnamespace; /* int */
2529 uarg[2] = (intptr_t) p->data; /* void * */
2530 uarg[3] = p->nbytes; /* size_t */
2534 /* extattr_list_file */
2536 struct extattr_list_file_args *p = params;
2537 uarg[0] = (intptr_t) p->path; /* const char * */
2538 iarg[1] = p->attrnamespace; /* int */
2539 uarg[2] = (intptr_t) p->data; /* void * */
2540 uarg[3] = p->nbytes; /* size_t */
2544 /* extattr_list_link */
2546 struct extattr_list_link_args *p = params;
2547 uarg[0] = (intptr_t) p->path; /* const char * */
2548 iarg[1] = p->attrnamespace; /* int */
2549 uarg[2] = (intptr_t) p->data; /* void * */
2550 uarg[3] = p->nbytes; /* size_t */
2556 struct kse_switchin_args *p = params;
2557 uarg[0] = (intptr_t) p->tmbx; /* struct kse_thr_mailbox * */
2558 iarg[1] = p->flags; /* int */
2562 /* ksem_timedwait */
2564 struct ksem_timedwait_args *p = params;
2565 iarg[0] = p->id; /* semid_t */
2566 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2572 struct thr_suspend_args *p = params;
2573 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2579 struct thr_wake_args *p = params;
2580 iarg[0] = p->id; /* long */
2586 struct kldunloadf_args *p = params;
2587 iarg[0] = p->fileid; /* int */
2588 iarg[1] = p->flags; /* int */
2594 struct audit_args *p = params;
2595 uarg[0] = (intptr_t) p->record; /* const void * */
2596 uarg[1] = p->length; /* u_int */
2602 struct auditon_args *p = params;
2603 iarg[0] = p->cmd; /* int */
2604 uarg[1] = (intptr_t) p->data; /* void * */
2605 uarg[2] = p->length; /* u_int */
2611 struct getauid_args *p = params;
2612 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2618 struct setauid_args *p = params;
2619 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2625 struct getaudit_args *p = params;
2626 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2632 struct setaudit_args *p = params;
2633 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2639 struct getaudit_addr_args *p = params;
2640 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2641 uarg[1] = p->length; /* u_int */
2647 struct setaudit_addr_args *p = params;
2648 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2649 uarg[1] = p->length; /* u_int */
2655 struct auditctl_args *p = params;
2656 uarg[0] = (intptr_t) p->path; /* char * */
2662 struct _umtx_op_args *p = params;
2663 uarg[0] = (intptr_t) p->obj; /* void * */
2664 iarg[1] = p->op; /* int */
2665 uarg[2] = p->val; /* u_long */
2666 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2667 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2673 struct thr_new_args *p = params;
2674 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2675 iarg[1] = p->param_size; /* int */
2681 struct sigqueue_args *p = params;
2682 iarg[0] = p->pid; /* pid_t */
2683 iarg[1] = p->signum; /* int */
2684 uarg[2] = (intptr_t) p->value; /* void * */
2690 struct kmq_open_args *p = params;
2691 uarg[0] = (intptr_t) p->path; /* const char * */
2692 iarg[1] = p->flags; /* int */
2693 iarg[2] = p->mode; /* mode_t */
2694 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2700 struct kmq_setattr_args *p = params;
2701 iarg[0] = p->mqd; /* int */
2702 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2703 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2707 /* kmq_timedreceive */
2709 struct kmq_timedreceive_args *p = params;
2710 iarg[0] = p->mqd; /* int */
2711 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2712 uarg[2] = p->msg_len; /* size_t */
2713 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2714 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2720 struct kmq_timedsend_args *p = params;
2721 iarg[0] = p->mqd; /* int */
2722 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2723 uarg[2] = p->msg_len; /* size_t */
2724 uarg[3] = p->msg_prio; /* unsigned */
2725 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2731 struct kmq_notify_args *p = params;
2732 iarg[0] = p->mqd; /* int */
2733 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2739 struct kmq_unlink_args *p = params;
2740 uarg[0] = (intptr_t) p->path; /* const char * */
2746 struct abort2_args *p = params;
2747 uarg[0] = (intptr_t) p->why; /* const char * */
2748 iarg[1] = p->nargs; /* int */
2749 uarg[2] = (intptr_t) p->args; /* void ** */
2755 struct thr_set_name_args *p = params;
2756 iarg[0] = p->id; /* long */
2757 uarg[1] = (intptr_t) p->name; /* const char * */
2763 struct aio_fsync_args *p = params;
2764 iarg[0] = p->op; /* int */
2765 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2771 struct rtprio_thread_args *p = params;
2772 iarg[0] = p->function; /* int */
2773 iarg[1] = p->lwpid; /* lwpid_t */
2774 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2780 struct sctp_peeloff_args *p = params;
2781 iarg[0] = p->sd; /* int */
2782 uarg[1] = p->name; /* uint32_t */
2786 /* sctp_generic_sendmsg */
2788 struct sctp_generic_sendmsg_args *p = params;
2789 iarg[0] = p->sd; /* int */
2790 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2791 iarg[2] = p->mlen; /* int */
2792 uarg[3] = (intptr_t) p->to; /* caddr_t */
2793 iarg[4] = p->tolen; /* __socklen_t */
2794 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2795 iarg[6] = p->flags; /* int */
2799 /* sctp_generic_sendmsg_iov */
2801 struct sctp_generic_sendmsg_iov_args *p = params;
2802 iarg[0] = p->sd; /* int */
2803 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2804 iarg[2] = p->iovlen; /* int */
2805 uarg[3] = (intptr_t) p->to; /* caddr_t */
2806 iarg[4] = p->tolen; /* __socklen_t */
2807 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2808 iarg[6] = p->flags; /* int */
2812 /* sctp_generic_recvmsg */
2814 struct sctp_generic_recvmsg_args *p = params;
2815 iarg[0] = p->sd; /* int */
2816 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2817 iarg[2] = p->iovlen; /* int */
2818 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2819 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2820 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2821 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2827 struct pread_args *p = params;
2828 iarg[0] = p->fd; /* int */
2829 uarg[1] = (intptr_t) p->buf; /* void * */
2830 uarg[2] = p->nbyte; /* size_t */
2831 iarg[3] = p->offset; /* off_t */
2837 struct pwrite_args *p = params;
2838 iarg[0] = p->fd; /* int */
2839 uarg[1] = (intptr_t) p->buf; /* const void * */
2840 uarg[2] = p->nbyte; /* size_t */
2841 iarg[3] = p->offset; /* off_t */
2847 struct mmap_args *p = params;
2848 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2849 uarg[1] = p->len; /* size_t */
2850 iarg[2] = p->prot; /* int */
2851 iarg[3] = p->flags; /* int */
2852 iarg[4] = p->fd; /* int */
2853 iarg[5] = p->pos; /* off_t */
2859 struct lseek_args *p = params;
2860 iarg[0] = p->fd; /* int */
2861 iarg[1] = p->offset; /* off_t */
2862 iarg[2] = p->whence; /* int */
2868 struct truncate_args *p = params;
2869 uarg[0] = (intptr_t) p->path; /* char * */
2870 iarg[1] = p->length; /* off_t */
2876 struct ftruncate_args *p = params;
2877 iarg[0] = p->fd; /* int */
2878 iarg[1] = p->length; /* off_t */
2884 struct thr_kill2_args *p = params;
2885 iarg[0] = p->pid; /* pid_t */
2886 iarg[1] = p->id; /* long */
2887 iarg[2] = p->sig; /* int */
2893 struct cpuset_args *p = params;
2894 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2900 struct cpuset_setid_args *p = params;
2901 iarg[0] = p->which; /* cpuwhich_t */
2902 iarg[1] = p->id; /* id_t */
2903 iarg[2] = p->setid; /* cpusetid_t */
2909 struct cpuset_getid_args *p = params;
2910 iarg[0] = p->level; /* cpulevel_t */
2911 iarg[1] = p->which; /* cpuwhich_t */
2912 iarg[2] = p->id; /* id_t */
2913 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2917 /* cpuset_getaffinity */
2919 struct cpuset_getaffinity_args *p = params;
2920 iarg[0] = p->level; /* cpulevel_t */
2921 iarg[1] = p->which; /* cpuwhich_t */
2922 iarg[2] = p->id; /* id_t */
2923 uarg[3] = p->cpusetsize; /* size_t */
2924 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2928 /* cpuset_setaffinity */
2930 struct cpuset_setaffinity_args *p = params;
2931 iarg[0] = p->level; /* cpulevel_t */
2932 iarg[1] = p->which; /* cpuwhich_t */
2933 iarg[2] = p->id; /* id_t */
2934 uarg[3] = p->cpusetsize; /* size_t */
2935 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2945 systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2947 const char *p = NULL;
3036 p = "struct rusage *";
3217 p = "struct msghdr *";
3233 p = "struct msghdr *";
3258 p = "struct sockaddr *__restrict";
3261 p = "__socklen_t *__restrict";
3274 p = "struct sockaddr *__restrict";
3277 p = "__socklen_t *__restrict";
3290 p = "struct sockaddr *__restrict";
3293 p = "__socklen_t *__restrict";
3306 p = "struct sockaddr *__restrict";
3309 p = "__socklen_t *__restrict";
3736 p = "struct itimerval *";
3739 p = "struct itimerval *";
3762 p = "struct itimerval *";
3816 p = "struct timeval *";
3948 p = "struct timeval *";
3951 p = "struct timezone *";
3964 p = "struct rusage *";
3999 p = "struct iovec *";
4015 p = "struct iovec *";
4028 p = "struct timeval *";
4031 p = "struct timezone *";
4218 p = "struct timeval *";
4228 p = "struct timeval *";
4231 p = "struct timeval *";
4298 p = "struct fhandle *";
4311 p = "struct fhandle *";
4347 p = "struct utsname *";
4376 p = "struct rtprio *";
4448 /* freebsd6_pread */
4470 /* freebsd6_pwrite */
4496 p = "struct timex *";
4539 p = "struct stat *";
4552 p = "struct stat *";
4565 p = "struct stat *";
4604 p = "struct rlimit *";
4617 p = "struct rlimit *";
4673 /* freebsd6_lseek */
4692 /* freebsd6_truncate */
4708 /* freebsd6_ftruncate */
4792 p = "struct timeval *";
4812 p = "struct pollfd *";
4867 p = "union semun *";
4896 p = "struct sembuf *";
4915 p = "struct msqid_ds *";
5001 p = "struct shmid_ds *";
5040 p = "struct timespec *";
5053 p = "const struct timespec *";
5066 p = "struct timespec *";
5079 p = "struct sigevent *";
5098 /* ktimer_settime */
5108 p = "const struct itimerspec *";
5111 p = "struct itimerspec *";
5117 /* ktimer_gettime */
5124 p = "struct itimerspec *";
5130 /* ktimer_getoverrun */
5144 p = "const struct timespec *";
5147 p = "struct timespec *";
5157 p = "struct ntptimeval *";
5193 p = "struct pollfd *";
5228 p = "struct aiocb *";
5238 p = "struct aiocb *";
5251 p = "struct aiocb *const *";
5257 p = "struct sigevent *";
5315 p = "struct timeval *";
5344 p = "struct nstat *";
5357 p = "struct nstat *";
5370 p = "struct nstat *";
5383 p = "struct iovec *";
5402 p = "struct iovec *";
5418 p = "const struct fhandle *";
5431 p = "const struct fhandle *";
5434 p = "struct stat *";
5457 p = "struct module_stat *";
5530 p = "struct kld_file_stat *";
5592 p = "struct aiocb *";
5602 p = "struct aiocb *const *";
5608 p = "const struct timespec *";
5621 p = "struct aiocb *";
5631 p = "struct aiocb *";
5641 p = "struct oaiocb *";
5651 p = "struct oaiocb *";
5664 p = "struct oaiocb *const *";
5670 p = "struct osigevent *";
5705 /* sched_setparam */
5712 p = "const struct sched_param *";
5718 /* sched_getparam */
5725 p = "struct sched_param *";
5731 /* sched_setscheduler */
5741 p = "const struct sched_param *";
5747 /* sched_getscheduler */
5760 /* sched_get_priority_max */
5770 /* sched_get_priority_min */
5780 /* sched_rr_get_interval */
5787 p = "struct timespec *";
5826 p = "struct jail *";
5839 p = "const sigset_t *";
5852 p = "const sigset_t *";
5872 p = "const sigset_t *";
5878 p = "const struct timespec *";
5888 p = "const sigset_t *";
5897 /* __acl_get_file */
5913 /* __acl_set_file */
5961 /* __acl_delete_file */
5974 /* __acl_delete_fd */
5987 /* __acl_aclcheck_file */
6003 /* __acl_aclcheck_fd */
6041 /* extattr_set_file */
6063 /* extattr_get_file */
6085 /* extattr_delete_file */
6101 /* aio_waitcomplete */
6105 p = "struct aiocb **";
6108 p = "struct timespec *";
6156 p = "struct kevent *";
6162 p = "struct kevent *";
6168 p = "const struct timespec *";
6177 /* extattr_set_fd */
6199 /* extattr_get_fd */
6221 /* extattr_delete_fd */
6277 p = "struct iovec *";
6296 p = "struct kse_mailbox *";
6306 p = "struct kse_mailbox *";
6315 /* kse_thr_interrupt */
6319 p = "struct kse_thr_mailbox *";
6335 p = "struct timespec *";
6341 /* __mac_get_proc */
6351 /* __mac_set_proc */
6374 /* __mac_get_file */
6400 /* __mac_set_file */
6449 p = "struct uuid *";
6474 p = "struct sf_hdtr *";
6506 p = "struct statfs *";
6525 p = "struct statfs *";
6538 p = "struct statfs *";
6548 p = "const struct fhandle *";
6551 p = "struct statfs *";
6678 /* __mac_get_link */
6691 /* __mac_set_link */
6704 /* extattr_set_link */
6726 /* extattr_get_link */
6748 /* extattr_delete_link */
6790 p = "const struct sigaction *";
6793 p = "struct sigaction *";
6803 p = "const struct __ucontext *";
6813 p = "struct __ucontext *";
6823 p = "const struct __ucontext *";
6833 p = "struct __ucontext *";
6836 p = "const struct __ucontext *";
6852 /* __acl_get_link */
6868 /* __acl_set_link */
6884 /* __acl_delete_link */
6897 /* __acl_aclcheck_link */
6917 p = "const sigset_t *";
6979 p = "struct umtx *";
6989 p = "struct umtx *";
7005 /* extattr_list_fd */
7024 /* extattr_list_file */
7043 /* extattr_list_link */
7066 p = "struct kse_thr_mailbox *";
7075 /* ksem_timedwait */
7082 p = "const struct timespec *";
7092 p = "const struct timespec *";
7174 p = "struct auditinfo *";
7184 p = "struct auditinfo *";
7194 p = "struct auditinfo_addr *";
7207 p = "struct auditinfo_addr *";
7252 p = "struct thr_param *";
7290 p = "const struct mq_attr *";
7303 p = "const struct mq_attr *";
7306 p = "struct mq_attr *";
7312 /* kmq_timedreceive */
7328 p = "const struct timespec *";
7350 p = "const struct timespec *";
7363 p = "const struct sigevent *";
7415 p = "struct aiocb *";
7431 p = "struct rtprio *";
7450 /* sctp_generic_sendmsg */
7469 p = "struct sctp_sndrcvinfo *";
7478 /* sctp_generic_sendmsg_iov */
7485 p = "struct iovec *";
7497 p = "struct sctp_sndrcvinfo *";
7506 /* sctp_generic_recvmsg */
7513 p = "struct iovec *";
7519 p = "struct sockaddr *";
7522 p = "__socklen_t *";
7525 p = "struct sctp_sndrcvinfo *";
7659 strlcpy(desc, p, descsz);