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 uarg
[2] = p
->count
; /* size_t */
400 struct execve_args
*p
= params
;
401 uarg
[0] = (intptr_t) p
->fname
; /* char * */
402 uarg
[1] = (intptr_t) p
->argv
; /* char ** */
403 uarg
[2] = (intptr_t) p
->envv
; /* char ** */
409 struct umask_args
*p
= params
;
410 iarg
[0] = p
->newmask
; /* int */
416 struct chroot_args
*p
= params
;
417 uarg
[0] = (intptr_t) p
->path
; /* char * */
423 struct msync_args
*p
= params
;
424 uarg
[0] = (intptr_t) p
->addr
; /* void * */
425 uarg
[1] = p
->len
; /* size_t */
426 iarg
[2] = p
->flags
; /* int */
437 struct sbrk_args
*p
= params
;
438 iarg
[0] = p
->incr
; /* int */
444 struct sstk_args
*p
= params
;
445 iarg
[0] = p
->incr
; /* int */
451 struct ovadvise_args
*p
= params
;
452 iarg
[0] = p
->anom
; /* int */
458 struct munmap_args
*p
= params
;
459 uarg
[0] = (intptr_t) p
->addr
; /* void * */
460 uarg
[1] = p
->len
; /* size_t */
466 struct mprotect_args
*p
= params
;
467 uarg
[0] = (intptr_t) p
->addr
; /* const void * */
468 uarg
[1] = p
->len
; /* size_t */
469 iarg
[2] = p
->prot
; /* int */
475 struct madvise_args
*p
= params
;
476 uarg
[0] = (intptr_t) p
->addr
; /* void * */
477 uarg
[1] = p
->len
; /* size_t */
478 iarg
[2] = p
->behav
; /* int */
484 struct mincore_args
*p
= params
;
485 uarg
[0] = (intptr_t) p
->addr
; /* const void * */
486 uarg
[1] = p
->len
; /* size_t */
487 uarg
[2] = (intptr_t) p
->vec
; /* char * */
493 struct getgroups_args
*p
= params
;
494 uarg
[0] = p
->gidsetsize
; /* u_int */
495 uarg
[1] = (intptr_t) p
->gidset
; /* gid_t * */
501 struct setgroups_args
*p
= params
;
502 uarg
[0] = p
->gidsetsize
; /* u_int */
503 uarg
[1] = (intptr_t) p
->gidset
; /* gid_t * */
514 struct setpgid_args
*p
= params
;
515 iarg
[0] = p
->pid
; /* int */
516 iarg
[1] = p
->pgid
; /* int */
522 struct setitimer_args
*p
= params
;
523 uarg
[0] = p
->which
; /* u_int */
524 uarg
[1] = (intptr_t) p
->itv
; /* struct itimerval * */
525 uarg
[2] = (intptr_t) p
->oitv
; /* struct itimerval * */
531 struct swapon_args
*p
= params
;
532 uarg
[0] = (intptr_t) p
->name
; /* char * */
538 struct getitimer_args
*p
= params
;
539 uarg
[0] = p
->which
; /* u_int */
540 uarg
[1] = (intptr_t) p
->itv
; /* struct itimerval * */
551 struct dup2_args
*p
= params
;
552 uarg
[0] = p
->from
; /* u_int */
553 uarg
[1] = p
->to
; /* u_int */
559 struct fcntl_args
*p
= params
;
560 iarg
[0] = p
->fd
; /* int */
561 iarg
[1] = p
->cmd
; /* int */
562 iarg
[2] = p
->arg
; /* long */
568 struct select_args
*p
= params
;
569 iarg
[0] = p
->nd
; /* int */
570 uarg
[1] = (intptr_t) p
->in
; /* fd_set * */
571 uarg
[2] = (intptr_t) p
->ou
; /* fd_set * */
572 uarg
[3] = (intptr_t) p
->ex
; /* fd_set * */
573 uarg
[4] = (intptr_t) p
->tv
; /* struct timeval * */
579 struct fsync_args
*p
= params
;
580 iarg
[0] = p
->fd
; /* int */
586 struct setpriority_args
*p
= params
;
587 iarg
[0] = p
->which
; /* int */
588 iarg
[1] = p
->who
; /* int */
589 iarg
[2] = p
->prio
; /* int */
595 struct socket_args
*p
= params
;
596 iarg
[0] = p
->domain
; /* int */
597 iarg
[1] = p
->type
; /* int */
598 iarg
[2] = p
->protocol
; /* int */
604 struct connect_args
*p
= params
;
605 iarg
[0] = p
->s
; /* int */
606 uarg
[1] = (intptr_t) p
->name
; /* caddr_t */
607 iarg
[2] = p
->namelen
; /* int */
613 struct getpriority_args
*p
= params
;
614 iarg
[0] = p
->which
; /* int */
615 iarg
[1] = p
->who
; /* int */
621 struct bind_args
*p
= params
;
622 iarg
[0] = p
->s
; /* int */
623 uarg
[1] = (intptr_t) p
->name
; /* caddr_t */
624 iarg
[2] = p
->namelen
; /* int */
630 struct setsockopt_args
*p
= params
;
631 iarg
[0] = p
->s
; /* int */
632 iarg
[1] = p
->level
; /* int */
633 iarg
[2] = p
->name
; /* int */
634 uarg
[3] = (intptr_t) p
->val
; /* caddr_t */
635 iarg
[4] = p
->valsize
; /* int */
641 struct listen_args
*p
= params
;
642 iarg
[0] = p
->s
; /* int */
643 iarg
[1] = p
->backlog
; /* int */
649 struct gettimeofday_args
*p
= params
;
650 uarg
[0] = (intptr_t) p
->tp
; /* struct timeval * */
651 uarg
[1] = (intptr_t) p
->tzp
; /* struct timezone * */
657 struct getrusage_args
*p
= params
;
658 iarg
[0] = p
->who
; /* int */
659 uarg
[1] = (intptr_t) p
->rusage
; /* struct rusage * */
665 struct getsockopt_args
*p
= params
;
666 iarg
[0] = p
->s
; /* int */
667 iarg
[1] = p
->level
; /* int */
668 iarg
[2] = p
->name
; /* int */
669 uarg
[3] = (intptr_t) p
->val
; /* caddr_t */
670 uarg
[4] = (intptr_t) p
->avalsize
; /* int * */
676 struct readv_args
*p
= params
;
677 iarg
[0] = p
->fd
; /* int */
678 uarg
[1] = (intptr_t) p
->iovp
; /* struct iovec * */
679 uarg
[2] = p
->iovcnt
; /* u_int */
685 struct writev_args
*p
= params
;
686 iarg
[0] = p
->fd
; /* int */
687 uarg
[1] = (intptr_t) p
->iovp
; /* struct iovec * */
688 uarg
[2] = p
->iovcnt
; /* u_int */
694 struct settimeofday_args
*p
= params
;
695 uarg
[0] = (intptr_t) p
->tv
; /* struct timeval * */
696 uarg
[1] = (intptr_t) p
->tzp
; /* struct timezone * */
702 struct fchown_args
*p
= params
;
703 iarg
[0] = p
->fd
; /* int */
704 iarg
[1] = p
->uid
; /* int */
705 iarg
[2] = p
->gid
; /* int */
711 struct fchmod_args
*p
= params
;
712 iarg
[0] = p
->fd
; /* int */
713 iarg
[1] = p
->mode
; /* int */
719 struct setreuid_args
*p
= params
;
720 iarg
[0] = p
->ruid
; /* int */
721 iarg
[1] = p
->euid
; /* int */
727 struct setregid_args
*p
= params
;
728 iarg
[0] = p
->rgid
; /* int */
729 iarg
[1] = p
->egid
; /* int */
735 struct rename_args
*p
= params
;
736 uarg
[0] = (intptr_t) p
->from
; /* char * */
737 uarg
[1] = (intptr_t) p
->to
; /* char * */
743 struct flock_args
*p
= params
;
744 iarg
[0] = p
->fd
; /* int */
745 iarg
[1] = p
->how
; /* int */
751 struct mkfifo_args
*p
= params
;
752 uarg
[0] = (intptr_t) p
->path
; /* char * */
753 iarg
[1] = p
->mode
; /* int */
759 struct sendto_args
*p
= params
;
760 iarg
[0] = p
->s
; /* int */
761 uarg
[1] = (intptr_t) p
->buf
; /* caddr_t */
762 uarg
[2] = p
->len
; /* size_t */
763 iarg
[3] = p
->flags
; /* int */
764 uarg
[4] = (intptr_t) p
->to
; /* caddr_t */
765 iarg
[5] = p
->tolen
; /* int */
771 struct shutdown_args
*p
= params
;
772 iarg
[0] = p
->s
; /* int */
773 iarg
[1] = p
->how
; /* int */
779 struct socketpair_args
*p
= params
;
780 iarg
[0] = p
->domain
; /* int */
781 iarg
[1] = p
->type
; /* int */
782 iarg
[2] = p
->protocol
; /* int */
783 uarg
[3] = (intptr_t) p
->rsv
; /* int * */
789 struct mkdir_args
*p
= params
;
790 uarg
[0] = (intptr_t) p
->path
; /* char * */
791 iarg
[1] = p
->mode
; /* int */
797 struct rmdir_args
*p
= params
;
798 uarg
[0] = (intptr_t) p
->path
; /* char * */
804 struct utimes_args
*p
= params
;
805 uarg
[0] = (intptr_t) p
->path
; /* char * */
806 uarg
[1] = (intptr_t) p
->tptr
; /* struct timeval * */
812 struct adjtime_args
*p
= params
;
813 uarg
[0] = (intptr_t) p
->delta
; /* struct timeval * */
814 uarg
[1] = (intptr_t) p
->olddelta
; /* struct timeval * */
825 struct quotactl_args
*p
= params
;
826 uarg
[0] = (intptr_t) p
->path
; /* char * */
827 iarg
[1] = p
->cmd
; /* int */
828 iarg
[2] = p
->uid
; /* int */
829 uarg
[3] = (intptr_t) p
->arg
; /* caddr_t */
835 struct nlm_syscall_args
*p
= params
;
836 iarg
[0] = p
->debug_level
; /* int */
837 iarg
[1] = p
->grace_period
; /* int */
838 iarg
[2] = p
->addr_count
; /* int */
839 uarg
[3] = (intptr_t) p
->addrs
; /* char ** */
845 struct nfssvc_args
*p
= params
;
846 iarg
[0] = p
->flag
; /* int */
847 uarg
[1] = (intptr_t) p
->argp
; /* caddr_t */
853 struct lgetfh_args
*p
= params
;
854 uarg
[0] = (intptr_t) p
->fname
; /* char * */
855 uarg
[1] = (intptr_t) p
->fhp
; /* struct fhandle * */
861 struct getfh_args
*p
= params
;
862 uarg
[0] = (intptr_t) p
->fname
; /* char * */
863 uarg
[1] = (intptr_t) p
->fhp
; /* struct fhandle * */
869 struct 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 */
2087 /* __mac_get_proc */
2089 struct __mac_get_proc_args
*p
= params
;
2090 uarg
[0] = (intptr_t) p
->mac_p
; /* struct mac * */
2094 /* __mac_set_proc */
2096 struct __mac_set_proc_args
*p
= params
;
2097 uarg
[0] = (intptr_t) p
->mac_p
; /* struct mac * */
2103 struct __mac_get_fd_args
*p
= params
;
2104 iarg
[0] = p
->fd
; /* int */
2105 uarg
[1] = (intptr_t) p
->mac_p
; /* struct mac * */
2109 /* __mac_get_file */
2111 struct __mac_get_file_args
*p
= params
;
2112 uarg
[0] = (intptr_t) p
->path_p
; /* const char * */
2113 uarg
[1] = (intptr_t) p
->mac_p
; /* struct mac * */
2119 struct __mac_set_fd_args
*p
= params
;
2120 iarg
[0] = p
->fd
; /* int */
2121 uarg
[1] = (intptr_t) p
->mac_p
; /* struct mac * */
2125 /* __mac_set_file */
2127 struct __mac_set_file_args
*p
= params
;
2128 uarg
[0] = (intptr_t) p
->path_p
; /* const char * */
2129 uarg
[1] = (intptr_t) p
->mac_p
; /* struct mac * */
2135 struct kenv_args
*p
= params
;
2136 iarg
[0] = p
->what
; /* int */
2137 uarg
[1] = (intptr_t) p
->name
; /* const char * */
2138 uarg
[2] = (intptr_t) p
->value
; /* char * */
2139 iarg
[3] = p
->len
; /* int */
2145 struct lchflags_args
*p
= params
;
2146 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2147 iarg
[1] = p
->flags
; /* int */
2153 struct uuidgen_args
*p
= params
;
2154 uarg
[0] = (intptr_t) p
->store
; /* struct uuid * */
2155 iarg
[1] = p
->count
; /* int */
2161 struct sendfile_args
*p
= params
;
2162 iarg
[0] = p
->fd
; /* int */
2163 iarg
[1] = p
->s
; /* int */
2164 iarg
[2] = p
->offset
; /* off_t */
2165 uarg
[3] = p
->nbytes
; /* size_t */
2166 uarg
[4] = (intptr_t) p
->hdtr
; /* struct sf_hdtr * */
2167 uarg
[5] = (intptr_t) p
->sbytes
; /* off_t * */
2168 iarg
[6] = p
->flags
; /* int */
2174 struct mac_syscall_args
*p
= params
;
2175 uarg
[0] = (intptr_t) p
->policy
; /* const char * */
2176 iarg
[1] = p
->call
; /* int */
2177 uarg
[2] = (intptr_t) p
->arg
; /* void * */
2183 struct getfsstat_args
*p
= params
;
2184 uarg
[0] = (intptr_t) p
->buf
; /* struct statfs * */
2185 iarg
[1] = p
->bufsize
; /* long */
2186 iarg
[2] = p
->flags
; /* int */
2192 struct statfs_args
*p
= params
;
2193 uarg
[0] = (intptr_t) p
->path
; /* char * */
2194 uarg
[1] = (intptr_t) p
->buf
; /* struct statfs * */
2200 struct fstatfs_args
*p
= params
;
2201 iarg
[0] = p
->fd
; /* int */
2202 uarg
[1] = (intptr_t) p
->buf
; /* struct statfs * */
2208 struct fhstatfs_args
*p
= params
;
2209 uarg
[0] = (intptr_t) p
->u_fhp
; /* const struct fhandle * */
2210 uarg
[1] = (intptr_t) p
->buf
; /* struct statfs * */
2216 struct ksem_close_args
*p
= params
;
2217 iarg
[0] = p
->id
; /* semid_t */
2223 struct ksem_post_args
*p
= params
;
2224 iarg
[0] = p
->id
; /* semid_t */
2230 struct ksem_wait_args
*p
= params
;
2231 iarg
[0] = p
->id
; /* semid_t */
2237 struct ksem_trywait_args
*p
= params
;
2238 iarg
[0] = p
->id
; /* semid_t */
2244 struct ksem_init_args
*p
= params
;
2245 uarg
[0] = (intptr_t) p
->idp
; /* semid_t * */
2246 uarg
[1] = p
->value
; /* unsigned int */
2252 struct ksem_open_args
*p
= params
;
2253 uarg
[0] = (intptr_t) p
->idp
; /* semid_t * */
2254 uarg
[1] = (intptr_t) p
->name
; /* const char * */
2255 iarg
[2] = p
->oflag
; /* int */
2256 iarg
[3] = p
->mode
; /* mode_t */
2257 uarg
[4] = p
->value
; /* unsigned int */
2263 struct ksem_unlink_args
*p
= params
;
2264 uarg
[0] = (intptr_t) p
->name
; /* const char * */
2270 struct ksem_getvalue_args
*p
= params
;
2271 iarg
[0] = p
->id
; /* semid_t */
2272 uarg
[1] = (intptr_t) p
->val
; /* int * */
2278 struct ksem_destroy_args
*p
= params
;
2279 iarg
[0] = p
->id
; /* semid_t */
2285 struct __mac_get_pid_args
*p
= params
;
2286 iarg
[0] = p
->pid
; /* pid_t */
2287 uarg
[1] = (intptr_t) p
->mac_p
; /* struct mac * */
2291 /* __mac_get_link */
2293 struct __mac_get_link_args
*p
= params
;
2294 uarg
[0] = (intptr_t) p
->path_p
; /* const char * */
2295 uarg
[1] = (intptr_t) p
->mac_p
; /* struct mac * */
2299 /* __mac_set_link */
2301 struct __mac_set_link_args
*p
= params
;
2302 uarg
[0] = (intptr_t) p
->path_p
; /* const char * */
2303 uarg
[1] = (intptr_t) p
->mac_p
; /* struct mac * */
2307 /* extattr_set_link */
2309 struct extattr_set_link_args
*p
= params
;
2310 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2311 iarg
[1] = p
->attrnamespace
; /* int */
2312 uarg
[2] = (intptr_t) p
->attrname
; /* const char * */
2313 uarg
[3] = (intptr_t) p
->data
; /* void * */
2314 uarg
[4] = p
->nbytes
; /* size_t */
2318 /* extattr_get_link */
2320 struct extattr_get_link_args
*p
= params
;
2321 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2322 iarg
[1] = p
->attrnamespace
; /* int */
2323 uarg
[2] = (intptr_t) p
->attrname
; /* const char * */
2324 uarg
[3] = (intptr_t) p
->data
; /* void * */
2325 uarg
[4] = p
->nbytes
; /* size_t */
2329 /* extattr_delete_link */
2331 struct extattr_delete_link_args
*p
= params
;
2332 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2333 iarg
[1] = p
->attrnamespace
; /* int */
2334 uarg
[2] = (intptr_t) p
->attrname
; /* const char * */
2340 struct __mac_execve_args
*p
= params
;
2341 uarg
[0] = (intptr_t) p
->fname
; /* char * */
2342 uarg
[1] = (intptr_t) p
->argv
; /* char ** */
2343 uarg
[2] = (intptr_t) p
->envv
; /* char ** */
2344 uarg
[3] = (intptr_t) p
->mac_p
; /* struct mac * */
2350 struct sigaction_args
*p
= params
;
2351 iarg
[0] = p
->sig
; /* int */
2352 uarg
[1] = (intptr_t) p
->act
; /* const struct sigaction * */
2353 uarg
[2] = (intptr_t) p
->oact
; /* struct sigaction * */
2359 struct sigreturn_args
*p
= params
;
2360 uarg
[0] = (intptr_t) p
->sigcntxp
; /* const struct __ucontext * */
2366 struct getcontext_args
*p
= params
;
2367 uarg
[0] = (intptr_t) p
->ucp
; /* struct __ucontext * */
2373 struct setcontext_args
*p
= params
;
2374 uarg
[0] = (intptr_t) p
->ucp
; /* const struct __ucontext * */
2380 struct swapcontext_args
*p
= params
;
2381 uarg
[0] = (intptr_t) p
->oucp
; /* struct __ucontext * */
2382 uarg
[1] = (intptr_t) p
->ucp
; /* const struct __ucontext * */
2388 struct swapoff_args
*p
= params
;
2389 uarg
[0] = (intptr_t) p
->name
; /* const char * */
2393 /* __acl_get_link */
2395 struct __acl_get_link_args
*p
= params
;
2396 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2397 iarg
[1] = p
->type
; /* acl_type_t */
2398 uarg
[2] = (intptr_t) p
->aclp
; /* struct acl * */
2402 /* __acl_set_link */
2404 struct __acl_set_link_args
*p
= params
;
2405 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2406 iarg
[1] = p
->type
; /* acl_type_t */
2407 uarg
[2] = (intptr_t) p
->aclp
; /* struct acl * */
2411 /* __acl_delete_link */
2413 struct __acl_delete_link_args
*p
= params
;
2414 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2415 iarg
[1] = p
->type
; /* acl_type_t */
2419 /* __acl_aclcheck_link */
2421 struct __acl_aclcheck_link_args
*p
= params
;
2422 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2423 iarg
[1] = p
->type
; /* acl_type_t */
2424 uarg
[2] = (intptr_t) p
->aclp
; /* struct acl * */
2430 struct sigwait_args
*p
= params
;
2431 uarg
[0] = (intptr_t) p
->set
; /* const sigset_t * */
2432 uarg
[1] = (intptr_t) p
->sig
; /* int * */
2438 struct thr_create_args
*p
= params
;
2439 uarg
[0] = (intptr_t) p
->ctx
; /* ucontext_t * */
2440 uarg
[1] = (intptr_t) p
->id
; /* long * */
2441 iarg
[2] = p
->flags
; /* int */
2447 struct thr_exit_args
*p
= params
;
2448 uarg
[0] = (intptr_t) p
->state
; /* long * */
2454 struct thr_self_args
*p
= params
;
2455 uarg
[0] = (intptr_t) p
->id
; /* long * */
2461 struct thr_kill_args
*p
= params
;
2462 iarg
[0] = p
->id
; /* long */
2463 iarg
[1] = p
->sig
; /* int */
2469 struct _umtx_lock_args
*p
= params
;
2470 uarg
[0] = (intptr_t) p
->umtx
; /* struct umtx * */
2476 struct _umtx_unlock_args
*p
= params
;
2477 uarg
[0] = (intptr_t) p
->umtx
; /* struct umtx * */
2483 struct jail_attach_args
*p
= params
;
2484 iarg
[0] = p
->jid
; /* int */
2488 /* extattr_list_fd */
2490 struct extattr_list_fd_args
*p
= params
;
2491 iarg
[0] = p
->fd
; /* int */
2492 iarg
[1] = p
->attrnamespace
; /* int */
2493 uarg
[2] = (intptr_t) p
->data
; /* void * */
2494 uarg
[3] = p
->nbytes
; /* size_t */
2498 /* extattr_list_file */
2500 struct extattr_list_file_args
*p
= params
;
2501 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2502 iarg
[1] = p
->attrnamespace
; /* int */
2503 uarg
[2] = (intptr_t) p
->data
; /* void * */
2504 uarg
[3] = p
->nbytes
; /* size_t */
2508 /* extattr_list_link */
2510 struct extattr_list_link_args
*p
= params
;
2511 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2512 iarg
[1] = p
->attrnamespace
; /* int */
2513 uarg
[2] = (intptr_t) p
->data
; /* void * */
2514 uarg
[3] = p
->nbytes
; /* size_t */
2518 /* ksem_timedwait */
2520 struct ksem_timedwait_args
*p
= params
;
2521 iarg
[0] = p
->id
; /* semid_t */
2522 uarg
[1] = (intptr_t) p
->abstime
; /* const struct timespec * */
2528 struct thr_suspend_args
*p
= params
;
2529 uarg
[0] = (intptr_t) p
->timeout
; /* const struct timespec * */
2535 struct thr_wake_args
*p
= params
;
2536 iarg
[0] = p
->id
; /* long */
2542 struct kldunloadf_args
*p
= params
;
2543 iarg
[0] = p
->fileid
; /* int */
2544 iarg
[1] = p
->flags
; /* int */
2550 struct audit_args
*p
= params
;
2551 uarg
[0] = (intptr_t) p
->record
; /* const void * */
2552 uarg
[1] = p
->length
; /* u_int */
2558 struct auditon_args
*p
= params
;
2559 iarg
[0] = p
->cmd
; /* int */
2560 uarg
[1] = (intptr_t) p
->data
; /* void * */
2561 uarg
[2] = p
->length
; /* u_int */
2567 struct getauid_args
*p
= params
;
2568 uarg
[0] = (intptr_t) p
->auid
; /* uid_t * */
2574 struct setauid_args
*p
= params
;
2575 uarg
[0] = (intptr_t) p
->auid
; /* uid_t * */
2581 struct getaudit_args
*p
= params
;
2582 uarg
[0] = (intptr_t) p
->auditinfo
; /* struct auditinfo * */
2588 struct setaudit_args
*p
= params
;
2589 uarg
[0] = (intptr_t) p
->auditinfo
; /* struct auditinfo * */
2595 struct getaudit_addr_args
*p
= params
;
2596 uarg
[0] = (intptr_t) p
->auditinfo_addr
; /* struct auditinfo_addr * */
2597 uarg
[1] = p
->length
; /* u_int */
2603 struct setaudit_addr_args
*p
= params
;
2604 uarg
[0] = (intptr_t) p
->auditinfo_addr
; /* struct auditinfo_addr * */
2605 uarg
[1] = p
->length
; /* u_int */
2611 struct auditctl_args
*p
= params
;
2612 uarg
[0] = (intptr_t) p
->path
; /* char * */
2618 struct _umtx_op_args
*p
= params
;
2619 uarg
[0] = (intptr_t) p
->obj
; /* void * */
2620 iarg
[1] = p
->op
; /* int */
2621 uarg
[2] = p
->val
; /* u_long */
2622 uarg
[3] = (intptr_t) p
->uaddr1
; /* void * */
2623 uarg
[4] = (intptr_t) p
->uaddr2
; /* void * */
2629 struct thr_new_args
*p
= params
;
2630 uarg
[0] = (intptr_t) p
->param
; /* struct thr_param * */
2631 iarg
[1] = p
->param_size
; /* int */
2637 struct sigqueue_args
*p
= params
;
2638 iarg
[0] = p
->pid
; /* pid_t */
2639 iarg
[1] = p
->signum
; /* int */
2640 uarg
[2] = (intptr_t) p
->value
; /* void * */
2646 struct kmq_open_args
*p
= params
;
2647 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2648 iarg
[1] = p
->flags
; /* int */
2649 iarg
[2] = p
->mode
; /* mode_t */
2650 uarg
[3] = (intptr_t) p
->attr
; /* const struct mq_attr * */
2656 struct kmq_setattr_args
*p
= params
;
2657 iarg
[0] = p
->mqd
; /* int */
2658 uarg
[1] = (intptr_t) p
->attr
; /* const struct mq_attr * */
2659 uarg
[2] = (intptr_t) p
->oattr
; /* struct mq_attr * */
2663 /* kmq_timedreceive */
2665 struct kmq_timedreceive_args
*p
= params
;
2666 iarg
[0] = p
->mqd
; /* int */
2667 uarg
[1] = (intptr_t) p
->msg_ptr
; /* char * */
2668 uarg
[2] = p
->msg_len
; /* size_t */
2669 uarg
[3] = (intptr_t) p
->msg_prio
; /* unsigned * */
2670 uarg
[4] = (intptr_t) p
->abs_timeout
; /* const struct timespec * */
2676 struct kmq_timedsend_args
*p
= params
;
2677 iarg
[0] = p
->mqd
; /* int */
2678 uarg
[1] = (intptr_t) p
->msg_ptr
; /* const char * */
2679 uarg
[2] = p
->msg_len
; /* size_t */
2680 uarg
[3] = p
->msg_prio
; /* unsigned */
2681 uarg
[4] = (intptr_t) p
->abs_timeout
; /* const struct timespec * */
2687 struct kmq_notify_args
*p
= params
;
2688 iarg
[0] = p
->mqd
; /* int */
2689 uarg
[1] = (intptr_t) p
->sigev
; /* const struct sigevent * */
2695 struct kmq_unlink_args
*p
= params
;
2696 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2702 struct abort2_args
*p
= params
;
2703 uarg
[0] = (intptr_t) p
->why
; /* const char * */
2704 iarg
[1] = p
->nargs
; /* int */
2705 uarg
[2] = (intptr_t) p
->args
; /* void ** */
2711 struct thr_set_name_args
*p
= params
;
2712 iarg
[0] = p
->id
; /* long */
2713 uarg
[1] = (intptr_t) p
->name
; /* const char * */
2719 struct aio_fsync_args
*p
= params
;
2720 iarg
[0] = p
->op
; /* int */
2721 uarg
[1] = (intptr_t) p
->aiocbp
; /* struct aiocb * */
2727 struct rtprio_thread_args
*p
= params
;
2728 iarg
[0] = p
->function
; /* int */
2729 iarg
[1] = p
->lwpid
; /* lwpid_t */
2730 uarg
[2] = (intptr_t) p
->rtp
; /* struct rtprio * */
2736 struct sctp_peeloff_args
*p
= params
;
2737 iarg
[0] = p
->sd
; /* int */
2738 uarg
[1] = p
->name
; /* uint32_t */
2742 /* sctp_generic_sendmsg */
2744 struct sctp_generic_sendmsg_args
*p
= params
;
2745 iarg
[0] = p
->sd
; /* int */
2746 uarg
[1] = (intptr_t) p
->msg
; /* caddr_t */
2747 iarg
[2] = p
->mlen
; /* int */
2748 uarg
[3] = (intptr_t) p
->to
; /* caddr_t */
2749 iarg
[4] = p
->tolen
; /* __socklen_t */
2750 uarg
[5] = (intptr_t) p
->sinfo
; /* struct sctp_sndrcvinfo * */
2751 iarg
[6] = p
->flags
; /* int */
2755 /* sctp_generic_sendmsg_iov */
2757 struct sctp_generic_sendmsg_iov_args
*p
= params
;
2758 iarg
[0] = p
->sd
; /* int */
2759 uarg
[1] = (intptr_t) p
->iov
; /* struct iovec * */
2760 iarg
[2] = p
->iovlen
; /* int */
2761 uarg
[3] = (intptr_t) p
->to
; /* caddr_t */
2762 iarg
[4] = p
->tolen
; /* __socklen_t */
2763 uarg
[5] = (intptr_t) p
->sinfo
; /* struct sctp_sndrcvinfo * */
2764 iarg
[6] = p
->flags
; /* int */
2768 /* sctp_generic_recvmsg */
2770 struct sctp_generic_recvmsg_args
*p
= params
;
2771 iarg
[0] = p
->sd
; /* int */
2772 uarg
[1] = (intptr_t) p
->iov
; /* struct iovec * */
2773 iarg
[2] = p
->iovlen
; /* int */
2774 uarg
[3] = (intptr_t) p
->from
; /* struct sockaddr * */
2775 uarg
[4] = (intptr_t) p
->fromlenaddr
; /* __socklen_t * */
2776 uarg
[5] = (intptr_t) p
->sinfo
; /* struct sctp_sndrcvinfo * */
2777 uarg
[6] = (intptr_t) p
->msg_flags
; /* int * */
2783 struct pread_args
*p
= params
;
2784 iarg
[0] = p
->fd
; /* int */
2785 uarg
[1] = (intptr_t) p
->buf
; /* void * */
2786 uarg
[2] = p
->nbyte
; /* size_t */
2787 iarg
[3] = p
->offset
; /* off_t */
2793 struct pwrite_args
*p
= params
;
2794 iarg
[0] = p
->fd
; /* int */
2795 uarg
[1] = (intptr_t) p
->buf
; /* const void * */
2796 uarg
[2] = p
->nbyte
; /* size_t */
2797 iarg
[3] = p
->offset
; /* off_t */
2803 struct mmap_args
*p
= params
;
2804 uarg
[0] = (intptr_t) p
->addr
; /* caddr_t */
2805 uarg
[1] = p
->len
; /* size_t */
2806 iarg
[2] = p
->prot
; /* int */
2807 iarg
[3] = p
->flags
; /* int */
2808 iarg
[4] = p
->fd
; /* int */
2809 iarg
[5] = p
->pos
; /* off_t */
2815 struct lseek_args
*p
= params
;
2816 iarg
[0] = p
->fd
; /* int */
2817 iarg
[1] = p
->offset
; /* off_t */
2818 iarg
[2] = p
->whence
; /* int */
2824 struct truncate_args
*p
= params
;
2825 uarg
[0] = (intptr_t) p
->path
; /* char * */
2826 iarg
[1] = p
->length
; /* off_t */
2832 struct ftruncate_args
*p
= params
;
2833 iarg
[0] = p
->fd
; /* int */
2834 iarg
[1] = p
->length
; /* off_t */
2840 struct thr_kill2_args
*p
= params
;
2841 iarg
[0] = p
->pid
; /* pid_t */
2842 iarg
[1] = p
->id
; /* long */
2843 iarg
[2] = p
->sig
; /* int */
2849 struct shm_open_args
*p
= params
;
2850 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2851 iarg
[1] = p
->flags
; /* int */
2852 iarg
[2] = p
->mode
; /* mode_t */
2858 struct shm_unlink_args
*p
= params
;
2859 uarg
[0] = (intptr_t) p
->path
; /* const char * */
2865 struct cpuset_args
*p
= params
;
2866 uarg
[0] = (intptr_t) p
->setid
; /* cpusetid_t * */
2872 struct cpuset_setid_args
*p
= params
;
2873 iarg
[0] = p
->which
; /* cpuwhich_t */
2874 iarg
[1] = p
->id
; /* id_t */
2875 iarg
[2] = p
->setid
; /* cpusetid_t */
2881 struct cpuset_getid_args
*p
= params
;
2882 iarg
[0] = p
->level
; /* cpulevel_t */
2883 iarg
[1] = p
->which
; /* cpuwhich_t */
2884 iarg
[2] = p
->id
; /* id_t */
2885 uarg
[3] = (intptr_t) p
->setid
; /* cpusetid_t * */
2889 /* cpuset_getaffinity */
2891 struct cpuset_getaffinity_args
*p
= params
;
2892 iarg
[0] = p
->level
; /* cpulevel_t */
2893 iarg
[1] = p
->which
; /* cpuwhich_t */
2894 iarg
[2] = p
->id
; /* id_t */
2895 uarg
[3] = p
->cpusetsize
; /* size_t */
2896 uarg
[4] = (intptr_t) p
->mask
; /* cpuset_t * */
2900 /* cpuset_setaffinity */
2902 struct cpuset_setaffinity_args
*p
= params
;
2903 iarg
[0] = p
->level
; /* cpulevel_t */
2904 iarg
[1] = p
->which
; /* cpuwhich_t */
2905 iarg
[2] = p
->id
; /* id_t */
2906 uarg
[3] = p
->cpusetsize
; /* size_t */
2907 uarg
[4] = (intptr_t) p
->mask
; /* const cpuset_t * */
2913 struct faccessat_args
*p
= params
;
2914 iarg
[0] = p
->fd
; /* int */
2915 uarg
[1] = (intptr_t) p
->path
; /* char * */
2916 iarg
[2] = p
->mode
; /* int */
2917 iarg
[3] = p
->flag
; /* int */
2923 struct fchmodat_args
*p
= params
;
2924 iarg
[0] = p
->fd
; /* int */
2925 uarg
[1] = (intptr_t) p
->path
; /* char * */
2926 iarg
[2] = p
->mode
; /* mode_t */
2927 iarg
[3] = p
->flag
; /* int */
2933 struct fchownat_args
*p
= params
;
2934 iarg
[0] = p
->fd
; /* int */
2935 uarg
[1] = (intptr_t) p
->path
; /* char * */
2936 uarg
[2] = p
->uid
; /* uid_t */
2937 iarg
[3] = p
->gid
; /* gid_t */
2938 iarg
[4] = p
->flag
; /* int */
2944 struct fexecve_args
*p
= params
;
2945 iarg
[0] = p
->fd
; /* int */
2946 uarg
[1] = (intptr_t) p
->argv
; /* char ** */
2947 uarg
[2] = (intptr_t) p
->envv
; /* char ** */
2953 struct fstatat_args
*p
= params
;
2954 iarg
[0] = p
->fd
; /* int */
2955 uarg
[1] = (intptr_t) p
->path
; /* char * */
2956 uarg
[2] = (intptr_t) p
->buf
; /* struct stat * */
2957 iarg
[3] = p
->flag
; /* int */
2963 struct futimesat_args
*p
= params
;
2964 iarg
[0] = p
->fd
; /* int */
2965 uarg
[1] = (intptr_t) p
->path
; /* char * */
2966 uarg
[2] = (intptr_t) p
->times
; /* struct timeval * */
2972 struct linkat_args
*p
= params
;
2973 iarg
[0] = p
->fd1
; /* int */
2974 uarg
[1] = (intptr_t) p
->path1
; /* char * */
2975 iarg
[2] = p
->fd2
; /* int */
2976 uarg
[3] = (intptr_t) p
->path2
; /* char * */
2977 iarg
[4] = p
->flag
; /* int */
2983 struct mkdirat_args
*p
= params
;
2984 iarg
[0] = p
->fd
; /* int */
2985 uarg
[1] = (intptr_t) p
->path
; /* char * */
2986 iarg
[2] = p
->mode
; /* mode_t */
2992 struct mkfifoat_args
*p
= params
;
2993 iarg
[0] = p
->fd
; /* int */
2994 uarg
[1] = (intptr_t) p
->path
; /* char * */
2995 iarg
[2] = p
->mode
; /* mode_t */
3001 struct mknodat_args
*p
= params
;
3002 iarg
[0] = p
->fd
; /* int */
3003 uarg
[1] = (intptr_t) p
->path
; /* char * */
3004 iarg
[2] = p
->mode
; /* mode_t */
3005 iarg
[3] = p
->dev
; /* dev_t */
3011 struct openat_args
*p
= params
;
3012 iarg
[0] = p
->fd
; /* int */
3013 uarg
[1] = (intptr_t) p
->path
; /* char * */
3014 iarg
[2] = p
->flag
; /* int */
3015 iarg
[3] = p
->mode
; /* mode_t */
3021 struct readlinkat_args
*p
= params
;
3022 iarg
[0] = p
->fd
; /* int */
3023 uarg
[1] = (intptr_t) p
->path
; /* char * */
3024 uarg
[2] = (intptr_t) p
->buf
; /* char * */
3025 uarg
[3] = p
->bufsize
; /* size_t */
3031 struct renameat_args
*p
= params
;
3032 iarg
[0] = p
->oldfd
; /* int */
3033 uarg
[1] = (intptr_t) p
->old
; /* char * */
3034 iarg
[2] = p
->newfd
; /* int */
3035 uarg
[3] = (intptr_t) p
->new; /* char * */
3041 struct symlinkat_args
*p
= params
;
3042 uarg
[0] = (intptr_t) p
->path1
; /* char * */
3043 iarg
[1] = p
->fd
; /* int */
3044 uarg
[2] = (intptr_t) p
->path2
; /* char * */
3050 struct unlinkat_args
*p
= params
;
3051 iarg
[0] = p
->fd
; /* int */
3052 uarg
[1] = (intptr_t) p
->path
; /* char * */
3053 iarg
[2] = p
->flag
; /* int */
3059 struct posix_openpt_args
*p
= params
;
3060 iarg
[0] = p
->flags
; /* int */
3066 struct fkvm_userpoke_args
*p
= params
;
3067 uarg
[0] = (intptr_t) p
->data
; /* void * */
3071 /* fkvm_create_vm */
3078 struct fkvm_vm_run_args
*p
= params
;
3079 uarg
[0] = (intptr_t) p
->run
; /* void * */
3083 /* fkvm_create_vcpu */
3088 /* fkvm_set_user_mem_region */
3090 struct fkvm_set_user_mem_region_args
*p
= params
;
3091 uarg
[0] = p
->vaddr
; /* uint64_t */
3092 uarg
[1] = p
->size
; /* uint64_t */
3093 uarg
[2] = p
->guest_pa
; /* uint64_t */
3097 /* fkvm_unset_user_mem_region */
3099 struct fkvm_unset_user_mem_region_args
*p
= params
;
3100 uarg
[0] = p
->size
; /* uint64_t */
3101 uarg
[1] = p
->guest_pa
; /* uint64_t */
3107 struct fkvm_get_regs_args
*p
= params
;
3108 iarg
[0] = p
->type
; /* int */
3109 uarg
[1] = (intptr_t) p
->regs
; /* void * */
3110 iarg
[2] = p
->n
; /* int */
3116 struct fkvm_set_regs_args
*p
= params
;
3117 iarg
[0] = p
->type
; /* int */
3118 uarg
[1] = (intptr_t) p
->regs
; /* void * */
3119 iarg
[2] = p
->n
; /* int */
3123 /* fkvm_inject_virq */
3125 struct fkvm_inject_virq_args
*p
= params
;
3126 iarg
[0] = p
->virq
; /* int */
3136 systrace_setargdesc(int sysnum
, int ndx
, char *desc
, size_t descsz
)
3138 const char *p
= NULL
;
3227 p
= "struct rusage *";
3408 p
= "struct msghdr *";
3424 p
= "struct msghdr *";
3449 p
= "struct sockaddr *__restrict";
3452 p
= "__socklen_t *__restrict";
3465 p
= "struct sockaddr *__restrict";
3468 p
= "__socklen_t *__restrict";
3481 p
= "struct sockaddr *__restrict";
3484 p
= "__socklen_t *__restrict";
3497 p
= "struct sockaddr *__restrict";
3500 p
= "__socklen_t *__restrict";
3927 p
= "struct itimerval *";
3930 p
= "struct itimerval *";
3953 p
= "struct itimerval *";
4007 p
= "struct timeval *";
4139 p
= "struct timeval *";
4142 p
= "struct timezone *";
4155 p
= "struct rusage *";
4190 p
= "struct iovec *";
4206 p
= "struct iovec *";
4219 p
= "struct timeval *";
4222 p
= "struct timezone *";
4409 p
= "struct timeval *";
4419 p
= "struct timeval *";
4422 p
= "struct timeval *";
4489 p
= "struct fhandle *";
4502 p
= "struct fhandle *";
4538 p
= "struct utsname *";
4567 p
= "struct rtprio *";
4639 /* freebsd6_pread */
4661 /* freebsd6_pwrite */
4697 p
= "struct timex *";
4740 p
= "struct stat *";
4753 p
= "struct stat *";
4766 p
= "struct stat *";
4805 p
= "struct rlimit *";
4818 p
= "struct rlimit *";
4874 /* freebsd6_lseek */
4893 /* freebsd6_truncate */
4909 /* freebsd6_ftruncate */
4993 p
= "struct timeval *";
5013 p
= "struct pollfd *";
5068 p
= "union semun *";
5097 p
= "struct sembuf *";
5116 p
= "struct msqid_ds *";
5202 p
= "struct shmid_ds *";
5241 p
= "struct timespec *";
5254 p
= "const struct timespec *";
5267 p
= "struct timespec *";
5280 p
= "struct sigevent *";
5299 /* ktimer_settime */
5309 p
= "const struct itimerspec *";
5312 p
= "struct itimerspec *";
5318 /* ktimer_gettime */
5325 p
= "struct itimerspec *";
5331 /* ktimer_getoverrun */
5345 p
= "const struct timespec *";
5348 p
= "struct timespec *";
5358 p
= "struct ntptimeval *";
5394 p
= "struct pollfd *";
5429 p
= "struct aiocb *";
5439 p
= "struct aiocb *";
5452 p
= "struct aiocb *const *";
5458 p
= "struct sigevent *";
5516 p
= "struct timeval *";
5545 p
= "struct nstat *";
5558 p
= "struct nstat *";
5571 p
= "struct nstat *";
5584 p
= "struct iovec *";
5603 p
= "struct iovec *";
5619 p
= "const struct fhandle *";
5632 p
= "const struct fhandle *";
5635 p
= "struct stat *";
5658 p
= "struct module_stat *";
5731 p
= "struct kld_file_stat *";
5793 p
= "struct aiocb *";
5803 p
= "struct aiocb *const *";
5809 p
= "const struct timespec *";
5822 p
= "struct aiocb *";
5832 p
= "struct aiocb *";
5842 p
= "struct oaiocb *";
5852 p
= "struct oaiocb *";
5865 p
= "struct oaiocb *const *";
5871 p
= "struct osigevent *";
5906 /* sched_setparam */
5913 p
= "const struct sched_param *";
5919 /* sched_getparam */
5926 p
= "struct sched_param *";
5932 /* sched_setscheduler */
5942 p
= "const struct sched_param *";
5948 /* sched_getscheduler */
5961 /* sched_get_priority_max */
5971 /* sched_get_priority_min */
5981 /* sched_rr_get_interval */
5988 p
= "struct timespec *";
6027 p
= "struct jail *";
6040 p
= "const sigset_t *";
6053 p
= "const sigset_t *";
6073 p
= "const sigset_t *";
6079 p
= "const struct timespec *";
6089 p
= "const sigset_t *";
6098 /* __acl_get_file */
6114 /* __acl_set_file */
6162 /* __acl_delete_file */
6175 /* __acl_delete_fd */
6188 /* __acl_aclcheck_file */
6204 /* __acl_aclcheck_fd */
6242 /* extattr_set_file */
6264 /* extattr_get_file */
6286 /* extattr_delete_file */
6302 /* aio_waitcomplete */
6306 p
= "struct aiocb **";
6309 p
= "struct timespec *";
6357 p
= "struct kevent *";
6363 p
= "struct kevent *";
6369 p
= "const struct timespec *";
6378 /* extattr_set_fd */
6400 /* extattr_get_fd */
6422 /* extattr_delete_fd */
6478 p
= "struct iovec *";
6490 /* __mac_get_proc */
6500 /* __mac_set_proc */
6523 /* __mac_get_file */
6549 /* __mac_set_file */
6598 p
= "struct uuid *";
6623 p
= "struct sf_hdtr *";
6655 p
= "struct statfs *";
6674 p
= "struct statfs *";
6687 p
= "struct statfs *";
6697 p
= "const struct fhandle *";
6700 p
= "struct statfs *";
6827 /* __mac_get_link */
6840 /* __mac_set_link */
6853 /* extattr_set_link */
6875 /* extattr_get_link */
6897 /* extattr_delete_link */
6939 p
= "const struct sigaction *";
6942 p
= "struct sigaction *";
6952 p
= "const struct __ucontext *";
6962 p
= "struct __ucontext *";
6972 p
= "const struct __ucontext *";
6982 p
= "struct __ucontext *";
6985 p
= "const struct __ucontext *";
7001 /* __acl_get_link */
7017 /* __acl_set_link */
7033 /* __acl_delete_link */
7046 /* __acl_aclcheck_link */
7066 p
= "const sigset_t *";
7128 p
= "struct umtx *";
7138 p
= "struct umtx *";
7154 /* extattr_list_fd */
7173 /* extattr_list_file */
7192 /* extattr_list_link */
7211 /* ksem_timedwait */
7218 p
= "const struct timespec *";
7228 p
= "const struct timespec *";
7310 p
= "struct auditinfo *";
7320 p
= "struct auditinfo *";
7330 p
= "struct auditinfo_addr *";
7343 p
= "struct auditinfo_addr *";
7388 p
= "struct thr_param *";
7426 p
= "const struct mq_attr *";
7439 p
= "const struct mq_attr *";
7442 p
= "struct mq_attr *";
7448 /* kmq_timedreceive */
7464 p
= "const struct timespec *";
7486 p
= "const struct timespec *";
7499 p
= "const struct sigevent *";
7551 p
= "struct aiocb *";
7567 p
= "struct rtprio *";
7586 /* sctp_generic_sendmsg */
7605 p
= "struct sctp_sndrcvinfo *";
7614 /* sctp_generic_sendmsg_iov */
7621 p
= "struct iovec *";
7633 p
= "struct sctp_sndrcvinfo *";
7642 /* sctp_generic_recvmsg */
7649 p
= "struct iovec *";
7655 p
= "struct sockaddr *";
7658 p
= "__socklen_t *";
7661 p
= "struct sctp_sndrcvinfo *";
7862 /* cpuset_getaffinity */
7884 /* cpuset_setaffinity */
7900 p
= "const cpuset_t *";
7992 p
= "struct stat *";
8011 p
= "struct timeval *";
8199 /* fkvm_create_vm */
8212 /* fkvm_create_vcpu */
8215 /* fkvm_set_user_mem_region */
8231 /* fkvm_unset_user_mem_region */
8276 /* fkvm_inject_virq */
8290 strlcpy(desc
, p
, descsz
);