The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sys/sysproto.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * System call prototypes.
    3  *
    4  * DO NOT EDIT-- this file is automatically generated.
    5  * $FreeBSD: releng/6.2/sys/sys/sysproto.h 164286 2006-11-14 20:42:41Z cvs2svn $
    6  * created from FreeBSD: src/sys/kern/syscalls.master,v 1.198.2.5 2006/10/10 13:19:47 rwatson Exp 
    7  */
    8 
    9 #ifndef _SYS_SYSPROTO_H_
   10 #define _SYS_SYSPROTO_H_
   11 
   12 #include <sys/signal.h>
   13 #include <sys/acl.h>
   14 #include <sys/thr.h>
   15 #include <sys/umtx.h>
   16 #include <posix4/_semaphore.h>
   17 
   18 #include <sys/ucontext.h>
   19 
   20 struct proc;
   21 
   22 struct thread;
   23 
   24 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
   25                 0 : sizeof(register_t) - sizeof(t))
   26 
   27 #if BYTE_ORDER == LITTLE_ENDIAN
   28 #define PADL_(t)        0
   29 #define PADR_(t)        PAD_(t)
   30 #else
   31 #define PADL_(t)        PAD_(t)
   32 #define PADR_(t)        0
   33 #endif
   34 
   35 struct nosys_args {
   36         register_t dummy;
   37 };
   38 struct sys_exit_args {
   39         char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)];
   40 };
   41 struct fork_args {
   42         register_t dummy;
   43 };
   44 struct read_args {
   45         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
   46         char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
   47         char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
   48 };
   49 struct write_args {
   50         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
   51         char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
   52         char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
   53 };
   54 struct open_args {
   55         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   56         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
   57         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
   58 };
   59 struct close_args {
   60         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
   61 };
   62 struct wait_args {
   63         char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
   64         char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)];
   65         char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
   66         char rusage_l_[PADL_(struct rusage *)]; struct rusage * rusage; char rusage_r_[PADR_(struct rusage *)];
   67 };
   68 struct link_args {
   69         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   70         char link_l_[PADL_(char *)]; char * link; char link_r_[PADR_(char *)];
   71 };
   72 struct unlink_args {
   73         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   74 };
   75 struct chdir_args {
   76         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   77 };
   78 struct fchdir_args {
   79         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
   80 };
   81 struct mknod_args {
   82         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   83         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
   84         char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)];
   85 };
   86 struct chmod_args {
   87         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   88         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
   89 };
   90 struct chown_args {
   91         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   92         char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)];
   93         char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)];
   94 };
   95 struct obreak_args {
   96         char nsize_l_[PADL_(char *)]; char * nsize; char nsize_r_[PADR_(char *)];
   97 };
   98 struct getpid_args {
   99         register_t dummy;
  100 };
  101 struct mount_args {
  102         char type_l_[PADL_(char *)]; char * type; char type_r_[PADR_(char *)];
  103         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  104         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  105         char data_l_[PADL_(caddr_t)]; caddr_t data; char data_r_[PADR_(caddr_t)];
  106 };
  107 struct unmount_args {
  108         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  109         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  110 };
  111 struct setuid_args {
  112         char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)];
  113 };
  114 struct getuid_args {
  115         register_t dummy;
  116 };
  117 struct geteuid_args {
  118         register_t dummy;
  119 };
  120 struct ptrace_args {
  121         char req_l_[PADL_(int)]; int req; char req_r_[PADR_(int)];
  122         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  123         char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
  124         char data_l_[PADL_(int)]; int data; char data_r_[PADR_(int)];
  125 };
  126 struct recvmsg_args {
  127         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  128         char msg_l_[PADL_(struct msghdr *)]; struct msghdr * msg; char msg_r_[PADR_(struct msghdr *)];
  129         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  130 };
  131 struct sendmsg_args {
  132         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  133         char msg_l_[PADL_(struct msghdr *)]; struct msghdr * msg; char msg_r_[PADR_(struct msghdr *)];
  134         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  135 };
  136 struct recvfrom_args {
  137         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  138         char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)];
  139         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  140         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  141         char from_l_[PADL_(struct sockaddr *__restrict)]; struct sockaddr *__restrict from; char from_r_[PADR_(struct sockaddr *__restrict)];
  142         char fromlenaddr_l_[PADL_(__socklen_t *__restrict)]; __socklen_t *__restrict fromlenaddr; char fromlenaddr_r_[PADR_(__socklen_t *__restrict)];
  143 };
  144 struct accept_args {
  145         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  146         char name_l_[PADL_(struct sockaddr *__restrict)]; struct sockaddr *__restrict name; char name_r_[PADR_(struct sockaddr *__restrict)];
  147         char anamelen_l_[PADL_(__socklen_t *__restrict)]; __socklen_t *__restrict anamelen; char anamelen_r_[PADR_(__socklen_t *__restrict)];
  148 };
  149 struct getpeername_args {
  150         char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)];
  151         char asa_l_[PADL_(struct sockaddr *__restrict)]; struct sockaddr *__restrict asa; char asa_r_[PADR_(struct sockaddr *__restrict)];
  152         char alen_l_[PADL_(__socklen_t *__restrict)]; __socklen_t *__restrict alen; char alen_r_[PADR_(__socklen_t *__restrict)];
  153 };
  154 struct getsockname_args {
  155         char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)];
  156         char asa_l_[PADL_(struct sockaddr *__restrict)]; struct sockaddr *__restrict asa; char asa_r_[PADR_(struct sockaddr *__restrict)];
  157         char alen_l_[PADL_(__socklen_t *__restrict)]; __socklen_t *__restrict alen; char alen_r_[PADR_(__socklen_t *__restrict)];
  158 };
  159 struct access_args {
  160         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  161         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  162 };
  163 struct chflags_args {
  164         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  165         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  166 };
  167 struct fchflags_args {
  168         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  169         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  170 };
  171 struct sync_args {
  172         register_t dummy;
  173 };
  174 struct kill_args {
  175         char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
  176         char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
  177 };
  178 struct getppid_args {
  179         register_t dummy;
  180 };
  181 struct dup_args {
  182         char fd_l_[PADL_(u_int)]; u_int fd; char fd_r_[PADR_(u_int)];
  183 };
  184 struct pipe_args {
  185         register_t dummy;
  186 };
  187 struct getegid_args {
  188         register_t dummy;
  189 };
  190 struct profil_args {
  191         char samples_l_[PADL_(caddr_t)]; caddr_t samples; char samples_r_[PADR_(caddr_t)];
  192         char size_l_[PADL_(size_t)]; size_t size; char size_r_[PADR_(size_t)];
  193         char offset_l_[PADL_(size_t)]; size_t offset; char offset_r_[PADR_(size_t)];
  194         char scale_l_[PADL_(u_int)]; u_int scale; char scale_r_[PADR_(u_int)];
  195 };
  196 struct ktrace_args {
  197         char fname_l_[PADL_(const char *)]; const char * fname; char fname_r_[PADR_(const char *)];
  198         char ops_l_[PADL_(int)]; int ops; char ops_r_[PADR_(int)];
  199         char facs_l_[PADL_(int)]; int facs; char facs_r_[PADR_(int)];
  200         char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
  201 };
  202 struct getgid_args {
  203         register_t dummy;
  204 };
  205 struct getlogin_args {
  206         char namebuf_l_[PADL_(char *)]; char * namebuf; char namebuf_r_[PADR_(char *)];
  207         char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)];
  208 };
  209 struct setlogin_args {
  210         char namebuf_l_[PADL_(char *)]; char * namebuf; char namebuf_r_[PADR_(char *)];
  211 };
  212 struct acct_args {
  213         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  214 };
  215 struct osigpending_args {
  216         register_t dummy;
  217 };
  218 struct sigaltstack_args {
  219         char ss_l_[PADL_(stack_t *)]; stack_t * ss; char ss_r_[PADR_(stack_t *)];
  220         char oss_l_[PADL_(stack_t *)]; stack_t * oss; char oss_r_[PADR_(stack_t *)];
  221 };
  222 struct ioctl_args {
  223         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  224         char com_l_[PADL_(u_long)]; u_long com; char com_r_[PADR_(u_long)];
  225         char data_l_[PADL_(caddr_t)]; caddr_t data; char data_r_[PADR_(caddr_t)];
  226 };
  227 struct reboot_args {
  228         char opt_l_[PADL_(int)]; int opt; char opt_r_[PADR_(int)];
  229 };
  230 struct revoke_args {
  231         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  232 };
  233 struct symlink_args {
  234         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  235         char link_l_[PADL_(char *)]; char * link; char link_r_[PADR_(char *)];
  236 };
  237 struct readlink_args {
  238         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  239         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  240         char count_l_[PADL_(int)]; int count; char count_r_[PADR_(int)];
  241 };
  242 struct execve_args {
  243         char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
  244         char argv_l_[PADL_(char **)]; char ** argv; char argv_r_[PADR_(char **)];
  245         char envv_l_[PADL_(char **)]; char ** envv; char envv_r_[PADR_(char **)];
  246 };
  247 struct umask_args {
  248         char newmask_l_[PADL_(int)]; int newmask; char newmask_r_[PADR_(int)];
  249 };
  250 struct chroot_args {
  251         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  252 };
  253 struct getpagesize_args {
  254         register_t dummy;
  255 };
  256 struct msync_args {
  257         char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
  258         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  259         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  260 };
  261 struct vfork_args {
  262         register_t dummy;
  263 };
  264 struct sbrk_args {
  265         char incr_l_[PADL_(int)]; int incr; char incr_r_[PADR_(int)];
  266 };
  267 struct sstk_args {
  268         char incr_l_[PADL_(int)]; int incr; char incr_r_[PADR_(int)];
  269 };
  270 struct ovadvise_args {
  271         char anom_l_[PADL_(int)]; int anom; char anom_r_[PADR_(int)];
  272 };
  273 struct munmap_args {
  274         char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
  275         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  276 };
  277 struct mprotect_args {
  278         char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)];
  279         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  280         char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
  281 };
  282 struct madvise_args {
  283         char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
  284         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  285         char behav_l_[PADL_(int)]; int behav; char behav_r_[PADR_(int)];
  286 };
  287 struct mincore_args {
  288         char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)];
  289         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  290         char vec_l_[PADL_(char *)]; char * vec; char vec_r_[PADR_(char *)];
  291 };
  292 struct getgroups_args {
  293         char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)];
  294         char gidset_l_[PADL_(gid_t *)]; gid_t * gidset; char gidset_r_[PADR_(gid_t *)];
  295 };
  296 struct setgroups_args {
  297         char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)];
  298         char gidset_l_[PADL_(gid_t *)]; gid_t * gidset; char gidset_r_[PADR_(gid_t *)];
  299 };
  300 struct getpgrp_args {
  301         register_t dummy;
  302 };
  303 struct setpgid_args {
  304         char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
  305         char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)];
  306 };
  307 struct setitimer_args {
  308         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
  309         char itv_l_[PADL_(struct itimerval *)]; struct itimerval * itv; char itv_r_[PADR_(struct itimerval *)];
  310         char oitv_l_[PADL_(struct itimerval *)]; struct itimerval * oitv; char oitv_r_[PADR_(struct itimerval *)];
  311 };
  312 struct owait_args {
  313         register_t dummy;
  314 };
  315 struct swapon_args {
  316         char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)];
  317 };
  318 struct getitimer_args {
  319         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
  320         char itv_l_[PADL_(struct itimerval *)]; struct itimerval * itv; char itv_r_[PADR_(struct itimerval *)];
  321 };
  322 struct getdtablesize_args {
  323         register_t dummy;
  324 };
  325 struct dup2_args {
  326         char from_l_[PADL_(u_int)]; u_int from; char from_r_[PADR_(u_int)];
  327         char to_l_[PADL_(u_int)]; u_int to; char to_r_[PADR_(u_int)];
  328 };
  329 struct fcntl_args {
  330         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  331         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  332         char arg_l_[PADL_(long)]; long arg; char arg_r_[PADR_(long)];
  333 };
  334 struct select_args {
  335         char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)];
  336         char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)];
  337         char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)];
  338         char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)];
  339         char tv_l_[PADL_(struct timeval *)]; struct timeval * tv; char tv_r_[PADR_(struct timeval *)];
  340 };
  341 struct fsync_args {
  342         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  343 };
  344 struct setpriority_args {
  345         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  346         char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
  347         char prio_l_[PADL_(int)]; int prio; char prio_r_[PADR_(int)];
  348 };
  349 struct socket_args {
  350         char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)];
  351         char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)];
  352         char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)];
  353 };
  354 struct connect_args {
  355         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  356         char name_l_[PADL_(caddr_t)]; caddr_t name; char name_r_[PADR_(caddr_t)];
  357         char namelen_l_[PADL_(int)]; int namelen; char namelen_r_[PADR_(int)];
  358 };
  359 struct getpriority_args {
  360         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  361         char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
  362 };
  363 struct bind_args {
  364         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  365         char name_l_[PADL_(caddr_t)]; caddr_t name; char name_r_[PADR_(caddr_t)];
  366         char namelen_l_[PADL_(int)]; int namelen; char namelen_r_[PADR_(int)];
  367 };
  368 struct setsockopt_args {
  369         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  370         char level_l_[PADL_(int)]; int level; char level_r_[PADR_(int)];
  371         char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
  372         char val_l_[PADL_(caddr_t)]; caddr_t val; char val_r_[PADR_(caddr_t)];
  373         char valsize_l_[PADL_(int)]; int valsize; char valsize_r_[PADR_(int)];
  374 };
  375 struct listen_args {
  376         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  377         char backlog_l_[PADL_(int)]; int backlog; char backlog_r_[PADR_(int)];
  378 };
  379 struct gettimeofday_args {
  380         char tp_l_[PADL_(struct timeval *)]; struct timeval * tp; char tp_r_[PADR_(struct timeval *)];
  381         char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
  382 };
  383 struct getrusage_args {
  384         char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
  385         char rusage_l_[PADL_(struct rusage *)]; struct rusage * rusage; char rusage_r_[PADR_(struct rusage *)];
  386 };
  387 struct getsockopt_args {
  388         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  389         char level_l_[PADL_(int)]; int level; char level_r_[PADR_(int)];
  390         char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
  391         char val_l_[PADL_(caddr_t)]; caddr_t val; char val_r_[PADR_(caddr_t)];
  392         char avalsize_l_[PADL_(int *)]; int * avalsize; char avalsize_r_[PADR_(int *)];
  393 };
  394 struct readv_args {
  395         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  396         char iovp_l_[PADL_(struct iovec *)]; struct iovec * iovp; char iovp_r_[PADR_(struct iovec *)];
  397         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  398 };
  399 struct writev_args {
  400         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  401         char iovp_l_[PADL_(struct iovec *)]; struct iovec * iovp; char iovp_r_[PADR_(struct iovec *)];
  402         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  403 };
  404 struct settimeofday_args {
  405         char tv_l_[PADL_(struct timeval *)]; struct timeval * tv; char tv_r_[PADR_(struct timeval *)];
  406         char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
  407 };
  408 struct fchown_args {
  409         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  410         char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)];
  411         char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)];
  412 };
  413 struct fchmod_args {
  414         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  415         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
  416 };
  417 struct setreuid_args {
  418         char ruid_l_[PADL_(int)]; int ruid; char ruid_r_[PADR_(int)];
  419         char euid_l_[PADL_(int)]; int euid; char euid_r_[PADR_(int)];
  420 };
  421 struct setregid_args {
  422         char rgid_l_[PADL_(int)]; int rgid; char rgid_r_[PADR_(int)];
  423         char egid_l_[PADL_(int)]; int egid; char egid_r_[PADR_(int)];
  424 };
  425 struct rename_args {
  426         char from_l_[PADL_(char *)]; char * from; char from_r_[PADR_(char *)];
  427         char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
  428 };
  429 struct flock_args {
  430         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  431         char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
  432 };
  433 struct mkfifo_args {
  434         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  435         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
  436 };
  437 struct sendto_args {
  438         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  439         char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)];
  440         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  441         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  442         char to_l_[PADL_(caddr_t)]; caddr_t to; char to_r_[PADR_(caddr_t)];
  443         char tolen_l_[PADL_(int)]; int tolen; char tolen_r_[PADR_(int)];
  444 };
  445 struct shutdown_args {
  446         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  447         char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
  448 };
  449 struct socketpair_args {
  450         char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)];
  451         char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)];
  452         char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)];
  453         char rsv_l_[PADL_(int *)]; int * rsv; char rsv_r_[PADR_(int *)];
  454 };
  455 struct mkdir_args {
  456         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  457         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
  458 };
  459 struct rmdir_args {
  460         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  461 };
  462 struct utimes_args {
  463         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  464         char tptr_l_[PADL_(struct timeval *)]; struct timeval * tptr; char tptr_r_[PADR_(struct timeval *)];
  465 };
  466 struct adjtime_args {
  467         char delta_l_[PADL_(struct timeval *)]; struct timeval * delta; char delta_r_[PADR_(struct timeval *)];
  468         char olddelta_l_[PADL_(struct timeval *)]; struct timeval * olddelta; char olddelta_r_[PADR_(struct timeval *)];
  469 };
  470 struct ogethostid_args {
  471         register_t dummy;
  472 };
  473 struct setsid_args {
  474         register_t dummy;
  475 };
  476 struct quotactl_args {
  477         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  478         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  479         char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)];
  480         char arg_l_[PADL_(caddr_t)]; caddr_t arg; char arg_r_[PADR_(caddr_t)];
  481 };
  482 struct oquota_args {
  483         register_t dummy;
  484 };
  485 struct nfssvc_args {
  486         char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
  487         char argp_l_[PADL_(caddr_t)]; caddr_t argp; char argp_r_[PADR_(caddr_t)];
  488 };
  489 struct lgetfh_args {
  490         char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
  491         char fhp_l_[PADL_(struct fhandle *)]; struct fhandle * fhp; char fhp_r_[PADR_(struct fhandle *)];
  492 };
  493 struct getfh_args {
  494         char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
  495         char fhp_l_[PADL_(struct fhandle *)]; struct fhandle * fhp; char fhp_r_[PADR_(struct fhandle *)];
  496 };
  497 struct getdomainname_args {
  498         char domainname_l_[PADL_(char *)]; char * domainname; char domainname_r_[PADR_(char *)];
  499         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
  500 };
  501 struct setdomainname_args {
  502         char domainname_l_[PADL_(char *)]; char * domainname; char domainname_r_[PADR_(char *)];
  503         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
  504 };
  505 struct uname_args {
  506         char name_l_[PADL_(struct utsname *)]; struct utsname * name; char name_r_[PADR_(struct utsname *)];
  507 };
  508 struct sysarch_args {
  509         char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
  510         char parms_l_[PADL_(char *)]; char * parms; char parms_r_[PADR_(char *)];
  511 };
  512 struct rtprio_args {
  513         char function_l_[PADL_(int)]; int function; char function_r_[PADR_(int)];
  514         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  515         char rtp_l_[PADL_(struct rtprio *)]; struct rtprio * rtp; char rtp_r_[PADR_(struct rtprio *)];
  516 };
  517 struct semsys_args {
  518         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  519         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
  520         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
  521         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
  522         char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
  523 };
  524 struct msgsys_args {
  525         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  526         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
  527         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
  528         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
  529         char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
  530         char a6_l_[PADL_(int)]; int a6; char a6_r_[PADR_(int)];
  531 };
  532 struct shmsys_args {
  533         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  534         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
  535         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
  536         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
  537 };
  538 struct pread_args {
  539         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  540         char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
  541         char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
  542         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  543         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
  544 };
  545 struct pwrite_args {
  546         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  547         char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
  548         char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
  549         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  550         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
  551 };
  552 struct ntp_adjtime_args {
  553         char tp_l_[PADL_(struct timex *)]; struct timex * tp; char tp_r_[PADR_(struct timex *)];
  554 };
  555 struct setgid_args {
  556         char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)];
  557 };
  558 struct setegid_args {
  559         char egid_l_[PADL_(gid_t)]; gid_t egid; char egid_r_[PADR_(gid_t)];
  560 };
  561 struct seteuid_args {
  562         char euid_l_[PADL_(uid_t)]; uid_t euid; char euid_r_[PADR_(uid_t)];
  563 };
  564 struct stat_args {
  565         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  566         char ub_l_[PADL_(struct stat *)]; struct stat * ub; char ub_r_[PADR_(struct stat *)];
  567 };
  568 struct fstat_args {
  569         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  570         char sb_l_[PADL_(struct stat *)]; struct stat * sb; char sb_r_[PADR_(struct stat *)];
  571 };
  572 struct lstat_args {
  573         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  574         char ub_l_[PADL_(struct stat *)]; struct stat * ub; char ub_r_[PADR_(struct stat *)];
  575 };
  576 struct pathconf_args {
  577         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  578         char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
  579 };
  580 struct fpathconf_args {
  581         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  582         char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
  583 };
  584 struct __getrlimit_args {
  585         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
  586         char rlp_l_[PADL_(struct rlimit *)]; struct rlimit * rlp; char rlp_r_[PADR_(struct rlimit *)];
  587 };
  588 struct __setrlimit_args {
  589         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
  590         char rlp_l_[PADL_(struct rlimit *)]; struct rlimit * rlp; char rlp_r_[PADR_(struct rlimit *)];
  591 };
  592 struct getdirentries_args {
  593         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  594         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  595         char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
  596         char basep_l_[PADL_(long *)]; long * basep; char basep_r_[PADR_(long *)];
  597 };
  598 struct mmap_args {
  599         char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
  600         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  601         char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
  602         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  603         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  604         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  605         char pos_l_[PADL_(off_t)]; off_t pos; char pos_r_[PADR_(off_t)];
  606 };
  607 struct lseek_args {
  608         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  609         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  610         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
  611         char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
  612 };
  613 struct truncate_args {
  614         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  615         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  616         char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)];
  617 };
  618 struct ftruncate_args {
  619         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  620         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  621         char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)];
  622 };
  623 struct sysctl_args {
  624         char name_l_[PADL_(int *)]; int * name; char name_r_[PADR_(int *)];
  625         char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)];
  626         char old_l_[PADL_(void *)]; void * old; char old_r_[PADR_(void *)];
  627         char oldlenp_l_[PADL_(size_t *)]; size_t * oldlenp; char oldlenp_r_[PADR_(size_t *)];
  628         char new_l_[PADL_(void *)]; void * new; char new_r_[PADR_(void *)];
  629         char newlen_l_[PADL_(size_t)]; size_t newlen; char newlen_r_[PADR_(size_t)];
  630 };
  631 struct mlock_args {
  632         char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)];
  633         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  634 };
  635 struct munlock_args {
  636         char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)];
  637         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  638 };
  639 struct undelete_args {
  640         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  641 };
  642 struct futimes_args {
  643         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  644         char tptr_l_[PADL_(struct timeval *)]; struct timeval * tptr; char tptr_r_[PADR_(struct timeval *)];
  645 };
  646 struct getpgid_args {
  647         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  648 };
  649 struct poll_args {
  650         char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)];
  651         char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)];
  652         char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)];
  653 };
  654 struct __semctl_args {
  655         char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)];
  656         char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)];
  657         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  658         char arg_l_[PADL_(union semun *)]; union semun * arg; char arg_r_[PADR_(union semun *)];
  659 };
  660 struct semget_args {
  661         char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)];
  662         char nsems_l_[PADL_(int)]; int nsems; char nsems_r_[PADR_(int)];
  663         char semflg_l_[PADL_(int)]; int semflg; char semflg_r_[PADR_(int)];
  664 };
  665 struct semop_args {
  666         char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)];
  667         char sops_l_[PADL_(struct sembuf *)]; struct sembuf * sops; char sops_r_[PADR_(struct sembuf *)];
  668         char nsops_l_[PADL_(size_t)]; size_t nsops; char nsops_r_[PADR_(size_t)];
  669 };
  670 struct msgctl_args {
  671         char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
  672         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  673         char buf_l_[PADL_(struct msqid_ds *)]; struct msqid_ds * buf; char buf_r_[PADR_(struct msqid_ds *)];
  674 };
  675 struct msgget_args {
  676         char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)];
  677         char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
  678 };
  679 struct msgsnd_args {
  680         char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
  681         char msgp_l_[PADL_(const void *)]; const void * msgp; char msgp_r_[PADR_(const void *)];
  682         char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)];
  683         char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
  684 };
  685 struct msgrcv_args {
  686         char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
  687         char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)];
  688         char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)];
  689         char msgtyp_l_[PADL_(long)]; long msgtyp; char msgtyp_r_[PADR_(long)];
  690         char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
  691 };
  692 struct shmat_args {
  693         char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)];
  694         char shmaddr_l_[PADL_(const void *)]; const void * shmaddr; char shmaddr_r_[PADR_(const void *)];
  695         char shmflg_l_[PADL_(int)]; int shmflg; char shmflg_r_[PADR_(int)];
  696 };
  697 struct shmctl_args {
  698         char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)];
  699         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  700         char buf_l_[PADL_(struct shmid_ds *)]; struct shmid_ds * buf; char buf_r_[PADR_(struct shmid_ds *)];
  701 };
  702 struct shmdt_args {
  703         char shmaddr_l_[PADL_(const void *)]; const void * shmaddr; char shmaddr_r_[PADR_(const void *)];
  704 };
  705 struct shmget_args {
  706         char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)];
  707         char size_l_[PADL_(size_t)]; size_t size; char size_r_[PADR_(size_t)];
  708         char shmflg_l_[PADL_(int)]; int shmflg; char shmflg_r_[PADR_(int)];
  709 };
  710 struct clock_gettime_args {
  711         char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
  712         char tp_l_[PADL_(struct timespec *)]; struct timespec * tp; char tp_r_[PADR_(struct timespec *)];
  713 };
  714 struct clock_settime_args {
  715         char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
  716         char tp_l_[PADL_(const struct timespec *)]; const struct timespec * tp; char tp_r_[PADR_(const struct timespec *)];
  717 };
  718 struct clock_getres_args {
  719         char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
  720         char tp_l_[PADL_(struct timespec *)]; struct timespec * tp; char tp_r_[PADR_(struct timespec *)];
  721 };
  722 struct nanosleep_args {
  723         char rqtp_l_[PADL_(const struct timespec *)]; const struct timespec * rqtp; char rqtp_r_[PADR_(const struct timespec *)];
  724         char rmtp_l_[PADL_(struct timespec *)]; struct timespec * rmtp; char rmtp_r_[PADR_(struct timespec *)];
  725 };
  726 struct ntp_gettime_args {
  727         char ntvp_l_[PADL_(struct ntptimeval *)]; struct ntptimeval * ntvp; char ntvp_r_[PADR_(struct ntptimeval *)];
  728 };
  729 struct minherit_args {
  730         char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
  731         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  732         char inherit_l_[PADL_(int)]; int inherit; char inherit_r_[PADR_(int)];
  733 };
  734 struct rfork_args {
  735         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  736 };
  737 struct openbsd_poll_args {
  738         char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)];
  739         char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)];
  740         char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)];
  741 };
  742 struct issetugid_args {
  743         register_t dummy;
  744 };
  745 struct lchown_args {
  746         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  747         char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)];
  748         char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)];
  749 };
  750 struct getdents_args {
  751         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  752         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  753         char count_l_[PADL_(size_t)]; size_t count; char count_r_[PADR_(size_t)];
  754 };
  755 struct lchmod_args {
  756         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  757         char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
  758 };
  759 struct lutimes_args {
  760         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  761         char tptr_l_[PADL_(struct timeval *)]; struct timeval * tptr; char tptr_r_[PADR_(struct timeval *)];
  762 };
  763 struct nstat_args {
  764         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  765         char ub_l_[PADL_(struct nstat *)]; struct nstat * ub; char ub_r_[PADR_(struct nstat *)];
  766 };
  767 struct nfstat_args {
  768         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  769         char sb_l_[PADL_(struct nstat *)]; struct nstat * sb; char sb_r_[PADR_(struct nstat *)];
  770 };
  771 struct nlstat_args {
  772         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  773         char ub_l_[PADL_(struct nstat *)]; struct nstat * ub; char ub_r_[PADR_(struct nstat *)];
  774 };
  775 struct preadv_args {
  776         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  777         char iovp_l_[PADL_(struct iovec *)]; struct iovec * iovp; char iovp_r_[PADR_(struct iovec *)];
  778         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  779         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
  780 };
  781 struct pwritev_args {
  782         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  783         char iovp_l_[PADL_(struct iovec *)]; struct iovec * iovp; char iovp_r_[PADR_(struct iovec *)];
  784         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  785         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
  786 };
  787 struct fhopen_args {
  788         char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
  789         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  790 };
  791 struct fhstat_args {
  792         char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
  793         char sb_l_[PADL_(struct stat *)]; struct stat * sb; char sb_r_[PADR_(struct stat *)];
  794 };
  795 struct modnext_args {
  796         char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)];
  797 };
  798 struct modstat_args {
  799         char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)];
  800         char stat_l_[PADL_(struct module_stat *)]; struct module_stat * stat; char stat_r_[PADR_(struct module_stat *)];
  801 };
  802 struct modfnext_args {
  803         char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)];
  804 };
  805 struct modfind_args {
  806         char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
  807 };
  808 struct kldload_args {
  809         char file_l_[PADL_(const char *)]; const char * file; char file_r_[PADR_(const char *)];
  810 };
  811 struct kldunload_args {
  812         char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
  813 };
  814 struct kldfind_args {
  815         char file_l_[PADL_(const char *)]; const char * file; char file_r_[PADR_(const char *)];
  816 };
  817 struct kldnext_args {
  818         char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
  819 };
  820 struct kldstat_args {
  821         char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
  822         char stat_l_[PADL_(struct kld_file_stat *)]; struct kld_file_stat * stat; char stat_r_[PADR_(struct kld_file_stat *)];
  823 };
  824 struct kldfirstmod_args {
  825         char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
  826 };
  827 struct getsid_args {
  828         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  829 };
  830 struct setresuid_args {
  831         char ruid_l_[PADL_(uid_t)]; uid_t ruid; char ruid_r_[PADR_(uid_t)];
  832         char euid_l_[PADL_(uid_t)]; uid_t euid; char euid_r_[PADR_(uid_t)];
  833         char suid_l_[PADL_(uid_t)]; uid_t suid; char suid_r_[PADR_(uid_t)];
  834 };
  835 struct setresgid_args {
  836         char rgid_l_[PADL_(gid_t)]; gid_t rgid; char rgid_r_[PADR_(gid_t)];
  837         char egid_l_[PADL_(gid_t)]; gid_t egid; char egid_r_[PADR_(gid_t)];
  838         char sgid_l_[PADL_(gid_t)]; gid_t sgid; char sgid_r_[PADR_(gid_t)];
  839 };
  840 struct aio_return_args {
  841         char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
  842 };
  843 struct aio_suspend_args {
  844         char aiocbp_l_[PADL_(struct aiocb *const *)]; struct aiocb *const * aiocbp; char aiocbp_r_[PADR_(struct aiocb *const *)];
  845         char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
  846         char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)];
  847 };
  848 struct aio_cancel_args {
  849         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  850         char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
  851 };
  852 struct aio_error_args {
  853         char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
  854 };
  855 struct aio_read_args {
  856         char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
  857 };
  858 struct aio_write_args {
  859         char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
  860 };
  861 struct lio_listio_args {
  862         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
  863         char acb_list_l_[PADL_(struct aiocb *const *)]; struct aiocb *const * acb_list; char acb_list_r_[PADR_(struct aiocb *const *)];
  864         char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
  865         char sig_l_[PADL_(struct sigevent *)]; struct sigevent * sig; char sig_r_[PADR_(struct sigevent *)];
  866 };
  867 struct yield_args {
  868         register_t dummy;
  869 };
  870 struct mlockall_args {
  871         char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
  872 };
  873 struct munlockall_args {
  874         register_t dummy;
  875 };
  876 struct __getcwd_args {
  877         char buf_l_[PADL_(u_char *)]; u_char * buf; char buf_r_[PADR_(u_char *)];
  878         char buflen_l_[PADL_(u_int)]; u_int buflen; char buflen_r_[PADR_(u_int)];
  879 };
  880 struct sched_setparam_args {
  881         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  882         char param_l_[PADL_(const struct sched_param *)]; const struct sched_param * param; char param_r_[PADR_(const struct sched_param *)];
  883 };
  884 struct sched_getparam_args {
  885         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  886         char param_l_[PADL_(struct sched_param *)]; struct sched_param * param; char param_r_[PADR_(struct sched_param *)];
  887 };
  888 struct sched_setscheduler_args {
  889         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  890         char policy_l_[PADL_(int)]; int policy; char policy_r_[PADR_(int)];
  891         char param_l_[PADL_(const struct sched_param *)]; const struct sched_param * param; char param_r_[PADR_(const struct sched_param *)];
  892 };
  893 struct sched_getscheduler_args {
  894         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  895 };
  896 struct sched_yield_args {
  897         register_t dummy;
  898 };
  899 struct sched_get_priority_max_args {
  900         char policy_l_[PADL_(int)]; int policy; char policy_r_[PADR_(int)];
  901 };
  902 struct sched_get_priority_min_args {
  903         char policy_l_[PADL_(int)]; int policy; char policy_r_[PADR_(int)];
  904 };
  905 struct sched_rr_get_interval_args {
  906         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  907         char interval_l_[PADL_(struct timespec *)]; struct timespec * interval; char interval_r_[PADR_(struct timespec *)];
  908 };
  909 struct utrace_args {
  910         char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)];
  911         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  912 };
  913 struct kldsym_args {
  914         char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
  915         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  916         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
  917 };
  918 struct jail_args {
  919         char jail_l_[PADL_(struct jail *)]; struct jail * jail; char jail_r_[PADR_(struct jail *)];
  920 };
  921 struct sigprocmask_args {
  922         char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
  923         char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
  924         char oset_l_[PADL_(sigset_t *)]; sigset_t * oset; char oset_r_[PADR_(sigset_t *)];
  925 };
  926 struct sigsuspend_args {
  927         char sigmask_l_[PADL_(const sigset_t *)]; const sigset_t * sigmask; char sigmask_r_[PADR_(const sigset_t *)];
  928 };
  929 struct sigpending_args {
  930         char set_l_[PADL_(sigset_t *)]; sigset_t * set; char set_r_[PADR_(sigset_t *)];
  931 };
  932 struct sigtimedwait_args {
  933         char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
  934         char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)];
  935         char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)];
  936 };
  937 struct sigwaitinfo_args {
  938         char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
  939         char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)];
  940 };
  941 struct __acl_get_file_args {
  942         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  943         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  944         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
  945 };
  946 struct __acl_set_file_args {
  947         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  948         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  949         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
  950 };
  951 struct __acl_get_fd_args {
  952         char filedes_l_[PADL_(int)]; int filedes; char filedes_r_[PADR_(int)];
  953         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  954         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
  955 };
  956 struct __acl_set_fd_args {
  957         char filedes_l_[PADL_(int)]; int filedes; char filedes_r_[PADR_(int)];
  958         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  959         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
  960 };
  961 struct __acl_delete_file_args {
  962         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  963         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  964 };
  965 struct __acl_delete_fd_args {
  966         char filedes_l_[PADL_(int)]; int filedes; char filedes_r_[PADR_(int)];
  967         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  968 };
  969 struct __acl_aclcheck_file_args {
  970         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  971         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  972         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
  973 };
  974 struct __acl_aclcheck_fd_args {
  975         char filedes_l_[PADL_(int)]; int filedes; char filedes_r_[PADR_(int)];
  976         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  977         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
  978 };
  979 struct extattrctl_args {
  980         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  981         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  982         char filename_l_[PADL_(const char *)]; const char * filename; char filename_r_[PADR_(const char *)];
  983         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
  984         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
  985 };
  986 struct extattr_set_file_args {
  987         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  988         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
  989         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
  990         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
  991         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
  992 };
  993 struct extattr_get_file_args {
  994         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  995         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
  996         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
  997         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
  998         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
  999 };
 1000 struct extattr_delete_file_args {
 1001         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1002         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1003         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1004 };
 1005 struct aio_waitcomplete_args {
 1006         char aiocbp_l_[PADL_(struct aiocb **)]; struct aiocb ** aiocbp; char aiocbp_r_[PADR_(struct aiocb **)];
 1007         char timeout_l_[PADL_(struct timespec *)]; struct timespec * timeout; char timeout_r_[PADR_(struct timespec *)];
 1008 };
 1009 struct getresuid_args {
 1010         char ruid_l_[PADL_(uid_t *)]; uid_t * ruid; char ruid_r_[PADR_(uid_t *)];
 1011         char euid_l_[PADL_(uid_t *)]; uid_t * euid; char euid_r_[PADR_(uid_t *)];
 1012         char suid_l_[PADL_(uid_t *)]; uid_t * suid; char suid_r_[PADR_(uid_t *)];
 1013 };
 1014 struct getresgid_args {
 1015         char rgid_l_[PADL_(gid_t *)]; gid_t * rgid; char rgid_r_[PADR_(gid_t *)];
 1016         char egid_l_[PADL_(gid_t *)]; gid_t * egid; char egid_r_[PADR_(gid_t *)];
 1017         char sgid_l_[PADL_(gid_t *)]; gid_t * sgid; char sgid_r_[PADR_(gid_t *)];
 1018 };
 1019 struct kqueue_args {
 1020         register_t dummy;
 1021 };
 1022 struct kevent_args {
 1023         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1024         char changelist_l_[PADL_(struct kevent *)]; struct kevent * changelist; char changelist_r_[PADR_(struct kevent *)];
 1025         char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)];
 1026         char eventlist_l_[PADL_(struct kevent *)]; struct kevent * eventlist; char eventlist_r_[PADR_(struct kevent *)];
 1027         char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)];
 1028         char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)];
 1029 };
 1030 struct extattr_set_fd_args {
 1031         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1032         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1033         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1034         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 1035         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1036 };
 1037 struct extattr_get_fd_args {
 1038         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1039         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1040         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1041         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 1042         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1043 };
 1044 struct extattr_delete_fd_args {
 1045         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1046         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1047         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1048 };
 1049 struct __setugid_args {
 1050         char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
 1051 };
 1052 struct nfsclnt_args {
 1053         char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
 1054         char argp_l_[PADL_(caddr_t)]; caddr_t argp; char argp_r_[PADR_(caddr_t)];
 1055 };
 1056 struct eaccess_args {
 1057         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 1058         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1059 };
 1060 struct nmount_args {
 1061         char iovp_l_[PADL_(struct iovec *)]; struct iovec * iovp; char iovp_r_[PADR_(struct iovec *)];
 1062         char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)];
 1063         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1064 };
 1065 struct kse_exit_args {
 1066         register_t dummy;
 1067 };
 1068 struct kse_wakeup_args {
 1069         char mbx_l_[PADL_(struct kse_mailbox *)]; struct kse_mailbox * mbx; char mbx_r_[PADR_(struct kse_mailbox *)];
 1070 };
 1071 struct kse_create_args {
 1072         char mbx_l_[PADL_(struct kse_mailbox *)]; struct kse_mailbox * mbx; char mbx_r_[PADR_(struct kse_mailbox *)];
 1073         char newgroup_l_[PADL_(int)]; int newgroup; char newgroup_r_[PADR_(int)];
 1074 };
 1075 struct kse_thr_interrupt_args {
 1076         char tmbx_l_[PADL_(struct kse_thr_mailbox *)]; struct kse_thr_mailbox * tmbx; char tmbx_r_[PADR_(struct kse_thr_mailbox *)];
 1077         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
 1078         char data_l_[PADL_(long)]; long data; char data_r_[PADR_(long)];
 1079 };
 1080 struct kse_release_args {
 1081         char timeout_l_[PADL_(struct timespec *)]; struct timespec * timeout; char timeout_r_[PADR_(struct timespec *)];
 1082 };
 1083 struct __mac_get_proc_args {
 1084         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1085 };
 1086 struct __mac_set_proc_args {
 1087         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1088 };
 1089 struct __mac_get_fd_args {
 1090         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1091         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1092 };
 1093 struct __mac_get_file_args {
 1094         char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)];
 1095         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1096 };
 1097 struct __mac_set_fd_args {
 1098         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1099         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1100 };
 1101 struct __mac_set_file_args {
 1102         char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)];
 1103         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1104 };
 1105 struct kenv_args {
 1106         char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)];
 1107         char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
 1108         char value_l_[PADL_(char *)]; char * value; char value_r_[PADR_(char *)];
 1109         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
 1110 };
 1111 struct lchflags_args {
 1112         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1113         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1114 };
 1115 struct uuidgen_args {
 1116         char store_l_[PADL_(struct uuid *)]; struct uuid * store; char store_r_[PADR_(struct uuid *)];
 1117         char count_l_[PADL_(int)]; int count; char count_r_[PADR_(int)];
 1118 };
 1119 struct sendfile_args {
 1120         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1121         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
 1122         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
 1123         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1124         char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)];
 1125         char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
 1126         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1127 };
 1128 struct mac_syscall_args {
 1129         char policy_l_[PADL_(const char *)]; const char * policy; char policy_r_[PADR_(const char *)];
 1130         char call_l_[PADL_(int)]; int call; char call_r_[PADR_(int)];
 1131         char arg_l_[PADL_(void *)]; void * arg; char arg_r_[PADR_(void *)];
 1132 };
 1133 struct getfsstat_args {
 1134         char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
 1135         char bufsize_l_[PADL_(long)]; long bufsize; char bufsize_r_[PADR_(long)];
 1136         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1137 };
 1138 struct statfs_args {
 1139         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 1140         char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
 1141 };
 1142 struct fstatfs_args {
 1143         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1144         char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
 1145 };
 1146 struct fhstatfs_args {
 1147         char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
 1148         char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
 1149 };
 1150 struct ksem_close_args {
 1151         char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
 1152 };
 1153 struct ksem_post_args {
 1154         char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
 1155 };
 1156 struct ksem_wait_args {
 1157         char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
 1158 };
 1159 struct ksem_trywait_args {
 1160         char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
 1161 };
 1162 struct ksem_init_args {
 1163         char idp_l_[PADL_(semid_t *)]; semid_t * idp; char idp_r_[PADR_(semid_t *)];
 1164         char value_l_[PADL_(unsigned int)]; unsigned int value; char value_r_[PADR_(unsigned int)];
 1165 };
 1166 struct ksem_open_args {
 1167         char idp_l_[PADL_(semid_t *)]; semid_t * idp; char idp_r_[PADR_(semid_t *)];
 1168         char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
 1169         char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)];
 1170         char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
 1171         char value_l_[PADL_(unsigned int)]; unsigned int value; char value_r_[PADR_(unsigned int)];
 1172 };
 1173 struct ksem_unlink_args {
 1174         char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
 1175 };
 1176 struct ksem_getvalue_args {
 1177         char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
 1178         char val_l_[PADL_(int *)]; int * val; char val_r_[PADR_(int *)];
 1179 };
 1180 struct ksem_destroy_args {
 1181         char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
 1182 };
 1183 struct __mac_get_pid_args {
 1184         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
 1185         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1186 };
 1187 struct __mac_get_link_args {
 1188         char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)];
 1189         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1190 };
 1191 struct __mac_set_link_args {
 1192         char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)];
 1193         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1194 };
 1195 struct extattr_set_link_args {
 1196         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1197         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1198         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1199         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 1200         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1201 };
 1202 struct extattr_get_link_args {
 1203         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1204         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1205         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1206         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 1207         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1208 };
 1209 struct extattr_delete_link_args {
 1210         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1211         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1212         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1213 };
 1214 struct __mac_execve_args {
 1215         char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
 1216         char argv_l_[PADL_(char **)]; char ** argv; char argv_r_[PADR_(char **)];
 1217         char envv_l_[PADL_(char **)]; char ** envv; char envv_r_[PADR_(char **)];
 1218         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1219 };
 1220 struct sigaction_args {
 1221         char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
 1222         char act_l_[PADL_(const struct sigaction *)]; const struct sigaction * act; char act_r_[PADR_(const struct sigaction *)];
 1223         char oact_l_[PADL_(struct sigaction *)]; struct sigaction * oact; char oact_r_[PADR_(struct sigaction *)];
 1224 };
 1225 struct sigreturn_args {
 1226         char sigcntxp_l_[PADL_(const struct __ucontext *)]; const struct __ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct __ucontext *)];
 1227 };
 1228 struct getcontext_args {
 1229         char ucp_l_[PADL_(struct __ucontext *)]; struct __ucontext * ucp; char ucp_r_[PADR_(struct __ucontext *)];
 1230 };
 1231 struct setcontext_args {
 1232         char ucp_l_[PADL_(const struct __ucontext *)]; const struct __ucontext * ucp; char ucp_r_[PADR_(const struct __ucontext *)];
 1233 };
 1234 struct swapcontext_args {
 1235         char oucp_l_[PADL_(struct __ucontext *)]; struct __ucontext * oucp; char oucp_r_[PADR_(struct __ucontext *)];
 1236         char ucp_l_[PADL_(const struct __ucontext *)]; const struct __ucontext * ucp; char ucp_r_[PADR_(const struct __ucontext *)];
 1237 };
 1238 struct swapoff_args {
 1239         char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
 1240 };
 1241 struct __acl_get_link_args {
 1242         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1243         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
 1244         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
 1245 };
 1246 struct __acl_set_link_args {
 1247         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1248         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
 1249         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
 1250 };
 1251 struct __acl_delete_link_args {
 1252         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1253         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
 1254 };
 1255 struct __acl_aclcheck_link_args {
 1256         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1257         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
 1258         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
 1259 };
 1260 struct sigwait_args {
 1261         char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
 1262         char sig_l_[PADL_(int *)]; int * sig; char sig_r_[PADR_(int *)];
 1263 };
 1264 struct thr_create_args {
 1265         char ctx_l_[PADL_(ucontext_t *)]; ucontext_t * ctx; char ctx_r_[PADR_(ucontext_t *)];
 1266         char id_l_[PADL_(long *)]; long * id; char id_r_[PADR_(long *)];
 1267         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1268 };
 1269 struct thr_exit_args {
 1270         char state_l_[PADL_(long *)]; long * state; char state_r_[PADR_(long *)];
 1271 };
 1272 struct thr_self_args {
 1273         char id_l_[PADL_(long *)]; long * id; char id_r_[PADR_(long *)];
 1274 };
 1275 struct thr_kill_args {
 1276         char id_l_[PADL_(long)]; long id; char id_r_[PADR_(long)];
 1277         char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
 1278 };
 1279 struct _umtx_lock_args {
 1280         char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
 1281 };
 1282 struct _umtx_unlock_args {
 1283         char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
 1284 };
 1285 struct jail_attach_args {
 1286         char jid_l_[PADL_(int)]; int jid; char jid_r_[PADR_(int)];
 1287 };
 1288 struct extattr_list_fd_args {
 1289         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1290         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1291         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 1292         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1293 };
 1294 struct extattr_list_file_args {
 1295         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1296         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1297         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 1298         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1299 };
 1300 struct extattr_list_link_args {
 1301         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1302         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1303         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 1304         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1305 };
 1306 struct kse_switchin_args {
 1307         char tmbx_l_[PADL_(struct kse_thr_mailbox *)]; struct kse_thr_mailbox * tmbx; char tmbx_r_[PADR_(struct kse_thr_mailbox *)];
 1308         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1309 };
 1310 struct ksem_timedwait_args {
 1311         char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
 1312         char abstime_l_[PADL_(struct timespec *)]; struct timespec * abstime; char abstime_r_[PADR_(struct timespec *)];
 1313 };
 1314 struct thr_suspend_args {
 1315         char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)];
 1316 };
 1317 struct thr_wake_args {
 1318         char id_l_[PADL_(long)]; long id; char id_r_[PADR_(long)];
 1319 };
 1320 struct kldunloadf_args {
 1321         char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
 1322         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1323 };
 1324 struct audit_args {
 1325         char record_l_[PADL_(const void *)]; const void * record; char record_r_[PADR_(const void *)];
 1326         char length_l_[PADL_(u_int)]; u_int length; char length_r_[PADR_(u_int)];
 1327 };
 1328 struct auditon_args {
 1329         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
 1330         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 1331         char length_l_[PADL_(u_int)]; u_int length; char length_r_[PADR_(u_int)];
 1332 };
 1333 struct getauid_args {
 1334         char auid_l_[PADL_(uid_t *)]; uid_t * auid; char auid_r_[PADR_(uid_t *)];
 1335 };
 1336 struct setauid_args {
 1337         char auid_l_[PADL_(uid_t *)]; uid_t * auid; char auid_r_[PADR_(uid_t *)];
 1338 };
 1339 struct getaudit_args {
 1340         char auditinfo_l_[PADL_(struct auditinfo *)]; struct auditinfo * auditinfo; char auditinfo_r_[PADR_(struct auditinfo *)];
 1341 };
 1342 struct setaudit_args {
 1343         char auditinfo_l_[PADL_(struct auditinfo *)]; struct auditinfo * auditinfo; char auditinfo_r_[PADR_(struct auditinfo *)];
 1344 };
 1345 struct getaudit_addr_args {
 1346         char auditinfo_addr_l_[PADL_(struct auditinfo_addr *)]; struct auditinfo_addr * auditinfo_addr; char auditinfo_addr_r_[PADR_(struct auditinfo_addr *)];
 1347         char length_l_[PADL_(u_int)]; u_int length; char length_r_[PADR_(u_int)];
 1348 };
 1349 struct setaudit_addr_args {
 1350         char auditinfo_addr_l_[PADL_(struct auditinfo_addr *)]; struct auditinfo_addr * auditinfo_addr; char auditinfo_addr_r_[PADR_(struct auditinfo_addr *)];
 1351         char length_l_[PADL_(u_int)]; u_int length; char length_r_[PADR_(u_int)];
 1352 };
 1353 struct auditctl_args {
 1354         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 1355 };
 1356 struct _umtx_op_args {
 1357         char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
 1358         char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
 1359         char id_l_[PADL_(long)]; long id; char id_r_[PADR_(long)];
 1360         char uaddr_l_[PADL_(void *)]; void * uaddr; char uaddr_r_[PADR_(void *)];
 1361         char uaddr2_l_[PADL_(void *)]; void * uaddr2; char uaddr2_r_[PADR_(void *)];
 1362 };
 1363 struct thr_new_args {
 1364         char param_l_[PADL_(struct thr_param *)]; struct thr_param * param; char param_r_[PADR_(struct thr_param *)];
 1365         char param_size_l_[PADL_(int)]; int param_size; char param_size_r_[PADR_(int)];
 1366 };
 1367 int     nosys(struct thread *, struct nosys_args *);
 1368 void    sys_exit(struct thread *, struct sys_exit_args *);
 1369 int     fork(struct thread *, struct fork_args *);
 1370 int     read(struct thread *, struct read_args *);
 1371 int     write(struct thread *, struct write_args *);
 1372 int     open(struct thread *, struct open_args *);
 1373 int     close(struct thread *, struct close_args *);
 1374 int     wait4(struct thread *, struct wait_args *);
 1375 int     link(struct thread *, struct link_args *);
 1376 int     unlink(struct thread *, struct unlink_args *);
 1377 int     chdir(struct thread *, struct chdir_args *);
 1378 int     fchdir(struct thread *, struct fchdir_args *);
 1379 int     mknod(struct thread *, struct mknod_args *);
 1380 int     chmod(struct thread *, struct chmod_args *);
 1381 int     chown(struct thread *, struct chown_args *);
 1382 int     obreak(struct thread *, struct obreak_args *);
 1383 int     getpid(struct thread *, struct getpid_args *);
 1384 int     mount(struct thread *, struct mount_args *);
 1385 int     unmount(struct thread *, struct unmount_args *);
 1386 int     setuid(struct thread *, struct setuid_args *);
 1387 int     getuid(struct thread *, struct getuid_args *);
 1388 int     geteuid(struct thread *, struct geteuid_args *);
 1389 int     ptrace(struct thread *, struct ptrace_args *);
 1390 int     recvmsg(struct thread *, struct recvmsg_args *);
 1391 int     sendmsg(struct thread *, struct sendmsg_args *);
 1392 int     recvfrom(struct thread *, struct recvfrom_args *);
 1393 int     accept(struct thread *, struct accept_args *);
 1394 int     getpeername(struct thread *, struct getpeername_args *);
 1395 int     getsockname(struct thread *, struct getsockname_args *);
 1396 int     access(struct thread *, struct access_args *);
 1397 int     chflags(struct thread *, struct chflags_args *);
 1398 int     fchflags(struct thread *, struct fchflags_args *);
 1399 int     sync(struct thread *, struct sync_args *);
 1400 int     kill(struct thread *, struct kill_args *);
 1401 int     getppid(struct thread *, struct getppid_args *);
 1402 int     dup(struct thread *, struct dup_args *);
 1403 int     pipe(struct thread *, struct pipe_args *);
 1404 int     getegid(struct thread *, struct getegid_args *);
 1405 int     profil(struct thread *, struct profil_args *);
 1406 int     ktrace(struct thread *, struct ktrace_args *);
 1407 int     getgid(struct thread *, struct getgid_args *);
 1408 int     getlogin(struct thread *, struct getlogin_args *);
 1409 int     setlogin(struct thread *, struct setlogin_args *);
 1410 int     acct(struct thread *, struct acct_args *);
 1411 int     sigaltstack(struct thread *, struct sigaltstack_args *);
 1412 int     ioctl(struct thread *, struct ioctl_args *);
 1413 int     reboot(struct thread *, struct reboot_args *);
 1414 int     revoke(struct thread *, struct revoke_args *);
 1415 int     symlink(struct thread *, struct symlink_args *);
 1416 int     readlink(struct thread *, struct readlink_args *);
 1417 int     execve(struct thread *, struct execve_args *);
 1418 int     umask(struct thread *, struct umask_args *);
 1419 int     chroot(struct thread *, struct chroot_args *);
 1420 int     msync(struct thread *, struct msync_args *);
 1421 int     vfork(struct thread *, struct vfork_args *);
 1422 int     sbrk(struct thread *, struct sbrk_args *);
 1423 int     sstk(struct thread *, struct sstk_args *);
 1424 int     ovadvise(struct thread *, struct ovadvise_args *);
 1425 int     munmap(struct thread *, struct munmap_args *);
 1426 int     mprotect(struct thread *, struct mprotect_args *);
 1427 int     madvise(struct thread *, struct madvise_args *);
 1428 int     mincore(struct thread *, struct mincore_args *);
 1429 int     getgroups(struct thread *, struct getgroups_args *);
 1430 int     setgroups(struct thread *, struct setgroups_args *);
 1431 int     getpgrp(struct thread *, struct getpgrp_args *);
 1432 int     setpgid(struct thread *, struct setpgid_args *);
 1433 int     setitimer(struct thread *, struct setitimer_args *);
 1434 int     swapon(struct thread *, struct swapon_args *);
 1435 int     getitimer(struct thread *, struct getitimer_args *);
 1436 int     getdtablesize(struct thread *, struct getdtablesize_args *);
 1437 int     dup2(struct thread *, struct dup2_args *);
 1438 int     fcntl(struct thread *, struct fcntl_args *);
 1439 int     select(struct thread *, struct select_args *);
 1440 int     fsync(struct thread *, struct fsync_args *);
 1441 int     setpriority(struct thread *, struct setpriority_args *);
 1442 int     socket(struct thread *, struct socket_args *);
 1443 int     connect(struct thread *, struct connect_args *);
 1444 int     getpriority(struct thread *, struct getpriority_args *);
 1445 int     bind(struct thread *, struct bind_args *);
 1446 int     setsockopt(struct thread *, struct setsockopt_args *);
 1447 int     listen(struct thread *, struct listen_args *);
 1448 int     gettimeofday(struct thread *, struct gettimeofday_args *);
 1449 int     getrusage(struct thread *, struct getrusage_args *);
 1450 int     getsockopt(struct thread *, struct getsockopt_args *);
 1451 int     readv(struct thread *, struct readv_args *);
 1452 int     writev(struct thread *, struct writev_args *);
 1453 int     settimeofday(struct thread *, struct settimeofday_args *);
 1454 int     fchown(struct thread *, struct fchown_args *);
 1455 int     fchmod(struct thread *, struct fchmod_args *);
 1456 int     setreuid(struct thread *, struct setreuid_args *);
 1457 int     setregid(struct thread *, struct setregid_args *);
 1458 int     rename(struct thread *, struct rename_args *);
 1459 int     flock(struct thread *, struct flock_args *);
 1460 int     mkfifo(struct thread *, struct mkfifo_args *);
 1461 int     sendto(struct thread *, struct sendto_args *);
 1462 int     shutdown(struct thread *, struct shutdown_args *);
 1463 int     socketpair(struct thread *, struct socketpair_args *);
 1464 int     mkdir(struct thread *, struct mkdir_args *);
 1465 int     rmdir(struct thread *, struct rmdir_args *);
 1466 int     utimes(struct thread *, struct utimes_args *);
 1467 int     adjtime(struct thread *, struct adjtime_args *);
 1468 int     setsid(struct thread *, struct setsid_args *);
 1469 int     quotactl(struct thread *, struct quotactl_args *);
 1470 int     nfssvc(struct thread *, struct nfssvc_args *);
 1471 int     lgetfh(struct thread *, struct lgetfh_args *);
 1472 int     getfh(struct thread *, struct getfh_args *);
 1473 int     getdomainname(struct thread *, struct getdomainname_args *);
 1474 int     setdomainname(struct thread *, struct setdomainname_args *);
 1475 int     uname(struct thread *, struct uname_args *);
 1476 int     sysarch(struct thread *, struct sysarch_args *);
 1477 int     rtprio(struct thread *, struct rtprio_args *);
 1478 int     semsys(struct thread *, struct semsys_args *);
 1479 int     msgsys(struct thread *, struct msgsys_args *);
 1480 int     shmsys(struct thread *, struct shmsys_args *);
 1481 int     pread(struct thread *, struct pread_args *);
 1482 int     pwrite(struct thread *, struct pwrite_args *);
 1483 int     ntp_adjtime(struct thread *, struct ntp_adjtime_args *);
 1484 int     setgid(struct thread *, struct setgid_args *);
 1485 int     setegid(struct thread *, struct setegid_args *);
 1486 int     seteuid(struct thread *, struct seteuid_args *);
 1487 int     stat(struct thread *, struct stat_args *);
 1488 int     fstat(struct thread *, struct fstat_args *);
 1489 int     lstat(struct thread *, struct lstat_args *);
 1490 int     pathconf(struct thread *, struct pathconf_args *);
 1491 int     fpathconf(struct thread *, struct fpathconf_args *);
 1492 int     getrlimit(struct thread *, struct __getrlimit_args *);
 1493 int     setrlimit(struct thread *, struct __setrlimit_args *);
 1494 int     getdirentries(struct thread *, struct getdirentries_args *);
 1495 int     mmap(struct thread *, struct mmap_args *);
 1496 int     lseek(struct thread *, struct lseek_args *);
 1497 int     truncate(struct thread *, struct truncate_args *);
 1498 int     ftruncate(struct thread *, struct ftruncate_args *);
 1499 int     __sysctl(struct thread *, struct sysctl_args *);
 1500 int     mlock(struct thread *, struct mlock_args *);
 1501 int     munlock(struct thread *, struct munlock_args *);
 1502 int     undelete(struct thread *, struct undelete_args *);
 1503 int     futimes(struct thread *, struct futimes_args *);
 1504 int     getpgid(struct thread *, struct getpgid_args *);
 1505 int     poll(struct thread *, struct poll_args *);
 1506 int     lkmnosys(struct thread *, struct nosys_args *);
 1507 int     __semctl(struct thread *, struct __semctl_args *);
 1508 int     semget(struct thread *, struct semget_args *);
 1509 int     semop(struct thread *, struct semop_args *);
 1510 int     msgctl(struct thread *, struct msgctl_args *);
 1511 int     msgget(struct thread *, struct msgget_args *);
 1512 int     msgsnd(struct thread *, struct msgsnd_args *);
 1513 int     msgrcv(struct thread *, struct msgrcv_args *);
 1514 int     shmat(struct thread *, struct shmat_args *);
 1515 int     shmctl(struct thread *, struct shmctl_args *);
 1516 int     shmdt(struct thread *, struct shmdt_args *);
 1517 int     shmget(struct thread *, struct shmget_args *);
 1518 int     clock_gettime(struct thread *, struct clock_gettime_args *);
 1519 int     clock_settime(struct thread *, struct clock_settime_args *);
 1520 int     clock_getres(struct thread *, struct clock_getres_args *);
 1521 int     nanosleep(struct thread *, struct nanosleep_args *);
 1522 int     ntp_gettime(struct thread *, struct ntp_gettime_args *);
 1523 int     minherit(struct thread *, struct minherit_args *);
 1524 int     rfork(struct thread *, struct rfork_args *);
 1525 int     openbsd_poll(struct thread *, struct openbsd_poll_args *);
 1526 int     issetugid(struct thread *, struct issetugid_args *);
 1527 int     lchown(struct thread *, struct lchown_args *);
 1528 int     getdents(struct thread *, struct getdents_args *);
 1529 int     lchmod(struct thread *, struct lchmod_args *);
 1530 int     lutimes(struct thread *, struct lutimes_args *);
 1531 int     nstat(struct thread *, struct nstat_args *);
 1532 int     nfstat(struct thread *, struct nfstat_args *);
 1533 int     nlstat(struct thread *, struct nlstat_args *);
 1534 int     preadv(struct thread *, struct preadv_args *);
 1535 int     pwritev(struct thread *, struct pwritev_args *);
 1536 int     fhopen(struct thread *, struct fhopen_args *);
 1537 int     fhstat(struct thread *, struct fhstat_args *);
 1538 int     modnext(struct thread *, struct modnext_args *);
 1539 int     modstat(struct thread *, struct modstat_args *);
 1540 int     modfnext(struct thread *, struct modfnext_args *);
 1541 int     modfind(struct thread *, struct modfind_args *);
 1542 int     kldload(struct thread *, struct kldload_args *);
 1543 int     kldunload(struct thread *, struct kldunload_args *);
 1544 int     kldfind(struct thread *, struct kldfind_args *);
 1545 int     kldnext(struct thread *, struct kldnext_args *);
 1546 int     kldstat(struct thread *, struct kldstat_args *);
 1547 int     kldfirstmod(struct thread *, struct kldfirstmod_args *);
 1548 int     getsid(struct thread *, struct getsid_args *);
 1549 int     setresuid(struct thread *, struct setresuid_args *);
 1550 int     setresgid(struct thread *, struct setresgid_args *);
 1551 int     aio_return(struct thread *, struct aio_return_args *);
 1552 int     aio_suspend(struct thread *, struct aio_suspend_args *);
 1553 int     aio_cancel(struct thread *, struct aio_cancel_args *);
 1554 int     aio_error(struct thread *, struct aio_error_args *);
 1555 int     aio_read(struct thread *, struct aio_read_args *);
 1556 int     aio_write(struct thread *, struct aio_write_args *);
 1557 int     lio_listio(struct thread *, struct lio_listio_args *);
 1558 int     yield(struct thread *, struct yield_args *);
 1559 int     mlockall(struct thread *, struct mlockall_args *);
 1560 int     munlockall(struct thread *, struct munlockall_args *);
 1561 int     __getcwd(struct thread *, struct __getcwd_args *);
 1562 int     sched_setparam(struct thread *, struct sched_setparam_args *);
 1563 int     sched_getparam(struct thread *, struct sched_getparam_args *);
 1564 int     sched_setscheduler(struct thread *, struct sched_setscheduler_args *);
 1565 int     sched_getscheduler(struct thread *, struct sched_getscheduler_args *);
 1566 int     sched_yield(struct thread *, struct sched_yield_args *);
 1567 int     sched_get_priority_max(struct thread *, struct sched_get_priority_max_args *);
 1568 int     sched_get_priority_min(struct thread *, struct sched_get_priority_min_args *);
 1569 int     sched_rr_get_interval(struct thread *, struct sched_rr_get_interval_args *);
 1570 int     utrace(struct thread *, struct utrace_args *);
 1571 int     kldsym(struct thread *, struct kldsym_args *);
 1572 int     jail(struct thread *, struct jail_args *);
 1573 int     sigprocmask(struct thread *, struct sigprocmask_args *);
 1574 int     sigsuspend(struct thread *, struct sigsuspend_args *);
 1575 int     sigpending(struct thread *, struct sigpending_args *);
 1576 int     sigtimedwait(struct thread *, struct sigtimedwait_args *);
 1577 int     sigwaitinfo(struct thread *, struct sigwaitinfo_args *);
 1578 int     __acl_get_file(struct thread *, struct __acl_get_file_args *);
 1579 int     __acl_set_file(struct thread *, struct __acl_set_file_args *);
 1580 int     __acl_get_fd(struct thread *, struct __acl_get_fd_args *);
 1581 int     __acl_set_fd(struct thread *, struct __acl_set_fd_args *);
 1582 int     __acl_delete_file(struct thread *, struct __acl_delete_file_args *);
 1583 int     __acl_delete_fd(struct thread *, struct __acl_delete_fd_args *);
 1584 int     __acl_aclcheck_file(struct thread *, struct __acl_aclcheck_file_args *);
 1585 int     __acl_aclcheck_fd(struct thread *, struct __acl_aclcheck_fd_args *);
 1586 int     extattrctl(struct thread *, struct extattrctl_args *);
 1587 int     extattr_set_file(struct thread *, struct extattr_set_file_args *);
 1588 int     extattr_get_file(struct thread *, struct extattr_get_file_args *);
 1589 int     extattr_delete_file(struct thread *, struct extattr_delete_file_args *);
 1590 int     aio_waitcomplete(struct thread *, struct aio_waitcomplete_args *);
 1591 int     getresuid(struct thread *, struct getresuid_args *);
 1592 int     getresgid(struct thread *, struct getresgid_args *);
 1593 int     kqueue(struct thread *, struct kqueue_args *);
 1594 int     kevent(struct thread *, struct kevent_args *);
 1595 int     lkmressys(struct thread *, struct nosys_args *);
 1596 int     extattr_set_fd(struct thread *, struct extattr_set_fd_args *);
 1597 int     extattr_get_fd(struct thread *, struct extattr_get_fd_args *);
 1598 int     extattr_delete_fd(struct thread *, struct extattr_delete_fd_args *);
 1599 int     __setugid(struct thread *, struct __setugid_args *);
 1600 int     nfsclnt(struct thread *, struct nfsclnt_args *);
 1601 int     eaccess(struct thread *, struct eaccess_args *);
 1602 int     nmount(struct thread *, struct nmount_args *);
 1603 int     kse_exit(struct thread *, struct kse_exit_args *);
 1604 int     kse_wakeup(struct thread *, struct kse_wakeup_args *);
 1605 int     kse_create(struct thread *, struct kse_create_args *);
 1606 int     kse_thr_interrupt(struct thread *, struct kse_thr_interrupt_args *);
 1607 int     kse_release(struct thread *, struct kse_release_args *);
 1608 int     __mac_get_proc(struct thread *, struct __mac_get_proc_args *);
 1609 int     __mac_set_proc(struct thread *, struct __mac_set_proc_args *);
 1610 int     __mac_get_fd(struct thread *, struct __mac_get_fd_args *);
 1611 int     __mac_get_file(struct thread *, struct __mac_get_file_args *);
 1612 int     __mac_set_fd(struct thread *, struct __mac_set_fd_args *);
 1613 int     __mac_set_file(struct thread *, struct __mac_set_file_args *);
 1614 int     kenv(struct thread *, struct kenv_args *);
 1615 int     lchflags(struct thread *, struct lchflags_args *);
 1616 int     uuidgen(struct thread *, struct uuidgen_args *);
 1617 int     sendfile(struct thread *, struct sendfile_args *);
 1618 int     mac_syscall(struct thread *, struct mac_syscall_args *);
 1619 int     getfsstat(struct thread *, struct getfsstat_args *);
 1620 int     statfs(struct thread *, struct statfs_args *);
 1621 int     fstatfs(struct thread *, struct fstatfs_args *);
 1622 int     fhstatfs(struct thread *, struct fhstatfs_args *);
 1623 int     ksem_close(struct thread *, struct ksem_close_args *);
 1624 int     ksem_post(struct thread *, struct ksem_post_args *);
 1625 int     ksem_wait(struct thread *, struct ksem_wait_args *);
 1626 int     ksem_trywait(struct thread *, struct ksem_trywait_args *);
 1627 int     ksem_init(struct thread *, struct ksem_init_args *);
 1628 int     ksem_open(struct thread *, struct ksem_open_args *);
 1629 int     ksem_unlink(struct thread *, struct ksem_unlink_args *);
 1630 int     ksem_getvalue(struct thread *, struct ksem_getvalue_args *);
 1631 int     ksem_destroy(struct thread *, struct ksem_destroy_args *);
 1632 int     __mac_get_pid(struct thread *, struct __mac_get_pid_args *);
 1633 int     __mac_get_link(struct thread *, struct __mac_get_link_args *);
 1634 int     __mac_set_link(struct thread *, struct __mac_set_link_args *);
 1635 int     extattr_set_link(struct thread *, struct extattr_set_link_args *);
 1636 int     extattr_get_link(struct thread *, struct extattr_get_link_args *);
 1637 int     extattr_delete_link(struct thread *, struct extattr_delete_link_args *);
 1638 int     __mac_execve(struct thread *, struct __mac_execve_args *);
 1639 int     sigaction(struct thread *, struct sigaction_args *);
 1640 int     sigreturn(struct thread *, struct sigreturn_args *);
 1641 int     getcontext(struct thread *, struct getcontext_args *);
 1642 int     setcontext(struct thread *, struct setcontext_args *);
 1643 int     swapcontext(struct thread *, struct swapcontext_args *);
 1644 int     swapoff(struct thread *, struct swapoff_args *);
 1645 int     __acl_get_link(struct thread *, struct __acl_get_link_args *);
 1646 int     __acl_set_link(struct thread *, struct __acl_set_link_args *);
 1647 int     __acl_delete_link(struct thread *, struct __acl_delete_link_args *);
 1648 int     __acl_aclcheck_link(struct thread *, struct __acl_aclcheck_link_args *);
 1649 int     sigwait(struct thread *, struct sigwait_args *);
 1650 int     thr_create(struct thread *, struct thr_create_args *);
 1651 int     thr_exit(struct thread *, struct thr_exit_args *);
 1652 int     thr_self(struct thread *, struct thr_self_args *);
 1653 int     thr_kill(struct thread *, struct thr_kill_args *);
 1654 int     _umtx_lock(struct thread *, struct _umtx_lock_args *);
 1655 int     _umtx_unlock(struct thread *, struct _umtx_unlock_args *);
 1656 int     jail_attach(struct thread *, struct jail_attach_args *);
 1657 int     extattr_list_fd(struct thread *, struct extattr_list_fd_args *);
 1658 int     extattr_list_file(struct thread *, struct extattr_list_file_args *);
 1659 int     extattr_list_link(struct thread *, struct extattr_list_link_args *);
 1660 int     kse_switchin(struct thread *, struct kse_switchin_args *);
 1661 int     ksem_timedwait(struct thread *, struct ksem_timedwait_args *);
 1662 int     thr_suspend(struct thread *, struct thr_suspend_args *);
 1663 int     thr_wake(struct thread *, struct thr_wake_args *);
 1664 int     kldunloadf(struct thread *, struct kldunloadf_args *);
 1665 int     audit(struct thread *, struct audit_args *);
 1666 int     auditon(struct thread *, struct auditon_args *);
 1667 int     getauid(struct thread *, struct getauid_args *);
 1668 int     setauid(struct thread *, struct setauid_args *);
 1669 int     getaudit(struct thread *, struct getaudit_args *);
 1670 int     setaudit(struct thread *, struct setaudit_args *);
 1671 int     getaudit_addr(struct thread *, struct getaudit_addr_args *);
 1672 int     setaudit_addr(struct thread *, struct setaudit_addr_args *);
 1673 int     auditctl(struct thread *, struct auditctl_args *);
 1674 int     _umtx_op(struct thread *, struct _umtx_op_args *);
 1675 int     thr_new(struct thread *, struct thr_new_args *);
 1676 
 1677 #ifdef COMPAT_43
 1678 
 1679 struct ocreat_args {
 1680         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 1681         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
 1682 };
 1683 struct olseek_args {
 1684         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1685         char offset_l_[PADL_(long)]; long offset; char offset_r_[PADR_(long)];
 1686         char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
 1687 };
 1688 struct ostat_args {
 1689         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 1690         char ub_l_[PADL_(struct ostat *)]; struct ostat * ub; char ub_r_[PADR_(struct ostat *)];
 1691 };
 1692 struct olstat_args {
 1693         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 1694         char ub_l_[PADL_(struct ostat *)]; struct ostat * ub; char ub_r_[PADR_(struct ostat *)];
 1695 };
 1696 struct osigaction_args {
 1697         char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
 1698         char nsa_l_[PADL_(struct osigaction *)]; struct osigaction * nsa; char nsa_r_[PADR_(struct osigaction *)];
 1699         char osa_l_[PADL_(struct osigaction *)]; struct osigaction * osa; char osa_r_[PADR_(struct osigaction *)];
 1700 };
 1701 struct osigprocmask_args {
 1702         char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
 1703         char mask_l_[PADL_(osigset_t)]; osigset_t mask; char mask_r_[PADR_(osigset_t)];
 1704 };
 1705 struct ofstat_args {
 1706         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1707         char sb_l_[PADL_(struct ostat *)]; struct ostat * sb; char sb_r_[PADR_(struct ostat *)];
 1708 };
 1709 struct getkerninfo_args {
 1710         char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
 1711         char where_l_[PADL_(char *)]; char * where; char where_r_[PADR_(char *)];
 1712         char size_l_[PADL_(size_t *)]; size_t * size; char size_r_[PADR_(size_t *)];
 1713         char arg_l_[PADL_(int)]; int arg; char arg_r_[PADR_(int)];
 1714 };
 1715 struct ommap_args {
 1716         char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
 1717         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
 1718         char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
 1719         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1720         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1721         char pos_l_[PADL_(long)]; long pos; char pos_r_[PADR_(long)];
 1722 };
 1723 struct gethostname_args {
 1724         char hostname_l_[PADL_(char *)]; char * hostname; char hostname_r_[PADR_(char *)];
 1725         char len_l_[PADL_(u_int)]; u_int len; char len_r_[PADR_(u_int)];
 1726 };
 1727 struct sethostname_args {
 1728         char hostname_l_[PADL_(char *)]; char * hostname; char hostname_r_[PADR_(char *)];
 1729         char len_l_[PADL_(u_int)]; u_int len; char len_r_[PADR_(u_int)];
 1730 };
 1731 struct osend_args {
 1732         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
 1733         char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)];
 1734         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
 1735         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1736 };
 1737 struct orecv_args {
 1738         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
 1739         char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)];
 1740         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
 1741         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1742 };
 1743 struct osigreturn_args {
 1744         char sigcntxp_l_[PADL_(struct osigcontext *)]; struct osigcontext * sigcntxp; char sigcntxp_r_[PADR_(struct osigcontext *)];
 1745 };
 1746 struct osigvec_args {
 1747         char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
 1748         char nsv_l_[PADL_(struct sigvec *)]; struct sigvec * nsv; char nsv_r_[PADR_(struct sigvec *)];
 1749         char osv_l_[PADL_(struct sigvec *)]; struct sigvec * osv; char osv_r_[PADR_(struct sigvec *)];
 1750 };
 1751 struct osigblock_args {
 1752         char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
 1753 };
 1754 struct osigsetmask_args {
 1755         char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
 1756 };
 1757 struct osigsuspend_args {
 1758         char mask_l_[PADL_(osigset_t)]; osigset_t mask; char mask_r_[PADR_(osigset_t)];
 1759 };
 1760 struct osigstack_args {
 1761         char nss_l_[PADL_(struct sigstack *)]; struct sigstack * nss; char nss_r_[PADR_(struct sigstack *)];
 1762         char oss_l_[PADL_(struct sigstack *)]; struct sigstack * oss; char oss_r_[PADR_(struct sigstack *)];
 1763 };
 1764 struct orecvmsg_args {
 1765         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
 1766         char msg_l_[PADL_(struct omsghdr *)]; struct omsghdr * msg; char msg_r_[PADR_(struct omsghdr *)];
 1767         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1768 };
 1769 struct osendmsg_args {
 1770         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
 1771         char msg_l_[PADL_(caddr_t)]; caddr_t msg; char msg_r_[PADR_(caddr_t)];
 1772         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1773 };
 1774 struct otruncate_args {
 1775         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 1776         char length_l_[PADL_(long)]; long length; char length_r_[PADR_(long)];
 1777 };
 1778 struct oftruncate_args {
 1779         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1780         char length_l_[PADL_(long)]; long length; char length_r_[PADR_(long)];
 1781 };
 1782 struct ogetpeername_args {
 1783         char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)];
 1784         char asa_l_[PADL_(caddr_t)]; caddr_t asa; char asa_r_[PADR_(caddr_t)];
 1785         char alen_l_[PADL_(int *)]; int * alen; char alen_r_[PADR_(int *)];
 1786 };
 1787 struct osethostid_args {
 1788         char hostid_l_[PADL_(long)]; long hostid; char hostid_r_[PADR_(long)];
 1789 };
 1790 struct ogetrlimit_args {
 1791         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
 1792         char rlp_l_[PADL_(struct orlimit *)]; struct orlimit * rlp; char rlp_r_[PADR_(struct orlimit *)];
 1793 };
 1794 struct osetrlimit_args {
 1795         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
 1796         char rlp_l_[PADL_(struct orlimit *)]; struct orlimit * rlp; char rlp_r_[PADR_(struct orlimit *)];
 1797 };
 1798 struct okillpg_args {
 1799         char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)];
 1800         char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
 1801 };
 1802 struct ogetdirentries_args {
 1803         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1804         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
 1805         char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
 1806         char basep_l_[PADL_(long *)]; long * basep; char basep_r_[PADR_(long *)];
 1807 };
 1808 int     ocreat(struct thread *, struct ocreat_args *);
 1809 int     olseek(struct thread *, struct olseek_args *);
 1810 int     ostat(struct thread *, struct ostat_args *);
 1811 int     olstat(struct thread *, struct olstat_args *);
 1812 int     osigaction(struct thread *, struct osigaction_args *);
 1813 int     osigprocmask(struct thread *, struct osigprocmask_args *);
 1814 int     osigpending(struct thread *, struct osigpending_args *);
 1815 int     ofstat(struct thread *, struct ofstat_args *);
 1816 int     ogetkerninfo(struct thread *, struct getkerninfo_args *);
 1817 int     ogetpagesize(struct thread *, struct getpagesize_args *);
 1818 int     ommap(struct thread *, struct ommap_args *);
 1819 int     owait(struct thread *, struct owait_args *);
 1820 int     ogethostname(struct thread *, struct gethostname_args *);
 1821 int     osethostname(struct thread *, struct sethostname_args *);
 1822 int     oaccept(struct thread *, struct accept_args *);
 1823 int     osend(struct thread *, struct osend_args *);
 1824 int     orecv(struct thread *, struct orecv_args *);
 1825 int     osigreturn(struct thread *, struct osigreturn_args *);
 1826 int     osigvec(struct thread *, struct osigvec_args *);
 1827 int     osigblock(struct thread *, struct osigblock_args *);
 1828 int     osigsetmask(struct thread *, struct osigsetmask_args *);
 1829 int     osigsuspend(struct thread *, struct osigsuspend_args *);
 1830 int     osigstack(struct thread *, struct osigstack_args *);
 1831 int     orecvmsg(struct thread *, struct orecvmsg_args *);
 1832 int     osendmsg(struct thread *, struct osendmsg_args *);
 1833 int     orecvfrom(struct thread *, struct recvfrom_args *);
 1834 int     otruncate(struct thread *, struct otruncate_args *);
 1835 int     oftruncate(struct thread *, struct oftruncate_args *);
 1836 int     ogetpeername(struct thread *, struct ogetpeername_args *);
 1837 int     ogethostid(struct thread *, struct ogethostid_args *);
 1838 int     osethostid(struct thread *, struct osethostid_args *);
 1839 int     ogetrlimit(struct thread *, struct ogetrlimit_args *);
 1840 int     osetrlimit(struct thread *, struct osetrlimit_args *);
 1841 int     okillpg(struct thread *, struct okillpg_args *);
 1842 int     oquota(struct thread *, struct oquota_args *);
 1843 int     ogetsockname(struct thread *, struct getsockname_args *);
 1844 int     ogetdirentries(struct thread *, struct ogetdirentries_args *);
 1845 
 1846 #endif /* COMPAT_43 */
 1847 
 1848 
 1849 #ifdef COMPAT_FREEBSD4
 1850 
 1851 struct freebsd4_getfsstat_args {
 1852         char buf_l_[PADL_(struct ostatfs *)]; struct ostatfs * buf; char buf_r_[PADR_(struct ostatfs *)];
 1853         char bufsize_l_[PADL_(long)]; long bufsize; char bufsize_r_[PADR_(long)];
 1854         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1855 };
 1856 struct freebsd4_statfs_args {
 1857         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 1858         char buf_l_[PADL_(struct ostatfs *)]; struct ostatfs * buf; char buf_r_[PADR_(struct ostatfs *)];
 1859 };
 1860 struct freebsd4_fstatfs_args {
 1861         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1862         char buf_l_[PADL_(struct ostatfs *)]; struct ostatfs * buf; char buf_r_[PADR_(struct ostatfs *)];
 1863 };
 1864 struct freebsd4_fhstatfs_args {
 1865         char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
 1866         char buf_l_[PADL_(struct ostatfs *)]; struct ostatfs * buf; char buf_r_[PADR_(struct ostatfs *)];
 1867 };
 1868 struct freebsd4_sendfile_args {
 1869         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1870         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
 1871         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
 1872         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1873         char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)];
 1874         char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
 1875         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1876 };
 1877 struct freebsd4_sigaction_args {
 1878         char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
 1879         char act_l_[PADL_(const struct sigaction *)]; const struct sigaction * act; char act_r_[PADR_(const struct sigaction *)];
 1880         char oact_l_[PADL_(struct sigaction *)]; struct sigaction * oact; char oact_r_[PADR_(struct sigaction *)];
 1881 };
 1882 struct freebsd4_sigreturn_args {
 1883         char sigcntxp_l_[PADL_(const struct ucontext4 *)]; const struct ucontext4 * sigcntxp; char sigcntxp_r_[PADR_(const struct ucontext4 *)];
 1884 };
 1885 int     freebsd4_getfsstat(struct thread *, struct freebsd4_getfsstat_args *);
 1886 int     freebsd4_statfs(struct thread *, struct freebsd4_statfs_args *);
 1887 int     freebsd4_fstatfs(struct thread *, struct freebsd4_fstatfs_args *);
 1888 int     freebsd4_fhstatfs(struct thread *, struct freebsd4_fhstatfs_args *);
 1889 int     freebsd4_sendfile(struct thread *, struct freebsd4_sendfile_args *);
 1890 int     freebsd4_sigaction(struct thread *, struct freebsd4_sigaction_args *);
 1891 int     freebsd4_sigreturn(struct thread *, struct freebsd4_sigreturn_args *);
 1892 
 1893 #endif /* COMPAT_FREEBSD4 */
 1894 
 1895 #undef PAD_
 1896 #undef PADL_
 1897 #undef PADR_
 1898 
 1899 #endif /* !_SYS_SYSPROTO_H_ */

Cache object: aff9f8571a147824c7eb324b7b7cf225


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.