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/syscallargs.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* $NetBSD: syscallargs.h,v 1.138 2005/02/27 00:03:25 perry Exp $ */
    2 
    3 /*
    4  * System call argument lists.
    5  *
    6  * DO NOT EDIT-- this file is automatically generated.
    7  * created from NetBSD: syscalls.master,v 1.145 2005/02/25 19:53:56 matt Exp
    8  */
    9 
   10 #ifndef _SYS__SYSCALLARGS_H_
   11 #define _SYS__SYSCALLARGS_H_
   12 
   13 #ifdef  syscallarg
   14 #undef  syscallarg
   15 #endif
   16 
   17 #define syscallarg(x)                                                   \
   18         union {                                                         \
   19                 register_t pad;                                         \
   20                 struct { x datum; } le;                                 \
   21                 struct { /* LINTED zero array dimension */              \
   22                         int8_t pad[  /* CONSTCOND */                    \
   23                                 (sizeof (register_t) < sizeof (x))      \
   24                                 ? 0                                     \
   25                                 : sizeof (register_t) - sizeof (x)];    \
   26                         x datum;                                        \
   27                 } be;                                                   \
   28         }
   29 
   30 struct sys_exit_args {
   31         syscallarg(int) rval;
   32 };
   33 
   34 struct sys_read_args {
   35         syscallarg(int) fd;
   36         syscallarg(void *) buf;
   37         syscallarg(size_t) nbyte;
   38 };
   39 
   40 struct sys_write_args {
   41         syscallarg(int) fd;
   42         syscallarg(const void *) buf;
   43         syscallarg(size_t) nbyte;
   44 };
   45 
   46 struct sys_open_args {
   47         syscallarg(const char *) path;
   48         syscallarg(int) flags;
   49         syscallarg(mode_t) mode;
   50 };
   51 
   52 struct sys_close_args {
   53         syscallarg(int) fd;
   54 };
   55 
   56 struct sys_wait4_args {
   57         syscallarg(int) pid;
   58         syscallarg(int *) status;
   59         syscallarg(int) options;
   60         syscallarg(struct rusage *) rusage;
   61 };
   62 
   63 struct compat_43_sys_creat_args {
   64         syscallarg(const char *) path;
   65         syscallarg(mode_t) mode;
   66 };
   67 
   68 struct sys_link_args {
   69         syscallarg(const char *) path;
   70         syscallarg(const char *) link;
   71 };
   72 
   73 struct sys_unlink_args {
   74         syscallarg(const char *) path;
   75 };
   76 
   77 struct sys_chdir_args {
   78         syscallarg(const char *) path;
   79 };
   80 
   81 struct sys_fchdir_args {
   82         syscallarg(int) fd;
   83 };
   84 
   85 struct sys_mknod_args {
   86         syscallarg(const char *) path;
   87         syscallarg(mode_t) mode;
   88         syscallarg(dev_t) dev;
   89 };
   90 
   91 struct sys_chmod_args {
   92         syscallarg(const char *) path;
   93         syscallarg(mode_t) mode;
   94 };
   95 
   96 struct sys_chown_args {
   97         syscallarg(const char *) path;
   98         syscallarg(uid_t) uid;
   99         syscallarg(gid_t) gid;
  100 };
  101 
  102 struct sys_obreak_args {
  103         syscallarg(char *) nsize;
  104 };
  105 
  106 struct compat_20_sys_getfsstat_args {
  107         syscallarg(struct statfs12 *) buf;
  108         syscallarg(long) bufsize;
  109         syscallarg(int) flags;
  110 };
  111 
  112 struct compat_43_sys_lseek_args {
  113         syscallarg(int) fd;
  114         syscallarg(long) offset;
  115         syscallarg(int) whence;
  116 };
  117 #ifdef COMPAT_43
  118 #else
  119 #endif
  120 
  121 struct sys_mount_args {
  122         syscallarg(const char *) type;
  123         syscallarg(const char *) path;
  124         syscallarg(int) flags;
  125         syscallarg(void *) data;
  126 };
  127 
  128 struct sys_unmount_args {
  129         syscallarg(const char *) path;
  130         syscallarg(int) flags;
  131 };
  132 
  133 struct sys_setuid_args {
  134         syscallarg(uid_t) uid;
  135 };
  136 #ifdef COMPAT_43
  137 #else
  138 #endif
  139 
  140 struct sys_ptrace_args {
  141         syscallarg(int) req;
  142         syscallarg(pid_t) pid;
  143         syscallarg(caddr_t) addr;
  144         syscallarg(int) data;
  145 };
  146 
  147 struct sys_recvmsg_args {
  148         syscallarg(int) s;
  149         syscallarg(struct msghdr *) msg;
  150         syscallarg(int) flags;
  151 };
  152 
  153 struct sys_sendmsg_args {
  154         syscallarg(int) s;
  155         syscallarg(const struct msghdr *) msg;
  156         syscallarg(int) flags;
  157 };
  158 
  159 struct sys_recvfrom_args {
  160         syscallarg(int) s;
  161         syscallarg(void *) buf;
  162         syscallarg(size_t) len;
  163         syscallarg(int) flags;
  164         syscallarg(struct sockaddr *) from;
  165         syscallarg(unsigned int *) fromlenaddr;
  166 };
  167 
  168 struct sys_accept_args {
  169         syscallarg(int) s;
  170         syscallarg(struct sockaddr *) name;
  171         syscallarg(unsigned int *) anamelen;
  172 };
  173 
  174 struct sys_getpeername_args {
  175         syscallarg(int) fdes;
  176         syscallarg(struct sockaddr *) asa;
  177         syscallarg(unsigned int *) alen;
  178 };
  179 
  180 struct sys_getsockname_args {
  181         syscallarg(int) fdes;
  182         syscallarg(struct sockaddr *) asa;
  183         syscallarg(unsigned int *) alen;
  184 };
  185 
  186 struct sys_access_args {
  187         syscallarg(const char *) path;
  188         syscallarg(int) flags;
  189 };
  190 
  191 struct sys_chflags_args {
  192         syscallarg(const char *) path;
  193         syscallarg(u_long) flags;
  194 };
  195 
  196 struct sys_fchflags_args {
  197         syscallarg(int) fd;
  198         syscallarg(u_long) flags;
  199 };
  200 
  201 struct sys_kill_args {
  202         syscallarg(int) pid;
  203         syscallarg(int) signum;
  204 };
  205 
  206 struct compat_43_sys_stat_args {
  207         syscallarg(const char *) path;
  208         syscallarg(struct stat43 *) ub;
  209 };
  210 
  211 struct compat_43_sys_lstat_args {
  212         syscallarg(const char *) path;
  213         syscallarg(struct stat43 *) ub;
  214 };
  215 
  216 struct sys_dup_args {
  217         syscallarg(int) fd;
  218 };
  219 
  220 struct sys_profil_args {
  221         syscallarg(caddr_t) samples;
  222         syscallarg(size_t) size;
  223         syscallarg(u_long) offset;
  224         syscallarg(u_int) scale;
  225 };
  226 #if defined(KTRACE) || !defined(_KERNEL)
  227 
  228 struct sys_ktrace_args {
  229         syscallarg(const char *) fname;
  230         syscallarg(int) ops;
  231         syscallarg(int) facs;
  232         syscallarg(int) pid;
  233 };
  234 #else
  235 #endif
  236 
  237 struct compat_13_sys_sigaction_args {
  238         syscallarg(int) signum;
  239         syscallarg(const struct sigaction13 *) nsa;
  240         syscallarg(struct sigaction13 *) osa;
  241 };
  242 #ifdef COMPAT_43
  243 #else
  244 #endif
  245 
  246 struct compat_13_sys_sigprocmask_args {
  247         syscallarg(int) how;
  248         syscallarg(int) mask;
  249 };
  250 
  251 struct sys___getlogin_args {
  252         syscallarg(char *) namebuf;
  253         syscallarg(size_t) namelen;
  254 };
  255 
  256 struct sys___setlogin_args {
  257         syscallarg(const char *) namebuf;
  258 };
  259 
  260 struct sys_acct_args {
  261         syscallarg(const char *) path;
  262 };
  263 
  264 struct compat_13_sys_sigaltstack_args {
  265         syscallarg(const struct sigaltstack13 *) nss;
  266         syscallarg(struct sigaltstack13 *) oss;
  267 };
  268 
  269 struct sys_ioctl_args {
  270         syscallarg(int) fd;
  271         syscallarg(u_long) com;
  272         syscallarg(void *) data;
  273 };
  274 
  275 struct compat_12_sys_reboot_args {
  276         syscallarg(int) opt;
  277 };
  278 
  279 struct sys_revoke_args {
  280         syscallarg(const char *) path;
  281 };
  282 
  283 struct sys_symlink_args {
  284         syscallarg(const char *) path;
  285         syscallarg(const char *) link;
  286 };
  287 
  288 struct sys_readlink_args {
  289         syscallarg(const char *) path;
  290         syscallarg(char *) buf;
  291         syscallarg(size_t) count;
  292 };
  293 
  294 struct sys_execve_args {
  295         syscallarg(const char *) path;
  296         syscallarg(char *const *) argp;
  297         syscallarg(char *const *) envp;
  298 };
  299 
  300 struct sys_umask_args {
  301         syscallarg(mode_t) newmask;
  302 };
  303 
  304 struct sys_chroot_args {
  305         syscallarg(const char *) path;
  306 };
  307 
  308 struct compat_43_sys_fstat_args {
  309         syscallarg(int) fd;
  310         syscallarg(struct stat43 *) sb;
  311 };
  312 
  313 struct compat_43_sys_getkerninfo_args {
  314         syscallarg(int) op;
  315         syscallarg(char *) where;
  316         syscallarg(int *) size;
  317         syscallarg(int) arg;
  318 };
  319 
  320 struct compat_12_sys_msync_args {
  321         syscallarg(caddr_t) addr;
  322         syscallarg(size_t) len;
  323 };
  324 
  325 struct sys_sbrk_args {
  326         syscallarg(intptr_t) incr;
  327 };
  328 
  329 struct sys_sstk_args {
  330         syscallarg(int) incr;
  331 };
  332 
  333 struct compat_43_sys_mmap_args {
  334         syscallarg(caddr_t) addr;
  335         syscallarg(size_t) len;
  336         syscallarg(int) prot;
  337         syscallarg(int) flags;
  338         syscallarg(int) fd;
  339         syscallarg(long) pos;
  340 };
  341 
  342 struct sys_ovadvise_args {
  343         syscallarg(int) anom;
  344 };
  345 
  346 struct sys_munmap_args {
  347         syscallarg(void *) addr;
  348         syscallarg(size_t) len;
  349 };
  350 
  351 struct sys_mprotect_args {
  352         syscallarg(void *) addr;
  353         syscallarg(size_t) len;
  354         syscallarg(int) prot;
  355 };
  356 
  357 struct sys_madvise_args {
  358         syscallarg(void *) addr;
  359         syscallarg(size_t) len;
  360         syscallarg(int) behav;
  361 };
  362 
  363 struct sys_mincore_args {
  364         syscallarg(void *) addr;
  365         syscallarg(size_t) len;
  366         syscallarg(char *) vec;
  367 };
  368 
  369 struct sys_getgroups_args {
  370         syscallarg(int) gidsetsize;
  371         syscallarg(gid_t *) gidset;
  372 };
  373 
  374 struct sys_setgroups_args {
  375         syscallarg(int) gidsetsize;
  376         syscallarg(const gid_t *) gidset;
  377 };
  378 
  379 struct sys_setpgid_args {
  380         syscallarg(int) pid;
  381         syscallarg(int) pgid;
  382 };
  383 
  384 struct sys_setitimer_args {
  385         syscallarg(int) which;
  386         syscallarg(const struct itimerval *) itv;
  387         syscallarg(struct itimerval *) oitv;
  388 };
  389 
  390 struct compat_12_sys_swapon_args {
  391         syscallarg(const char *) name;
  392 };
  393 
  394 struct sys_getitimer_args {
  395         syscallarg(int) which;
  396         syscallarg(struct itimerval *) itv;
  397 };
  398 
  399 struct compat_43_sys_gethostname_args {
  400         syscallarg(char *) hostname;
  401         syscallarg(u_int) len;
  402 };
  403 
  404 struct compat_43_sys_sethostname_args {
  405         syscallarg(char *) hostname;
  406         syscallarg(u_int) len;
  407 };
  408 
  409 struct sys_dup2_args {
  410         syscallarg(int) from;
  411         syscallarg(int) to;
  412 };
  413 
  414 struct sys_fcntl_args {
  415         syscallarg(int) fd;
  416         syscallarg(int) cmd;
  417         syscallarg(void *) arg;
  418 };
  419 
  420 struct sys_select_args {
  421         syscallarg(int) nd;
  422         syscallarg(fd_set *) in;
  423         syscallarg(fd_set *) ou;
  424         syscallarg(fd_set *) ex;
  425         syscallarg(struct timeval *) tv;
  426 };
  427 
  428 struct sys_fsync_args {
  429         syscallarg(int) fd;
  430 };
  431 
  432 struct sys_setpriority_args {
  433         syscallarg(int) which;
  434         syscallarg(id_t) who;
  435         syscallarg(int) prio;
  436 };
  437 
  438 struct sys_socket_args {
  439         syscallarg(int) domain;
  440         syscallarg(int) type;
  441         syscallarg(int) protocol;
  442 };
  443 
  444 struct sys_connect_args {
  445         syscallarg(int) s;
  446         syscallarg(const struct sockaddr *) name;
  447         syscallarg(unsigned int) namelen;
  448 };
  449 
  450 struct compat_43_sys_accept_args {
  451         syscallarg(int) s;
  452         syscallarg(caddr_t) name;
  453         syscallarg(int *) anamelen;
  454 };
  455 
  456 struct sys_getpriority_args {
  457         syscallarg(int) which;
  458         syscallarg(id_t) who;
  459 };
  460 
  461 struct compat_43_sys_send_args {
  462         syscallarg(int) s;
  463         syscallarg(caddr_t) buf;
  464         syscallarg(int) len;
  465         syscallarg(int) flags;
  466 };
  467 
  468 struct compat_43_sys_recv_args {
  469         syscallarg(int) s;
  470         syscallarg(caddr_t) buf;
  471         syscallarg(int) len;
  472         syscallarg(int) flags;
  473 };
  474 
  475 struct compat_13_sys_sigreturn_args {
  476         syscallarg(struct sigcontext13 *) sigcntxp;
  477 };
  478 
  479 struct sys_bind_args {
  480         syscallarg(int) s;
  481         syscallarg(const struct sockaddr *) name;
  482         syscallarg(unsigned int) namelen;
  483 };
  484 
  485 struct sys_setsockopt_args {
  486         syscallarg(int) s;
  487         syscallarg(int) level;
  488         syscallarg(int) name;
  489         syscallarg(const void *) val;
  490         syscallarg(unsigned int) valsize;
  491 };
  492 
  493 struct sys_listen_args {
  494         syscallarg(int) s;
  495         syscallarg(int) backlog;
  496 };
  497 
  498 struct compat_43_sys_sigvec_args {
  499         syscallarg(int) signum;
  500         syscallarg(struct sigvec *) nsv;
  501         syscallarg(struct sigvec *) osv;
  502 };
  503 
  504 struct compat_43_sys_sigblock_args {
  505         syscallarg(int) mask;
  506 };
  507 
  508 struct compat_43_sys_sigsetmask_args {
  509         syscallarg(int) mask;
  510 };
  511 
  512 struct compat_13_sys_sigsuspend_args {
  513         syscallarg(int) mask;
  514 };
  515 
  516 struct compat_43_sys_sigstack_args {
  517         syscallarg(struct sigstack *) nss;
  518         syscallarg(struct sigstack *) oss;
  519 };
  520 
  521 struct compat_43_sys_recvmsg_args {
  522         syscallarg(int) s;
  523         syscallarg(struct omsghdr *) msg;
  524         syscallarg(int) flags;
  525 };
  526 
  527 struct compat_43_sys_sendmsg_args {
  528         syscallarg(int) s;
  529         syscallarg(caddr_t) msg;
  530         syscallarg(int) flags;
  531 };
  532 
  533 struct sys_gettimeofday_args {
  534         syscallarg(struct timeval *) tp;
  535         syscallarg(void *) tzp;
  536 };
  537 
  538 struct sys_getrusage_args {
  539         syscallarg(int) who;
  540         syscallarg(struct rusage *) rusage;
  541 };
  542 
  543 struct sys_getsockopt_args {
  544         syscallarg(int) s;
  545         syscallarg(int) level;
  546         syscallarg(int) name;
  547         syscallarg(void *) val;
  548         syscallarg(unsigned int *) avalsize;
  549 };
  550 
  551 struct sys_readv_args {
  552         syscallarg(int) fd;
  553         syscallarg(const struct iovec *) iovp;
  554         syscallarg(int) iovcnt;
  555 };
  556 
  557 struct sys_writev_args {
  558         syscallarg(int) fd;
  559         syscallarg(const struct iovec *) iovp;
  560         syscallarg(int) iovcnt;
  561 };
  562 
  563 struct sys_settimeofday_args {
  564         syscallarg(const struct timeval *) tv;
  565         syscallarg(const void *) tzp;
  566 };
  567 
  568 struct sys_fchown_args {
  569         syscallarg(int) fd;
  570         syscallarg(uid_t) uid;
  571         syscallarg(gid_t) gid;
  572 };
  573 
  574 struct sys_fchmod_args {
  575         syscallarg(int) fd;
  576         syscallarg(mode_t) mode;
  577 };
  578 
  579 struct compat_43_sys_recvfrom_args {
  580         syscallarg(int) s;
  581         syscallarg(caddr_t) buf;
  582         syscallarg(size_t) len;
  583         syscallarg(int) flags;
  584         syscallarg(caddr_t) from;
  585         syscallarg(int *) fromlenaddr;
  586 };
  587 
  588 struct sys_setreuid_args {
  589         syscallarg(uid_t) ruid;
  590         syscallarg(uid_t) euid;
  591 };
  592 
  593 struct sys_setregid_args {
  594         syscallarg(gid_t) rgid;
  595         syscallarg(gid_t) egid;
  596 };
  597 
  598 struct sys_rename_args {
  599         syscallarg(const char *) from;
  600         syscallarg(const char *) to;
  601 };
  602 
  603 struct compat_43_sys_truncate_args {
  604         syscallarg(const char *) path;
  605         syscallarg(long) length;
  606 };
  607 
  608 struct compat_43_sys_ftruncate_args {
  609         syscallarg(int) fd;
  610         syscallarg(long) length;
  611 };
  612 
  613 struct sys_flock_args {
  614         syscallarg(int) fd;
  615         syscallarg(int) how;
  616 };
  617 
  618 struct sys_mkfifo_args {
  619         syscallarg(const char *) path;
  620         syscallarg(mode_t) mode;
  621 };
  622 
  623 struct sys_sendto_args {
  624         syscallarg(int) s;
  625         syscallarg(const void *) buf;
  626         syscallarg(size_t) len;
  627         syscallarg(int) flags;
  628         syscallarg(const struct sockaddr *) to;
  629         syscallarg(unsigned int) tolen;
  630 };
  631 
  632 struct sys_shutdown_args {
  633         syscallarg(int) s;
  634         syscallarg(int) how;
  635 };
  636 
  637 struct sys_socketpair_args {
  638         syscallarg(int) domain;
  639         syscallarg(int) type;
  640         syscallarg(int) protocol;
  641         syscallarg(int *) rsv;
  642 };
  643 
  644 struct sys_mkdir_args {
  645         syscallarg(const char *) path;
  646         syscallarg(mode_t) mode;
  647 };
  648 
  649 struct sys_rmdir_args {
  650         syscallarg(const char *) path;
  651 };
  652 
  653 struct sys_utimes_args {
  654         syscallarg(const char *) path;
  655         syscallarg(const struct timeval *) tptr;
  656 };
  657 
  658 struct sys_adjtime_args {
  659         syscallarg(const struct timeval *) delta;
  660         syscallarg(struct timeval *) olddelta;
  661 };
  662 
  663 struct compat_43_sys_getpeername_args {
  664         syscallarg(int) fdes;
  665         syscallarg(caddr_t) asa;
  666         syscallarg(int *) alen;
  667 };
  668 
  669 struct compat_43_sys_sethostid_args {
  670         syscallarg(int32_t) hostid;
  671 };
  672 
  673 struct compat_43_sys_getrlimit_args {
  674         syscallarg(int) which;
  675         syscallarg(struct orlimit *) rlp;
  676 };
  677 
  678 struct compat_43_sys_setrlimit_args {
  679         syscallarg(int) which;
  680         syscallarg(const struct orlimit *) rlp;
  681 };
  682 
  683 struct compat_43_sys_killpg_args {
  684         syscallarg(int) pgid;
  685         syscallarg(int) signum;
  686 };
  687 
  688 struct sys_quotactl_args {
  689         syscallarg(const char *) path;
  690         syscallarg(int) cmd;
  691         syscallarg(int) uid;
  692         syscallarg(caddr_t) arg;
  693 };
  694 
  695 struct compat_43_sys_getsockname_args {
  696         syscallarg(int) fdec;
  697         syscallarg(caddr_t) asa;
  698         syscallarg(int *) alen;
  699 };
  700 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
  701 
  702 struct sys_nfssvc_args {
  703         syscallarg(int) flag;
  704         syscallarg(void *) argp;
  705 };
  706 #else
  707 #endif
  708 
  709 struct compat_43_sys_getdirentries_args {
  710         syscallarg(int) fd;
  711         syscallarg(char *) buf;
  712         syscallarg(u_int) count;
  713         syscallarg(long *) basep;
  714 };
  715 
  716 struct compat_20_sys_statfs_args {
  717         syscallarg(const char *) path;
  718         syscallarg(struct statfs12 *) buf;
  719 };
  720 
  721 struct compat_20_sys_fstatfs_args {
  722         syscallarg(int) fd;
  723         syscallarg(struct statfs12 *) buf;
  724 };
  725 
  726 struct sys_getfh_args {
  727         syscallarg(const char *) fname;
  728         syscallarg(fhandle_t *) fhp;
  729 };
  730 
  731 struct compat_09_sys_getdomainname_args {
  732         syscallarg(char *) domainname;
  733         syscallarg(int) len;
  734 };
  735 
  736 struct compat_09_sys_setdomainname_args {
  737         syscallarg(char *) domainname;
  738         syscallarg(int) len;
  739 };
  740 
  741 struct compat_09_sys_uname_args {
  742         syscallarg(struct outsname *) name;
  743 };
  744 
  745 struct sys_sysarch_args {
  746         syscallarg(int) op;
  747         syscallarg(void *) parms;
  748 };
  749 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64)
  750 
  751 struct compat_10_sys_semsys_args {
  752         syscallarg(int) which;
  753         syscallarg(int) a2;
  754         syscallarg(int) a3;
  755         syscallarg(int) a4;
  756         syscallarg(int) a5;
  757 };
  758 #else
  759 #endif
  760 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64)
  761 
  762 struct compat_10_sys_msgsys_args {
  763         syscallarg(int) which;
  764         syscallarg(int) a2;
  765         syscallarg(int) a3;
  766         syscallarg(int) a4;
  767         syscallarg(int) a5;
  768         syscallarg(int) a6;
  769 };
  770 #else
  771 #endif
  772 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64)
  773 
  774 struct compat_10_sys_shmsys_args {
  775         syscallarg(int) which;
  776         syscallarg(int) a2;
  777         syscallarg(int) a3;
  778         syscallarg(int) a4;
  779 };
  780 #else
  781 #endif
  782 
  783 struct sys_pread_args {
  784         syscallarg(int) fd;
  785         syscallarg(void *) buf;
  786         syscallarg(size_t) nbyte;
  787         syscallarg(int) pad;
  788         syscallarg(off_t) offset;
  789 };
  790 
  791 struct sys_pwrite_args {
  792         syscallarg(int) fd;
  793         syscallarg(const void *) buf;
  794         syscallarg(size_t) nbyte;
  795         syscallarg(int) pad;
  796         syscallarg(off_t) offset;
  797 };
  798 
  799 struct sys_ntp_gettime_args {
  800         syscallarg(struct ntptimeval *) ntvp;
  801 };
  802 #if defined(NTP) || !defined(_KERNEL)
  803 
  804 struct sys_ntp_adjtime_args {
  805         syscallarg(struct timex *) tp;
  806 };
  807 #else
  808 #endif
  809 
  810 struct sys_setgid_args {
  811         syscallarg(gid_t) gid;
  812 };
  813 
  814 struct sys_setegid_args {
  815         syscallarg(gid_t) egid;
  816 };
  817 
  818 struct sys_seteuid_args {
  819         syscallarg(uid_t) euid;
  820 };
  821 #if defined(LFS) || !defined(_KERNEL)
  822 
  823 struct sys_lfs_bmapv_args {
  824         syscallarg(fsid_t *) fsidp;
  825         syscallarg(struct block_info *) blkiov;
  826         syscallarg(int) blkcnt;
  827 };
  828 
  829 struct sys_lfs_markv_args {
  830         syscallarg(fsid_t *) fsidp;
  831         syscallarg(struct block_info *) blkiov;
  832         syscallarg(int) blkcnt;
  833 };
  834 
  835 struct sys_lfs_segclean_args {
  836         syscallarg(fsid_t *) fsidp;
  837         syscallarg(u_long) segment;
  838 };
  839 
  840 struct sys_lfs_segwait_args {
  841         syscallarg(fsid_t *) fsidp;
  842         syscallarg(struct timeval *) tv;
  843 };
  844 #else
  845 #endif
  846 
  847 struct compat_12_sys_stat_args {
  848         syscallarg(const char *) path;
  849         syscallarg(struct stat12 *) ub;
  850 };
  851 
  852 struct compat_12_sys_fstat_args {
  853         syscallarg(int) fd;
  854         syscallarg(struct stat12 *) sb;
  855 };
  856 
  857 struct compat_12_sys_lstat_args {
  858         syscallarg(const char *) path;
  859         syscallarg(struct stat12 *) ub;
  860 };
  861 
  862 struct sys_pathconf_args {
  863         syscallarg(const char *) path;
  864         syscallarg(int) name;
  865 };
  866 
  867 struct sys_fpathconf_args {
  868         syscallarg(int) fd;
  869         syscallarg(int) name;
  870 };
  871 
  872 struct sys_getrlimit_args {
  873         syscallarg(int) which;
  874         syscallarg(struct rlimit *) rlp;
  875 };
  876 
  877 struct sys_setrlimit_args {
  878         syscallarg(int) which;
  879         syscallarg(const struct rlimit *) rlp;
  880 };
  881 
  882 struct compat_12_sys_getdirentries_args {
  883         syscallarg(int) fd;
  884         syscallarg(char *) buf;
  885         syscallarg(u_int) count;
  886         syscallarg(long *) basep;
  887 };
  888 
  889 struct sys_mmap_args {
  890         syscallarg(void *) addr;
  891         syscallarg(size_t) len;
  892         syscallarg(int) prot;
  893         syscallarg(int) flags;
  894         syscallarg(int) fd;
  895         syscallarg(long) pad;
  896         syscallarg(off_t) pos;
  897 };
  898 
  899 struct sys_lseek_args {
  900         syscallarg(int) fd;
  901         syscallarg(int) pad;
  902         syscallarg(off_t) offset;
  903         syscallarg(int) whence;
  904 };
  905 
  906 struct sys_truncate_args {
  907         syscallarg(const char *) path;
  908         syscallarg(int) pad;
  909         syscallarg(off_t) length;
  910 };
  911 
  912 struct sys_ftruncate_args {
  913         syscallarg(int) fd;
  914         syscallarg(int) pad;
  915         syscallarg(off_t) length;
  916 };
  917 
  918 struct sys___sysctl_args {
  919         syscallarg(int *) name;
  920         syscallarg(u_int) namelen;
  921         syscallarg(void *) old;
  922         syscallarg(size_t *) oldlenp;
  923         syscallarg(void *) new;
  924         syscallarg(size_t) newlen;
  925 };
  926 
  927 struct sys_mlock_args {
  928         syscallarg(const void *) addr;
  929         syscallarg(size_t) len;
  930 };
  931 
  932 struct sys_munlock_args {
  933         syscallarg(const void *) addr;
  934         syscallarg(size_t) len;
  935 };
  936 
  937 struct sys_undelete_args {
  938         syscallarg(const char *) path;
  939 };
  940 
  941 struct sys_futimes_args {
  942         syscallarg(int) fd;
  943         syscallarg(const struct timeval *) tptr;
  944 };
  945 
  946 struct sys_getpgid_args {
  947         syscallarg(pid_t) pid;
  948 };
  949 
  950 struct sys_reboot_args {
  951         syscallarg(int) opt;
  952         syscallarg(char *) bootstr;
  953 };
  954 
  955 struct sys_poll_args {
  956         syscallarg(struct pollfd *) fds;
  957         syscallarg(u_int) nfds;
  958         syscallarg(int) timeout;
  959 };
  960 #if defined(LKM) || !defined(_KERNEL)
  961 #else   /* !LKM */
  962 #endif  /* !LKM */
  963 #if defined(SYSVSEM) || !defined(_KERNEL)
  964 
  965 struct compat_14_sys___semctl_args {
  966         syscallarg(int) semid;
  967         syscallarg(int) semnum;
  968         syscallarg(int) cmd;
  969         syscallarg(union __semun *) arg;
  970 };
  971 
  972 struct sys_semget_args {
  973         syscallarg(key_t) key;
  974         syscallarg(int) nsems;
  975         syscallarg(int) semflg;
  976 };
  977 
  978 struct sys_semop_args {
  979         syscallarg(int) semid;
  980         syscallarg(struct sembuf *) sops;
  981         syscallarg(size_t) nsops;
  982 };
  983 
  984 struct sys_semconfig_args {
  985         syscallarg(int) flag;
  986 };
  987 #else
  988 #endif
  989 #if defined(SYSVMSG) || !defined(_KERNEL)
  990 
  991 struct compat_14_sys_msgctl_args {
  992         syscallarg(int) msqid;
  993         syscallarg(int) cmd;
  994         syscallarg(struct msqid_ds14 *) buf;
  995 };
  996 
  997 struct sys_msgget_args {
  998         syscallarg(key_t) key;
  999         syscallarg(int) msgflg;
 1000 };
 1001 
 1002 struct sys_msgsnd_args {
 1003         syscallarg(int) msqid;
 1004         syscallarg(const void *) msgp;
 1005         syscallarg(size_t) msgsz;
 1006         syscallarg(int) msgflg;
 1007 };
 1008 
 1009 struct sys_msgrcv_args {
 1010         syscallarg(int) msqid;
 1011         syscallarg(void *) msgp;
 1012         syscallarg(size_t) msgsz;
 1013         syscallarg(long) msgtyp;
 1014         syscallarg(int) msgflg;
 1015 };
 1016 #else
 1017 #endif
 1018 #if defined(SYSVSHM) || !defined(_KERNEL)
 1019 
 1020 struct sys_shmat_args {
 1021         syscallarg(int) shmid;
 1022         syscallarg(const void *) shmaddr;
 1023         syscallarg(int) shmflg;
 1024 };
 1025 
 1026 struct compat_14_sys_shmctl_args {
 1027         syscallarg(int) shmid;
 1028         syscallarg(int) cmd;
 1029         syscallarg(struct shmid_ds14 *) buf;
 1030 };
 1031 
 1032 struct sys_shmdt_args {
 1033         syscallarg(const void *) shmaddr;
 1034 };
 1035 
 1036 struct sys_shmget_args {
 1037         syscallarg(key_t) key;
 1038         syscallarg(size_t) size;
 1039         syscallarg(int) shmflg;
 1040 };
 1041 #else
 1042 #endif
 1043 
 1044 struct sys_clock_gettime_args {
 1045         syscallarg(clockid_t) clock_id;
 1046         syscallarg(struct timespec *) tp;
 1047 };
 1048 
 1049 struct sys_clock_settime_args {
 1050         syscallarg(clockid_t) clock_id;
 1051         syscallarg(const struct timespec *) tp;
 1052 };
 1053 
 1054 struct sys_clock_getres_args {
 1055         syscallarg(clockid_t) clock_id;
 1056         syscallarg(struct timespec *) tp;
 1057 };
 1058 
 1059 struct sys_timer_create_args {
 1060         syscallarg(clockid_t) clock_id;
 1061         syscallarg(struct sigevent *) evp;
 1062         syscallarg(timer_t *) timerid;
 1063 };
 1064 
 1065 struct sys_timer_delete_args {
 1066         syscallarg(timer_t) timerid;
 1067 };
 1068 
 1069 struct sys_timer_settime_args {
 1070         syscallarg(timer_t) timerid;
 1071         syscallarg(int) flags;
 1072         syscallarg(const struct itimerspec *) value;
 1073         syscallarg(struct itimerspec *) ovalue;
 1074 };
 1075 
 1076 struct sys_timer_gettime_args {
 1077         syscallarg(timer_t) timerid;
 1078         syscallarg(struct itimerspec *) value;
 1079 };
 1080 
 1081 struct sys_timer_getoverrun_args {
 1082         syscallarg(timer_t) timerid;
 1083 };
 1084 
 1085 struct sys_nanosleep_args {
 1086         syscallarg(const struct timespec *) rqtp;
 1087         syscallarg(struct timespec *) rmtp;
 1088 };
 1089 
 1090 struct sys_fdatasync_args {
 1091         syscallarg(int) fd;
 1092 };
 1093 
 1094 struct sys_mlockall_args {
 1095         syscallarg(int) flags;
 1096 };
 1097 
 1098 struct sys___sigtimedwait_args {
 1099         syscallarg(const sigset_t *) set;
 1100         syscallarg(siginfo_t *) info;
 1101         syscallarg(struct timespec *) timeout;
 1102 };
 1103 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
 1104 
 1105 struct sys__ksem_init_args {
 1106         syscallarg(unsigned int) value;
 1107         syscallarg(semid_t *) idp;
 1108 };
 1109 
 1110 struct sys__ksem_open_args {
 1111         syscallarg(const char *) name;
 1112         syscallarg(int) oflag;
 1113         syscallarg(mode_t) mode;
 1114         syscallarg(unsigned int) value;
 1115         syscallarg(semid_t *) idp;
 1116 };
 1117 
 1118 struct sys__ksem_unlink_args {
 1119         syscallarg(const char *) name;
 1120 };
 1121 
 1122 struct sys__ksem_close_args {
 1123         syscallarg(semid_t) id;
 1124 };
 1125 
 1126 struct sys__ksem_post_args {
 1127         syscallarg(semid_t) id;
 1128 };
 1129 
 1130 struct sys__ksem_wait_args {
 1131         syscallarg(semid_t) id;
 1132 };
 1133 
 1134 struct sys__ksem_trywait_args {
 1135         syscallarg(semid_t) id;
 1136 };
 1137 
 1138 struct sys__ksem_getvalue_args {
 1139         syscallarg(semid_t) id;
 1140         syscallarg(unsigned int *) value;
 1141 };
 1142 
 1143 struct sys__ksem_destroy_args {
 1144         syscallarg(semid_t) id;
 1145 };
 1146 #else
 1147 #endif
 1148 
 1149 struct sys___posix_rename_args {
 1150         syscallarg(const char *) from;
 1151         syscallarg(const char *) to;
 1152 };
 1153 
 1154 struct sys_swapctl_args {
 1155         syscallarg(int) cmd;
 1156         syscallarg(const void *) arg;
 1157         syscallarg(int) misc;
 1158 };
 1159 
 1160 struct sys_getdents_args {
 1161         syscallarg(int) fd;
 1162         syscallarg(char *) buf;
 1163         syscallarg(size_t) count;
 1164 };
 1165 
 1166 struct sys_minherit_args {
 1167         syscallarg(void *) addr;
 1168         syscallarg(size_t) len;
 1169         syscallarg(int) inherit;
 1170 };
 1171 
 1172 struct sys_lchmod_args {
 1173         syscallarg(const char *) path;
 1174         syscallarg(mode_t) mode;
 1175 };
 1176 
 1177 struct sys_lchown_args {
 1178         syscallarg(const char *) path;
 1179         syscallarg(uid_t) uid;
 1180         syscallarg(gid_t) gid;
 1181 };
 1182 
 1183 struct sys_lutimes_args {
 1184         syscallarg(const char *) path;
 1185         syscallarg(const struct timeval *) tptr;
 1186 };
 1187 
 1188 struct sys___msync13_args {
 1189         syscallarg(void *) addr;
 1190         syscallarg(size_t) len;
 1191         syscallarg(int) flags;
 1192 };
 1193 
 1194 struct sys___stat13_args {
 1195         syscallarg(const char *) path;
 1196         syscallarg(struct stat *) ub;
 1197 };
 1198 
 1199 struct sys___fstat13_args {
 1200         syscallarg(int) fd;
 1201         syscallarg(struct stat *) sb;
 1202 };
 1203 
 1204 struct sys___lstat13_args {
 1205         syscallarg(const char *) path;
 1206         syscallarg(struct stat *) ub;
 1207 };
 1208 
 1209 struct sys___sigaltstack14_args {
 1210         syscallarg(const struct sigaltstack *) nss;
 1211         syscallarg(struct sigaltstack *) oss;
 1212 };
 1213 
 1214 struct sys___posix_chown_args {
 1215         syscallarg(const char *) path;
 1216         syscallarg(uid_t) uid;
 1217         syscallarg(gid_t) gid;
 1218 };
 1219 
 1220 struct sys___posix_fchown_args {
 1221         syscallarg(int) fd;
 1222         syscallarg(uid_t) uid;
 1223         syscallarg(gid_t) gid;
 1224 };
 1225 
 1226 struct sys___posix_lchown_args {
 1227         syscallarg(const char *) path;
 1228         syscallarg(uid_t) uid;
 1229         syscallarg(gid_t) gid;
 1230 };
 1231 
 1232 struct sys_getsid_args {
 1233         syscallarg(pid_t) pid;
 1234 };
 1235 
 1236 struct sys___clone_args {
 1237         syscallarg(int) flags;
 1238         syscallarg(void *) stack;
 1239 };
 1240 #if defined(KTRACE) || !defined(_KERNEL)
 1241 
 1242 struct sys_fktrace_args {
 1243         syscallarg(const int) fd;
 1244         syscallarg(int) ops;
 1245         syscallarg(int) facs;
 1246         syscallarg(int) pid;
 1247 };
 1248 #else
 1249 #endif
 1250 
 1251 struct sys_preadv_args {
 1252         syscallarg(int) fd;
 1253         syscallarg(const struct iovec *) iovp;
 1254         syscallarg(int) iovcnt;
 1255         syscallarg(int) pad;
 1256         syscallarg(off_t) offset;
 1257 };
 1258 
 1259 struct sys_pwritev_args {
 1260         syscallarg(int) fd;
 1261         syscallarg(const struct iovec *) iovp;
 1262         syscallarg(int) iovcnt;
 1263         syscallarg(int) pad;
 1264         syscallarg(off_t) offset;
 1265 };
 1266 
 1267 struct compat_16_sys___sigaction14_args {
 1268         syscallarg(int) signum;
 1269         syscallarg(const struct sigaction *) nsa;
 1270         syscallarg(struct sigaction *) osa;
 1271 };
 1272 
 1273 struct sys___sigpending14_args {
 1274         syscallarg(sigset_t *) set;
 1275 };
 1276 
 1277 struct sys___sigprocmask14_args {
 1278         syscallarg(int) how;
 1279         syscallarg(const sigset_t *) set;
 1280         syscallarg(sigset_t *) oset;
 1281 };
 1282 
 1283 struct sys___sigsuspend14_args {
 1284         syscallarg(const sigset_t *) set;
 1285 };
 1286 
 1287 struct compat_16_sys___sigreturn14_args {
 1288         syscallarg(struct sigcontext *) sigcntxp;
 1289 };
 1290 
 1291 struct sys___getcwd_args {
 1292         syscallarg(char *) bufp;
 1293         syscallarg(size_t) length;
 1294 };
 1295 
 1296 struct sys_fchroot_args {
 1297         syscallarg(int) fd;
 1298 };
 1299 
 1300 struct sys_fhopen_args {
 1301         syscallarg(const fhandle_t *) fhp;
 1302         syscallarg(int) flags;
 1303 };
 1304 
 1305 struct sys_fhstat_args {
 1306         syscallarg(const fhandle_t *) fhp;
 1307         syscallarg(struct stat *) sb;
 1308 };
 1309 
 1310 struct compat_20_sys_fhstatfs_args {
 1311         syscallarg(const fhandle_t *) fhp;
 1312         syscallarg(struct statfs12 *) buf;
 1313 };
 1314 #if defined(SYSVSEM) || !defined(_KERNEL)
 1315 
 1316 struct sys_____semctl13_args {
 1317         syscallarg(int) semid;
 1318         syscallarg(int) semnum;
 1319         syscallarg(int) cmd;
 1320         syscallarg(union __semun *) arg;
 1321 };
 1322 #else
 1323 #endif
 1324 #if defined(SYSVMSG) || !defined(_KERNEL)
 1325 
 1326 struct sys___msgctl13_args {
 1327         syscallarg(int) msqid;
 1328         syscallarg(int) cmd;
 1329         syscallarg(struct msqid_ds *) buf;
 1330 };
 1331 #else
 1332 #endif
 1333 #if defined(SYSVSHM) || !defined(_KERNEL)
 1334 
 1335 struct sys___shmctl13_args {
 1336         syscallarg(int) shmid;
 1337         syscallarg(int) cmd;
 1338         syscallarg(struct shmid_ds *) buf;
 1339 };
 1340 #else
 1341 #endif
 1342 
 1343 struct sys_lchflags_args {
 1344         syscallarg(const char *) path;
 1345         syscallarg(u_long) flags;
 1346 };
 1347 
 1348 struct sys_utrace_args {
 1349         syscallarg(const char *) label;
 1350         syscallarg(void *) addr;
 1351         syscallarg(size_t) len;
 1352 };
 1353 
 1354 struct sys_getcontext_args {
 1355         syscallarg(struct __ucontext *) ucp;
 1356 };
 1357 
 1358 struct sys_setcontext_args {
 1359         syscallarg(const struct __ucontext *) ucp;
 1360 };
 1361 
 1362 struct sys__lwp_create_args {
 1363         syscallarg(const struct __ucontext *) ucp;
 1364         syscallarg(u_long) flags;
 1365         syscallarg(lwpid_t *) new_lwp;
 1366 };
 1367 
 1368 struct sys__lwp_wait_args {
 1369         syscallarg(lwpid_t) wait_for;
 1370         syscallarg(lwpid_t *) departed;
 1371 };
 1372 
 1373 struct sys__lwp_suspend_args {
 1374         syscallarg(lwpid_t) target;
 1375 };
 1376 
 1377 struct sys__lwp_continue_args {
 1378         syscallarg(lwpid_t) target;
 1379 };
 1380 
 1381 struct sys__lwp_wakeup_args {
 1382         syscallarg(lwpid_t) target;
 1383 };
 1384 
 1385 struct sys__lwp_setprivate_args {
 1386         syscallarg(void *) ptr;
 1387 };
 1388 
 1389 struct sys_sa_register_args {
 1390         syscallarg(sa_upcall_t) new;
 1391         syscallarg(sa_upcall_t *) old;
 1392         syscallarg(int) flags;
 1393         syscallarg(ssize_t) stackinfo_offset;
 1394 };
 1395 
 1396 struct sys_sa_stacks_args {
 1397         syscallarg(int) num;
 1398         syscallarg(stack_t *) stacks;
 1399 };
 1400 
 1401 struct sys_sa_setconcurrency_args {
 1402         syscallarg(int) concurrency;
 1403 };
 1404 
 1405 struct sys_sa_preempt_args {
 1406         syscallarg(int) sa_id;
 1407 };
 1408 
 1409 struct sys___sigaction_sigtramp_args {
 1410         syscallarg(int) signum;
 1411         syscallarg(const struct sigaction *) nsa;
 1412         syscallarg(struct sigaction *) osa;
 1413         syscallarg(const void *) tramp;
 1414         syscallarg(int) vers;
 1415 };
 1416 
 1417 struct sys_pmc_get_info_args {
 1418         syscallarg(int) ctr;
 1419         syscallarg(int) op;
 1420         syscallarg(void *) args;
 1421 };
 1422 
 1423 struct sys_pmc_control_args {
 1424         syscallarg(int) ctr;
 1425         syscallarg(int) op;
 1426         syscallarg(void *) args;
 1427 };
 1428 
 1429 struct sys_rasctl_args {
 1430         syscallarg(caddr_t) addr;
 1431         syscallarg(size_t) len;
 1432         syscallarg(int) op;
 1433 };
 1434 
 1435 struct sys_kevent_args {
 1436         syscallarg(int) fd;
 1437         syscallarg(const struct kevent *) changelist;
 1438         syscallarg(size_t) nchanges;
 1439         syscallarg(struct kevent *) eventlist;
 1440         syscallarg(size_t) nevents;
 1441         syscallarg(const struct timespec *) timeout;
 1442 };
 1443 
 1444 struct sys_fsync_range_args {
 1445         syscallarg(int) fd;
 1446         syscallarg(int) flags;
 1447         syscallarg(off_t) start;
 1448         syscallarg(off_t) length;
 1449 };
 1450 
 1451 struct sys_uuidgen_args {
 1452         syscallarg(struct uuid *) store;
 1453         syscallarg(int) count;
 1454 };
 1455 
 1456 struct sys_getvfsstat_args {
 1457         syscallarg(struct statvfs *) buf;
 1458         syscallarg(size_t) bufsize;
 1459         syscallarg(int) flags;
 1460 };
 1461 
 1462 struct sys_statvfs1_args {
 1463         syscallarg(const char *) path;
 1464         syscallarg(struct statvfs *) buf;
 1465         syscallarg(int) flags;
 1466 };
 1467 
 1468 struct sys_fstatvfs1_args {
 1469         syscallarg(int) fd;
 1470         syscallarg(struct statvfs *) buf;
 1471         syscallarg(int) flags;
 1472 };
 1473 
 1474 struct sys_fhstatvfs1_args {
 1475         syscallarg(const fhandle_t *) fhp;
 1476         syscallarg(struct statvfs *) buf;
 1477         syscallarg(int) flags;
 1478 };
 1479 
 1480 struct sys_extattrctl_args {
 1481         syscallarg(const char *) path;
 1482         syscallarg(int) cmd;
 1483         syscallarg(const char *) filename;
 1484         syscallarg(int) attrnamespace;
 1485         syscallarg(const char *) attrname;
 1486 };
 1487 
 1488 struct sys_extattr_set_file_args {
 1489         syscallarg(const char *) path;
 1490         syscallarg(int) attrnamespace;
 1491         syscallarg(const char *) attrname;
 1492         syscallarg(const void *) data;
 1493         syscallarg(size_t) nbytes;
 1494 };
 1495 
 1496 struct sys_extattr_get_file_args {
 1497         syscallarg(const char *) path;
 1498         syscallarg(int) attrnamespace;
 1499         syscallarg(const char *) attrname;
 1500         syscallarg(void *) data;
 1501         syscallarg(size_t) nbytes;
 1502 };
 1503 
 1504 struct sys_extattr_delete_file_args {
 1505         syscallarg(const char *) path;
 1506         syscallarg(int) attrnamespace;
 1507         syscallarg(const char *) attrname;
 1508 };
 1509 
 1510 struct sys_extattr_set_fd_args {
 1511         syscallarg(int) fd;
 1512         syscallarg(int) attrnamespace;
 1513         syscallarg(const char *) attrname;
 1514         syscallarg(const void *) data;
 1515         syscallarg(size_t) nbytes;
 1516 };
 1517 
 1518 struct sys_extattr_get_fd_args {
 1519         syscallarg(int) fd;
 1520         syscallarg(int) attrnamespace;
 1521         syscallarg(const char *) attrname;
 1522         syscallarg(void *) data;
 1523         syscallarg(size_t) nbytes;
 1524 };
 1525 
 1526 struct sys_extattr_delete_fd_args {
 1527         syscallarg(int) fd;
 1528         syscallarg(int) attrnamespace;
 1529         syscallarg(const char *) attrname;
 1530 };
 1531 
 1532 struct sys_extattr_set_link_args {
 1533         syscallarg(const char *) path;
 1534         syscallarg(int) attrnamespace;
 1535         syscallarg(const char *) attrname;
 1536         syscallarg(const void *) data;
 1537         syscallarg(size_t) nbytes;
 1538 };
 1539 
 1540 struct sys_extattr_get_link_args {
 1541         syscallarg(const char *) path;
 1542         syscallarg(int) attrnamespace;
 1543         syscallarg(const char *) attrname;
 1544         syscallarg(void *) data;
 1545         syscallarg(size_t) nbytes;
 1546 };
 1547 
 1548 struct sys_extattr_delete_link_args {
 1549         syscallarg(const char *) path;
 1550         syscallarg(int) attrnamespace;
 1551         syscallarg(const char *) attrname;
 1552 };
 1553 
 1554 struct sys_extattr_list_fd_args {
 1555         syscallarg(int) fd;
 1556         syscallarg(int) attrnamespace;
 1557         syscallarg(void *) data;
 1558         syscallarg(size_t) nbytes;
 1559 };
 1560 
 1561 struct sys_extattr_list_file_args {
 1562         syscallarg(const char *) path;
 1563         syscallarg(int) attrnamespace;
 1564         syscallarg(void *) data;
 1565         syscallarg(size_t) nbytes;
 1566 };
 1567 
 1568 struct sys_extattr_list_link_args {
 1569         syscallarg(const char *) path;
 1570         syscallarg(int) attrnamespace;
 1571         syscallarg(void *) data;
 1572         syscallarg(size_t) nbytes;
 1573 };
 1574 
 1575 struct sys_pselect_args {
 1576         syscallarg(int) nd;
 1577         syscallarg(fd_set *) in;
 1578         syscallarg(fd_set *) ou;
 1579         syscallarg(fd_set *) ex;
 1580         syscallarg(const struct timespec *) ts;
 1581         syscallarg(const sigset_t *) mask;
 1582 };
 1583 
 1584 struct sys_pollts_args {
 1585         syscallarg(struct pollfd *) fds;
 1586         syscallarg(u_int) nfds;
 1587         syscallarg(const struct timespec *) ts;
 1588         syscallarg(const sigset_t *) mask;
 1589 };
 1590 
 1591 /*
 1592  * System call prototypes.
 1593  */
 1594 
 1595 int     sys_exit(struct lwp *, void *, register_t *);
 1596 
 1597 int     sys_fork(struct lwp *, void *, register_t *);
 1598 
 1599 int     sys_read(struct lwp *, void *, register_t *);
 1600 
 1601 int     sys_write(struct lwp *, void *, register_t *);
 1602 
 1603 int     sys_open(struct lwp *, void *, register_t *);
 1604 
 1605 int     sys_close(struct lwp *, void *, register_t *);
 1606 
 1607 int     sys_wait4(struct lwp *, void *, register_t *);
 1608 
 1609 int     compat_43_sys_creat(struct lwp *, void *, register_t *);
 1610 
 1611 int     sys_link(struct lwp *, void *, register_t *);
 1612 
 1613 int     sys_unlink(struct lwp *, void *, register_t *);
 1614 
 1615 int     sys_chdir(struct lwp *, void *, register_t *);
 1616 
 1617 int     sys_fchdir(struct lwp *, void *, register_t *);
 1618 
 1619 int     sys_mknod(struct lwp *, void *, register_t *);
 1620 
 1621 int     sys_chmod(struct lwp *, void *, register_t *);
 1622 
 1623 int     sys_chown(struct lwp *, void *, register_t *);
 1624 
 1625 int     sys_obreak(struct lwp *, void *, register_t *);
 1626 
 1627 int     compat_20_sys_getfsstat(struct lwp *, void *, register_t *);
 1628 
 1629 int     compat_43_sys_lseek(struct lwp *, void *, register_t *);
 1630 
 1631 #ifdef COMPAT_43
 1632 int     sys_getpid_with_ppid(struct lwp *, void *, register_t *);
 1633 
 1634 #else
 1635 int     sys_getpid(struct lwp *, void *, register_t *);
 1636 
 1637 #endif
 1638 int     sys_mount(struct lwp *, void *, register_t *);
 1639 
 1640 int     sys_unmount(struct lwp *, void *, register_t *);
 1641 
 1642 int     sys_setuid(struct lwp *, void *, register_t *);
 1643 
 1644 #ifdef COMPAT_43
 1645 int     sys_getuid_with_euid(struct lwp *, void *, register_t *);
 1646 
 1647 #else
 1648 int     sys_getuid(struct lwp *, void *, register_t *);
 1649 
 1650 #endif
 1651 int     sys_geteuid(struct lwp *, void *, register_t *);
 1652 
 1653 int     sys_ptrace(struct lwp *, void *, register_t *);
 1654 
 1655 int     sys_recvmsg(struct lwp *, void *, register_t *);
 1656 
 1657 int     sys_sendmsg(struct lwp *, void *, register_t *);
 1658 
 1659 int     sys_recvfrom(struct lwp *, void *, register_t *);
 1660 
 1661 int     sys_accept(struct lwp *, void *, register_t *);
 1662 
 1663 int     sys_getpeername(struct lwp *, void *, register_t *);
 1664 
 1665 int     sys_getsockname(struct lwp *, void *, register_t *);
 1666 
 1667 int     sys_access(struct lwp *, void *, register_t *);
 1668 
 1669 int     sys_chflags(struct lwp *, void *, register_t *);
 1670 
 1671 int     sys_fchflags(struct lwp *, void *, register_t *);
 1672 
 1673 int     sys_sync(struct lwp *, void *, register_t *);
 1674 
 1675 int     sys_kill(struct lwp *, void *, register_t *);
 1676 
 1677 int     compat_43_sys_stat(struct lwp *, void *, register_t *);
 1678 
 1679 int     sys_getppid(struct lwp *, void *, register_t *);
 1680 
 1681 int     compat_43_sys_lstat(struct lwp *, void *, register_t *);
 1682 
 1683 int     sys_dup(struct lwp *, void *, register_t *);
 1684 
 1685 int     sys_pipe(struct lwp *, void *, register_t *);
 1686 
 1687 int     sys_getegid(struct lwp *, void *, register_t *);
 1688 
 1689 int     sys_profil(struct lwp *, void *, register_t *);
 1690 
 1691 #if defined(KTRACE) || !defined(_KERNEL)
 1692 int     sys_ktrace(struct lwp *, void *, register_t *);
 1693 
 1694 #else
 1695 #endif
 1696 int     compat_13_sys_sigaction(struct lwp *, void *, register_t *);
 1697 
 1698 #ifdef COMPAT_43
 1699 int     sys_getgid_with_egid(struct lwp *, void *, register_t *);
 1700 
 1701 #else
 1702 int     sys_getgid(struct lwp *, void *, register_t *);
 1703 
 1704 #endif
 1705 int     compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
 1706 
 1707 int     sys___getlogin(struct lwp *, void *, register_t *);
 1708 
 1709 int     sys___setlogin(struct lwp *, void *, register_t *);
 1710 
 1711 int     sys_acct(struct lwp *, void *, register_t *);
 1712 
 1713 int     compat_13_sys_sigpending(struct lwp *, void *, register_t *);
 1714 
 1715 int     compat_13_sys_sigaltstack(struct lwp *, void *, register_t *);
 1716 
 1717 int     sys_ioctl(struct lwp *, void *, register_t *);
 1718 
 1719 int     compat_12_sys_reboot(struct lwp *, void *, register_t *);
 1720 
 1721 int     sys_revoke(struct lwp *, void *, register_t *);
 1722 
 1723 int     sys_symlink(struct lwp *, void *, register_t *);
 1724 
 1725 int     sys_readlink(struct lwp *, void *, register_t *);
 1726 
 1727 int     sys_execve(struct lwp *, void *, register_t *);
 1728 
 1729 int     sys_umask(struct lwp *, void *, register_t *);
 1730 
 1731 int     sys_chroot(struct lwp *, void *, register_t *);
 1732 
 1733 int     compat_43_sys_fstat(struct lwp *, void *, register_t *);
 1734 
 1735 int     compat_43_sys_getkerninfo(struct lwp *, void *, register_t *);
 1736 
 1737 int     compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
 1738 
 1739 int     compat_12_sys_msync(struct lwp *, void *, register_t *);
 1740 
 1741 int     sys_vfork(struct lwp *, void *, register_t *);
 1742 
 1743 int     sys_sbrk(struct lwp *, void *, register_t *);
 1744 
 1745 int     sys_sstk(struct lwp *, void *, register_t *);
 1746 
 1747 int     compat_43_sys_mmap(struct lwp *, void *, register_t *);
 1748 
 1749 int     sys_ovadvise(struct lwp *, void *, register_t *);
 1750 
 1751 int     sys_munmap(struct lwp *, void *, register_t *);
 1752 
 1753 int     sys_mprotect(struct lwp *, void *, register_t *);
 1754 
 1755 int     sys_madvise(struct lwp *, void *, register_t *);
 1756 
 1757 int     sys_mincore(struct lwp *, void *, register_t *);
 1758 
 1759 int     sys_getgroups(struct lwp *, void *, register_t *);
 1760 
 1761 int     sys_setgroups(struct lwp *, void *, register_t *);
 1762 
 1763 int     sys_getpgrp(struct lwp *, void *, register_t *);
 1764 
 1765 int     sys_setpgid(struct lwp *, void *, register_t *);
 1766 
 1767 int     sys_setitimer(struct lwp *, void *, register_t *);
 1768 
 1769 int     compat_43_sys_wait(struct lwp *, void *, register_t *);
 1770 
 1771 int     compat_12_sys_swapon(struct lwp *, void *, register_t *);
 1772 
 1773 int     sys_getitimer(struct lwp *, void *, register_t *);
 1774 
 1775 int     compat_43_sys_gethostname(struct lwp *, void *, register_t *);
 1776 
 1777 int     compat_43_sys_sethostname(struct lwp *, void *, register_t *);
 1778 
 1779 int     compat_43_sys_getdtablesize(struct lwp *, void *, register_t *);
 1780 
 1781 int     sys_dup2(struct lwp *, void *, register_t *);
 1782 
 1783 int     sys_fcntl(struct lwp *, void *, register_t *);
 1784 
 1785 int     sys_select(struct lwp *, void *, register_t *);
 1786 
 1787 int     sys_fsync(struct lwp *, void *, register_t *);
 1788 
 1789 int     sys_setpriority(struct lwp *, void *, register_t *);
 1790 
 1791 int     sys_socket(struct lwp *, void *, register_t *);
 1792 
 1793 int     sys_connect(struct lwp *, void *, register_t *);
 1794 
 1795 int     compat_43_sys_accept(struct lwp *, void *, register_t *);
 1796 
 1797 int     sys_getpriority(struct lwp *, void *, register_t *);
 1798 
 1799 int     compat_43_sys_send(struct lwp *, void *, register_t *);
 1800 
 1801 int     compat_43_sys_recv(struct lwp *, void *, register_t *);
 1802 
 1803 int     compat_13_sys_sigreturn(struct lwp *, void *, register_t *);
 1804 
 1805 int     sys_bind(struct lwp *, void *, register_t *);
 1806 
 1807 int     sys_setsockopt(struct lwp *, void *, register_t *);
 1808 
 1809 int     sys_listen(struct lwp *, void *, register_t *);
 1810 
 1811 int     compat_43_sys_sigvec(struct lwp *, void *, register_t *);
 1812 
 1813 int     compat_43_sys_sigblock(struct lwp *, void *, register_t *);
 1814 
 1815 int     compat_43_sys_sigsetmask(struct lwp *, void *, register_t *);
 1816 
 1817 int     compat_13_sys_sigsuspend(struct lwp *, void *, register_t *);
 1818 
 1819 int     compat_43_sys_sigstack(struct lwp *, void *, register_t *);
 1820 
 1821 int     compat_43_sys_recvmsg(struct lwp *, void *, register_t *);
 1822 
 1823 int     compat_43_sys_sendmsg(struct lwp *, void *, register_t *);
 1824 
 1825 int     sys_gettimeofday(struct lwp *, void *, register_t *);
 1826 
 1827 int     sys_getrusage(struct lwp *, void *, register_t *);
 1828 
 1829 int     sys_getsockopt(struct lwp *, void *, register_t *);
 1830 
 1831 int     sys_readv(struct lwp *, void *, register_t *);
 1832 
 1833 int     sys_writev(struct lwp *, void *, register_t *);
 1834 
 1835 int     sys_settimeofday(struct lwp *, void *, register_t *);
 1836 
 1837 int     sys_fchown(struct lwp *, void *, register_t *);
 1838 
 1839 int     sys_fchmod(struct lwp *, void *, register_t *);
 1840 
 1841 int     compat_43_sys_recvfrom(struct lwp *, void *, register_t *);
 1842 
 1843 int     sys_setreuid(struct lwp *, void *, register_t *);
 1844 
 1845 int     sys_setregid(struct lwp *, void *, register_t *);
 1846 
 1847 int     sys_rename(struct lwp *, void *, register_t *);
 1848 
 1849 int     compat_43_sys_truncate(struct lwp *, void *, register_t *);
 1850 
 1851 int     compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
 1852 
 1853 int     sys_flock(struct lwp *, void *, register_t *);
 1854 
 1855 int     sys_mkfifo(struct lwp *, void *, register_t *);
 1856 
 1857 int     sys_sendto(struct lwp *, void *, register_t *);
 1858 
 1859 int     sys_shutdown(struct lwp *, void *, register_t *);
 1860 
 1861 int     sys_socketpair(struct lwp *, void *, register_t *);
 1862 
 1863 int     sys_mkdir(struct lwp *, void *, register_t *);
 1864 
 1865 int     sys_rmdir(struct lwp *, void *, register_t *);
 1866 
 1867 int     sys_utimes(struct lwp *, void *, register_t *);
 1868 
 1869 int     sys_adjtime(struct lwp *, void *, register_t *);
 1870 
 1871 int     compat_43_sys_getpeername(struct lwp *, void *, register_t *);
 1872 
 1873 int     compat_43_sys_gethostid(struct lwp *, void *, register_t *);
 1874 
 1875 int     compat_43_sys_sethostid(struct lwp *, void *, register_t *);
 1876 
 1877 int     compat_43_sys_getrlimit(struct lwp *, void *, register_t *);
 1878 
 1879 int     compat_43_sys_setrlimit(struct lwp *, void *, register_t *);
 1880 
 1881 int     compat_43_sys_killpg(struct lwp *, void *, register_t *);
 1882 
 1883 int     sys_setsid(struct lwp *, void *, register_t *);
 1884 
 1885 int     sys_quotactl(struct lwp *, void *, register_t *);
 1886 
 1887 int     compat_43_sys_quota(struct lwp *, void *, register_t *);
 1888 
 1889 int     compat_43_sys_getsockname(struct lwp *, void *, register_t *);
 1890 
 1891 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
 1892 int     sys_nfssvc(struct lwp *, void *, register_t *);
 1893 
 1894 #else
 1895 #endif
 1896 int     compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
 1897 
 1898 int     compat_20_sys_statfs(struct lwp *, void *, register_t *);
 1899 
 1900 int     compat_20_sys_fstatfs(struct lwp *, void *, register_t *);
 1901 
 1902 int     sys_getfh(struct lwp *, void *, register_t *);
 1903 
 1904 int     compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
 1905 
 1906 int     compat_09_sys_setdomainname(struct lwp *, void *, register_t *);
 1907 
 1908 int     compat_09_sys_uname(struct lwp *, void *, register_t *);
 1909 
 1910 int     sys_sysarch(struct lwp *, void *, register_t *);
 1911 
 1912 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64)
 1913 int     compat_10_sys_semsys(struct lwp *, void *, register_t *);
 1914 
 1915 #else
 1916 #endif
 1917 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64)
 1918 int     compat_10_sys_msgsys(struct lwp *, void *, register_t *);
 1919 
 1920 #else
 1921 #endif
 1922 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64)
 1923 int     compat_10_sys_shmsys(struct lwp *, void *, register_t *);
 1924 
 1925 #else
 1926 #endif
 1927 int     sys_pread(struct lwp *, void *, register_t *);
 1928 
 1929 int     sys_pwrite(struct lwp *, void *, register_t *);
 1930 
 1931 int     sys_ntp_gettime(struct lwp *, void *, register_t *);
 1932 
 1933 #if defined(NTP) || !defined(_KERNEL)
 1934 int     sys_ntp_adjtime(struct lwp *, void *, register_t *);
 1935 
 1936 #else
 1937 #endif
 1938 int     sys_setgid(struct lwp *, void *, register_t *);
 1939 
 1940 int     sys_setegid(struct lwp *, void *, register_t *);
 1941 
 1942 int     sys_seteuid(struct lwp *, void *, register_t *);
 1943 
 1944 #if defined(LFS) || !defined(_KERNEL)
 1945 int     sys_lfs_bmapv(struct lwp *, void *, register_t *);
 1946 
 1947 int     sys_lfs_markv(struct lwp *, void *, register_t *);
 1948 
 1949 int     sys_lfs_segclean(struct lwp *, void *, register_t *);
 1950 
 1951 int     sys_lfs_segwait(struct lwp *, void *, register_t *);
 1952 
 1953 #else
 1954 #endif
 1955 int     compat_12_sys_stat(struct lwp *, void *, register_t *);
 1956 
 1957 int     compat_12_sys_fstat(struct lwp *, void *, register_t *);
 1958 
 1959 int     compat_12_sys_lstat(struct lwp *, void *, register_t *);
 1960 
 1961 int     sys_pathconf(struct lwp *, void *, register_t *);
 1962 
 1963 int     sys_fpathconf(struct lwp *, void *, register_t *);
 1964 
 1965 int     sys_getrlimit(struct lwp *, void *, register_t *);
 1966 
 1967 int     sys_setrlimit(struct lwp *, void *, register_t *);
 1968 
 1969 int     compat_12_sys_getdirentries(struct lwp *, void *, register_t *);
 1970 
 1971 int     sys_mmap(struct lwp *, void *, register_t *);
 1972 
 1973 int     sys_lseek(struct lwp *, void *, register_t *);
 1974 
 1975 int     sys_truncate(struct lwp *, void *, register_t *);
 1976 
 1977 int     sys_ftruncate(struct lwp *, void *, register_t *);
 1978 
 1979 int     sys___sysctl(struct lwp *, void *, register_t *);
 1980 
 1981 int     sys_mlock(struct lwp *, void *, register_t *);
 1982 
 1983 int     sys_munlock(struct lwp *, void *, register_t *);
 1984 
 1985 int     sys_undelete(struct lwp *, void *, register_t *);
 1986 
 1987 int     sys_futimes(struct lwp *, void *, register_t *);
 1988 
 1989 int     sys_getpgid(struct lwp *, void *, register_t *);
 1990 
 1991 int     sys_reboot(struct lwp *, void *, register_t *);
 1992 
 1993 int     sys_poll(struct lwp *, void *, register_t *);
 1994 
 1995 #if defined(LKM) || !defined(_KERNEL)
 1996 int     sys_lkmnosys(struct lwp *, void *, register_t *);
 1997 
 1998 #else   /* !LKM */
 1999 #endif  /* !LKM */
 2000 #if defined(SYSVSEM) || !defined(_KERNEL)
 2001 int     compat_14_sys___semctl(struct lwp *, void *, register_t *);
 2002 
 2003 int     sys_semget(struct lwp *, void *, register_t *);
 2004 
 2005 int     sys_semop(struct lwp *, void *, register_t *);
 2006 
 2007 int     sys_semconfig(struct lwp *, void *, register_t *);
 2008 
 2009 #else
 2010 #endif
 2011 #if defined(SYSVMSG) || !defined(_KERNEL)
 2012 int     compat_14_sys_msgctl(struct lwp *, void *, register_t *);
 2013 
 2014 int     sys_msgget(struct lwp *, void *, register_t *);
 2015 
 2016 int     sys_msgsnd(struct lwp *, void *, register_t *);
 2017 
 2018 int     sys_msgrcv(struct lwp *, void *, register_t *);
 2019 
 2020 #else
 2021 #endif
 2022 #if defined(SYSVSHM) || !defined(_KERNEL)
 2023 int     sys_shmat(struct lwp *, void *, register_t *);
 2024 
 2025 int     compat_14_sys_shmctl(struct lwp *, void *, register_t *);
 2026 
 2027 int     sys_shmdt(struct lwp *, void *, register_t *);
 2028 
 2029 int     sys_shmget(struct lwp *, void *, register_t *);
 2030 
 2031 #else
 2032 #endif
 2033 int     sys_clock_gettime(struct lwp *, void *, register_t *);
 2034 
 2035 int     sys_clock_settime(struct lwp *, void *, register_t *);
 2036 
 2037 int     sys_clock_getres(struct lwp *, void *, register_t *);
 2038 
 2039 int     sys_timer_create(struct lwp *, void *, register_t *);
 2040 
 2041 int     sys_timer_delete(struct lwp *, void *, register_t *);
 2042 
 2043 int     sys_timer_settime(struct lwp *, void *, register_t *);
 2044 
 2045 int     sys_timer_gettime(struct lwp *, void *, register_t *);
 2046 
 2047 int     sys_timer_getoverrun(struct lwp *, void *, register_t *);
 2048 
 2049 int     sys_nanosleep(struct lwp *, void *, register_t *);
 2050 
 2051 int     sys_fdatasync(struct lwp *, void *, register_t *);
 2052 
 2053 int     sys_mlockall(struct lwp *, void *, register_t *);
 2054 
 2055 int     sys_munlockall(struct lwp *, void *, register_t *);
 2056 
 2057 int     sys___sigtimedwait(struct lwp *, void *, register_t *);
 2058 
 2059 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
 2060 int     sys__ksem_init(struct lwp *, void *, register_t *);
 2061 
 2062 int     sys__ksem_open(struct lwp *, void *, register_t *);
 2063 
 2064 int     sys__ksem_unlink(struct lwp *, void *, register_t *);
 2065 
 2066 int     sys__ksem_close(struct lwp *, void *, register_t *);
 2067 
 2068 int     sys__ksem_post(struct lwp *, void *, register_t *);
 2069 
 2070 int     sys__ksem_wait(struct lwp *, void *, register_t *);
 2071 
 2072 int     sys__ksem_trywait(struct lwp *, void *, register_t *);
 2073 
 2074 int     sys__ksem_getvalue(struct lwp *, void *, register_t *);
 2075 
 2076 int     sys__ksem_destroy(struct lwp *, void *, register_t *);
 2077 
 2078 #else
 2079 #endif
 2080 int     sys___posix_rename(struct lwp *, void *, register_t *);
 2081 
 2082 int     sys_swapctl(struct lwp *, void *, register_t *);
 2083 
 2084 int     sys_getdents(struct lwp *, void *, register_t *);
 2085 
 2086 int     sys_minherit(struct lwp *, void *, register_t *);
 2087 
 2088 int     sys_lchmod(struct lwp *, void *, register_t *);
 2089 
 2090 int     sys_lchown(struct lwp *, void *, register_t *);
 2091 
 2092 int     sys_lutimes(struct lwp *, void *, register_t *);
 2093 
 2094 int     sys___msync13(struct lwp *, void *, register_t *);
 2095 
 2096 int     sys___stat13(struct lwp *, void *, register_t *);
 2097 
 2098 int     sys___fstat13(struct lwp *, void *, register_t *);
 2099 
 2100 int     sys___lstat13(struct lwp *, void *, register_t *);
 2101 
 2102 int     sys___sigaltstack14(struct lwp *, void *, register_t *);
 2103 
 2104 int     sys___vfork14(struct lwp *, void *, register_t *);
 2105 
 2106 int     sys___posix_chown(struct lwp *, void *, register_t *);
 2107 
 2108 int     sys___posix_fchown(struct lwp *, void *, register_t *);
 2109 
 2110 int     sys___posix_lchown(struct lwp *, void *, register_t *);
 2111 
 2112 int     sys_getsid(struct lwp *, void *, register_t *);
 2113 
 2114 int     sys___clone(struct lwp *, void *, register_t *);
 2115 
 2116 #if defined(KTRACE) || !defined(_KERNEL)
 2117 int     sys_fktrace(struct lwp *, void *, register_t *);
 2118 
 2119 #else
 2120 #endif
 2121 int     sys_preadv(struct lwp *, void *, register_t *);
 2122 
 2123 int     sys_pwritev(struct lwp *, void *, register_t *);
 2124 
 2125 int     compat_16_sys___sigaction14(struct lwp *, void *, register_t *);
 2126 
 2127 int     sys___sigpending14(struct lwp *, void *, register_t *);
 2128 
 2129 int     sys___sigprocmask14(struct lwp *, void *, register_t *);
 2130 
 2131 int     sys___sigsuspend14(struct lwp *, void *, register_t *);
 2132 
 2133 int     compat_16_sys___sigreturn14(struct lwp *, void *, register_t *);
 2134 
 2135 int     sys___getcwd(struct lwp *, void *, register_t *);
 2136 
 2137 int     sys_fchroot(struct lwp *, void *, register_t *);
 2138 
 2139 int     sys_fhopen(struct lwp *, void *, register_t *);
 2140 
 2141 int     sys_fhstat(struct lwp *, void *, register_t *);
 2142 
 2143 int     compat_20_sys_fhstatfs(struct lwp *, void *, register_t *);
 2144 
 2145 #if defined(SYSVSEM) || !defined(_KERNEL)
 2146 int     sys_____semctl13(struct lwp *, void *, register_t *);
 2147 
 2148 #else
 2149 #endif
 2150 #if defined(SYSVMSG) || !defined(_KERNEL)
 2151 int     sys___msgctl13(struct lwp *, void *, register_t *);
 2152 
 2153 #else
 2154 #endif
 2155 #if defined(SYSVSHM) || !defined(_KERNEL)
 2156 int     sys___shmctl13(struct lwp *, void *, register_t *);
 2157 
 2158 #else
 2159 #endif
 2160 int     sys_lchflags(struct lwp *, void *, register_t *);
 2161 
 2162 int     sys_issetugid(struct lwp *, void *, register_t *);
 2163 
 2164 int     sys_utrace(struct lwp *, void *, register_t *);
 2165 
 2166 int     sys_getcontext(struct lwp *, void *, register_t *);
 2167 
 2168 int     sys_setcontext(struct lwp *, void *, register_t *);
 2169 
 2170 int     sys__lwp_create(struct lwp *, void *, register_t *);
 2171 
 2172 int     sys__lwp_exit(struct lwp *, void *, register_t *);
 2173 
 2174 int     sys__lwp_self(struct lwp *, void *, register_t *);
 2175 
 2176 int     sys__lwp_wait(struct lwp *, void *, register_t *);
 2177 
 2178 int     sys__lwp_suspend(struct lwp *, void *, register_t *);
 2179 
 2180 int     sys__lwp_continue(struct lwp *, void *, register_t *);
 2181 
 2182 int     sys__lwp_wakeup(struct lwp *, void *, register_t *);
 2183 
 2184 int     sys__lwp_getprivate(struct lwp *, void *, register_t *);
 2185 
 2186 int     sys__lwp_setprivate(struct lwp *, void *, register_t *);
 2187 
 2188 int     sys_sa_register(struct lwp *, void *, register_t *);
 2189 
 2190 int     sys_sa_stacks(struct lwp *, void *, register_t *);
 2191 
 2192 int     sys_sa_enable(struct lwp *, void *, register_t *);
 2193 
 2194 int     sys_sa_setconcurrency(struct lwp *, void *, register_t *);
 2195 
 2196 int     sys_sa_yield(struct lwp *, void *, register_t *);
 2197 
 2198 int     sys_sa_preempt(struct lwp *, void *, register_t *);
 2199 
 2200 int     sys___sigaction_sigtramp(struct lwp *, void *, register_t *);
 2201 
 2202 int     sys_pmc_get_info(struct lwp *, void *, register_t *);
 2203 
 2204 int     sys_pmc_control(struct lwp *, void *, register_t *);
 2205 
 2206 int     sys_rasctl(struct lwp *, void *, register_t *);
 2207 
 2208 int     sys_kqueue(struct lwp *, void *, register_t *);
 2209 
 2210 int     sys_kevent(struct lwp *, void *, register_t *);
 2211 
 2212 int     sys_fsync_range(struct lwp *, void *, register_t *);
 2213 
 2214 int     sys_uuidgen(struct lwp *, void *, register_t *);
 2215 
 2216 int     sys_getvfsstat(struct lwp *, void *, register_t *);
 2217 
 2218 int     sys_statvfs1(struct lwp *, void *, register_t *);
 2219 
 2220 int     sys_fstatvfs1(struct lwp *, void *, register_t *);
 2221 
 2222 int     sys_fhstatvfs1(struct lwp *, void *, register_t *);
 2223 
 2224 int     sys_extattrctl(struct lwp *, void *, register_t *);
 2225 
 2226 int     sys_extattr_set_file(struct lwp *, void *, register_t *);
 2227 
 2228 int     sys_extattr_get_file(struct lwp *, void *, register_t *);
 2229 
 2230 int     sys_extattr_delete_file(struct lwp *, void *, register_t *);
 2231 
 2232 int     sys_extattr_set_fd(struct lwp *, void *, register_t *);
 2233 
 2234 int     sys_extattr_get_fd(struct lwp *, void *, register_t *);
 2235 
 2236 int     sys_extattr_delete_fd(struct lwp *, void *, register_t *);
 2237 
 2238 int     sys_extattr_set_link(struct lwp *, void *, register_t *);
 2239 
 2240 int     sys_extattr_get_link(struct lwp *, void *, register_t *);
 2241 
 2242 int     sys_extattr_delete_link(struct lwp *, void *, register_t *);
 2243 
 2244 int     sys_extattr_list_fd(struct lwp *, void *, register_t *);
 2245 
 2246 int     sys_extattr_list_file(struct lwp *, void *, register_t *);
 2247 
 2248 int     sys_extattr_list_link(struct lwp *, void *, register_t *);
 2249 
 2250 int     sys_pselect(struct lwp *, void *, register_t *);
 2251 
 2252 int     sys_pollts(struct lwp *, void *, register_t *);
 2253 
 2254 #endif /* _SYS__SYSCALLARGS_H_ */

Cache object: 580117c794caa6433e4a312c5adf2ee8


[ 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.