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/compat/freebsd32/freebsd32_systrace_args.c

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 /*
    2  * System call argument to DTrace register array converstion.
    3  *
    4  * DO NOT EDIT-- this file is automatically generated.
    5  * $FreeBSD$
    6  * This file is part of the DTrace syscall provider.
    7  */
    8 
    9 static void
   10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
   11 {
   12         int64_t *iarg  = (int64_t *) uarg;
   13         switch (sysnum) {
   14 #if !defined(PAD64_REQUIRED) && defined(__powerpc__)
   15 #define PAD64_REQUIRED
   16 #endif
   17         /* nosys */
   18         case 0: {
   19                 *n_args = 0;
   20                 break;
   21         }
   22         /* sys_exit */
   23         case 1: {
   24                 struct sys_exit_args *p = params;
   25                 iarg[0] = p->rval; /* int */
   26                 *n_args = 1;
   27                 break;
   28         }
   29         /* fork */
   30         case 2: {
   31                 *n_args = 0;
   32                 break;
   33         }
   34         /* read */
   35         case 3: {
   36                 struct read_args *p = params;
   37                 iarg[0] = p->fd; /* int */
   38                 uarg[1] = (intptr_t) p->buf; /* void * */
   39                 uarg[2] = p->nbyte; /* size_t */
   40                 *n_args = 3;
   41                 break;
   42         }
   43         /* write */
   44         case 4: {
   45                 struct write_args *p = params;
   46                 iarg[0] = p->fd; /* int */
   47                 uarg[1] = (intptr_t) p->buf; /* const void * */
   48                 uarg[2] = p->nbyte; /* size_t */
   49                 *n_args = 3;
   50                 break;
   51         }
   52         /* open */
   53         case 5: {
   54                 struct open_args *p = params;
   55                 uarg[0] = (intptr_t) p->path; /* char * */
   56                 iarg[1] = p->flags; /* int */
   57                 iarg[2] = p->mode; /* int */
   58                 *n_args = 3;
   59                 break;
   60         }
   61         /* close */
   62         case 6: {
   63                 struct close_args *p = params;
   64                 iarg[0] = p->fd; /* int */
   65                 *n_args = 1;
   66                 break;
   67         }
   68         /* freebsd32_wait4 */
   69         case 7: {
   70                 struct freebsd32_wait4_args *p = params;
   71                 iarg[0] = p->pid; /* int */
   72                 uarg[1] = (intptr_t) p->status; /* int * */
   73                 iarg[2] = p->options; /* int */
   74                 uarg[3] = (intptr_t) p->rusage; /* struct rusage32 * */
   75                 *n_args = 4;
   76                 break;
   77         }
   78         /* link */
   79         case 9: {
   80                 struct link_args *p = params;
   81                 uarg[0] = (intptr_t) p->path; /* char * */
   82                 uarg[1] = (intptr_t) p->link; /* char * */
   83                 *n_args = 2;
   84                 break;
   85         }
   86         /* unlink */
   87         case 10: {
   88                 struct unlink_args *p = params;
   89                 uarg[0] = (intptr_t) p->path; /* char * */
   90                 *n_args = 1;
   91                 break;
   92         }
   93         /* chdir */
   94         case 12: {
   95                 struct chdir_args *p = params;
   96                 uarg[0] = (intptr_t) p->path; /* char * */
   97                 *n_args = 1;
   98                 break;
   99         }
  100         /* fchdir */
  101         case 13: {
  102                 struct fchdir_args *p = params;
  103                 iarg[0] = p->fd; /* int */
  104                 *n_args = 1;
  105                 break;
  106         }
  107         /* mknod */
  108         case 14: {
  109                 struct mknod_args *p = params;
  110                 uarg[0] = (intptr_t) p->path; /* char * */
  111                 iarg[1] = p->mode; /* int */
  112                 iarg[2] = p->dev; /* int */
  113                 *n_args = 3;
  114                 break;
  115         }
  116         /* chmod */
  117         case 15: {
  118                 struct chmod_args *p = params;
  119                 uarg[0] = (intptr_t) p->path; /* char * */
  120                 iarg[1] = p->mode; /* int */
  121                 *n_args = 2;
  122                 break;
  123         }
  124         /* chown */
  125         case 16: {
  126                 struct chown_args *p = params;
  127                 uarg[0] = (intptr_t) p->path; /* char * */
  128                 iarg[1] = p->uid; /* int */
  129                 iarg[2] = p->gid; /* int */
  130                 *n_args = 3;
  131                 break;
  132         }
  133         /* obreak */
  134         case 17: {
  135                 struct obreak_args *p = params;
  136                 uarg[0] = (intptr_t) p->nsize; /* char * */
  137                 *n_args = 1;
  138                 break;
  139         }
  140         /* getpid */
  141         case 20: {
  142                 *n_args = 0;
  143                 break;
  144         }
  145         /* mount */
  146         case 21: {
  147                 struct mount_args *p = params;
  148                 uarg[0] = (intptr_t) p->type; /* char * */
  149                 uarg[1] = (intptr_t) p->path; /* char * */
  150                 iarg[2] = p->flags; /* int */
  151                 uarg[3] = (intptr_t) p->data; /* caddr_t */
  152                 *n_args = 4;
  153                 break;
  154         }
  155         /* unmount */
  156         case 22: {
  157                 struct unmount_args *p = params;
  158                 uarg[0] = (intptr_t) p->path; /* char * */
  159                 iarg[1] = p->flags; /* int */
  160                 *n_args = 2;
  161                 break;
  162         }
  163         /* setuid */
  164         case 23: {
  165                 struct setuid_args *p = params;
  166                 uarg[0] = p->uid; /* uid_t */
  167                 *n_args = 1;
  168                 break;
  169         }
  170         /* getuid */
  171         case 24: {
  172                 *n_args = 0;
  173                 break;
  174         }
  175         /* geteuid */
  176         case 25: {
  177                 *n_args = 0;
  178                 break;
  179         }
  180         /* ptrace */
  181         case 26: {
  182                 struct ptrace_args *p = params;
  183                 iarg[0] = p->req; /* int */
  184                 iarg[1] = p->pid; /* pid_t */
  185                 uarg[2] = (intptr_t) p->addr; /* caddr_t */
  186                 iarg[3] = p->data; /* int */
  187                 *n_args = 4;
  188                 break;
  189         }
  190         /* freebsd32_recvmsg */
  191         case 27: {
  192                 struct freebsd32_recvmsg_args *p = params;
  193                 iarg[0] = p->s; /* int */
  194                 uarg[1] = (intptr_t) p->msg; /* struct msghdr32 * */
  195                 iarg[2] = p->flags; /* int */
  196                 *n_args = 3;
  197                 break;
  198         }
  199         /* freebsd32_sendmsg */
  200         case 28: {
  201                 struct freebsd32_sendmsg_args *p = params;
  202                 iarg[0] = p->s; /* int */
  203                 uarg[1] = (intptr_t) p->msg; /* struct msghdr32 * */
  204                 iarg[2] = p->flags; /* int */
  205                 *n_args = 3;
  206                 break;
  207         }
  208         /* freebsd32_recvfrom */
  209         case 29: {
  210                 struct freebsd32_recvfrom_args *p = params;
  211                 iarg[0] = p->s; /* int */
  212                 uarg[1] = p->buf; /* u_int32_t */
  213                 uarg[2] = p->len; /* u_int32_t */
  214                 iarg[3] = p->flags; /* int */
  215                 uarg[4] = p->from; /* u_int32_t */
  216                 uarg[5] = p->fromlenaddr; /* u_int32_t */
  217                 *n_args = 6;
  218                 break;
  219         }
  220         /* accept */
  221         case 30: {
  222                 struct accept_args *p = params;
  223                 iarg[0] = p->s; /* int */
  224                 uarg[1] = (intptr_t) p->name; /* caddr_t */
  225                 uarg[2] = (intptr_t) p->anamelen; /* int * */
  226                 *n_args = 3;
  227                 break;
  228         }
  229         /* getpeername */
  230         case 31: {
  231                 struct getpeername_args *p = params;
  232                 iarg[0] = p->fdes; /* int */
  233                 uarg[1] = (intptr_t) p->asa; /* caddr_t */
  234                 uarg[2] = (intptr_t) p->alen; /* int * */
  235                 *n_args = 3;
  236                 break;
  237         }
  238         /* getsockname */
  239         case 32: {
  240                 struct getsockname_args *p = params;
  241                 iarg[0] = p->fdes; /* int */
  242                 uarg[1] = (intptr_t) p->asa; /* caddr_t */
  243                 uarg[2] = (intptr_t) p->alen; /* int * */
  244                 *n_args = 3;
  245                 break;
  246         }
  247         /* access */
  248         case 33: {
  249                 struct access_args *p = params;
  250                 uarg[0] = (intptr_t) p->path; /* char * */
  251                 iarg[1] = p->flags; /* int */
  252                 *n_args = 2;
  253                 break;
  254         }
  255         /* chflags */
  256         case 34: {
  257                 struct chflags_args *p = params;
  258                 uarg[0] = (intptr_t) p->path; /* char * */
  259                 iarg[1] = p->flags; /* int */
  260                 *n_args = 2;
  261                 break;
  262         }
  263         /* fchflags */
  264         case 35: {
  265                 struct fchflags_args *p = params;
  266                 iarg[0] = p->fd; /* int */
  267                 iarg[1] = p->flags; /* int */
  268                 *n_args = 2;
  269                 break;
  270         }
  271         /* sync */
  272         case 36: {
  273                 *n_args = 0;
  274                 break;
  275         }
  276         /* kill */
  277         case 37: {
  278                 struct kill_args *p = params;
  279                 iarg[0] = p->pid; /* int */
  280                 iarg[1] = p->signum; /* int */
  281                 *n_args = 2;
  282                 break;
  283         }
  284         /* getppid */
  285         case 39: {
  286                 *n_args = 0;
  287                 break;
  288         }
  289         /* dup */
  290         case 41: {
  291                 struct dup_args *p = params;
  292                 uarg[0] = p->fd; /* u_int */
  293                 *n_args = 1;
  294                 break;
  295         }
  296         /* pipe */
  297         case 42: {
  298                 *n_args = 0;
  299                 break;
  300         }
  301         /* getegid */
  302         case 43: {
  303                 *n_args = 0;
  304                 break;
  305         }
  306         /* profil */
  307         case 44: {
  308                 struct profil_args *p = params;
  309                 uarg[0] = (intptr_t) p->samples; /* caddr_t */
  310                 uarg[1] = p->size; /* size_t */
  311                 uarg[2] = p->offset; /* size_t */
  312                 uarg[3] = p->scale; /* u_int */
  313                 *n_args = 4;
  314                 break;
  315         }
  316         /* ktrace */
  317         case 45: {
  318                 struct ktrace_args *p = params;
  319                 uarg[0] = (intptr_t) p->fname; /* const char * */
  320                 iarg[1] = p->ops; /* int */
  321                 iarg[2] = p->facs; /* int */
  322                 iarg[3] = p->pid; /* int */
  323                 *n_args = 4;
  324                 break;
  325         }
  326         /* getgid */
  327         case 47: {
  328                 *n_args = 0;
  329                 break;
  330         }
  331         /* getlogin */
  332         case 49: {
  333                 struct getlogin_args *p = params;
  334                 uarg[0] = (intptr_t) p->namebuf; /* char * */
  335                 uarg[1] = p->namelen; /* u_int */
  336                 *n_args = 2;
  337                 break;
  338         }
  339         /* setlogin */
  340         case 50: {
  341                 struct setlogin_args *p = params;
  342                 uarg[0] = (intptr_t) p->namebuf; /* char * */
  343                 *n_args = 1;
  344                 break;
  345         }
  346         /* acct */
  347         case 51: {
  348                 struct acct_args *p = params;
  349                 uarg[0] = (intptr_t) p->path; /* char * */
  350                 *n_args = 1;
  351                 break;
  352         }
  353         /* freebsd32_sigaltstack */
  354         case 53: {
  355                 struct freebsd32_sigaltstack_args *p = params;
  356                 uarg[0] = (intptr_t) p->ss; /* struct sigaltstack32 * */
  357                 uarg[1] = (intptr_t) p->oss; /* struct sigaltstack32 * */
  358                 *n_args = 2;
  359                 break;
  360         }
  361         /* freebsd32_ioctl */
  362         case 54: {
  363                 struct freebsd32_ioctl_args *p = params;
  364                 iarg[0] = p->fd; /* int */
  365                 uarg[1] = p->com; /* uint32_t */
  366                 uarg[2] = (intptr_t) p->data; /* struct md_ioctl32 * */
  367                 *n_args = 3;
  368                 break;
  369         }
  370         /* reboot */
  371         case 55: {
  372                 struct reboot_args *p = params;
  373                 iarg[0] = p->opt; /* int */
  374                 *n_args = 1;
  375                 break;
  376         }
  377         /* revoke */
  378         case 56: {
  379                 struct revoke_args *p = params;
  380                 uarg[0] = (intptr_t) p->path; /* char * */
  381                 *n_args = 1;
  382                 break;
  383         }
  384         /* symlink */
  385         case 57: {
  386                 struct symlink_args *p = params;
  387                 uarg[0] = (intptr_t) p->path; /* char * */
  388                 uarg[1] = (intptr_t) p->link; /* char * */
  389                 *n_args = 2;
  390                 break;
  391         }
  392         /* readlink */
  393         case 58: {
  394                 struct readlink_args *p = params;
  395                 uarg[0] = (intptr_t) p->path; /* char * */
  396                 uarg[1] = (intptr_t) p->buf; /* char * */
  397                 uarg[2] = p->count; /* size_t */
  398                 *n_args = 3;
  399                 break;
  400         }
  401         /* freebsd32_execve */
  402         case 59: {
  403                 struct freebsd32_execve_args *p = params;
  404                 uarg[0] = (intptr_t) p->fname; /* char * */
  405                 uarg[1] = (intptr_t) p->argv; /* u_int32_t * */
  406                 uarg[2] = (intptr_t) p->envv; /* u_int32_t * */
  407                 *n_args = 3;
  408                 break;
  409         }
  410         /* umask */
  411         case 60: {
  412                 struct umask_args *p = params;
  413                 iarg[0] = p->newmask; /* int */
  414                 *n_args = 1;
  415                 break;
  416         }
  417         /* chroot */
  418         case 61: {
  419                 struct chroot_args *p = params;
  420                 uarg[0] = (intptr_t) p->path; /* char * */
  421                 *n_args = 1;
  422                 break;
  423         }
  424         /* msync */
  425         case 65: {
  426                 struct msync_args *p = params;
  427                 uarg[0] = (intptr_t) p->addr; /* void * */
  428                 uarg[1] = p->len; /* size_t */
  429                 iarg[2] = p->flags; /* int */
  430                 *n_args = 3;
  431                 break;
  432         }
  433         /* vfork */
  434         case 66: {
  435                 *n_args = 0;
  436                 break;
  437         }
  438         /* sbrk */
  439         case 69: {
  440                 struct sbrk_args *p = params;
  441                 iarg[0] = p->incr; /* int */
  442                 *n_args = 1;
  443                 break;
  444         }
  445         /* sstk */
  446         case 70: {
  447                 struct sstk_args *p = params;
  448                 iarg[0] = p->incr; /* int */
  449                 *n_args = 1;
  450                 break;
  451         }
  452         /* ovadvise */
  453         case 72: {
  454                 struct ovadvise_args *p = params;
  455                 iarg[0] = p->anom; /* int */
  456                 *n_args = 1;
  457                 break;
  458         }
  459         /* munmap */
  460         case 73: {
  461                 struct munmap_args *p = params;
  462                 uarg[0] = (intptr_t) p->addr; /* void * */
  463                 uarg[1] = p->len; /* size_t */
  464                 *n_args = 2;
  465                 break;
  466         }
  467         /* freebsd32_mprotect */
  468         case 74: {
  469                 struct freebsd32_mprotect_args *p = params;
  470                 uarg[0] = (intptr_t) p->addr; /* const void * */
  471                 uarg[1] = p->len; /* size_t */
  472                 iarg[2] = p->prot; /* int */
  473                 *n_args = 3;
  474                 break;
  475         }
  476         /* madvise */
  477         case 75: {
  478                 struct madvise_args *p = params;
  479                 uarg[0] = (intptr_t) p->addr; /* void * */
  480                 uarg[1] = p->len; /* size_t */
  481                 iarg[2] = p->behav; /* int */
  482                 *n_args = 3;
  483                 break;
  484         }
  485         /* mincore */
  486         case 78: {
  487                 struct mincore_args *p = params;
  488                 uarg[0] = (intptr_t) p->addr; /* const void * */
  489                 uarg[1] = p->len; /* size_t */
  490                 uarg[2] = (intptr_t) p->vec; /* char * */
  491                 *n_args = 3;
  492                 break;
  493         }
  494         /* getgroups */
  495         case 79: {
  496                 struct getgroups_args *p = params;
  497                 uarg[0] = p->gidsetsize; /* u_int */
  498                 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
  499                 *n_args = 2;
  500                 break;
  501         }
  502         /* setgroups */
  503         case 80: {
  504                 struct setgroups_args *p = params;
  505                 uarg[0] = p->gidsetsize; /* u_int */
  506                 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
  507                 *n_args = 2;
  508                 break;
  509         }
  510         /* getpgrp */
  511         case 81: {
  512                 *n_args = 0;
  513                 break;
  514         }
  515         /* setpgid */
  516         case 82: {
  517                 struct setpgid_args *p = params;
  518                 iarg[0] = p->pid; /* int */
  519                 iarg[1] = p->pgid; /* int */
  520                 *n_args = 2;
  521                 break;
  522         }
  523         /* freebsd32_setitimer */
  524         case 83: {
  525                 struct freebsd32_setitimer_args *p = params;
  526                 uarg[0] = p->which; /* u_int */
  527                 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
  528                 uarg[2] = (intptr_t) p->oitv; /* struct itimerval32 * */
  529                 *n_args = 3;
  530                 break;
  531         }
  532         /* swapon */
  533         case 85: {
  534                 struct swapon_args *p = params;
  535                 uarg[0] = (intptr_t) p->name; /* char * */
  536                 *n_args = 1;
  537                 break;
  538         }
  539         /* freebsd32_getitimer */
  540         case 86: {
  541                 struct freebsd32_getitimer_args *p = params;
  542                 uarg[0] = p->which; /* u_int */
  543                 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
  544                 *n_args = 2;
  545                 break;
  546         }
  547         /* getdtablesize */
  548         case 89: {
  549                 *n_args = 0;
  550                 break;
  551         }
  552         /* dup2 */
  553         case 90: {
  554                 struct dup2_args *p = params;
  555                 uarg[0] = p->from; /* u_int */
  556                 uarg[1] = p->to; /* u_int */
  557                 *n_args = 2;
  558                 break;
  559         }
  560         /* fcntl */
  561         case 92: {
  562                 struct fcntl_args *p = params;
  563                 iarg[0] = p->fd; /* int */
  564                 iarg[1] = p->cmd; /* int */
  565                 iarg[2] = p->arg; /* long */
  566                 *n_args = 3;
  567                 break;
  568         }
  569         /* freebsd32_select */
  570         case 93: {
  571                 struct freebsd32_select_args *p = params;
  572                 iarg[0] = p->nd; /* int */
  573                 uarg[1] = (intptr_t) p->in; /* fd_set * */
  574                 uarg[2] = (intptr_t) p->ou; /* fd_set * */
  575                 uarg[3] = (intptr_t) p->ex; /* fd_set * */
  576                 uarg[4] = (intptr_t) p->tv; /* struct timeval32 * */
  577                 *n_args = 5;
  578                 break;
  579         }
  580         /* fsync */
  581         case 95: {
  582                 struct fsync_args *p = params;
  583                 iarg[0] = p->fd; /* int */
  584                 *n_args = 1;
  585                 break;
  586         }
  587         /* setpriority */
  588         case 96: {
  589                 struct setpriority_args *p = params;
  590                 iarg[0] = p->which; /* int */
  591                 iarg[1] = p->who; /* int */
  592                 iarg[2] = p->prio; /* int */
  593                 *n_args = 3;
  594                 break;
  595         }
  596         /* socket */
  597         case 97: {
  598                 struct socket_args *p = params;
  599                 iarg[0] = p->domain; /* int */
  600                 iarg[1] = p->type; /* int */
  601                 iarg[2] = p->protocol; /* int */
  602                 *n_args = 3;
  603                 break;
  604         }
  605         /* connect */
  606         case 98: {
  607                 struct connect_args *p = params;
  608                 iarg[0] = p->s; /* int */
  609                 uarg[1] = (intptr_t) p->name; /* caddr_t */
  610                 iarg[2] = p->namelen; /* int */
  611                 *n_args = 3;
  612                 break;
  613         }
  614         /* getpriority */
  615         case 100: {
  616                 struct getpriority_args *p = params;
  617                 iarg[0] = p->which; /* int */
  618                 iarg[1] = p->who; /* int */
  619                 *n_args = 2;
  620                 break;
  621         }
  622         /* bind */
  623         case 104: {
  624                 struct bind_args *p = params;
  625                 iarg[0] = p->s; /* int */
  626                 uarg[1] = (intptr_t) p->name; /* caddr_t */
  627                 iarg[2] = p->namelen; /* int */
  628                 *n_args = 3;
  629                 break;
  630         }
  631         /* setsockopt */
  632         case 105: {
  633                 struct setsockopt_args *p = params;
  634                 iarg[0] = p->s; /* int */
  635                 iarg[1] = p->level; /* int */
  636                 iarg[2] = p->name; /* int */
  637                 uarg[3] = (intptr_t) p->val; /* caddr_t */
  638                 iarg[4] = p->valsize; /* int */
  639                 *n_args = 5;
  640                 break;
  641         }
  642         /* listen */
  643         case 106: {
  644                 struct listen_args *p = params;
  645                 iarg[0] = p->s; /* int */
  646                 iarg[1] = p->backlog; /* int */
  647                 *n_args = 2;
  648                 break;
  649         }
  650         /* freebsd32_gettimeofday */
  651         case 116: {
  652                 struct freebsd32_gettimeofday_args *p = params;
  653                 uarg[0] = (intptr_t) p->tp; /* struct timeval32 * */
  654                 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
  655                 *n_args = 2;
  656                 break;
  657         }
  658         /* freebsd32_getrusage */
  659         case 117: {
  660                 struct freebsd32_getrusage_args *p = params;
  661                 iarg[0] = p->who; /* int */
  662                 uarg[1] = (intptr_t) p->rusage; /* struct rusage32 * */
  663                 *n_args = 2;
  664                 break;
  665         }
  666         /* getsockopt */
  667         case 118: {
  668                 struct getsockopt_args *p = params;
  669                 iarg[0] = p->s; /* int */
  670                 iarg[1] = p->level; /* int */
  671                 iarg[2] = p->name; /* int */
  672                 uarg[3] = (intptr_t) p->val; /* caddr_t */
  673                 uarg[4] = (intptr_t) p->avalsize; /* int * */
  674                 *n_args = 5;
  675                 break;
  676         }
  677         /* freebsd32_readv */
  678         case 120: {
  679                 struct freebsd32_readv_args *p = params;
  680                 iarg[0] = p->fd; /* int */
  681                 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
  682                 uarg[2] = p->iovcnt; /* u_int */
  683                 *n_args = 3;
  684                 break;
  685         }
  686         /* freebsd32_writev */
  687         case 121: {
  688                 struct freebsd32_writev_args *p = params;
  689                 iarg[0] = p->fd; /* int */
  690                 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
  691                 uarg[2] = p->iovcnt; /* u_int */
  692                 *n_args = 3;
  693                 break;
  694         }
  695         /* freebsd32_settimeofday */
  696         case 122: {
  697                 struct freebsd32_settimeofday_args *p = params;
  698                 uarg[0] = (intptr_t) p->tv; /* struct timeval32 * */
  699                 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
  700                 *n_args = 2;
  701                 break;
  702         }
  703         /* fchown */
  704         case 123: {
  705                 struct fchown_args *p = params;
  706                 iarg[0] = p->fd; /* int */
  707                 iarg[1] = p->uid; /* int */
  708                 iarg[2] = p->gid; /* int */
  709                 *n_args = 3;
  710                 break;
  711         }
  712         /* fchmod */
  713         case 124: {
  714                 struct fchmod_args *p = params;
  715                 iarg[0] = p->fd; /* int */
  716                 iarg[1] = p->mode; /* int */
  717                 *n_args = 2;
  718                 break;
  719         }
  720         /* setreuid */
  721         case 126: {
  722                 struct setreuid_args *p = params;
  723                 iarg[0] = p->ruid; /* int */
  724                 iarg[1] = p->euid; /* int */
  725                 *n_args = 2;
  726                 break;
  727         }
  728         /* setregid */
  729         case 127: {
  730                 struct setregid_args *p = params;
  731                 iarg[0] = p->rgid; /* int */
  732                 iarg[1] = p->egid; /* int */
  733                 *n_args = 2;
  734                 break;
  735         }
  736         /* rename */
  737         case 128: {
  738                 struct rename_args *p = params;
  739                 uarg[0] = (intptr_t) p->from; /* char * */
  740                 uarg[1] = (intptr_t) p->to; /* char * */
  741                 *n_args = 2;
  742                 break;
  743         }
  744         /* flock */
  745         case 131: {
  746                 struct flock_args *p = params;
  747                 iarg[0] = p->fd; /* int */
  748                 iarg[1] = p->how; /* int */
  749                 *n_args = 2;
  750                 break;
  751         }
  752         /* mkfifo */
  753         case 132: {
  754                 struct mkfifo_args *p = params;
  755                 uarg[0] = (intptr_t) p->path; /* char * */
  756                 iarg[1] = p->mode; /* int */
  757                 *n_args = 2;
  758                 break;
  759         }
  760         /* sendto */
  761         case 133: {
  762                 struct sendto_args *p = params;
  763                 iarg[0] = p->s; /* int */
  764                 uarg[1] = (intptr_t) p->buf; /* caddr_t */
  765                 uarg[2] = p->len; /* size_t */
  766                 iarg[3] = p->flags; /* int */
  767                 uarg[4] = (intptr_t) p->to; /* caddr_t */
  768                 iarg[5] = p->tolen; /* int */
  769                 *n_args = 6;
  770                 break;
  771         }
  772         /* shutdown */
  773         case 134: {
  774                 struct shutdown_args *p = params;
  775                 iarg[0] = p->s; /* int */
  776                 iarg[1] = p->how; /* int */
  777                 *n_args = 2;
  778                 break;
  779         }
  780         /* socketpair */
  781         case 135: {
  782                 struct socketpair_args *p = params;
  783                 iarg[0] = p->domain; /* int */
  784                 iarg[1] = p->type; /* int */
  785                 iarg[2] = p->protocol; /* int */
  786                 uarg[3] = (intptr_t) p->rsv; /* int * */
  787                 *n_args = 4;
  788                 break;
  789         }
  790         /* mkdir */
  791         case 136: {
  792                 struct mkdir_args *p = params;
  793                 uarg[0] = (intptr_t) p->path; /* char * */
  794                 iarg[1] = p->mode; /* int */
  795                 *n_args = 2;
  796                 break;
  797         }
  798         /* rmdir */
  799         case 137: {
  800                 struct rmdir_args *p = params;
  801                 uarg[0] = (intptr_t) p->path; /* char * */
  802                 *n_args = 1;
  803                 break;
  804         }
  805         /* freebsd32_utimes */
  806         case 138: {
  807                 struct freebsd32_utimes_args *p = params;
  808                 uarg[0] = (intptr_t) p->path; /* char * */
  809                 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
  810                 *n_args = 2;
  811                 break;
  812         }
  813         /* freebsd32_adjtime */
  814         case 140: {
  815                 struct freebsd32_adjtime_args *p = params;
  816                 uarg[0] = (intptr_t) p->delta; /* struct timeval32 * */
  817                 uarg[1] = (intptr_t) p->olddelta; /* struct timeval32 * */
  818                 *n_args = 2;
  819                 break;
  820         }
  821         /* setsid */
  822         case 147: {
  823                 *n_args = 0;
  824                 break;
  825         }
  826         /* quotactl */
  827         case 148: {
  828                 struct quotactl_args *p = params;
  829                 uarg[0] = (intptr_t) p->path; /* char * */
  830                 iarg[1] = p->cmd; /* int */
  831                 iarg[2] = p->uid; /* int */
  832                 uarg[3] = (intptr_t) p->arg; /* caddr_t */
  833                 *n_args = 4;
  834                 break;
  835         }
  836         /* getfh */
  837         case 161: {
  838                 struct getfh_args *p = params;
  839                 uarg[0] = (intptr_t) p->fname; /* char * */
  840                 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
  841                 *n_args = 2;
  842                 break;
  843         }
  844         /* freebsd32_sysarch */
  845         case 165: {
  846                 struct freebsd32_sysarch_args *p = params;
  847                 iarg[0] = p->op; /* int */
  848                 uarg[1] = (intptr_t) p->parms; /* char * */
  849                 *n_args = 2;
  850                 break;
  851         }
  852         /* rtprio */
  853         case 166: {
  854                 struct rtprio_args *p = params;
  855                 iarg[0] = p->function; /* int */
  856                 iarg[1] = p->pid; /* pid_t */
  857                 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
  858                 *n_args = 3;
  859                 break;
  860         }
  861         /* freebsd32_semsys */
  862         case 169: {
  863                 struct freebsd32_semsys_args *p = params;
  864                 iarg[0] = p->which; /* int */
  865                 iarg[1] = p->a2; /* int */
  866                 iarg[2] = p->a3; /* int */
  867                 iarg[3] = p->a4; /* int */
  868                 iarg[4] = p->a5; /* int */
  869                 *n_args = 5;
  870                 break;
  871         }
  872         /* freebsd32_msgsys */
  873         case 170: {
  874                 struct freebsd32_msgsys_args *p = params;
  875                 iarg[0] = p->which; /* int */
  876                 iarg[1] = p->a2; /* int */
  877                 iarg[2] = p->a3; /* int */
  878                 iarg[3] = p->a4; /* int */
  879                 iarg[4] = p->a5; /* int */
  880                 iarg[5] = p->a6; /* int */
  881                 *n_args = 6;
  882                 break;
  883         }
  884         /* freebsd32_shmsys */
  885         case 171: {
  886                 struct freebsd32_shmsys_args *p = params;
  887                 uarg[0] = p->which; /* uint32_t */
  888                 uarg[1] = p->a2; /* uint32_t */
  889                 uarg[2] = p->a3; /* uint32_t */
  890                 uarg[3] = p->a4; /* uint32_t */
  891                 *n_args = 4;
  892                 break;
  893         }
  894         /* ntp_adjtime */
  895         case 176: {
  896                 struct ntp_adjtime_args *p = params;
  897                 uarg[0] = (intptr_t) p->tp; /* struct timex * */
  898                 *n_args = 1;
  899                 break;
  900         }
  901         /* setgid */
  902         case 181: {
  903                 struct setgid_args *p = params;
  904                 iarg[0] = p->gid; /* gid_t */
  905                 *n_args = 1;
  906                 break;
  907         }
  908         /* setegid */
  909         case 182: {
  910                 struct setegid_args *p = params;
  911                 iarg[0] = p->egid; /* gid_t */
  912                 *n_args = 1;
  913                 break;
  914         }
  915         /* seteuid */
  916         case 183: {
  917                 struct seteuid_args *p = params;
  918                 uarg[0] = p->euid; /* uid_t */
  919                 *n_args = 1;
  920                 break;
  921         }
  922         /* freebsd32_stat */
  923         case 188: {
  924                 struct freebsd32_stat_args *p = params;
  925                 uarg[0] = (intptr_t) p->path; /* char * */
  926                 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
  927                 *n_args = 2;
  928                 break;
  929         }
  930         /* freebsd32_fstat */
  931         case 189: {
  932                 struct freebsd32_fstat_args *p = params;
  933                 iarg[0] = p->fd; /* int */
  934                 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
  935                 *n_args = 2;
  936                 break;
  937         }
  938         /* freebsd32_lstat */
  939         case 190: {
  940                 struct freebsd32_lstat_args *p = params;
  941                 uarg[0] = (intptr_t) p->path; /* char * */
  942                 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
  943                 *n_args = 2;
  944                 break;
  945         }
  946         /* pathconf */
  947         case 191: {
  948                 struct pathconf_args *p = params;
  949                 uarg[0] = (intptr_t) p->path; /* char * */
  950                 iarg[1] = p->name; /* int */
  951                 *n_args = 2;
  952                 break;
  953         }
  954         /* fpathconf */
  955         case 192: {
  956                 struct fpathconf_args *p = params;
  957                 iarg[0] = p->fd; /* int */
  958                 iarg[1] = p->name; /* int */
  959                 *n_args = 2;
  960                 break;
  961         }
  962         /* getrlimit */
  963         case 194: {
  964                 struct __getrlimit_args *p = params;
  965                 uarg[0] = p->which; /* u_int */
  966                 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
  967                 *n_args = 2;
  968                 break;
  969         }
  970         /* setrlimit */
  971         case 195: {
  972                 struct __setrlimit_args *p = params;
  973                 uarg[0] = p->which; /* u_int */
  974                 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
  975                 *n_args = 2;
  976                 break;
  977         }
  978         /* freebsd32_getdirentries */
  979         case 196: {
  980                 struct freebsd32_getdirentries_args *p = params;
  981                 iarg[0] = p->fd; /* int */
  982                 uarg[1] = (intptr_t) p->buf; /* char * */
  983                 uarg[2] = p->count; /* u_int */
  984                 uarg[3] = (intptr_t) p->basep; /* int32_t * */
  985                 *n_args = 4;
  986                 break;
  987         }
  988         /* nosys */
  989         case 198: {
  990                 *n_args = 0;
  991                 break;
  992         }
  993         /* freebsd32_sysctl */
  994         case 202: {
  995                 struct freebsd32_sysctl_args *p = params;
  996                 uarg[0] = (intptr_t) p->name; /* int * */
  997                 uarg[1] = p->namelen; /* u_int */
  998                 uarg[2] = (intptr_t) p->old; /* void * */
  999                 uarg[3] = (intptr_t) p->oldlenp; /* u_int32_t * */
 1000                 uarg[4] = (intptr_t) p->new; /* void * */
 1001                 uarg[5] = p->newlen; /* u_int32_t */
 1002                 *n_args = 6;
 1003                 break;
 1004         }
 1005         /* mlock */
 1006         case 203: {
 1007                 struct mlock_args *p = params;
 1008                 uarg[0] = (intptr_t) p->addr; /* const void * */
 1009                 uarg[1] = p->len; /* size_t */
 1010                 *n_args = 2;
 1011                 break;
 1012         }
 1013         /* munlock */
 1014         case 204: {
 1015                 struct munlock_args *p = params;
 1016                 uarg[0] = (intptr_t) p->addr; /* const void * */
 1017                 uarg[1] = p->len; /* size_t */
 1018                 *n_args = 2;
 1019                 break;
 1020         }
 1021         /* undelete */
 1022         case 205: {
 1023                 struct undelete_args *p = params;
 1024                 uarg[0] = (intptr_t) p->path; /* char * */
 1025                 *n_args = 1;
 1026                 break;
 1027         }
 1028         /* freebsd32_futimes */
 1029         case 206: {
 1030                 struct freebsd32_futimes_args *p = params;
 1031                 iarg[0] = p->fd; /* int */
 1032                 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
 1033                 *n_args = 2;
 1034                 break;
 1035         }
 1036         /* getpgid */
 1037         case 207: {
 1038                 struct getpgid_args *p = params;
 1039                 iarg[0] = p->pid; /* pid_t */
 1040                 *n_args = 1;
 1041                 break;
 1042         }
 1043         /* poll */
 1044         case 209: {
 1045                 struct poll_args *p = params;
 1046                 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
 1047                 uarg[1] = p->nfds; /* u_int */
 1048                 iarg[2] = p->timeout; /* int */
 1049                 *n_args = 3;
 1050                 break;
 1051         }
 1052         /* lkmnosys */
 1053         case 210: {
 1054                 *n_args = 0;
 1055                 break;
 1056         }
 1057         /* lkmnosys */
 1058         case 211: {
 1059                 *n_args = 0;
 1060                 break;
 1061         }
 1062         /* lkmnosys */
 1063         case 212: {
 1064                 *n_args = 0;
 1065                 break;
 1066         }
 1067         /* lkmnosys */
 1068         case 213: {
 1069                 *n_args = 0;
 1070                 break;
 1071         }
 1072         /* lkmnosys */
 1073         case 214: {
 1074                 *n_args = 0;
 1075                 break;
 1076         }
 1077         /* lkmnosys */
 1078         case 215: {
 1079                 *n_args = 0;
 1080                 break;
 1081         }
 1082         /* lkmnosys */
 1083         case 216: {
 1084                 *n_args = 0;
 1085                 break;
 1086         }
 1087         /* lkmnosys */
 1088         case 217: {
 1089                 *n_args = 0;
 1090                 break;
 1091         }
 1092         /* lkmnosys */
 1093         case 218: {
 1094                 *n_args = 0;
 1095                 break;
 1096         }
 1097         /* lkmnosys */
 1098         case 219: {
 1099                 *n_args = 0;
 1100                 break;
 1101         }
 1102         /* semget */
 1103         case 221: {
 1104                 struct semget_args *p = params;
 1105                 iarg[0] = p->key; /* key_t */
 1106                 iarg[1] = p->nsems; /* int */
 1107                 iarg[2] = p->semflg; /* int */
 1108                 *n_args = 3;
 1109                 break;
 1110         }
 1111         /* semop */
 1112         case 222: {
 1113                 struct semop_args *p = params;
 1114                 iarg[0] = p->semid; /* int */
 1115                 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
 1116                 uarg[2] = p->nsops; /* u_int */
 1117                 *n_args = 3;
 1118                 break;
 1119         }
 1120         /* msgget */
 1121         case 225: {
 1122                 struct msgget_args *p = params;
 1123                 iarg[0] = p->key; /* key_t */
 1124                 iarg[1] = p->msgflg; /* int */
 1125                 *n_args = 2;
 1126                 break;
 1127         }
 1128         /* freebsd32_msgsnd */
 1129         case 226: {
 1130                 struct freebsd32_msgsnd_args *p = params;
 1131                 iarg[0] = p->msqid; /* int */
 1132                 uarg[1] = (intptr_t) p->msgp; /* void * */
 1133                 uarg[2] = p->msgsz; /* size_t */
 1134                 iarg[3] = p->msgflg; /* int */
 1135                 *n_args = 4;
 1136                 break;
 1137         }
 1138         /* freebsd32_msgrcv */
 1139         case 227: {
 1140                 struct freebsd32_msgrcv_args *p = params;
 1141                 iarg[0] = p->msqid; /* int */
 1142                 uarg[1] = (intptr_t) p->msgp; /* void * */
 1143                 uarg[2] = p->msgsz; /* size_t */
 1144                 iarg[3] = p->msgtyp; /* long */
 1145                 iarg[4] = p->msgflg; /* int */
 1146                 *n_args = 5;
 1147                 break;
 1148         }
 1149         /* shmat */
 1150         case 228: {
 1151                 struct shmat_args *p = params;
 1152                 iarg[0] = p->shmid; /* int */
 1153                 uarg[1] = (intptr_t) p->shmaddr; /* void * */
 1154                 iarg[2] = p->shmflg; /* int */
 1155                 *n_args = 3;
 1156                 break;
 1157         }
 1158         /* shmdt */
 1159         case 230: {
 1160                 struct shmdt_args *p = params;
 1161                 uarg[0] = (intptr_t) p->shmaddr; /* void * */
 1162                 *n_args = 1;
 1163                 break;
 1164         }
 1165         /* shmget */
 1166         case 231: {
 1167                 struct shmget_args *p = params;
 1168                 iarg[0] = p->key; /* key_t */
 1169                 iarg[1] = p->size; /* int */
 1170                 iarg[2] = p->shmflg; /* int */
 1171                 *n_args = 3;
 1172                 break;
 1173         }
 1174         /* freebsd32_clock_gettime */
 1175         case 232: {
 1176                 struct freebsd32_clock_gettime_args *p = params;
 1177                 iarg[0] = p->clock_id; /* clockid_t */
 1178                 uarg[1] = (intptr_t) p->tp; /* struct timespec32 * */
 1179                 *n_args = 2;
 1180                 break;
 1181         }
 1182         /* freebsd32_clock_settime */
 1183         case 233: {
 1184                 struct freebsd32_clock_settime_args *p = params;
 1185                 iarg[0] = p->clock_id; /* clockid_t */
 1186                 uarg[1] = (intptr_t) p->tp; /* const struct timespec32 * */
 1187                 *n_args = 2;
 1188                 break;
 1189         }
 1190         /* freebsd32_clock_getres */
 1191         case 234: {
 1192                 struct freebsd32_clock_getres_args *p = params;
 1193                 iarg[0] = p->clock_id; /* clockid_t */
 1194                 uarg[1] = (intptr_t) p->tp; /* struct timespec32 * */
 1195                 *n_args = 2;
 1196                 break;
 1197         }
 1198         /* freebsd32_ktimer_create */
 1199         case 235: {
 1200                 struct freebsd32_ktimer_create_args *p = params;
 1201                 iarg[0] = p->clock_id; /* clockid_t */
 1202                 uarg[1] = (intptr_t) p->evp; /* struct sigevent32 * */
 1203                 uarg[2] = (intptr_t) p->timerid; /* int * */
 1204                 *n_args = 3;
 1205                 break;
 1206         }
 1207         /* ktimer_delete */
 1208         case 236: {
 1209                 struct ktimer_delete_args *p = params;
 1210                 iarg[0] = p->timerid; /* int */
 1211                 *n_args = 1;
 1212                 break;
 1213         }
 1214         /* freebsd32_ktimer_settime */
 1215         case 237: {
 1216                 struct freebsd32_ktimer_settime_args *p = params;
 1217                 iarg[0] = p->timerid; /* int */
 1218                 iarg[1] = p->flags; /* int */
 1219                 uarg[2] = (intptr_t) p->value; /* const struct itimerspec32 * */
 1220                 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec32 * */
 1221                 *n_args = 4;
 1222                 break;
 1223         }
 1224         /* freebsd32_ktimer_gettime */
 1225         case 238: {
 1226                 struct freebsd32_ktimer_gettime_args *p = params;
 1227                 iarg[0] = p->timerid; /* int */
 1228                 uarg[1] = (intptr_t) p->value; /* struct itimerspec32 * */
 1229                 *n_args = 2;
 1230                 break;
 1231         }
 1232         /* ktimer_getoverrun */
 1233         case 239: {
 1234                 struct ktimer_getoverrun_args *p = params;
 1235                 iarg[0] = p->timerid; /* int */
 1236                 *n_args = 1;
 1237                 break;
 1238         }
 1239         /* freebsd32_nanosleep */
 1240         case 240: {
 1241                 struct freebsd32_nanosleep_args *p = params;
 1242                 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec32 * */
 1243                 uarg[1] = (intptr_t) p->rmtp; /* struct timespec32 * */
 1244                 *n_args = 2;
 1245                 break;
 1246         }
 1247         /* freebsd32_clock_getcpuclockid2 */
 1248         case 247: {
 1249                 struct freebsd32_clock_getcpuclockid2_args *p = params;
 1250                 uarg[0] = p->id1; /* uint32_t */
 1251                 uarg[1] = p->id2; /* uint32_t */
 1252                 iarg[2] = p->which; /* int */
 1253                 uarg[3] = (intptr_t) p->clock_id; /* clockid_t * */
 1254                 *n_args = 4;
 1255                 break;
 1256         }
 1257         /* minherit */
 1258         case 250: {
 1259                 struct minherit_args *p = params;
 1260                 uarg[0] = (intptr_t) p->addr; /* void * */
 1261                 uarg[1] = p->len; /* size_t */
 1262                 iarg[2] = p->inherit; /* int */
 1263                 *n_args = 3;
 1264                 break;
 1265         }
 1266         /* rfork */
 1267         case 251: {
 1268                 struct rfork_args *p = params;
 1269                 iarg[0] = p->flags; /* int */
 1270                 *n_args = 1;
 1271                 break;
 1272         }
 1273         /* openbsd_poll */
 1274         case 252: {
 1275                 struct openbsd_poll_args *p = params;
 1276                 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
 1277                 uarg[1] = p->nfds; /* u_int */
 1278                 iarg[2] = p->timeout; /* int */
 1279                 *n_args = 3;
 1280                 break;
 1281         }
 1282         /* issetugid */
 1283         case 253: {
 1284                 *n_args = 0;
 1285                 break;
 1286         }
 1287         /* lchown */
 1288         case 254: {
 1289                 struct lchown_args *p = params;
 1290                 uarg[0] = (intptr_t) p->path; /* char * */
 1291                 iarg[1] = p->uid; /* int */
 1292                 iarg[2] = p->gid; /* int */
 1293                 *n_args = 3;
 1294                 break;
 1295         }
 1296         /* freebsd32_aio_read */
 1297         case 255: {
 1298                 struct freebsd32_aio_read_args *p = params;
 1299                 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
 1300                 *n_args = 1;
 1301                 break;
 1302         }
 1303         /* freebsd32_aio_write */
 1304         case 256: {
 1305                 struct freebsd32_aio_write_args *p = params;
 1306                 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
 1307                 *n_args = 1;
 1308                 break;
 1309         }
 1310         /* freebsd32_lio_listio */
 1311         case 257: {
 1312                 struct freebsd32_lio_listio_args *p = params;
 1313                 iarg[0] = p->mode; /* int */
 1314                 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb32 *const * */
 1315                 iarg[2] = p->nent; /* int */
 1316                 uarg[3] = (intptr_t) p->sig; /* struct sigevent32 * */
 1317                 *n_args = 4;
 1318                 break;
 1319         }
 1320         /* getdents */
 1321         case 272: {
 1322                 struct getdents_args *p = params;
 1323                 iarg[0] = p->fd; /* int */
 1324                 uarg[1] = (intptr_t) p->buf; /* char * */
 1325                 uarg[2] = p->count; /* size_t */
 1326                 *n_args = 3;
 1327                 break;
 1328         }
 1329         /* lchmod */
 1330         case 274: {
 1331                 struct lchmod_args *p = params;
 1332                 uarg[0] = (intptr_t) p->path; /* char * */
 1333                 iarg[1] = p->mode; /* mode_t */
 1334                 *n_args = 2;
 1335                 break;
 1336         }
 1337         /* lchown */
 1338         case 275: {
 1339                 struct lchown_args *p = params;
 1340                 uarg[0] = (intptr_t) p->path; /* char * */
 1341                 uarg[1] = p->uid; /* uid_t */
 1342                 iarg[2] = p->gid; /* gid_t */
 1343                 *n_args = 3;
 1344                 break;
 1345         }
 1346         /* freebsd32_lutimes */
 1347         case 276: {
 1348                 struct freebsd32_lutimes_args *p = params;
 1349                 uarg[0] = (intptr_t) p->path; /* char * */
 1350                 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
 1351                 *n_args = 2;
 1352                 break;
 1353         }
 1354         /* msync */
 1355         case 277: {
 1356                 struct msync_args *p = params;
 1357                 uarg[0] = (intptr_t) p->addr; /* void * */
 1358                 uarg[1] = p->len; /* size_t */
 1359                 iarg[2] = p->flags; /* int */
 1360                 *n_args = 3;
 1361                 break;
 1362         }
 1363         /* nstat */
 1364         case 278: {
 1365                 struct nstat_args *p = params;
 1366                 uarg[0] = (intptr_t) p->path; /* char * */
 1367                 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
 1368                 *n_args = 2;
 1369                 break;
 1370         }
 1371         /* nfstat */
 1372         case 279: {
 1373                 struct nfstat_args *p = params;
 1374                 iarg[0] = p->fd; /* int */
 1375                 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
 1376                 *n_args = 2;
 1377                 break;
 1378         }
 1379         /* nlstat */
 1380         case 280: {
 1381                 struct nlstat_args *p = params;
 1382                 uarg[0] = (intptr_t) p->path; /* char * */
 1383                 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
 1384                 *n_args = 2;
 1385                 break;
 1386         }
 1387         /* freebsd32_preadv */
 1388         case 289: {
 1389                 struct freebsd32_preadv_args *p = params;
 1390                 iarg[0] = p->fd; /* int */
 1391                 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
 1392                 uarg[2] = p->iovcnt; /* u_int */
 1393                 uarg[3] = p->offset1; /* u_int32_t */
 1394                 uarg[4] = p->offset2; /* u_int32_t */
 1395                 *n_args = 5;
 1396                 break;
 1397         }
 1398         /* freebsd32_pwritev */
 1399         case 290: {
 1400                 struct freebsd32_pwritev_args *p = params;
 1401                 iarg[0] = p->fd; /* int */
 1402                 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
 1403                 uarg[2] = p->iovcnt; /* u_int */
 1404                 uarg[3] = p->offset1; /* u_int32_t */
 1405                 uarg[4] = p->offset2; /* u_int32_t */
 1406                 *n_args = 5;
 1407                 break;
 1408         }
 1409         /* fhopen */
 1410         case 298: {
 1411                 struct fhopen_args *p = params;
 1412                 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
 1413                 iarg[1] = p->flags; /* int */
 1414                 *n_args = 2;
 1415                 break;
 1416         }
 1417         /* fhstat */
 1418         case 299: {
 1419                 struct fhstat_args *p = params;
 1420                 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
 1421                 uarg[1] = (intptr_t) p->sb; /* struct stat * */
 1422                 *n_args = 2;
 1423                 break;
 1424         }
 1425         /* modnext */
 1426         case 300: {
 1427                 struct modnext_args *p = params;
 1428                 iarg[0] = p->modid; /* int */
 1429                 *n_args = 1;
 1430                 break;
 1431         }
 1432         /* freebsd32_modstat */
 1433         case 301: {
 1434                 struct freebsd32_modstat_args *p = params;
 1435                 iarg[0] = p->modid; /* int */
 1436                 uarg[1] = (intptr_t) p->stat; /* struct module_stat32 * */
 1437                 *n_args = 2;
 1438                 break;
 1439         }
 1440         /* modfnext */
 1441         case 302: {
 1442                 struct modfnext_args *p = params;
 1443                 iarg[0] = p->modid; /* int */
 1444                 *n_args = 1;
 1445                 break;
 1446         }
 1447         /* modfind */
 1448         case 303: {
 1449                 struct modfind_args *p = params;
 1450                 uarg[0] = (intptr_t) p->name; /* const char * */
 1451                 *n_args = 1;
 1452                 break;
 1453         }
 1454         /* kldload */
 1455         case 304: {
 1456                 struct kldload_args *p = params;
 1457                 uarg[0] = (intptr_t) p->file; /* const char * */
 1458                 *n_args = 1;
 1459                 break;
 1460         }
 1461         /* kldunload */
 1462         case 305: {
 1463                 struct kldunload_args *p = params;
 1464                 iarg[0] = p->fileid; /* int */
 1465                 *n_args = 1;
 1466                 break;
 1467         }
 1468         /* kldfind */
 1469         case 306: {
 1470                 struct kldfind_args *p = params;
 1471                 uarg[0] = (intptr_t) p->file; /* const char * */
 1472                 *n_args = 1;
 1473                 break;
 1474         }
 1475         /* kldnext */
 1476         case 307: {
 1477                 struct kldnext_args *p = params;
 1478                 iarg[0] = p->fileid; /* int */
 1479                 *n_args = 1;
 1480                 break;
 1481         }
 1482         /* freebsd32_kldstat */
 1483         case 308: {
 1484                 struct freebsd32_kldstat_args *p = params;
 1485                 iarg[0] = p->fileid; /* int */
 1486                 uarg[1] = (intptr_t) p->stat; /* struct kld32_file_stat * */
 1487                 *n_args = 2;
 1488                 break;
 1489         }
 1490         /* kldfirstmod */
 1491         case 309: {
 1492                 struct kldfirstmod_args *p = params;
 1493                 iarg[0] = p->fileid; /* int */
 1494                 *n_args = 1;
 1495                 break;
 1496         }
 1497         /* getsid */
 1498         case 310: {
 1499                 struct getsid_args *p = params;
 1500                 iarg[0] = p->pid; /* pid_t */
 1501                 *n_args = 1;
 1502                 break;
 1503         }
 1504         /* setresuid */
 1505         case 311: {
 1506                 struct setresuid_args *p = params;
 1507                 uarg[0] = p->ruid; /* uid_t */
 1508                 uarg[1] = p->euid; /* uid_t */
 1509                 uarg[2] = p->suid; /* uid_t */
 1510                 *n_args = 3;
 1511                 break;
 1512         }
 1513         /* setresgid */
 1514         case 312: {
 1515                 struct setresgid_args *p = params;
 1516                 iarg[0] = p->rgid; /* gid_t */
 1517                 iarg[1] = p->egid; /* gid_t */
 1518                 iarg[2] = p->sgid; /* gid_t */
 1519                 *n_args = 3;
 1520                 break;
 1521         }
 1522         /* freebsd32_aio_return */
 1523         case 314: {
 1524                 struct freebsd32_aio_return_args *p = params;
 1525                 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
 1526                 *n_args = 1;
 1527                 break;
 1528         }
 1529         /* freebsd32_aio_suspend */
 1530         case 315: {
 1531                 struct freebsd32_aio_suspend_args *p = params;
 1532                 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 *const * */
 1533                 iarg[1] = p->nent; /* int */
 1534                 uarg[2] = (intptr_t) p->timeout; /* const struct timespec32 * */
 1535                 *n_args = 3;
 1536                 break;
 1537         }
 1538         /* freebsd32_aio_cancel */
 1539         case 316: {
 1540                 struct freebsd32_aio_cancel_args *p = params;
 1541                 iarg[0] = p->fd; /* int */
 1542                 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
 1543                 *n_args = 2;
 1544                 break;
 1545         }
 1546         /* freebsd32_aio_error */
 1547         case 317: {
 1548                 struct freebsd32_aio_error_args *p = params;
 1549                 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
 1550                 *n_args = 1;
 1551                 break;
 1552         }
 1553         /* freebsd32_oaio_read */
 1554         case 318: {
 1555                 struct freebsd32_oaio_read_args *p = params;
 1556                 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb32 * */
 1557                 *n_args = 1;
 1558                 break;
 1559         }
 1560         /* freebsd32_oaio_write */
 1561         case 319: {
 1562                 struct freebsd32_oaio_write_args *p = params;
 1563                 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb32 * */
 1564                 *n_args = 1;
 1565                 break;
 1566         }
 1567         /* freebsd32_olio_listio */
 1568         case 320: {
 1569                 struct freebsd32_olio_listio_args *p = params;
 1570                 iarg[0] = p->mode; /* int */
 1571                 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb32 *const * */
 1572                 iarg[2] = p->nent; /* int */
 1573                 uarg[3] = (intptr_t) p->sig; /* struct osigevent32 * */
 1574                 *n_args = 4;
 1575                 break;
 1576         }
 1577         /* yield */
 1578         case 321: {
 1579                 *n_args = 0;
 1580                 break;
 1581         }
 1582         /* mlockall */
 1583         case 324: {
 1584                 struct mlockall_args *p = params;
 1585                 iarg[0] = p->how; /* int */
 1586                 *n_args = 1;
 1587                 break;
 1588         }
 1589         /* munlockall */
 1590         case 325: {
 1591                 *n_args = 0;
 1592                 break;
 1593         }
 1594         /* __getcwd */
 1595         case 326: {
 1596                 struct __getcwd_args *p = params;
 1597                 uarg[0] = (intptr_t) p->buf; /* char * */
 1598                 uarg[1] = p->buflen; /* u_int */
 1599                 *n_args = 2;
 1600                 break;
 1601         }
 1602         /* sched_setparam */
 1603         case 327: {
 1604                 struct sched_setparam_args *p = params;
 1605                 iarg[0] = p->pid; /* pid_t */
 1606                 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
 1607                 *n_args = 2;
 1608                 break;
 1609         }
 1610         /* sched_getparam */
 1611         case 328: {
 1612                 struct sched_getparam_args *p = params;
 1613                 iarg[0] = p->pid; /* pid_t */
 1614                 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
 1615                 *n_args = 2;
 1616                 break;
 1617         }
 1618         /* sched_setscheduler */
 1619         case 329: {
 1620                 struct sched_setscheduler_args *p = params;
 1621                 iarg[0] = p->pid; /* pid_t */
 1622                 iarg[1] = p->policy; /* int */
 1623                 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
 1624                 *n_args = 3;
 1625                 break;
 1626         }
 1627         /* sched_getscheduler */
 1628         case 330: {
 1629                 struct sched_getscheduler_args *p = params;
 1630                 iarg[0] = p->pid; /* pid_t */
 1631                 *n_args = 1;
 1632                 break;
 1633         }
 1634         /* sched_yield */
 1635         case 331: {
 1636                 *n_args = 0;
 1637                 break;
 1638         }
 1639         /* sched_get_priority_max */
 1640         case 332: {
 1641                 struct sched_get_priority_max_args *p = params;
 1642                 iarg[0] = p->policy; /* int */
 1643                 *n_args = 1;
 1644                 break;
 1645         }
 1646         /* sched_get_priority_min */
 1647         case 333: {
 1648                 struct sched_get_priority_min_args *p = params;
 1649                 iarg[0] = p->policy; /* int */
 1650                 *n_args = 1;
 1651                 break;
 1652         }
 1653         /* sched_rr_get_interval */
 1654         case 334: {
 1655                 struct sched_rr_get_interval_args *p = params;
 1656                 iarg[0] = p->pid; /* pid_t */
 1657                 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
 1658                 *n_args = 2;
 1659                 break;
 1660         }
 1661         /* utrace */
 1662         case 335: {
 1663                 struct utrace_args *p = params;
 1664                 uarg[0] = (intptr_t) p->addr; /* const void * */
 1665                 uarg[1] = p->len; /* size_t */
 1666                 *n_args = 2;
 1667                 break;
 1668         }
 1669         /* kldsym */
 1670         case 337: {
 1671                 struct kldsym_args *p = params;
 1672                 iarg[0] = p->fileid; /* int */
 1673                 iarg[1] = p->cmd; /* int */
 1674                 uarg[2] = (intptr_t) p->data; /* void * */
 1675                 *n_args = 3;
 1676                 break;
 1677         }
 1678         /* freebsd32_jail */
 1679         case 338: {
 1680                 struct freebsd32_jail_args *p = params;
 1681                 uarg[0] = (intptr_t) p->jail; /* struct jail32 * */
 1682                 *n_args = 1;
 1683                 break;
 1684         }
 1685         /* sigprocmask */
 1686         case 340: {
 1687                 struct sigprocmask_args *p = params;
 1688                 iarg[0] = p->how; /* int */
 1689                 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
 1690                 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
 1691                 *n_args = 3;
 1692                 break;
 1693         }
 1694         /* sigsuspend */
 1695         case 341: {
 1696                 struct sigsuspend_args *p = params;
 1697                 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
 1698                 *n_args = 1;
 1699                 break;
 1700         }
 1701         /* sigpending */
 1702         case 343: {
 1703                 struct sigpending_args *p = params;
 1704                 uarg[0] = (intptr_t) p->set; /* sigset_t * */
 1705                 *n_args = 1;
 1706                 break;
 1707         }
 1708         /* freebsd32_sigtimedwait */
 1709         case 345: {
 1710                 struct freebsd32_sigtimedwait_args *p = params;
 1711                 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
 1712                 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
 1713                 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
 1714                 *n_args = 3;
 1715                 break;
 1716         }
 1717         /* freebsd32_sigwaitinfo */
 1718         case 346: {
 1719                 struct freebsd32_sigwaitinfo_args *p = params;
 1720                 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
 1721                 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
 1722                 *n_args = 2;
 1723                 break;
 1724         }
 1725         /* __acl_get_file */
 1726         case 347: {
 1727                 struct __acl_get_file_args *p = params;
 1728                 uarg[0] = (intptr_t) p->path; /* const char * */
 1729                 iarg[1] = p->type; /* acl_type_t */
 1730                 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
 1731                 *n_args = 3;
 1732                 break;
 1733         }
 1734         /* __acl_set_file */
 1735         case 348: {
 1736                 struct __acl_set_file_args *p = params;
 1737                 uarg[0] = (intptr_t) p->path; /* const char * */
 1738                 iarg[1] = p->type; /* acl_type_t */
 1739                 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
 1740                 *n_args = 3;
 1741                 break;
 1742         }
 1743         /* __acl_get_fd */
 1744         case 349: {
 1745                 struct __acl_get_fd_args *p = params;
 1746                 iarg[0] = p->filedes; /* int */
 1747                 iarg[1] = p->type; /* acl_type_t */
 1748                 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
 1749                 *n_args = 3;
 1750                 break;
 1751         }
 1752         /* __acl_set_fd */
 1753         case 350: {
 1754                 struct __acl_set_fd_args *p = params;
 1755                 iarg[0] = p->filedes; /* int */
 1756                 iarg[1] = p->type; /* acl_type_t */
 1757                 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
 1758                 *n_args = 3;
 1759                 break;
 1760         }
 1761         /* __acl_delete_file */
 1762         case 351: {
 1763                 struct __acl_delete_file_args *p = params;
 1764                 uarg[0] = (intptr_t) p->path; /* const char * */
 1765                 iarg[1] = p->type; /* acl_type_t */
 1766                 *n_args = 2;
 1767                 break;
 1768         }
 1769         /* __acl_delete_fd */
 1770         case 352: {
 1771                 struct __acl_delete_fd_args *p = params;
 1772                 iarg[0] = p->filedes; /* int */
 1773                 iarg[1] = p->type; /* acl_type_t */
 1774                 *n_args = 2;
 1775                 break;
 1776         }
 1777         /* __acl_aclcheck_file */
 1778         case 353: {
 1779                 struct __acl_aclcheck_file_args *p = params;
 1780                 uarg[0] = (intptr_t) p->path; /* const char * */
 1781                 iarg[1] = p->type; /* acl_type_t */
 1782                 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
 1783                 *n_args = 3;
 1784                 break;
 1785         }
 1786         /* __acl_aclcheck_fd */
 1787         case 354: {
 1788                 struct __acl_aclcheck_fd_args *p = params;
 1789                 iarg[0] = p->filedes; /* int */
 1790                 iarg[1] = p->type; /* acl_type_t */
 1791                 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
 1792                 *n_args = 3;
 1793                 break;
 1794         }
 1795         /* extattrctl */
 1796         case 355: {
 1797                 struct extattrctl_args *p = params;
 1798                 uarg[0] = (intptr_t) p->path; /* const char * */
 1799                 iarg[1] = p->cmd; /* int */
 1800                 uarg[2] = (intptr_t) p->filename; /* const char * */
 1801                 iarg[3] = p->attrnamespace; /* int */
 1802                 uarg[4] = (intptr_t) p->attrname; /* const char * */
 1803                 *n_args = 5;
 1804                 break;
 1805         }
 1806         /* extattr_set_file */
 1807         case 356: {
 1808                 struct extattr_set_file_args *p = params;
 1809                 uarg[0] = (intptr_t) p->path; /* const char * */
 1810                 iarg[1] = p->attrnamespace; /* int */
 1811                 uarg[2] = (intptr_t) p->attrname; /* const char * */
 1812                 uarg[3] = (intptr_t) p->data; /* void * */
 1813                 uarg[4] = p->nbytes; /* size_t */
 1814                 *n_args = 5;
 1815                 break;
 1816         }
 1817         /* extattr_get_file */
 1818         case 357: {
 1819                 struct extattr_get_file_args *p = params;
 1820                 uarg[0] = (intptr_t) p->path; /* const char * */
 1821                 iarg[1] = p->attrnamespace; /* int */
 1822                 uarg[2] = (intptr_t) p->attrname; /* const char * */
 1823                 uarg[3] = (intptr_t) p->data; /* void * */
 1824                 uarg[4] = p->nbytes; /* size_t */
 1825                 *n_args = 5;
 1826                 break;
 1827         }
 1828         /* extattr_delete_file */
 1829         case 358: {
 1830                 struct extattr_delete_file_args *p = params;
 1831                 uarg[0] = (intptr_t) p->path; /* const char * */
 1832                 iarg[1] = p->attrnamespace; /* int */
 1833                 uarg[2] = (intptr_t) p->attrname; /* const char * */
 1834                 *n_args = 3;
 1835                 break;
 1836         }
 1837         /* freebsd32_aio_waitcomplete */
 1838         case 359: {
 1839                 struct freebsd32_aio_waitcomplete_args *p = params;
 1840                 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 ** */
 1841                 uarg[1] = (intptr_t) p->timeout; /* struct timespec32 * */
 1842                 *n_args = 2;
 1843                 break;
 1844         }
 1845         /* getresuid */
 1846         case 360: {
 1847                 struct getresuid_args *p = params;
 1848                 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
 1849                 uarg[1] = (intptr_t) p->euid; /* uid_t * */
 1850                 uarg[2] = (intptr_t) p->suid; /* uid_t * */
 1851                 *n_args = 3;
 1852                 break;
 1853         }
 1854         /* getresgid */
 1855         case 361: {
 1856                 struct getresgid_args *p = params;
 1857                 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
 1858                 uarg[1] = (intptr_t) p->egid; /* gid_t * */
 1859                 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
 1860                 *n_args = 3;
 1861                 break;
 1862         }
 1863         /* kqueue */
 1864         case 362: {
 1865                 *n_args = 0;
 1866                 break;
 1867         }
 1868         /* freebsd32_kevent */
 1869         case 363: {
 1870                 struct freebsd32_kevent_args *p = params;
 1871                 iarg[0] = p->fd; /* int */
 1872                 uarg[1] = (intptr_t) p->changelist; /* const struct kevent32 * */
 1873                 iarg[2] = p->nchanges; /* int */
 1874                 uarg[3] = (intptr_t) p->eventlist; /* struct kevent32 * */
 1875                 iarg[4] = p->nevents; /* int */
 1876                 uarg[5] = (intptr_t) p->timeout; /* const struct timespec32 * */
 1877                 *n_args = 6;
 1878                 break;
 1879         }
 1880         /* extattr_set_fd */
 1881         case 371: {
 1882                 struct extattr_set_fd_args *p = params;
 1883                 iarg[0] = p->fd; /* int */
 1884                 iarg[1] = p->attrnamespace; /* int */
 1885                 uarg[2] = (intptr_t) p->attrname; /* const char * */
 1886                 uarg[3] = (intptr_t) p->data; /* void * */
 1887                 uarg[4] = p->nbytes; /* size_t */
 1888                 *n_args = 5;
 1889                 break;
 1890         }
 1891         /* extattr_get_fd */
 1892         case 372: {
 1893                 struct extattr_get_fd_args *p = params;
 1894                 iarg[0] = p->fd; /* int */
 1895                 iarg[1] = p->attrnamespace; /* int */
 1896                 uarg[2] = (intptr_t) p->attrname; /* const char * */
 1897                 uarg[3] = (intptr_t) p->data; /* void * */
 1898                 uarg[4] = p->nbytes; /* size_t */
 1899                 *n_args = 5;
 1900                 break;
 1901         }
 1902         /* extattr_delete_fd */
 1903         case 373: {
 1904                 struct extattr_delete_fd_args *p = params;
 1905                 iarg[0] = p->fd; /* int */
 1906                 iarg[1] = p->attrnamespace; /* int */
 1907                 uarg[2] = (intptr_t) p->attrname; /* const char * */
 1908                 *n_args = 3;
 1909                 break;
 1910         }
 1911         /* __setugid */
 1912         case 374: {
 1913                 struct __setugid_args *p = params;
 1914                 iarg[0] = p->flag; /* int */
 1915                 *n_args = 1;
 1916                 break;
 1917         }
 1918         /* eaccess */
 1919         case 376: {
 1920                 struct eaccess_args *p = params;
 1921                 uarg[0] = (intptr_t) p->path; /* char * */
 1922                 iarg[1] = p->flags; /* int */
 1923                 *n_args = 2;
 1924                 break;
 1925         }
 1926         /* freebsd32_nmount */
 1927         case 378: {
 1928                 struct freebsd32_nmount_args *p = params;
 1929                 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
 1930                 uarg[1] = p->iovcnt; /* unsigned int */
 1931                 iarg[2] = p->flags; /* int */
 1932                 *n_args = 3;
 1933                 break;
 1934         }
 1935         /* kenv */
 1936         case 390: {
 1937                 struct kenv_args *p = params;
 1938                 iarg[0] = p->what; /* int */
 1939                 uarg[1] = (intptr_t) p->name; /* const char * */
 1940                 uarg[2] = (intptr_t) p->value; /* char * */
 1941                 iarg[3] = p->len; /* int */
 1942                 *n_args = 4;
 1943                 break;
 1944         }
 1945         /* lchflags */
 1946         case 391: {
 1947                 struct lchflags_args *p = params;
 1948                 uarg[0] = (intptr_t) p->path; /* const char * */
 1949                 iarg[1] = p->flags; /* int */
 1950                 *n_args = 2;
 1951                 break;
 1952         }
 1953         /* uuidgen */
 1954         case 392: {
 1955                 struct uuidgen_args *p = params;
 1956                 uarg[0] = (intptr_t) p->store; /* struct uuid * */
 1957                 iarg[1] = p->count; /* int */
 1958                 *n_args = 2;
 1959                 break;
 1960         }
 1961         /* freebsd32_sendfile */
 1962         case 393: {
 1963                 struct freebsd32_sendfile_args *p = params;
 1964                 iarg[0] = p->fd; /* int */
 1965                 iarg[1] = p->s; /* int */
 1966                 uarg[2] = p->offset1; /* u_int32_t */
 1967                 uarg[3] = p->offset2; /* u_int32_t */
 1968                 uarg[4] = p->nbytes; /* size_t */
 1969                 uarg[5] = (intptr_t) p->hdtr; /* struct sf_hdtr32 * */
 1970                 uarg[6] = (intptr_t) p->sbytes; /* off_t * */
 1971                 iarg[7] = p->flags; /* int */
 1972                 *n_args = 8;
 1973                 break;
 1974         }
 1975         /* getfsstat */
 1976         case 395: {
 1977                 struct getfsstat_args *p = params;
 1978                 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
 1979                 iarg[1] = p->bufsize; /* long */
 1980                 iarg[2] = p->flags; /* int */
 1981                 *n_args = 3;
 1982                 break;
 1983         }
 1984         /* statfs */
 1985         case 396: {
 1986                 struct statfs_args *p = params;
 1987                 uarg[0] = (intptr_t) p->path; /* char * */
 1988                 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
 1989                 *n_args = 2;
 1990                 break;
 1991         }
 1992         /* fstatfs */
 1993         case 397: {
 1994                 struct fstatfs_args *p = params;
 1995                 iarg[0] = p->fd; /* int */
 1996                 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
 1997                 *n_args = 2;
 1998                 break;
 1999         }
 2000         /* fhstatfs */
 2001         case 398: {
 2002                 struct fhstatfs_args *p = params;
 2003                 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
 2004                 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
 2005                 *n_args = 2;
 2006                 break;
 2007         }
 2008         /* ksem_close */
 2009         case 400: {
 2010                 struct ksem_close_args *p = params;
 2011                 iarg[0] = p->id; /* semid_t */
 2012                 *n_args = 1;
 2013                 break;
 2014         }
 2015         /* ksem_post */
 2016         case 401: {
 2017                 struct ksem_post_args *p = params;
 2018                 iarg[0] = p->id; /* semid_t */
 2019                 *n_args = 1;
 2020                 break;
 2021         }
 2022         /* ksem_wait */
 2023         case 402: {
 2024                 struct ksem_wait_args *p = params;
 2025                 iarg[0] = p->id; /* semid_t */
 2026                 *n_args = 1;
 2027                 break;
 2028         }
 2029         /* ksem_trywait */
 2030         case 403: {
 2031                 struct ksem_trywait_args *p = params;
 2032                 iarg[0] = p->id; /* semid_t */
 2033                 *n_args = 1;
 2034                 break;
 2035         }
 2036         /* freebsd32_ksem_init */
 2037         case 404: {
 2038                 struct freebsd32_ksem_init_args *p = params;
 2039                 uarg[0] = (intptr_t) p->idp; /* semid_t * */
 2040                 uarg[1] = p->value; /* unsigned int */
 2041                 *n_args = 2;
 2042                 break;
 2043         }
 2044         /* freebsd32_ksem_open */
 2045         case 405: {
 2046                 struct freebsd32_ksem_open_args *p = params;
 2047                 uarg[0] = (intptr_t) p->idp; /* semid_t * */
 2048                 uarg[1] = (intptr_t) p->name; /* const char * */
 2049                 iarg[2] = p->oflag; /* int */
 2050                 iarg[3] = p->mode; /* mode_t */
 2051                 uarg[4] = p->value; /* unsigned int */
 2052                 *n_args = 5;
 2053                 break;
 2054         }
 2055         /* ksem_unlink */
 2056         case 406: {
 2057                 struct ksem_unlink_args *p = params;
 2058                 uarg[0] = (intptr_t) p->name; /* const char * */
 2059                 *n_args = 1;
 2060                 break;
 2061         }
 2062         /* ksem_getvalue */
 2063         case 407: {
 2064                 struct ksem_getvalue_args *p = params;
 2065                 iarg[0] = p->id; /* semid_t */
 2066                 uarg[1] = (intptr_t) p->val; /* int * */
 2067                 *n_args = 2;
 2068                 break;
 2069         }
 2070         /* ksem_destroy */
 2071         case 408: {
 2072                 struct ksem_destroy_args *p = params;
 2073                 iarg[0] = p->id; /* semid_t */
 2074                 *n_args = 1;
 2075                 break;
 2076         }
 2077         /* extattr_set_link */
 2078         case 412: {
 2079                 struct extattr_set_link_args *p = params;
 2080                 uarg[0] = (intptr_t) p->path; /* const char * */
 2081                 iarg[1] = p->attrnamespace; /* int */
 2082                 uarg[2] = (intptr_t) p->attrname; /* const char * */
 2083                 uarg[3] = (intptr_t) p->data; /* void * */
 2084                 uarg[4] = p->nbytes; /* size_t */
 2085                 *n_args = 5;
 2086                 break;
 2087         }
 2088         /* extattr_get_link */
 2089         case 413: {
 2090                 struct extattr_get_link_args *p = params;
 2091                 uarg[0] = (intptr_t) p->path; /* const char * */
 2092                 iarg[1] = p->attrnamespace; /* int */
 2093                 uarg[2] = (intptr_t) p->attrname; /* const char * */
 2094                 uarg[3] = (intptr_t) p->data; /* void * */
 2095                 uarg[4] = p->nbytes; /* size_t */
 2096                 *n_args = 5;
 2097                 break;
 2098         }
 2099         /* extattr_delete_link */
 2100         case 414: {
 2101                 struct extattr_delete_link_args *p = params;
 2102                 uarg[0] = (intptr_t) p->path; /* const char * */
 2103                 iarg[1] = p->attrnamespace; /* int */
 2104                 uarg[2] = (intptr_t) p->attrname; /* const char * */
 2105                 *n_args = 3;
 2106                 break;
 2107         }
 2108         /* freebsd32_sigaction */
 2109         case 416: {
 2110                 struct freebsd32_sigaction_args *p = params;
 2111                 iarg[0] = p->sig; /* int */
 2112                 uarg[1] = (intptr_t) p->act; /* struct sigaction32 * */
 2113                 uarg[2] = (intptr_t) p->oact; /* struct sigaction32 * */
 2114                 *n_args = 3;
 2115                 break;
 2116         }
 2117         /* freebsd32_sigreturn */
 2118         case 417: {
 2119                 struct freebsd32_sigreturn_args *p = params;
 2120                 uarg[0] = (intptr_t) p->sigcntxp; /* const struct freebsd32_ucontext * */
 2121                 *n_args = 1;
 2122                 break;
 2123         }
 2124         /* freebsd32_getcontext */
 2125         case 421: {
 2126                 struct freebsd32_getcontext_args *p = params;
 2127                 uarg[0] = (intptr_t) p->ucp; /* struct freebsd32_ucontext * */
 2128                 *n_args = 1;
 2129                 break;
 2130         }
 2131         /* freebsd32_setcontext */
 2132         case 422: {
 2133                 struct freebsd32_setcontext_args *p = params;
 2134                 uarg[0] = (intptr_t) p->ucp; /* const struct freebsd32_ucontext * */
 2135                 *n_args = 1;
 2136                 break;
 2137         }
 2138         /* freebsd32_swapcontext */
 2139         case 423: {
 2140                 struct freebsd32_swapcontext_args *p = params;
 2141                 uarg[0] = (intptr_t) p->oucp; /* struct freebsd32_ucontext * */
 2142                 uarg[1] = (intptr_t) p->ucp; /* const struct freebsd32_ucontext * */
 2143                 *n_args = 2;
 2144                 break;
 2145         }
 2146         /* __acl_get_link */
 2147         case 425: {
 2148                 struct __acl_get_link_args *p = params;
 2149                 uarg[0] = (intptr_t) p->path; /* const char * */
 2150                 iarg[1] = p->type; /* acl_type_t */
 2151                 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
 2152                 *n_args = 3;
 2153                 break;
 2154         }
 2155         /* __acl_set_link */
 2156         case 426: {
 2157                 struct __acl_set_link_args *p = params;
 2158                 uarg[0] = (intptr_t) p->path; /* const char * */
 2159                 iarg[1] = p->type; /* acl_type_t */
 2160                 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
 2161                 *n_args = 3;
 2162                 break;
 2163         }
 2164         /* __acl_delete_link */
 2165         case 427: {
 2166                 struct __acl_delete_link_args *p = params;
 2167                 uarg[0] = (intptr_t) p->path; /* const char * */
 2168                 iarg[1] = p->type; /* acl_type_t */
 2169                 *n_args = 2;
 2170                 break;
 2171         }
 2172         /* __acl_aclcheck_link */
 2173         case 428: {
 2174                 struct __acl_aclcheck_link_args *p = params;
 2175                 uarg[0] = (intptr_t) p->path; /* const char * */
 2176                 iarg[1] = p->type; /* acl_type_t */
 2177                 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
 2178                 *n_args = 3;
 2179                 break;
 2180         }
 2181         /* sigwait */
 2182         case 429: {
 2183                 struct sigwait_args *p = params;
 2184                 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
 2185                 uarg[1] = (intptr_t) p->sig; /* int * */
 2186                 *n_args = 2;
 2187                 break;
 2188         }
 2189         /* thr_exit */
 2190         case 431: {
 2191                 struct thr_exit_args *p = params;
 2192                 uarg[0] = (intptr_t) p->state; /* long * */
 2193                 *n_args = 1;
 2194                 break;
 2195         }
 2196         /* thr_self */
 2197         case 432: {
 2198                 struct thr_self_args *p = params;
 2199                 uarg[0] = (intptr_t) p->id; /* long * */
 2200                 *n_args = 1;
 2201                 break;
 2202         }
 2203         /* thr_kill */
 2204         case 433: {
 2205                 struct thr_kill_args *p = params;
 2206                 iarg[0] = p->id; /* long */
 2207                 iarg[1] = p->sig; /* int */
 2208                 *n_args = 2;
 2209                 break;
 2210         }
 2211         /* freebsd32_umtx_lock */
 2212         case 434: {
 2213                 struct freebsd32_umtx_lock_args *p = params;
 2214                 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
 2215                 *n_args = 1;
 2216                 break;
 2217         }
 2218         /* freebsd32_umtx_unlock */
 2219         case 435: {
 2220                 struct freebsd32_umtx_unlock_args *p = params;
 2221                 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
 2222                 *n_args = 1;
 2223                 break;
 2224         }
 2225         /* jail_attach */
 2226         case 436: {
 2227                 struct jail_attach_args *p = params;
 2228                 iarg[0] = p->jid; /* int */
 2229                 *n_args = 1;
 2230                 break;
 2231         }
 2232         /* extattr_list_fd */
 2233         case 437: {
 2234                 struct extattr_list_fd_args *p = params;
 2235                 iarg[0] = p->fd; /* int */
 2236                 iarg[1] = p->attrnamespace; /* int */
 2237                 uarg[2] = (intptr_t) p->data; /* void * */
 2238                 uarg[3] = p->nbytes; /* size_t */
 2239                 *n_args = 4;
 2240                 break;
 2241         }
 2242         /* extattr_list_file */
 2243         case 438: {
 2244                 struct extattr_list_file_args *p = params;
 2245                 uarg[0] = (intptr_t) p->path; /* const char * */
 2246                 iarg[1] = p->attrnamespace; /* int */
 2247                 uarg[2] = (intptr_t) p->data; /* void * */
 2248                 uarg[3] = p->nbytes; /* size_t */
 2249                 *n_args = 4;
 2250                 break;
 2251         }
 2252         /* extattr_list_link */
 2253         case 439: {
 2254                 struct extattr_list_link_args *p = params;
 2255                 uarg[0] = (intptr_t) p->path; /* const char * */
 2256                 iarg[1] = p->attrnamespace; /* int */
 2257                 uarg[2] = (intptr_t) p->data; /* void * */
 2258                 uarg[3] = p->nbytes; /* size_t */
 2259                 *n_args = 4;
 2260                 break;
 2261         }
 2262         /* freebsd32_ksem_timedwait */
 2263         case 441: {
 2264                 struct freebsd32_ksem_timedwait_args *p = params;
 2265                 iarg[0] = p->id; /* semid_t */
 2266                 uarg[1] = (intptr_t) p->abstime; /* const struct timespec32 * */
 2267                 *n_args = 2;
 2268                 break;
 2269         }
 2270         /* freebsd32_thr_suspend */
 2271         case 442: {
 2272                 struct freebsd32_thr_suspend_args *p = params;
 2273                 uarg[0] = (intptr_t) p->timeout; /* const struct timespec32 * */
 2274                 *n_args = 1;
 2275                 break;
 2276         }
 2277         /* thr_wake */
 2278         case 443: {
 2279                 struct thr_wake_args *p = params;
 2280                 iarg[0] = p->id; /* long */
 2281                 *n_args = 1;
 2282                 break;
 2283         }
 2284         /* kldunloadf */
 2285         case 444: {
 2286                 struct kldunloadf_args *p = params;
 2287                 iarg[0] = p->fileid; /* int */
 2288                 iarg[1] = p->flags; /* int */
 2289                 *n_args = 2;
 2290                 break;
 2291         }
 2292         /* audit */
 2293         case 445: {
 2294                 struct audit_args *p = params;
 2295                 uarg[0] = (intptr_t) p->record; /* const void * */
 2296                 uarg[1] = p->length; /* u_int */
 2297                 *n_args = 2;
 2298                 break;
 2299         }
 2300         /* auditon */
 2301         case 446: {
 2302                 struct auditon_args *p = params;
 2303                 iarg[0] = p->cmd; /* int */
 2304                 uarg[1] = (intptr_t) p->data; /* void * */
 2305                 uarg[2] = p->length; /* u_int */
 2306                 *n_args = 3;
 2307                 break;
 2308         }
 2309         /* getauid */
 2310         case 447: {
 2311                 struct getauid_args *p = params;
 2312                 uarg[0] = (intptr_t) p->auid; /* uid_t * */
 2313                 *n_args = 1;
 2314                 break;
 2315         }
 2316         /* setauid */
 2317         case 448: {
 2318                 struct setauid_args *p = params;
 2319                 uarg[0] = (intptr_t) p->auid; /* uid_t * */
 2320                 *n_args = 1;
 2321                 break;
 2322         }
 2323         /* getaudit */
 2324         case 449: {
 2325                 struct getaudit_args *p = params;
 2326                 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
 2327                 *n_args = 1;
 2328                 break;
 2329         }
 2330         /* setaudit */
 2331         case 450: {
 2332                 struct setaudit_args *p = params;
 2333                 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
 2334                 *n_args = 1;
 2335                 break;
 2336         }
 2337         /* getaudit_addr */
 2338         case 451: {
 2339                 struct getaudit_addr_args *p = params;
 2340                 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
 2341                 uarg[1] = p->length; /* u_int */
 2342                 *n_args = 2;
 2343                 break;
 2344         }
 2345         /* setaudit_addr */
 2346         case 452: {
 2347                 struct setaudit_addr_args *p = params;
 2348                 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
 2349                 uarg[1] = p->length; /* u_int */
 2350                 *n_args = 2;
 2351                 break;
 2352         }
 2353         /* auditctl */
 2354         case 453: {
 2355                 struct auditctl_args *p = params;
 2356                 uarg[0] = (intptr_t) p->path; /* char * */
 2357                 *n_args = 1;
 2358                 break;
 2359         }
 2360         /* freebsd32_umtx_op */
 2361         case 454: {
 2362                 struct freebsd32_umtx_op_args *p = params;
 2363                 uarg[0] = (intptr_t) p->obj; /* void * */
 2364                 iarg[1] = p->op; /* int */
 2365                 uarg[2] = p->val; /* u_long */
 2366                 uarg[3] = (intptr_t) p->uaddr; /* void * */
 2367                 uarg[4] = (intptr_t) p->uaddr2; /* void * */
 2368                 *n_args = 5;
 2369                 break;
 2370         }
 2371         /* freebsd32_thr_new */
 2372         case 455: {
 2373                 struct freebsd32_thr_new_args *p = params;
 2374                 uarg[0] = (intptr_t) p->param; /* struct thr_param32 * */
 2375                 iarg[1] = p->param_size; /* int */
 2376                 *n_args = 2;
 2377                 break;
 2378         }
 2379         /* sigqueue */
 2380         case 456: {
 2381                 struct sigqueue_args *p = params;
 2382                 iarg[0] = p->pid; /* pid_t */
 2383                 iarg[1] = p->signum; /* int */
 2384                 uarg[2] = (intptr_t) p->value; /* void * */
 2385                 *n_args = 3;
 2386                 break;
 2387         }
 2388         /* freebsd32_kmq_open */
 2389         case 457: {
 2390                 struct freebsd32_kmq_open_args *p = params;
 2391                 uarg[0] = (intptr_t) p->path; /* const char * */
 2392                 iarg[1] = p->flags; /* int */
 2393                 iarg[2] = p->mode; /* mode_t */
 2394                 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr32 * */
 2395                 *n_args = 4;
 2396                 break;
 2397         }
 2398         /* freebsd32_kmq_setattr */
 2399         case 458: {
 2400                 struct freebsd32_kmq_setattr_args *p = params;
 2401                 iarg[0] = p->mqd; /* int */
 2402                 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr32 * */
 2403                 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr32 * */
 2404                 *n_args = 3;
 2405                 break;
 2406         }
 2407         /* freebsd32_kmq_timedreceive */
 2408         case 459: {
 2409                 struct freebsd32_kmq_timedreceive_args *p = params;
 2410                 iarg[0] = p->mqd; /* int */
 2411                 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
 2412                 uarg[2] = p->msg_len; /* size_t */
 2413                 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
 2414                 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec32 * */
 2415                 *n_args = 5;
 2416                 break;
 2417         }
 2418         /* freebsd32_kmq_timedsend */
 2419         case 460: {
 2420                 struct freebsd32_kmq_timedsend_args *p = params;
 2421                 iarg[0] = p->mqd; /* int */
 2422                 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
 2423                 uarg[2] = p->msg_len; /* size_t */
 2424                 uarg[3] = p->msg_prio; /* unsigned */
 2425                 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec32 * */
 2426                 *n_args = 5;
 2427                 break;
 2428         }
 2429         /* freebsd32_kmq_notify */
 2430         case 461: {
 2431                 struct freebsd32_kmq_notify_args *p = params;
 2432                 iarg[0] = p->mqd; /* int */
 2433                 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent32 * */
 2434                 *n_args = 2;
 2435                 break;
 2436         }
 2437         /* kmq_unlink */
 2438         case 462: {
 2439                 struct kmq_unlink_args *p = params;
 2440                 uarg[0] = (intptr_t) p->path; /* const char * */
 2441                 *n_args = 1;
 2442                 break;
 2443         }
 2444         /* abort2 */
 2445         case 463: {
 2446                 struct abort2_args *p = params;
 2447                 uarg[0] = (intptr_t) p->why; /* const char * */
 2448                 iarg[1] = p->nargs; /* int */
 2449                 uarg[2] = (intptr_t) p->args; /* void ** */
 2450                 *n_args = 3;
 2451                 break;
 2452         }
 2453         /* thr_set_name */
 2454         case 464: {
 2455                 struct thr_set_name_args *p = params;
 2456                 iarg[0] = p->id; /* long */
 2457                 uarg[1] = (intptr_t) p->name; /* const char * */
 2458                 *n_args = 2;
 2459                 break;
 2460         }
 2461         /* freebsd32_aio_fsync */
 2462         case 465: {
 2463                 struct freebsd32_aio_fsync_args *p = params;
 2464                 iarg[0] = p->op; /* int */
 2465                 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
 2466                 *n_args = 2;
 2467                 break;
 2468         }
 2469         /* rtprio_thread */
 2470         case 466: {
 2471                 struct rtprio_thread_args *p = params;
 2472                 iarg[0] = p->function; /* int */
 2473                 iarg[1] = p->lwpid; /* lwpid_t */
 2474                 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
 2475                 *n_args = 3;
 2476                 break;
 2477         }
 2478         /* sctp_peeloff */
 2479         case 471: {
 2480                 struct sctp_peeloff_args *p = params;
 2481                 iarg[0] = p->sd; /* int */
 2482                 uarg[1] = p->name; /* uint32_t */
 2483                 *n_args = 2;
 2484                 break;
 2485         }
 2486         /* sctp_generic_sendmsg */
 2487         case 472: {
 2488                 struct sctp_generic_sendmsg_args *p = params;
 2489                 iarg[0] = p->sd; /* int */
 2490                 uarg[1] = (intptr_t) p->msg; /* caddr_t */
 2491                 iarg[2] = p->mlen; /* int */
 2492                 uarg[3] = (intptr_t) p->to; /* caddr_t */
 2493                 iarg[4] = p->tolen; /* __socklen_t */
 2494                 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
 2495                 iarg[6] = p->flags; /* int */
 2496                 *n_args = 7;
 2497                 break;
 2498         }
 2499         /* sctp_generic_sendmsg_iov */
 2500         case 473: {
 2501                 struct sctp_generic_sendmsg_iov_args *p = params;
 2502                 iarg[0] = p->sd; /* int */
 2503                 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
 2504                 iarg[2] = p->iovlen; /* int */
 2505                 uarg[3] = (intptr_t) p->to; /* caddr_t */
 2506                 iarg[4] = p->tolen; /* __socklen_t */
 2507                 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
 2508                 iarg[6] = p->flags; /* int */
 2509                 *n_args = 7;
 2510                 break;
 2511         }
 2512         /* sctp_generic_recvmsg */
 2513         case 474: {
 2514                 struct sctp_generic_recvmsg_args *p = params;
 2515                 iarg[0] = p->sd; /* int */
 2516                 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
 2517                 iarg[2] = p->iovlen; /* int */
 2518                 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
 2519                 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
 2520                 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
 2521                 uarg[6] = (intptr_t) p->msg_flags; /* int * */
 2522                 *n_args = 7;
 2523                 break;
 2524         }
 2525 #ifdef PAD64_REQUIRED
 2526         /* freebsd32_pread */
 2527         case 475: {
 2528                 struct freebsd32_pread_args *p = params;
 2529                 iarg[0] = p->fd; /* int */
 2530                 uarg[1] = (intptr_t) p->buf; /* void * */
 2531                 uarg[2] = p->nbyte; /* size_t */
 2532                 iarg[3] = p->pad; /* int */
 2533                 uarg[4] = p->offset1; /* u_int32_t */
 2534                 uarg[5] = p->offset2; /* u_int32_t */
 2535                 *n_args = 6;
 2536                 break;
 2537         }
 2538         /* freebsd32_pwrite */
 2539         case 476: {
 2540                 struct freebsd32_pwrite_args *p = params;
 2541                 iarg[0] = p->fd; /* int */
 2542                 uarg[1] = (intptr_t) p->buf; /* const void * */
 2543                 uarg[2] = p->nbyte; /* size_t */
 2544                 iarg[3] = p->pad; /* int */
 2545                 uarg[4] = p->offset1; /* u_int32_t */
 2546                 uarg[5] = p->offset2; /* u_int32_t */
 2547                 *n_args = 6;
 2548                 break;
 2549         }
 2550         /* freebsd32_mmap */
 2551         case 477: {
 2552                 struct freebsd32_mmap_args *p = params;
 2553                 uarg[0] = (intptr_t) p->addr; /* caddr_t */
 2554                 uarg[1] = p->len; /* size_t */
 2555                 iarg[2] = p->prot; /* int */
 2556                 iarg[3] = p->flags; /* int */
 2557                 iarg[4] = p->fd; /* int */
 2558                 iarg[5] = p->pad; /* int */
 2559                 uarg[6] = p->pos1; /* u_int32_t */
 2560                 uarg[7] = p->pos2; /* u_int32_t */
 2561                 *n_args = 8;
 2562                 break;
 2563         }
 2564         /* freebsd32_lseek */
 2565         case 478: {
 2566                 struct freebsd32_lseek_args *p = params;
 2567                 iarg[0] = p->fd; /* int */
 2568                 iarg[1] = p->pad; /* int */
 2569                 uarg[2] = p->offset1; /* u_int32_t */
 2570                 uarg[3] = p->offset2; /* u_int32_t */
 2571                 iarg[4] = p->whence; /* int */
 2572                 *n_args = 5;
 2573                 break;
 2574         }
 2575         /* freebsd32_truncate */
 2576         case 479: {
 2577                 struct freebsd32_truncate_args *p = params;
 2578                 uarg[0] = (intptr_t) p->path; /* char * */
 2579                 iarg[1] = p->pad; /* int */
 2580                 uarg[2] = p->length1; /* u_int32_t */
 2581                 uarg[3] = p->length2; /* u_int32_t */
 2582                 *n_args = 4;
 2583                 break;
 2584         }
 2585         /* freebsd32_ftruncate */
 2586         case 480: {
 2587                 struct freebsd32_ftruncate_args *p = params;
 2588                 iarg[0] = p->fd; /* int */
 2589                 iarg[1] = p->pad; /* int */
 2590                 uarg[2] = p->length1; /* u_int32_t */
 2591                 uarg[3] = p->length2; /* u_int32_t */
 2592                 *n_args = 4;
 2593                 break;
 2594         }
 2595 #else
 2596         /* freebsd32_pread */
 2597         case 475: {
 2598                 struct freebsd32_pread_args *p = params;
 2599                 iarg[0] = p->fd; /* int */
 2600                 uarg[1] = (intptr_t) p->buf; /* void * */
 2601                 uarg[2] = p->nbyte; /* size_t */
 2602                 uarg[3] = p->offset1; /* u_int32_t */
 2603                 uarg[4] = p->offset2; /* u_int32_t */
 2604                 *n_args = 5;
 2605                 break;
 2606         }
 2607         /* freebsd32_pwrite */
 2608         case 476: {
 2609                 struct freebsd32_pwrite_args *p = params;
 2610                 iarg[0] = p->fd; /* int */
 2611                 uarg[1] = (intptr_t) p->buf; /* const void * */
 2612                 uarg[2] = p->nbyte; /* size_t */
 2613                 uarg[3] = p->offset1; /* u_int32_t */
 2614                 uarg[4] = p->offset2; /* u_int32_t */
 2615                 *n_args = 5;
 2616                 break;
 2617         }
 2618         /* freebsd32_mmap */
 2619         case 477: {
 2620                 struct freebsd32_mmap_args *p = params;
 2621                 uarg[0] = (intptr_t) p->addr; /* caddr_t */
 2622                 uarg[1] = p->len; /* size_t */
 2623                 iarg[2] = p->prot; /* int */
 2624                 iarg[3] = p->flags; /* int */
 2625                 iarg[4] = p->fd; /* int */
 2626                 uarg[5] = p->pos1; /* u_int32_t */
 2627                 uarg[6] = p->pos2; /* u_int32_t */
 2628                 *n_args = 7;
 2629                 break;
 2630         }
 2631         /* freebsd32_lseek */
 2632         case 478: {
 2633                 struct freebsd32_lseek_args *p = params;
 2634                 iarg[0] = p->fd; /* int */
 2635                 uarg[1] = p->offset1; /* u_int32_t */
 2636                 uarg[2] = p->offset2; /* u_int32_t */
 2637                 iarg[3] = p->whence; /* int */
 2638                 *n_args = 4;
 2639                 break;
 2640         }
 2641         /* freebsd32_truncate */
 2642         case 479: {
 2643                 struct freebsd32_truncate_args *p = params;
 2644                 uarg[0] = (intptr_t) p->path; /* char * */
 2645                 uarg[1] = p->length1; /* u_int32_t */
 2646                 uarg[2] = p->length2; /* u_int32_t */
 2647                 *n_args = 3;
 2648                 break;
 2649         }
 2650         /* freebsd32_ftruncate */
 2651         case 480: {
 2652                 struct freebsd32_ftruncate_args *p = params;
 2653                 iarg[0] = p->fd; /* int */
 2654                 uarg[1] = p->length1; /* u_int32_t */
 2655                 uarg[2] = p->length2; /* u_int32_t */
 2656                 *n_args = 3;
 2657                 break;
 2658         }
 2659 #endif
 2660         /* thr_kill2 */
 2661         case 481: {
 2662                 struct thr_kill2_args *p = params;
 2663                 iarg[0] = p->pid; /* pid_t */
 2664                 iarg[1] = p->id; /* long */
 2665                 iarg[2] = p->sig; /* int */
 2666                 *n_args = 3;
 2667                 break;
 2668         }
 2669         /* shm_open */
 2670         case 482: {
 2671                 struct shm_open_args *p = params;
 2672                 uarg[0] = (intptr_t) p->path; /* const char * */
 2673                 iarg[1] = p->flags; /* int */
 2674                 iarg[2] = p->mode; /* mode_t */
 2675                 *n_args = 3;
 2676                 break;
 2677         }
 2678         /* shm_unlink */
 2679         case 483: {
 2680                 struct shm_unlink_args *p = params;
 2681                 uarg[0] = (intptr_t) p->path; /* const char * */
 2682                 *n_args = 1;
 2683                 break;
 2684         }
 2685         /* cpuset */
 2686         case 484: {
 2687                 struct cpuset_args *p = params;
 2688                 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
 2689                 *n_args = 1;
 2690                 break;
 2691         }
 2692 #ifdef PAD64_REQUIRED
 2693         /* freebsd32_cpuset_setid */
 2694         case 485: {
 2695                 struct freebsd32_cpuset_setid_args *p = params;
 2696                 iarg[0] = p->which; /* cpuwhich_t */
 2697                 iarg[1] = p->pad; /* int */
 2698                 uarg[2] = p->id1; /* u_int32_t */
 2699                 uarg[3] = p->id2; /* u_int32_t */
 2700                 iarg[4] = p->setid; /* cpusetid_t */
 2701                 *n_args = 5;
 2702                 break;
 2703         }
 2704 #else
 2705         /* freebsd32_cpuset_setid */
 2706         case 485: {
 2707                 struct freebsd32_cpuset_setid_args *p = params;
 2708                 iarg[0] = p->which; /* cpuwhich_t */
 2709                 uarg[1] = p->id1; /* u_int32_t */
 2710                 uarg[2] = p->id2; /* u_int32_t */
 2711                 iarg[3] = p->setid; /* cpusetid_t */
 2712                 *n_args = 4;
 2713                 break;
 2714         }
 2715 #endif
 2716         /* freebsd32_cpuset_getid */
 2717         case 486: {
 2718                 struct freebsd32_cpuset_getid_args *p = params;
 2719                 iarg[0] = p->level; /* cpulevel_t */
 2720                 iarg[1] = p->which; /* cpuwhich_t */
 2721                 uarg[2] = p->id1; /* u_int32_t */
 2722                 uarg[3] = p->id2; /* u_int32_t */
 2723                 uarg[4] = (intptr_t) p->setid; /* cpusetid_t * */
 2724                 *n_args = 5;
 2725                 break;
 2726         }
 2727         /* freebsd32_cpuset_getaffinity */
 2728         case 487: {
 2729                 struct freebsd32_cpuset_getaffinity_args *p = params;
 2730                 iarg[0] = p->level; /* cpulevel_t */
 2731                 iarg[1] = p->which; /* cpuwhich_t */
 2732                 uarg[2] = p->id1; /* u_int32_t */
 2733                 uarg[3] = p->id2; /* u_int32_t */
 2734                 uarg[4] = p->cpusetsize; /* size_t */
 2735                 uarg[5] = (intptr_t) p->mask; /* cpuset_t * */
 2736                 *n_args = 6;
 2737                 break;
 2738         }
 2739         /* freebsd32_cpuset_setaffinity */
 2740         case 488: {
 2741                 struct freebsd32_cpuset_setaffinity_args *p = params;
 2742                 iarg[0] = p->level; /* cpulevel_t */
 2743                 iarg[1] = p->which; /* cpuwhich_t */
 2744                 uarg[2] = p->id1; /* u_int32_t */
 2745                 uarg[3] = p->id2; /* u_int32_t */
 2746                 uarg[4] = p->cpusetsize; /* size_t */
 2747                 uarg[5] = (intptr_t) p->mask; /* const cpuset_t * */
 2748                 *n_args = 6;
 2749                 break;
 2750         }
 2751         /* faccessat */
 2752         case 489: {
 2753                 struct faccessat_args *p = params;
 2754                 iarg[0] = p->fd; /* int */
 2755                 uarg[1] = (intptr_t) p->path; /* char * */
 2756                 iarg[2] = p->mode; /* int */
 2757                 iarg[3] = p->flag; /* int */
 2758                 *n_args = 4;
 2759                 break;
 2760         }
 2761         /* fchmodat */
 2762         case 490: {
 2763                 struct fchmodat_args *p = params;
 2764                 iarg[0] = p->fd; /* int */
 2765                 uarg[1] = (intptr_t) p->path; /* const char * */
 2766                 iarg[2] = p->mode; /* mode_t */
 2767                 iarg[3] = p->flag; /* int */
 2768                 *n_args = 4;
 2769                 break;
 2770         }
 2771         /* fchownat */
 2772         case 491: {
 2773                 struct fchownat_args *p = params;
 2774                 iarg[0] = p->fd; /* int */
 2775                 uarg[1] = (intptr_t) p->path; /* char * */
 2776                 uarg[2] = p->uid; /* uid_t */
 2777                 iarg[3] = p->gid; /* gid_t */
 2778                 iarg[4] = p->flag; /* int */
 2779                 *n_args = 5;
 2780                 break;
 2781         }
 2782         /* freebsd32_fexecve */
 2783         case 492: {
 2784                 struct freebsd32_fexecve_args *p = params;
 2785                 iarg[0] = p->fd; /* int */
 2786                 uarg[1] = (intptr_t) p->argv; /* u_int32_t * */
 2787                 uarg[2] = (intptr_t) p->envv; /* u_int32_t * */
 2788                 *n_args = 3;
 2789                 break;
 2790         }
 2791         /* freebsd32_fstatat */
 2792         case 493: {
 2793                 struct freebsd32_fstatat_args *p = params;
 2794                 iarg[0] = p->fd; /* int */
 2795                 uarg[1] = (intptr_t) p->path; /* char * */
 2796                 uarg[2] = (intptr_t) p->buf; /* struct stat * */
 2797                 iarg[3] = p->flag; /* int */
 2798                 *n_args = 4;
 2799                 break;
 2800         }
 2801         /* freebsd32_futimesat */
 2802         case 494: {
 2803                 struct freebsd32_futimesat_args *p = params;
 2804                 iarg[0] = p->fd; /* int */
 2805                 uarg[1] = (intptr_t) p->path; /* char * */
 2806                 uarg[2] = (intptr_t) p->times; /* struct timeval * */
 2807                 *n_args = 3;
 2808                 break;
 2809         }
 2810         /* linkat */
 2811         case 495: {
 2812                 struct linkat_args *p = params;
 2813                 iarg[0] = p->fd1; /* int */
 2814                 uarg[1] = (intptr_t) p->path1; /* char * */
 2815                 iarg[2] = p->fd2; /* int */
 2816                 uarg[3] = (intptr_t) p->path2; /* char * */
 2817                 iarg[4] = p->flag; /* int */
 2818                 *n_args = 5;
 2819                 break;
 2820         }
 2821         /* mkdirat */
 2822         case 496: {
 2823                 struct mkdirat_args *p = params;
 2824                 iarg[0] = p->fd; /* int */
 2825                 uarg[1] = (intptr_t) p->path; /* char * */
 2826                 iarg[2] = p->mode; /* mode_t */
 2827                 *n_args = 3;
 2828                 break;
 2829         }
 2830         /* mkfifoat */
 2831         case 497: {
 2832                 struct mkfifoat_args *p = params;
 2833                 iarg[0] = p->fd; /* int */
 2834                 uarg[1] = (intptr_t) p->path; /* char * */
 2835                 iarg[2] = p->mode; /* mode_t */
 2836                 *n_args = 3;
 2837                 break;
 2838         }
 2839         /* mknodat */
 2840         case 498: {
 2841                 struct mknodat_args *p = params;
 2842                 iarg[0] = p->fd; /* int */
 2843                 uarg[1] = (intptr_t) p->path; /* char * */
 2844                 iarg[2] = p->mode; /* mode_t */
 2845                 iarg[3] = p->dev; /* dev_t */
 2846                 *n_args = 4;
 2847                 break;
 2848         }
 2849         /* openat */
 2850         case 499: {
 2851                 struct openat_args *p = params;
 2852                 iarg[0] = p->fd; /* int */
 2853                 uarg[1] = (intptr_t) p->path; /* char * */
 2854                 iarg[2] = p->flag; /* int */
 2855                 iarg[3] = p->mode; /* mode_t */
 2856                 *n_args = 4;
 2857                 break;
 2858         }
 2859         /* readlinkat */
 2860         case 500: {
 2861                 struct readlinkat_args *p = params;
 2862                 iarg[0] = p->fd; /* int */
 2863                 uarg[1] = (intptr_t) p->path; /* char * */
 2864                 uarg[2] = (intptr_t) p->buf; /* char * */
 2865                 uarg[3] = p->bufsize; /* size_t */
 2866                 *n_args = 4;
 2867                 break;
 2868         }
 2869         /* renameat */
 2870         case 501: {
 2871                 struct renameat_args *p = params;
 2872                 iarg[0] = p->oldfd; /* int */
 2873                 uarg[1] = (intptr_t) p->old; /* char * */
 2874                 iarg[2] = p->newfd; /* int */
 2875                 uarg[3] = (intptr_t) p->new; /* const char * */
 2876                 *n_args = 4;
 2877                 break;
 2878         }
 2879         /* symlinkat */
 2880         case 502: {
 2881                 struct symlinkat_args *p = params;
 2882                 uarg[0] = (intptr_t) p->path1; /* char * */
 2883                 iarg[1] = p->fd; /* int */
 2884                 uarg[2] = (intptr_t) p->path2; /* char * */
 2885                 *n_args = 3;
 2886                 break;
 2887         }
 2888         /* unlinkat */
 2889         case 503: {
 2890                 struct unlinkat_args *p = params;
 2891                 iarg[0] = p->fd; /* int */
 2892                 uarg[1] = (intptr_t) p->path; /* char * */
 2893                 iarg[2] = p->flag; /* int */
 2894                 *n_args = 3;
 2895                 break;
 2896         }
 2897         /* posix_openpt */
 2898         case 504: {
 2899                 struct posix_openpt_args *p = params;
 2900                 iarg[0] = p->flags; /* int */
 2901                 *n_args = 1;
 2902                 break;
 2903         }
 2904         /* freebsd32_jail_get */
 2905         case 506: {
 2906                 struct freebsd32_jail_get_args *p = params;
 2907                 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
 2908                 uarg[1] = p->iovcnt; /* unsigned int */
 2909                 iarg[2] = p->flags; /* int */
 2910                 *n_args = 3;
 2911                 break;
 2912         }
 2913         /* freebsd32_jail_set */
 2914         case 507: {
 2915                 struct freebsd32_jail_set_args *p = params;
 2916                 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
 2917                 uarg[1] = p->iovcnt; /* unsigned int */
 2918                 iarg[2] = p->flags; /* int */
 2919                 *n_args = 3;
 2920                 break;
 2921         }
 2922         /* jail_remove */
 2923         case 508: {
 2924                 struct jail_remove_args *p = params;
 2925                 iarg[0] = p->jid; /* int */
 2926                 *n_args = 1;
 2927                 break;
 2928         }
 2929         /* closefrom */
 2930         case 509: {
 2931                 struct closefrom_args *p = params;
 2932                 iarg[0] = p->lowfd; /* int */
 2933                 *n_args = 1;
 2934                 break;
 2935         }
 2936         /* freebsd32_semctl */
 2937         case 510: {
 2938                 struct freebsd32_semctl_args *p = params;
 2939                 iarg[0] = p->semid; /* int */
 2940                 iarg[1] = p->semnum; /* int */
 2941                 iarg[2] = p->cmd; /* int */
 2942                 uarg[3] = (intptr_t) p->arg; /* union semun32 * */
 2943                 *n_args = 4;
 2944                 break;
 2945         }
 2946         /* freebsd32_msgctl */
 2947         case 511: {
 2948                 struct freebsd32_msgctl_args *p = params;
 2949                 iarg[0] = p->msqid; /* int */
 2950                 iarg[1] = p->cmd; /* int */
 2951                 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds32 * */
 2952                 *n_args = 3;
 2953                 break;
 2954         }
 2955         /* freebsd32_shmctl */
 2956         case 512: {
 2957                 struct freebsd32_shmctl_args *p = params;
 2958                 iarg[0] = p->shmid; /* int */
 2959                 iarg[1] = p->cmd; /* int */
 2960                 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds32 * */
 2961                 *n_args = 3;
 2962                 break;
 2963         }
 2964         /* lpathconf */
 2965         case 513: {
 2966                 struct lpathconf_args *p = params;
 2967                 uarg[0] = (intptr_t) p->path; /* char * */
 2968                 iarg[1] = p->name; /* int */
 2969                 *n_args = 2;
 2970                 break;
 2971         }
 2972         /* cap_new */
 2973         case 514: {
 2974                 struct cap_new_args *p = params;
 2975                 iarg[0] = p->fd; /* int */
 2976                 uarg[1] = p->rights; /* u_int64_t */
 2977                 *n_args = 2;
 2978                 break;
 2979         }
 2980         /* cap_getrights */
 2981         case 515: {
 2982                 struct cap_getrights_args *p = params;
 2983                 iarg[0] = p->fd; /* int */
 2984                 uarg[1] = (intptr_t) p->rightsp; /* u_int64_t * */
 2985                 *n_args = 2;
 2986                 break;
 2987         }
 2988         /* cap_enter */
 2989         case 516: {
 2990                 *n_args = 0;
 2991                 break;
 2992         }
 2993         /* cap_getmode */
 2994         case 517: {
 2995                 struct cap_getmode_args *p = params;
 2996                 uarg[0] = (intptr_t) p->modep; /* u_int * */
 2997                 *n_args = 1;
 2998                 break;
 2999         }
 3000         /* freebsd32_pselect */
 3001         case 522: {
 3002                 struct freebsd32_pselect_args *p = params;
 3003                 iarg[0] = p->nd; /* int */
 3004                 uarg[1] = (intptr_t) p->in; /* fd_set * */
 3005                 uarg[2] = (intptr_t) p->ou; /* fd_set * */
 3006                 uarg[3] = (intptr_t) p->ex; /* fd_set * */
 3007                 uarg[4] = (intptr_t) p->ts; /* const struct timespec32 * */
 3008                 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
 3009                 *n_args = 6;
 3010                 break;
 3011         }
 3012         /* getloginclass */
 3013         case 523: {
 3014                 struct getloginclass_args *p = params;
 3015                 uarg[0] = (intptr_t) p->namebuf; /* char * */
 3016                 uarg[1] = p->namelen; /* size_t */
 3017                 *n_args = 2;
 3018                 break;
 3019         }
 3020         /* setloginclass */
 3021         case 524: {
 3022                 struct setloginclass_args *p = params;
 3023                 uarg[0] = (intptr_t) p->namebuf; /* const char * */
 3024                 *n_args = 1;
 3025                 break;
 3026         }
 3027         /* rctl_get_racct */
 3028         case 525: {
 3029                 struct rctl_get_racct_args *p = params;
 3030                 uarg[0] = (intptr_t) p->inbufp; /* const void * */
 3031                 uarg[1] = p->inbuflen; /* size_t */
 3032                 uarg[2] = (intptr_t) p->outbufp; /* void * */
 3033                 uarg[3] = p->outbuflen; /* size_t */
 3034                 *n_args = 4;
 3035                 break;
 3036         }
 3037         /* rctl_get_rules */
 3038         case 526: {
 3039                 struct rctl_get_rules_args *p = params;
 3040                 uarg[0] = (intptr_t) p->inbufp; /* const void * */
 3041                 uarg[1] = p->inbuflen; /* size_t */
 3042                 uarg[2] = (intptr_t) p->outbufp; /* void * */
 3043                 uarg[3] = p->outbuflen; /* size_t */
 3044                 *n_args = 4;
 3045                 break;
 3046         }
 3047         /* rctl_get_limits */
 3048         case 527: {
 3049                 struct rctl_get_limits_args *p = params;
 3050                 uarg[0] = (intptr_t) p->inbufp; /* const void * */
 3051                 uarg[1] = p->inbuflen; /* size_t */
 3052                 uarg[2] = (intptr_t) p->outbufp; /* void * */
 3053                 uarg[3] = p->outbuflen; /* size_t */
 3054                 *n_args = 4;
 3055                 break;
 3056         }
 3057         /* rctl_add_rule */
 3058         case 528: {
 3059                 struct rctl_add_rule_args *p = params;
 3060                 uarg[0] = (intptr_t) p->inbufp; /* const void * */
 3061                 uarg[1] = p->inbuflen; /* size_t */
 3062                 uarg[2] = (intptr_t) p->outbufp; /* void * */
 3063                 uarg[3] = p->outbuflen; /* size_t */
 3064                 *n_args = 4;
 3065                 break;
 3066         }
 3067         /* rctl_remove_rule */
 3068         case 529: {
 3069                 struct rctl_remove_rule_args *p = params;
 3070                 uarg[0] = (intptr_t) p->inbufp; /* const void * */
 3071                 uarg[1] = p->inbuflen; /* size_t */
 3072                 uarg[2] = (intptr_t) p->outbufp; /* void * */
 3073                 uarg[3] = p->outbuflen; /* size_t */
 3074                 *n_args = 4;
 3075                 break;
 3076         }
 3077 #ifdef PAD64_REQUIRED
 3078         /* freebsd32_posix_fallocate */
 3079         case 530: {
 3080                 struct freebsd32_posix_fallocate_args *p = params;
 3081                 iarg[0] = p->fd; /* int */
 3082                 iarg[1] = p->pad; /* int */
 3083                 uarg[2] = p->offset1; /* uint32_t */
 3084                 uarg[3] = p->offset2; /* uint32_t */
 3085                 uarg[4] = p->len1; /* uint32_t */
 3086                 uarg[5] = p->len2; /* uint32_t */
 3087                 *n_args = 6;
 3088                 break;
 3089         }
 3090         /* freebsd32_posix_fadvise */
 3091         case 531: {
 3092                 struct freebsd32_posix_fadvise_args *p = params;
 3093                 iarg[0] = p->fd; /* int */
 3094                 iarg[1] = p->pad; /* int */
 3095                 uarg[2] = p->offset1; /* uint32_t */
 3096                 uarg[3] = p->offset2; /* uint32_t */
 3097                 uarg[4] = p->len1; /* uint32_t */
 3098                 uarg[5] = p->len2; /* uint32_t */
 3099                 iarg[6] = p->advice; /* int */
 3100                 *n_args = 7;
 3101                 break;
 3102         }
 3103         /* freebsd32_wait6 */
 3104         case 532: {
 3105                 struct freebsd32_wait6_args *p = params;
 3106                 iarg[0] = p->idtype; /* int */
 3107                 iarg[1] = p->pad; /* int */
 3108                 uarg[2] = p->id1; /* uint32_t */
 3109                 uarg[3] = p->id2; /* uint32_t */
 3110                 uarg[4] = (intptr_t) p->status; /* int * */
 3111                 iarg[5] = p->options; /* int */
 3112                 uarg[6] = (intptr_t) p->wrusage; /* struct wrusage32 * */
 3113                 uarg[7] = (intptr_t) p->info; /* siginfo_t * */
 3114                 *n_args = 8;
 3115                 break;
 3116         }
 3117 #else
 3118         /* freebsd32_posix_fallocate */
 3119         case 530: {
 3120                 struct freebsd32_posix_fallocate_args *p = params;
 3121                 iarg[0] = p->fd; /* int */
 3122                 uarg[1] = p->offset1; /* uint32_t */
 3123                 uarg[2] = p->offset2; /* uint32_t */
 3124                 uarg[3] = p->len1; /* uint32_t */
 3125                 uarg[4] = p->len2; /* uint32_t */
 3126                 *n_args = 5;
 3127                 break;
 3128         }
 3129         /* freebsd32_posix_fadvise */
 3130         case 531: {
 3131                 struct freebsd32_posix_fadvise_args *p = params;
 3132                 iarg[0] = p->fd; /* int */
 3133                 uarg[1] = p->offset1; /* uint32_t */
 3134                 uarg[2] = p->offset2; /* uint32_t */
 3135                 uarg[3] = p->len1; /* uint32_t */
 3136                 uarg[4] = p->len2; /* uint32_t */
 3137                 iarg[5] = p->advice; /* int */
 3138                 *n_args = 6;
 3139                 break;
 3140         }
 3141         /* freebsd32_wait6 */
 3142         case 532: {
 3143                 struct freebsd32_wait6_args *p = params;
 3144                 iarg[0] = p->idtype; /* int */
 3145                 uarg[1] = p->id1; /* uint32_t */
 3146                 uarg[2] = p->id2; /* uint32_t */
 3147                 uarg[3] = (intptr_t) p->status; /* int * */
 3148                 iarg[4] = p->options; /* int */
 3149                 uarg[5] = (intptr_t) p->wrusage; /* struct wrusage32 * */
 3150                 uarg[6] = (intptr_t) p->info; /* siginfo_t * */
 3151                 *n_args = 7;
 3152                 break;
 3153         }
 3154 #endif
 3155 #ifdef PAD64_REQUIRED
 3156         /* freebsd32_procctl */
 3157         case 544: {
 3158                 struct freebsd32_procctl_args *p = params;
 3159                 iarg[0] = p->idtype; /* int */
 3160                 iarg[1] = p->pad; /* int */
 3161                 uarg[2] = p->id1; /* uint32_t */
 3162                 uarg[3] = p->id2; /* uint32_t */
 3163                 iarg[4] = p->com; /* int */
 3164                 uarg[5] = (intptr_t) p->data; /* void * */
 3165                 *n_args = 6;
 3166                 break;
 3167         }
 3168 #else
 3169         /* freebsd32_procctl */
 3170         case 544: {
 3171                 struct freebsd32_procctl_args *p = params;
 3172                 iarg[0] = p->idtype; /* int */
 3173                 uarg[1] = p->id1; /* uint32_t */
 3174                 uarg[2] = p->id2; /* uint32_t */
 3175                 iarg[3] = p->com; /* int */
 3176                 uarg[4] = (intptr_t) p->data; /* void * */
 3177                 *n_args = 5;
 3178                 break;
 3179         }
 3180 #endif
 3181         default:
 3182                 *n_args = 0;
 3183                 break;
 3184         };
 3185 }
 3186 static void
 3187 systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
 3188 {
 3189         const char *p = NULL;
 3190         switch (sysnum) {
 3191 #if !defined(PAD64_REQUIRED) && defined(__powerpc__)
 3192 #define PAD64_REQUIRED
 3193 #endif
 3194         /* nosys */
 3195         case 0:
 3196                 break;
 3197         /* sys_exit */
 3198         case 1:
 3199                 switch(ndx) {
 3200                 case 0:
 3201                         p = "int";
 3202                         break;
 3203                 default:
 3204                         break;
 3205                 };
 3206                 break;
 3207         /* fork */
 3208         case 2:
 3209                 break;
 3210         /* read */
 3211         case 3:
 3212                 switch(ndx) {
 3213                 case 0:
 3214                         p = "int";
 3215                         break;
 3216                 case 1:
 3217                         p = "void *";
 3218                         break;
 3219                 case 2:
 3220                         p = "size_t";
 3221                         break;
 3222                 default:
 3223                         break;
 3224                 };
 3225                 break;
 3226         /* write */
 3227         case 4:
 3228                 switch(ndx) {
 3229                 case 0:
 3230                         p = "int";
 3231                         break;
 3232                 case 1:
 3233                         p = "const void *";
 3234                         break;
 3235                 case 2:
 3236                         p = "size_t";
 3237                         break;
 3238                 default:
 3239                         break;
 3240                 };
 3241                 break;
 3242         /* open */
 3243         case 5:
 3244                 switch(ndx) {
 3245                 case 0:
 3246                         p = "char *";
 3247                         break;
 3248                 case 1:
 3249                         p = "int";
 3250                         break;
 3251                 case 2:
 3252                         p = "int";
 3253                         break;
 3254                 default:
 3255                         break;
 3256                 };
 3257                 break;
 3258         /* close */
 3259         case 6:
 3260                 switch(ndx) {
 3261                 case 0:
 3262                         p = "int";
 3263                         break;
 3264                 default:
 3265                         break;
 3266                 };
 3267                 break;
 3268         /* freebsd32_wait4 */
 3269         case 7:
 3270                 switch(ndx) {
 3271                 case 0:
 3272                         p = "int";
 3273                         break;
 3274                 case 1:
 3275                         p = "int *";
 3276                         break;
 3277                 case 2:
 3278                         p = "int";
 3279                         break;
 3280                 case 3:
 3281                         p = "struct rusage32 *";
 3282                         break;
 3283                 default:
 3284                         break;
 3285                 };
 3286                 break;
 3287         /* link */
 3288         case 9:
 3289                 switch(ndx) {
 3290                 case 0:
 3291                         p = "char *";
 3292                         break;
 3293                 case 1:
 3294                         p = "char *";
 3295                         break;
 3296                 default:
 3297                         break;
 3298                 };
 3299                 break;
 3300         /* unlink */
 3301         case 10:
 3302                 switch(ndx) {
 3303                 case 0:
 3304                         p = "char *";
 3305                         break;
 3306                 default:
 3307                         break;
 3308                 };
 3309                 break;
 3310         /* chdir */
 3311         case 12:
 3312                 switch(ndx) {
 3313                 case 0:
 3314                         p = "char *";
 3315                         break;
 3316                 default:
 3317                         break;
 3318                 };
 3319                 break;
 3320         /* fchdir */
 3321         case 13:
 3322                 switch(ndx) {
 3323                 case 0:
 3324                         p = "int";
 3325                         break;
 3326                 default:
 3327                         break;
 3328                 };
 3329                 break;
 3330         /* mknod */
 3331         case 14:
 3332                 switch(ndx) {
 3333                 case 0:
 3334                         p = "char *";
 3335                         break;
 3336                 case 1:
 3337                         p = "int";
 3338                         break;
 3339                 case 2:
 3340                         p = "int";
 3341                         break;
 3342                 default:
 3343                         break;
 3344                 };
 3345                 break;
 3346         /* chmod */
 3347         case 15:
 3348                 switch(ndx) {
 3349                 case 0:
 3350                         p = "char *";
 3351                         break;
 3352                 case 1:
 3353                         p = "int";
 3354                         break;
 3355                 default:
 3356                         break;
 3357                 };
 3358                 break;
 3359         /* chown */
 3360         case 16:
 3361                 switch(ndx) {
 3362                 case 0:
 3363                         p = "char *";
 3364                         break;
 3365                 case 1:
 3366                         p = "int";
 3367                         break;
 3368                 case 2:
 3369                         p = "int";
 3370                         break;
 3371                 default:
 3372                         break;
 3373                 };
 3374                 break;
 3375         /* obreak */
 3376         case 17:
 3377                 switch(ndx) {
 3378                 case 0:
 3379                         p = "char *";
 3380                         break;
 3381                 default:
 3382                         break;
 3383                 };
 3384                 break;
 3385         /* getpid */
 3386         case 20:
 3387                 break;
 3388         /* mount */
 3389         case 21:
 3390                 switch(ndx) {
 3391                 case 0:
 3392                         p = "char *";
 3393                         break;
 3394                 case 1:
 3395                         p = "char *";
 3396                         break;
 3397                 case 2:
 3398                         p = "int";
 3399                         break;
 3400                 case 3:
 3401                         p = "caddr_t";
 3402                         break;
 3403                 default:
 3404                         break;
 3405                 };
 3406                 break;
 3407         /* unmount */
 3408         case 22:
 3409                 switch(ndx) {
 3410                 case 0:
 3411                         p = "char *";
 3412                         break;
 3413                 case 1:
 3414                         p = "int";
 3415                         break;
 3416                 default:
 3417                         break;
 3418                 };
 3419                 break;
 3420         /* setuid */
 3421         case 23:
 3422                 switch(ndx) {
 3423                 case 0:
 3424                         p = "uid_t";
 3425                         break;
 3426                 default:
 3427                         break;
 3428                 };
 3429                 break;
 3430         /* getuid */
 3431         case 24:
 3432                 break;
 3433         /* geteuid */
 3434         case 25:
 3435                 break;
 3436         /* ptrace */
 3437         case 26:
 3438                 switch(ndx) {
 3439                 case 0:
 3440                         p = "int";
 3441                         break;
 3442                 case 1:
 3443                         p = "pid_t";
 3444                         break;
 3445                 case 2:
 3446                         p = "caddr_t";
 3447                         break;
 3448                 case 3:
 3449                         p = "int";
 3450                         break;
 3451                 default:
 3452                         break;
 3453                 };
 3454                 break;
 3455         /* freebsd32_recvmsg */
 3456         case 27:
 3457                 switch(ndx) {
 3458                 case 0:
 3459                         p = "int";
 3460                         break;
 3461                 case 1:
 3462                         p = "struct msghdr32 *";
 3463                         break;
 3464                 case 2:
 3465                         p = "int";
 3466                         break;
 3467                 default:
 3468                         break;
 3469                 };
 3470                 break;
 3471         /* freebsd32_sendmsg */
 3472         case 28:
 3473                 switch(ndx) {
 3474                 case 0:
 3475                         p = "int";
 3476                         break;
 3477                 case 1:
 3478                         p = "struct msghdr32 *";
 3479                         break;
 3480                 case 2:
 3481                         p = "int";
 3482                         break;
 3483                 default:
 3484                         break;
 3485                 };
 3486                 break;
 3487         /* freebsd32_recvfrom */
 3488         case 29:
 3489                 switch(ndx) {
 3490                 case 0:
 3491                         p = "int";
 3492                         break;
 3493                 case 1:
 3494                         p = "u_int32_t";
 3495                         break;
 3496                 case 2:
 3497                         p = "u_int32_t";
 3498                         break;
 3499                 case 3:
 3500                         p = "int";
 3501                         break;
 3502                 case 4:
 3503                         p = "u_int32_t";
 3504                         break;
 3505                 case 5:
 3506                         p = "u_int32_t";
 3507                         break;
 3508                 default:
 3509                         break;
 3510                 };
 3511                 break;
 3512         /* accept */
 3513         case 30:
 3514                 switch(ndx) {
 3515                 case 0:
 3516                         p = "int";
 3517                         break;
 3518                 case 1:
 3519                         p = "caddr_t";
 3520                         break;
 3521                 case 2:
 3522                         p = "int *";
 3523                         break;
 3524                 default:
 3525                         break;
 3526                 };
 3527                 break;
 3528         /* getpeername */
 3529         case 31:
 3530                 switch(ndx) {
 3531                 case 0:
 3532                         p = "int";
 3533                         break;
 3534                 case 1:
 3535                         p = "caddr_t";
 3536                         break;
 3537                 case 2:
 3538                         p = "int *";
 3539                         break;
 3540                 default:
 3541                         break;
 3542                 };
 3543                 break;
 3544         /* getsockname */
 3545         case 32:
 3546                 switch(ndx) {
 3547                 case 0:
 3548                         p = "int";
 3549                         break;
 3550                 case 1:
 3551                         p = "caddr_t";
 3552                         break;
 3553                 case 2:
 3554                         p = "int *";
 3555                         break;
 3556                 default:
 3557                         break;
 3558                 };
 3559                 break;
 3560         /* access */
 3561         case 33:
 3562                 switch(ndx) {
 3563                 case 0:
 3564                         p = "char *";
 3565                         break;
 3566                 case 1:
 3567                         p = "int";
 3568                         break;
 3569                 default:
 3570                         break;
 3571                 };
 3572                 break;
 3573         /* chflags */
 3574         case 34:
 3575                 switch(ndx) {
 3576                 case 0:
 3577                         p = "char *";
 3578                         break;
 3579                 case 1:
 3580                         p = "int";
 3581                         break;
 3582                 default:
 3583                         break;
 3584                 };
 3585                 break;
 3586         /* fchflags */
 3587         case 35:
 3588                 switch(ndx) {
 3589                 case 0:
 3590                         p = "int";
 3591                         break;
 3592                 case 1:
 3593                         p = "int";
 3594                         break;
 3595                 default:
 3596                         break;
 3597                 };
 3598                 break;
 3599         /* sync */
 3600         case 36:
 3601                 break;
 3602         /* kill */
 3603         case 37:
 3604                 switch(ndx) {
 3605                 case 0:
 3606                         p = "int";
 3607                         break;
 3608                 case 1:
 3609                         p = "int";
 3610                         break;
 3611                 default:
 3612                         break;
 3613                 };
 3614                 break;
 3615         /* getppid */
 3616         case 39:
 3617                 break;
 3618         /* dup */
 3619         case 41:
 3620                 switch(ndx) {
 3621                 case 0:
 3622                         p = "u_int";
 3623                         break;
 3624                 default:
 3625                         break;
 3626                 };
 3627                 break;
 3628         /* pipe */
 3629         case 42:
 3630                 break;
 3631         /* getegid */
 3632         case 43:
 3633                 break;
 3634         /* profil */
 3635         case 44:
 3636                 switch(ndx) {
 3637                 case 0:
 3638                         p = "caddr_t";
 3639                         break;
 3640                 case 1:
 3641                         p = "size_t";
 3642                         break;
 3643                 case 2:
 3644                         p = "size_t";
 3645                         break;
 3646                 case 3:
 3647                         p = "u_int";
 3648                         break;
 3649                 default:
 3650                         break;
 3651                 };
 3652                 break;
 3653         /* ktrace */
 3654         case 45:
 3655                 switch(ndx) {
 3656                 case 0:
 3657                         p = "const char *";
 3658                         break;
 3659                 case 1:
 3660                         p = "int";
 3661                         break;
 3662                 case 2:
 3663                         p = "int";
 3664                         break;
 3665                 case 3:
 3666                         p = "int";
 3667                         break;
 3668                 default:
 3669                         break;
 3670                 };
 3671                 break;
 3672         /* getgid */
 3673         case 47:
 3674                 break;
 3675         /* getlogin */
 3676         case 49:
 3677                 switch(ndx) {
 3678                 case 0:
 3679                         p = "char *";
 3680                         break;
 3681                 case 1:
 3682                         p = "u_int";
 3683                         break;
 3684                 default:
 3685                         break;
 3686                 };
 3687                 break;
 3688         /* setlogin */
 3689         case 50:
 3690                 switch(ndx) {
 3691                 case 0:
 3692                         p = "char *";
 3693                         break;
 3694                 default:
 3695                         break;
 3696                 };
 3697                 break;
 3698         /* acct */
 3699         case 51:
 3700                 switch(ndx) {
 3701                 case 0:
 3702                         p = "char *";
 3703                         break;
 3704                 default:
 3705                         break;
 3706                 };
 3707                 break;
 3708         /* freebsd32_sigaltstack */
 3709         case 53:
 3710                 switch(ndx) {
 3711                 case 0:
 3712                         p = "struct sigaltstack32 *";
 3713                         break;
 3714                 case 1:
 3715                         p = "struct sigaltstack32 *";
 3716                         break;
 3717                 default:
 3718                         break;
 3719                 };
 3720                 break;
 3721         /* freebsd32_ioctl */
 3722         case 54:
 3723                 switch(ndx) {
 3724                 case 0:
 3725                         p = "int";
 3726                         break;
 3727                 case 1:
 3728                         p = "uint32_t";
 3729                         break;
 3730                 case 2:
 3731                         p = "struct md_ioctl32 *";
 3732                         break;
 3733                 default:
 3734                         break;
 3735                 };
 3736                 break;
 3737         /* reboot */
 3738         case 55:
 3739                 switch(ndx) {
 3740                 case 0:
 3741                         p = "int";
 3742                         break;
 3743                 default:
 3744                         break;
 3745                 };
 3746                 break;
 3747         /* revoke */
 3748         case 56:
 3749                 switch(ndx) {
 3750                 case 0:
 3751                         p = "char *";
 3752                         break;
 3753                 default:
 3754                         break;
 3755                 };
 3756                 break;
 3757         /* symlink */
 3758         case 57:
 3759                 switch(ndx) {
 3760                 case 0:
 3761                         p = "char *";
 3762                         break;
 3763                 case 1:
 3764                         p = "char *";
 3765                         break;
 3766                 default:
 3767                         break;
 3768                 };
 3769                 break;
 3770         /* readlink */
 3771         case 58:
 3772                 switch(ndx) {
 3773                 case 0:
 3774                         p = "char *";
 3775                         break;
 3776                 case 1:
 3777                         p = "char *";
 3778                         break;
 3779                 case 2:
 3780                         p = "size_t";
 3781                         break;
 3782                 default:
 3783                         break;
 3784                 };
 3785                 break;
 3786         /* freebsd32_execve */
 3787         case 59:
 3788                 switch(ndx) {
 3789                 case 0:
 3790                         p = "char *";
 3791                         break;
 3792                 case 1:
 3793                         p = "u_int32_t *";
 3794                         break;
 3795                 case 2:
 3796                         p = "u_int32_t *";
 3797                         break;
 3798                 default:
 3799                         break;
 3800                 };
 3801                 break;
 3802         /* umask */
 3803         case 60:
 3804                 switch(ndx) {
 3805                 case 0:
 3806                         p = "int";
 3807                         break;
 3808                 default:
 3809                         break;
 3810                 };
 3811                 break;
 3812         /* chroot */
 3813         case 61:
 3814                 switch(ndx) {
 3815                 case 0:
 3816                         p = "char *";
 3817                         break;
 3818                 default:
 3819                         break;
 3820                 };
 3821                 break;
 3822         /* msync */
 3823         case 65:
 3824                 switch(ndx) {
 3825                 case 0:
 3826                         p = "void *";
 3827                         break;
 3828                 case 1:
 3829                         p = "size_t";
 3830                         break;
 3831                 case 2:
 3832                         p = "int";
 3833                         break;
 3834                 default:
 3835                         break;
 3836                 };
 3837                 break;
 3838         /* vfork */
 3839         case 66:
 3840                 break;
 3841         /* sbrk */
 3842         case 69:
 3843                 switch(ndx) {
 3844                 case 0:
 3845                         p = "int";
 3846                         break;
 3847                 default:
 3848                         break;
 3849                 };
 3850                 break;
 3851         /* sstk */
 3852         case 70:
 3853                 switch(ndx) {
 3854                 case 0:
 3855                         p = "int";
 3856                         break;
 3857                 default:
 3858                         break;
 3859                 };
 3860                 break;
 3861         /* ovadvise */
 3862         case 72:
 3863                 switch(ndx) {
 3864                 case 0:
 3865                         p = "int";
 3866                         break;
 3867                 default:
 3868                         break;
 3869                 };
 3870                 break;
 3871         /* munmap */
 3872         case 73:
 3873                 switch(ndx) {
 3874                 case 0:
 3875                         p = "void *";
 3876                         break;
 3877                 case 1:
 3878                         p = "size_t";
 3879                         break;
 3880                 default:
 3881                         break;
 3882                 };
 3883                 break;
 3884         /* freebsd32_mprotect */
 3885         case 74:
 3886                 switch(ndx) {
 3887                 case 0:
 3888                         p = "const void *";
 3889                         break;
 3890                 case 1:
 3891                         p = "size_t";
 3892                         break;
 3893                 case 2:
 3894                         p = "int";
 3895                         break;
 3896                 default:
 3897                         break;
 3898                 };
 3899                 break;
 3900         /* madvise */
 3901         case 75:
 3902                 switch(ndx) {
 3903                 case 0:
 3904                         p = "void *";
 3905                         break;
 3906                 case 1:
 3907                         p = "size_t";
 3908                         break;
 3909                 case 2:
 3910                         p = "int";
 3911                         break;
 3912                 default:
 3913                         break;
 3914                 };
 3915                 break;
 3916         /* mincore */
 3917         case 78:
 3918                 switch(ndx) {
 3919                 case 0:
 3920                         p = "const void *";
 3921                         break;
 3922                 case 1:
 3923                         p = "size_t";
 3924                         break;
 3925                 case 2:
 3926                         p = "char *";
 3927                         break;
 3928                 default:
 3929                         break;
 3930                 };
 3931                 break;
 3932         /* getgroups */
 3933         case 79:
 3934                 switch(ndx) {
 3935                 case 0:
 3936                         p = "u_int";
 3937                         break;
 3938                 case 1:
 3939                         p = "gid_t *";
 3940                         break;
 3941                 default:
 3942                         break;
 3943                 };
 3944                 break;
 3945         /* setgroups */
 3946         case 80:
 3947                 switch(ndx) {
 3948                 case 0:
 3949                         p = "u_int";
 3950                         break;
 3951                 case 1:
 3952                         p = "gid_t *";
 3953                         break;
 3954                 default:
 3955                         break;
 3956                 };
 3957                 break;
 3958         /* getpgrp */
 3959         case 81:
 3960                 break;
 3961         /* setpgid */
 3962         case 82:
 3963                 switch(ndx) {
 3964                 case 0:
 3965                         p = "int";
 3966                         break;
 3967                 case 1:
 3968                         p = "int";
 3969                         break;
 3970                 default:
 3971                         break;
 3972                 };
 3973                 break;
 3974         /* freebsd32_setitimer */
 3975         case 83:
 3976                 switch(ndx) {
 3977                 case 0:
 3978                         p = "u_int";
 3979                         break;
 3980                 case 1:
 3981                         p = "struct itimerval32 *";
 3982                         break;
 3983                 case 2:
 3984                         p = "struct itimerval32 *";
 3985                         break;
 3986                 default:
 3987                         break;
 3988                 };
 3989                 break;
 3990         /* swapon */
 3991         case 85:
 3992                 switch(ndx) {
 3993                 case 0:
 3994                         p = "char *";
 3995                         break;
 3996                 default:
 3997                         break;
 3998                 };
 3999                 break;
 4000         /* freebsd32_getitimer */
 4001         case 86:
 4002                 switch(ndx) {
 4003                 case 0:
 4004                         p = "u_int";
 4005                         break;
 4006                 case 1:
 4007                         p = "struct itimerval32 *";
 4008                         break;
 4009                 default:
 4010                         break;
 4011                 };
 4012                 break;
 4013         /* getdtablesize */
 4014         case 89:
 4015                 break;
 4016         /* dup2 */
 4017         case 90:
 4018                 switch(ndx) {
 4019                 case 0:
 4020                         p = "u_int";
 4021                         break;
 4022                 case 1:
 4023                         p = "u_int";
 4024                         break;
 4025                 default:
 4026                         break;
 4027                 };
 4028                 break;
 4029         /* fcntl */
 4030         case 92:
 4031                 switch(ndx) {
 4032                 case 0:
 4033                         p = "int";
 4034                         break;
 4035                 case 1:
 4036                         p = "int";
 4037                         break;
 4038                 case 2:
 4039                         p = "long";
 4040                         break;
 4041                 default:
 4042                         break;
 4043                 };
 4044                 break;
 4045         /* freebsd32_select */
 4046         case 93:
 4047                 switch(ndx) {
 4048                 case 0:
 4049                         p = "int";
 4050                         break;
 4051                 case 1:
 4052                         p = "fd_set *";
 4053                         break;
 4054                 case 2:
 4055                         p = "fd_set *";
 4056                         break;
 4057                 case 3:
 4058                         p = "fd_set *";
 4059                         break;
 4060                 case 4:
 4061                         p = "struct timeval32 *";
 4062                         break;
 4063                 default:
 4064                         break;
 4065                 };
 4066                 break;
 4067         /* fsync */
 4068         case 95:
 4069                 switch(ndx) {
 4070                 case 0:
 4071                         p = "int";
 4072                         break;
 4073                 default:
 4074                         break;
 4075                 };
 4076                 break;
 4077         /* setpriority */
 4078         case 96:
 4079                 switch(ndx) {
 4080                 case 0:
 4081                         p = "int";
 4082                         break;
 4083                 case 1:
 4084                         p = "int";
 4085                         break;
 4086                 case 2:
 4087                         p = "int";
 4088                         break;
 4089                 default:
 4090                         break;
 4091                 };
 4092                 break;
 4093         /* socket */
 4094         case 97:
 4095                 switch(ndx) {
 4096                 case 0:
 4097                         p = "int";
 4098                         break;
 4099                 case 1:
 4100                         p = "int";
 4101                         break;
 4102                 case 2:
 4103                         p = "int";
 4104                         break;
 4105                 default:
 4106                         break;
 4107                 };
 4108                 break;
 4109         /* connect */
 4110         case 98:
 4111                 switch(ndx) {
 4112                 case 0:
 4113                         p = "int";
 4114                         break;
 4115                 case 1:
 4116                         p = "caddr_t";
 4117                         break;
 4118                 case 2:
 4119                         p = "int";
 4120                         break;
 4121                 default:
 4122                         break;
 4123                 };
 4124                 break;
 4125         /* getpriority */
 4126         case 100:
 4127                 switch(ndx) {
 4128                 case 0:
 4129                         p = "int";
 4130                         break;
 4131                 case 1:
 4132                         p = "int";
 4133                         break;
 4134                 default:
 4135                         break;
 4136                 };
 4137                 break;
 4138         /* bind */
 4139         case 104:
 4140                 switch(ndx) {
 4141                 case 0:
 4142                         p = "int";
 4143                         break;
 4144                 case 1:
 4145                         p = "caddr_t";
 4146                         break;
 4147                 case 2:
 4148                         p = "int";
 4149                         break;
 4150                 default:
 4151                         break;
 4152                 };
 4153                 break;
 4154         /* setsockopt */
 4155         case 105:
 4156                 switch(ndx) {
 4157                 case 0:
 4158                         p = "int";
 4159                         break;
 4160                 case 1:
 4161                         p = "int";
 4162                         break;
 4163                 case 2:
 4164                         p = "int";
 4165                         break;
 4166                 case 3:
 4167                         p = "caddr_t";
 4168                         break;
 4169                 case 4:
 4170                         p = "int";
 4171                         break;
 4172                 default:
 4173                         break;
 4174                 };
 4175                 break;
 4176         /* listen */
 4177         case 106:
 4178                 switch(ndx) {
 4179                 case 0:
 4180                         p = "int";
 4181                         break;
 4182                 case 1:
 4183                         p = "int";
 4184                         break;
 4185                 default:
 4186                         break;
 4187                 };
 4188                 break;
 4189         /* freebsd32_gettimeofday */
 4190         case 116:
 4191                 switch(ndx) {
 4192                 case 0:
 4193                         p = "struct timeval32 *";
 4194                         break;
 4195                 case 1:
 4196                         p = "struct timezone *";
 4197                         break;
 4198                 default:
 4199                         break;
 4200                 };
 4201                 break;
 4202         /* freebsd32_getrusage */
 4203         case 117:
 4204                 switch(ndx) {
 4205                 case 0:
 4206                         p = "int";
 4207                         break;
 4208                 case 1:
 4209                         p = "struct rusage32 *";
 4210                         break;
 4211                 default:
 4212                         break;
 4213                 };
 4214                 break;
 4215         /* getsockopt */
 4216         case 118:
 4217                 switch(ndx) {
 4218                 case 0:
 4219                         p = "int";
 4220                         break;
 4221                 case 1:
 4222                         p = "int";
 4223                         break;
 4224                 case 2:
 4225                         p = "int";
 4226                         break;
 4227                 case 3:
 4228                         p = "caddr_t";
 4229                         break;
 4230                 case 4:
 4231                         p = "int *";
 4232                         break;
 4233                 default:
 4234                         break;
 4235                 };
 4236                 break;
 4237         /* freebsd32_readv */
 4238         case 120:
 4239                 switch(ndx) {
 4240                 case 0:
 4241                         p = "int";
 4242                         break;
 4243                 case 1:
 4244                         p = "struct iovec32 *";
 4245                         break;
 4246                 case 2:
 4247                         p = "u_int";
 4248                         break;
 4249                 default:
 4250                         break;
 4251                 };
 4252                 break;
 4253         /* freebsd32_writev */
 4254         case 121:
 4255                 switch(ndx) {
 4256                 case 0:
 4257                         p = "int";
 4258                         break;
 4259                 case 1:
 4260                         p = "struct iovec32 *";
 4261                         break;
 4262                 case 2:
 4263                         p = "u_int";
 4264                         break;
 4265                 default:
 4266                         break;
 4267                 };
 4268                 break;
 4269         /* freebsd32_settimeofday */
 4270         case 122:
 4271                 switch(ndx) {
 4272                 case 0:
 4273                         p = "struct timeval32 *";
 4274                         break;
 4275                 case 1:
 4276                         p = "struct timezone *";
 4277                         break;
 4278                 default:
 4279                         break;
 4280                 };
 4281                 break;
 4282         /* fchown */
 4283         case 123:
 4284                 switch(ndx) {
 4285                 case 0:
 4286                         p = "int";
 4287                         break;
 4288                 case 1:
 4289                         p = "int";
 4290                         break;
 4291                 case 2:
 4292                         p = "int";
 4293                         break;
 4294                 default:
 4295                         break;
 4296                 };
 4297                 break;
 4298         /* fchmod */
 4299         case 124:
 4300                 switch(ndx) {
 4301                 case 0:
 4302                         p = "int";
 4303                         break;
 4304                 case 1:
 4305                         p = "int";
 4306                         break;
 4307                 default:
 4308                         break;
 4309                 };
 4310                 break;
 4311         /* setreuid */
 4312         case 126:
 4313                 switch(ndx) {
 4314                 case 0:
 4315                         p = "int";
 4316                         break;
 4317                 case 1:
 4318                         p = "int";
 4319                         break;
 4320                 default:
 4321                         break;
 4322                 };
 4323                 break;
 4324         /* setregid */
 4325         case 127:
 4326                 switch(ndx) {
 4327                 case 0:
 4328                         p = "int";
 4329                         break;
 4330                 case 1:
 4331                         p = "int";
 4332                         break;
 4333                 default:
 4334                         break;
 4335                 };
 4336                 break;
 4337         /* rename */
 4338         case 128:
 4339                 switch(ndx) {
 4340                 case 0:
 4341                         p = "char *";
 4342                         break;
 4343                 case 1:
 4344                         p = "char *";
 4345                         break;
 4346                 default:
 4347                         break;
 4348                 };
 4349                 break;
 4350         /* flock */
 4351         case 131:
 4352                 switch(ndx) {
 4353                 case 0:
 4354                         p = "int";
 4355                         break;
 4356                 case 1:
 4357                         p = "int";
 4358                         break;
 4359                 default:
 4360                         break;
 4361                 };
 4362                 break;
 4363         /* mkfifo */
 4364         case 132:
 4365                 switch(ndx) {
 4366                 case 0:
 4367                         p = "char *";
 4368                         break;
 4369                 case 1:
 4370                         p = "int";
 4371                         break;
 4372                 default:
 4373                         break;
 4374                 };
 4375                 break;
 4376         /* sendto */
 4377         case 133:
 4378                 switch(ndx) {
 4379                 case 0:
 4380                         p = "int";
 4381                         break;
 4382                 case 1:
 4383                         p = "caddr_t";
 4384                         break;
 4385                 case 2:
 4386                         p = "size_t";
 4387                         break;
 4388                 case 3:
 4389                         p = "int";
 4390                         break;
 4391                 case 4:
 4392                         p = "caddr_t";
 4393                         break;
 4394                 case 5:
 4395                         p = "int";
 4396                         break;
 4397                 default:
 4398                         break;
 4399                 };
 4400                 break;
 4401         /* shutdown */
 4402         case 134:
 4403                 switch(ndx) {
 4404                 case 0:
 4405                         p = "int";
 4406                         break;
 4407                 case 1:
 4408                         p = "int";
 4409                         break;
 4410                 default:
 4411                         break;
 4412                 };
 4413                 break;
 4414         /* socketpair */
 4415         case 135:
 4416                 switch(ndx) {
 4417                 case 0:
 4418                         p = "int";
 4419                         break;
 4420                 case 1:
 4421                         p = "int";
 4422                         break;
 4423                 case 2:
 4424                         p = "int";
 4425                         break;
 4426                 case 3:
 4427                         p = "int *";
 4428                         break;
 4429                 default:
 4430                         break;
 4431                 };
 4432                 break;
 4433         /* mkdir */
 4434         case 136:
 4435                 switch(ndx) {
 4436                 case 0:
 4437                         p = "char *";
 4438                         break;
 4439                 case 1:
 4440                         p = "int";
 4441                         break;
 4442                 default:
 4443                         break;
 4444                 };
 4445                 break;
 4446         /* rmdir */
 4447         case 137:
 4448                 switch(ndx) {
 4449                 case 0:
 4450                         p = "char *";
 4451                         break;
 4452                 default:
 4453                         break;
 4454                 };
 4455                 break;
 4456         /* freebsd32_utimes */
 4457         case 138:
 4458                 switch(ndx) {
 4459                 case 0:
 4460                         p = "char *";
 4461                         break;
 4462                 case 1:
 4463                         p = "struct timeval32 *";
 4464                         break;
 4465                 default:
 4466                         break;
 4467                 };
 4468                 break;
 4469         /* freebsd32_adjtime */
 4470         case 140:
 4471                 switch(ndx) {
 4472                 case 0:
 4473                         p = "struct timeval32 *";
 4474                         break;
 4475                 case 1:
 4476                         p = "struct timeval32 *";
 4477                         break;
 4478                 default:
 4479                         break;
 4480                 };
 4481                 break;
 4482         /* setsid */
 4483         case 147:
 4484                 break;
 4485         /* quotactl */
 4486         case 148:
 4487                 switch(ndx) {
 4488                 case 0:
 4489                         p = "char *";
 4490                         break;
 4491                 case 1:
 4492                         p = "int";
 4493                         break;
 4494                 case 2:
 4495                         p = "int";
 4496                         break;
 4497                 case 3:
 4498                         p = "caddr_t";
 4499                         break;
 4500                 default:
 4501                         break;
 4502                 };
 4503                 break;
 4504         /* getfh */
 4505         case 161:
 4506                 switch(ndx) {
 4507                 case 0:
 4508                         p = "char *";
 4509                         break;
 4510                 case 1:
 4511                         p = "struct fhandle *";
 4512                         break;
 4513                 default:
 4514                         break;
 4515                 };
 4516                 break;
 4517         /* freebsd32_sysarch */
 4518         case 165:
 4519                 switch(ndx) {
 4520                 case 0:
 4521                         p = "int";
 4522                         break;
 4523                 case 1:
 4524                         p = "char *";
 4525                         break;
 4526                 default:
 4527                         break;
 4528                 };
 4529                 break;
 4530         /* rtprio */
 4531         case 166:
 4532                 switch(ndx) {
 4533                 case 0:
 4534                         p = "int";
 4535                         break;
 4536                 case 1:
 4537                         p = "pid_t";
 4538                         break;
 4539                 case 2:
 4540                         p = "struct rtprio *";
 4541                         break;
 4542                 default:
 4543                         break;
 4544                 };
 4545                 break;
 4546         /* freebsd32_semsys */
 4547         case 169:
 4548                 switch(ndx) {
 4549                 case 0:
 4550                         p = "int";
 4551                         break;
 4552                 case 1:
 4553                         p = "int";
 4554                         break;
 4555                 case 2:
 4556                         p = "int";
 4557                         break;
 4558                 case 3:
 4559                         p = "int";
 4560                         break;
 4561                 case 4:
 4562                         p = "int";
 4563                         break;
 4564                 default:
 4565                         break;
 4566                 };
 4567                 break;
 4568         /* freebsd32_msgsys */
 4569         case 170:
 4570                 switch(ndx) {
 4571                 case 0:
 4572                         p = "int";
 4573                         break;
 4574                 case 1:
 4575                         p = "int";
 4576                         break;
 4577                 case 2:
 4578                         p = "int";
 4579                         break;
 4580                 case 3:
 4581                         p = "int";
 4582                         break;
 4583                 case 4:
 4584                         p = "int";
 4585                         break;
 4586                 case 5:
 4587                         p = "int";
 4588                         break;
 4589                 default:
 4590                         break;
 4591                 };
 4592                 break;
 4593         /* freebsd32_shmsys */
 4594         case 171:
 4595                 switch(ndx) {
 4596                 case 0:
 4597                         p = "uint32_t";
 4598                         break;
 4599                 case 1:
 4600                         p = "uint32_t";
 4601                         break;
 4602                 case 2:
 4603                         p = "uint32_t";
 4604                         break;
 4605                 case 3:
 4606                         p = "uint32_t";
 4607                         break;
 4608                 default:
 4609                         break;
 4610                 };
 4611                 break;
 4612         /* ntp_adjtime */
 4613         case 176:
 4614                 switch(ndx) {
 4615                 case 0:
 4616                         p = "struct timex *";
 4617                         break;
 4618                 default:
 4619                         break;
 4620                 };
 4621                 break;
 4622         /* setgid */
 4623         case 181:
 4624                 switch(ndx) {
 4625                 case 0:
 4626                         p = "gid_t";
 4627                         break;
 4628                 default:
 4629                         break;
 4630                 };
 4631                 break;
 4632         /* setegid */
 4633         case 182:
 4634                 switch(ndx) {
 4635                 case 0:
 4636                         p = "gid_t";
 4637                         break;
 4638                 default:
 4639                         break;
 4640                 };
 4641                 break;
 4642         /* seteuid */
 4643         case 183:
 4644                 switch(ndx) {
 4645                 case 0:
 4646                         p = "uid_t";
 4647                         break;
 4648                 default:
 4649                         break;
 4650                 };
 4651                 break;
 4652         /* freebsd32_stat */
 4653         case 188:
 4654                 switch(ndx) {
 4655                 case 0:
 4656                         p = "char *";
 4657                         break;
 4658                 case 1:
 4659                         p = "struct stat32 *";
 4660                         break;
 4661                 default:
 4662                         break;
 4663                 };
 4664                 break;
 4665         /* freebsd32_fstat */
 4666         case 189:
 4667                 switch(ndx) {
 4668                 case 0:
 4669                         p = "int";
 4670                         break;
 4671                 case 1:
 4672                         p = "struct stat32 *";
 4673                         break;
 4674                 default:
 4675                         break;
 4676                 };
 4677                 break;
 4678         /* freebsd32_lstat */
 4679         case 190:
 4680                 switch(ndx) {
 4681                 case 0:
 4682                         p = "char *";
 4683                         break;
 4684                 case 1:
 4685                         p = "struct stat32 *";
 4686                         break;
 4687                 default:
 4688                         break;
 4689                 };
 4690                 break;
 4691         /* pathconf */
 4692         case 191:
 4693                 switch(ndx) {
 4694                 case 0:
 4695                         p = "char *";
 4696                         break;
 4697                 case 1:
 4698                         p = "int";
 4699                         break;
 4700                 default:
 4701                         break;
 4702                 };
 4703                 break;
 4704         /* fpathconf */
 4705         case 192:
 4706                 switch(ndx) {
 4707                 case 0:
 4708                         p = "int";
 4709                         break;
 4710                 case 1:
 4711                         p = "int";
 4712                         break;
 4713                 default:
 4714                         break;
 4715                 };
 4716                 break;
 4717         /* getrlimit */
 4718         case 194:
 4719                 switch(ndx) {
 4720                 case 0:
 4721                         p = "u_int";
 4722                         break;
 4723                 case 1:
 4724                         p = "struct rlimit *";
 4725                         break;
 4726                 default:
 4727                         break;
 4728                 };
 4729                 break;
 4730         /* setrlimit */
 4731         case 195:
 4732                 switch(ndx) {
 4733                 case 0:
 4734                         p = "u_int";
 4735                         break;
 4736                 case 1:
 4737                         p = "struct rlimit *";
 4738                         break;
 4739                 default:
 4740                         break;
 4741                 };
 4742                 break;
 4743         /* freebsd32_getdirentries */
 4744         case 196:
 4745                 switch(ndx) {
 4746                 case 0:
 4747                         p = "int";
 4748                         break;
 4749                 case 1:
 4750                         p = "char *";
 4751                         break;
 4752                 case 2:
 4753                         p = "u_int";
 4754                         break;
 4755                 case 3:
 4756                         p = "int32_t *";
 4757                         break;
 4758                 default:
 4759                         break;
 4760                 };
 4761                 break;
 4762         /* nosys */
 4763         case 198:
 4764                 break;
 4765         /* freebsd32_sysctl */
 4766         case 202:
 4767                 switch(ndx) {
 4768                 case 0:
 4769                         p = "int *";
 4770                         break;
 4771                 case 1:
 4772                         p = "u_int";
 4773                         break;
 4774                 case 2:
 4775                         p = "void *";
 4776                         break;
 4777                 case 3:
 4778                         p = "u_int32_t *";
 4779                         break;
 4780                 case 4:
 4781                         p = "void *";
 4782                         break;
 4783                 case 5:
 4784                         p = "u_int32_t";
 4785                         break;
 4786                 default:
 4787                         break;
 4788                 };
 4789                 break;
 4790         /* mlock */
 4791         case 203:
 4792                 switch(ndx) {
 4793                 case 0:
 4794                         p = "const void *";
 4795                         break;
 4796                 case 1:
 4797                         p = "size_t";
 4798                         break;
 4799                 default:
 4800                         break;
 4801                 };
 4802                 break;
 4803         /* munlock */
 4804         case 204:
 4805                 switch(ndx) {
 4806                 case 0:
 4807                         p = "const void *";
 4808                         break;
 4809                 case 1:
 4810                         p = "size_t";
 4811                         break;
 4812                 default:
 4813                         break;
 4814                 };
 4815                 break;
 4816         /* undelete */
 4817         case 205:
 4818                 switch(ndx) {
 4819                 case 0:
 4820                         p = "char *";
 4821                         break;
 4822                 default:
 4823                         break;
 4824                 };
 4825                 break;
 4826         /* freebsd32_futimes */
 4827         case 206:
 4828                 switch(ndx) {
 4829                 case 0:
 4830                         p = "int";
 4831                         break;
 4832                 case 1:
 4833                         p = "struct timeval32 *";
 4834                         break;
 4835                 default:
 4836                         break;
 4837                 };
 4838                 break;
 4839         /* getpgid */
 4840         case 207:
 4841                 switch(ndx) {
 4842                 case 0:
 4843                         p = "pid_t";
 4844                         break;
 4845                 default:
 4846                         break;
 4847                 };
 4848                 break;
 4849         /* poll */
 4850         case 209:
 4851                 switch(ndx) {
 4852                 case 0:
 4853                         p = "struct pollfd *";
 4854                         break;
 4855                 case 1:
 4856                         p = "u_int";
 4857                         break;
 4858                 case 2:
 4859                         p = "int";
 4860                         break;
 4861                 default:
 4862                         break;
 4863                 };
 4864                 break;
 4865         /* lkmnosys */
 4866         case 210:
 4867                 break;
 4868         /* lkmnosys */
 4869         case 211:
 4870                 break;
 4871         /* lkmnosys */
 4872         case 212:
 4873                 break;
 4874         /* lkmnosys */
 4875         case 213:
 4876                 break;
 4877         /* lkmnosys */
 4878         case 214:
 4879                 break;
 4880         /* lkmnosys */
 4881         case 215:
 4882                 break;
 4883         /* lkmnosys */
 4884         case 216:
 4885                 break;
 4886         /* lkmnosys */
 4887         case 217:
 4888                 break;
 4889         /* lkmnosys */
 4890         case 218:
 4891                 break;
 4892         /* lkmnosys */
 4893         case 219:
 4894                 break;
 4895         /* semget */
 4896         case 221:
 4897                 switch(ndx) {
 4898                 case 0:
 4899                         p = "key_t";
 4900                         break;
 4901                 case 1:
 4902                         p = "int";
 4903                         break;
 4904                 case 2:
 4905                         p = "int";
 4906                         break;
 4907                 default:
 4908                         break;
 4909                 };
 4910                 break;
 4911         /* semop */
 4912         case 222:
 4913                 switch(ndx) {
 4914                 case 0:
 4915                         p = "int";
 4916                         break;
 4917                 case 1:
 4918                         p = "struct sembuf *";
 4919                         break;
 4920                 case 2:
 4921                         p = "u_int";
 4922                         break;
 4923                 default:
 4924                         break;
 4925                 };
 4926                 break;
 4927         /* msgget */
 4928         case 225:
 4929                 switch(ndx) {
 4930                 case 0:
 4931                         p = "key_t";
 4932                         break;
 4933                 case 1:
 4934                         p = "int";
 4935                         break;
 4936                 default:
 4937                         break;
 4938                 };
 4939                 break;
 4940         /* freebsd32_msgsnd */
 4941         case 226:
 4942                 switch(ndx) {
 4943                 case 0:
 4944                         p = "int";
 4945                         break;
 4946                 case 1:
 4947                         p = "void *";
 4948                         break;
 4949                 case 2:
 4950                         p = "size_t";
 4951                         break;
 4952                 case 3:
 4953                         p = "int";
 4954                         break;
 4955                 default:
 4956                         break;
 4957                 };
 4958                 break;
 4959         /* freebsd32_msgrcv */
 4960         case 227:
 4961                 switch(ndx) {
 4962                 case 0:
 4963                         p = "int";
 4964                         break;
 4965                 case 1:
 4966                         p = "void *";
 4967                         break;
 4968                 case 2:
 4969                         p = "size_t";
 4970                         break;
 4971                 case 3:
 4972                         p = "long";
 4973                         break;
 4974                 case 4:
 4975                         p = "int";
 4976                         break;
 4977                 default:
 4978                         break;
 4979                 };
 4980                 break;
 4981         /* shmat */
 4982         case 228:
 4983                 switch(ndx) {
 4984                 case 0:
 4985                         p = "int";
 4986                         break;
 4987                 case 1:
 4988                         p = "void *";
 4989                         break;
 4990                 case 2:
 4991                         p = "int";
 4992                         break;
 4993                 default:
 4994                         break;
 4995                 };
 4996                 break;
 4997         /* shmdt */
 4998         case 230:
 4999                 switch(ndx) {
 5000                 case 0:
 5001                         p = "void *";
 5002                         break;
 5003                 default:
 5004                         break;
 5005                 };
 5006                 break;
 5007         /* shmget */
 5008         case 231:
 5009                 switch(ndx) {
 5010                 case 0:
 5011                         p = "key_t";
 5012                         break;
 5013                 case 1:
 5014                         p = "int";
 5015                         break;
 5016                 case 2:
 5017                         p = "int";
 5018                         break;
 5019                 default:
 5020                         break;
 5021                 };
 5022                 break;
 5023         /* freebsd32_clock_gettime */
 5024         case 232:
 5025                 switch(ndx) {
 5026                 case 0:
 5027                         p = "clockid_t";
 5028                         break;
 5029                 case 1:
 5030                         p = "struct timespec32 *";
 5031                         break;
 5032                 default:
 5033                         break;
 5034                 };
 5035                 break;
 5036         /* freebsd32_clock_settime */
 5037         case 233:
 5038                 switch(ndx) {
 5039                 case 0:
 5040                         p = "clockid_t";
 5041                         break;
 5042                 case 1:
 5043                         p = "const struct timespec32 *";
 5044                         break;
 5045                 default:
 5046                         break;
 5047                 };
 5048                 break;
 5049         /* freebsd32_clock_getres */
 5050         case 234:
 5051                 switch(ndx) {
 5052                 case 0:
 5053                         p = "clockid_t";
 5054                         break;
 5055                 case 1:
 5056                         p = "struct timespec32 *";
 5057                         break;
 5058                 default:
 5059                         break;
 5060                 };
 5061                 break;
 5062         /* freebsd32_ktimer_create */
 5063         case 235:
 5064                 switch(ndx) {
 5065                 case 0:
 5066                         p = "clockid_t";
 5067                         break;
 5068                 case 1:
 5069                         p = "struct sigevent32 *";
 5070                         break;
 5071                 case 2:
 5072                         p = "int *";
 5073                         break;
 5074                 default:
 5075                         break;
 5076                 };
 5077                 break;
 5078         /* ktimer_delete */
 5079         case 236:
 5080                 switch(ndx) {
 5081                 case 0:
 5082                         p = "int";
 5083                         break;
 5084                 default:
 5085                         break;
 5086                 };
 5087                 break;
 5088         /* freebsd32_ktimer_settime */
 5089         case 237:
 5090                 switch(ndx) {
 5091                 case 0:
 5092                         p = "int";
 5093                         break;
 5094                 case 1:
 5095                         p = "int";
 5096                         break;
 5097                 case 2:
 5098                         p = "const struct itimerspec32 *";
 5099                         break;
 5100                 case 3:
 5101                         p = "struct itimerspec32 *";
 5102                         break;
 5103                 default:
 5104                         break;
 5105                 };
 5106                 break;
 5107         /* freebsd32_ktimer_gettime */
 5108         case 238:
 5109                 switch(ndx) {
 5110                 case 0:
 5111                         p = "int";
 5112                         break;
 5113                 case 1:
 5114                         p = "struct itimerspec32 *";
 5115                         break;
 5116                 default:
 5117                         break;
 5118                 };
 5119                 break;
 5120         /* ktimer_getoverrun */
 5121         case 239:
 5122                 switch(ndx) {
 5123                 case 0:
 5124                         p = "int";
 5125                         break;
 5126                 default:
 5127                         break;
 5128                 };
 5129                 break;
 5130         /* freebsd32_nanosleep */
 5131         case 240:
 5132                 switch(ndx) {
 5133                 case 0:
 5134                         p = "const struct timespec32 *";
 5135                         break;
 5136                 case 1:
 5137                         p = "struct timespec32 *";
 5138                         break;
 5139                 default:
 5140                         break;
 5141                 };
 5142                 break;
 5143         /* freebsd32_clock_getcpuclockid2 */
 5144         case 247:
 5145                 switch(ndx) {
 5146                 case 0:
 5147                         p = "uint32_t";
 5148                         break;
 5149                 case 1:
 5150                         p = "uint32_t";
 5151                         break;
 5152                 case 2:
 5153                         p = "int";
 5154                         break;
 5155                 case 3:
 5156                         p = "clockid_t *";
 5157                         break;
 5158                 default:
 5159                         break;
 5160                 };
 5161                 break;
 5162         /* minherit */
 5163         case 250:
 5164                 switch(ndx) {
 5165                 case 0:
 5166                         p = "void *";
 5167                         break;
 5168                 case 1:
 5169                         p = "size_t";
 5170                         break;
 5171                 case 2:
 5172                         p = "int";
 5173                         break;
 5174                 default:
 5175                         break;
 5176                 };
 5177                 break;
 5178         /* rfork */
 5179         case 251:
 5180                 switch(ndx) {
 5181                 case 0:
 5182                         p = "int";
 5183                         break;
 5184                 default:
 5185                         break;
 5186                 };
 5187                 break;
 5188         /* openbsd_poll */
 5189         case 252:
 5190                 switch(ndx) {
 5191                 case 0:
 5192                         p = "struct pollfd *";
 5193                         break;
 5194                 case 1:
 5195                         p = "u_int";
 5196                         break;
 5197                 case 2:
 5198                         p = "int";
 5199                         break;
 5200                 default:
 5201                         break;
 5202                 };
 5203                 break;
 5204         /* issetugid */
 5205         case 253:
 5206                 break;
 5207         /* lchown */
 5208         case 254:
 5209                 switch(ndx) {
 5210                 case 0:
 5211                         p = "char *";
 5212                         break;
 5213                 case 1:
 5214                         p = "int";
 5215                         break;
 5216                 case 2:
 5217                         p = "int";
 5218                         break;
 5219                 default:
 5220                         break;
 5221                 };
 5222                 break;
 5223         /* freebsd32_aio_read */
 5224         case 255:
 5225                 switch(ndx) {
 5226                 case 0:
 5227                         p = "struct aiocb32 *";
 5228                         break;
 5229                 default:
 5230                         break;
 5231                 };
 5232                 break;
 5233         /* freebsd32_aio_write */
 5234         case 256:
 5235                 switch(ndx) {
 5236                 case 0:
 5237                         p = "struct aiocb32 *";
 5238                         break;
 5239                 default:
 5240                         break;
 5241                 };
 5242                 break;
 5243         /* freebsd32_lio_listio */
 5244         case 257:
 5245                 switch(ndx) {
 5246                 case 0:
 5247                         p = "int";
 5248                         break;
 5249                 case 1:
 5250                         p = "struct aiocb32 *const *";
 5251                         break;
 5252                 case 2:
 5253                         p = "int";
 5254                         break;
 5255                 case 3:
 5256                         p = "struct sigevent32 *";
 5257                         break;
 5258                 default:
 5259                         break;
 5260                 };
 5261                 break;
 5262         /* getdents */
 5263         case 272:
 5264                 switch(ndx) {
 5265                 case 0:
 5266                         p = "int";
 5267                         break;
 5268                 case 1:
 5269                         p = "char *";
 5270                         break;
 5271                 case 2:
 5272                         p = "size_t";
 5273                         break;
 5274                 default:
 5275                         break;
 5276                 };
 5277                 break;
 5278         /* lchmod */
 5279         case 274:
 5280                 switch(ndx) {
 5281                 case 0:
 5282                         p = "char *";
 5283                         break;
 5284                 case 1:
 5285                         p = "mode_t";
 5286                         break;
 5287                 default:
 5288                         break;
 5289                 };
 5290                 break;
 5291         /* lchown */
 5292         case 275:
 5293                 switch(ndx) {
 5294                 case 0:
 5295                         p = "char *";
 5296                         break;
 5297                 case 1:
 5298                         p = "uid_t";
 5299                         break;
 5300                 case 2:
 5301                         p = "gid_t";
 5302                         break;
 5303                 default:
 5304                         break;
 5305                 };
 5306                 break;
 5307         /* freebsd32_lutimes */
 5308         case 276:
 5309                 switch(ndx) {
 5310                 case 0:
 5311                         p = "char *";
 5312                         break;
 5313                 case 1:
 5314                         p = "struct timeval32 *";
 5315                         break;
 5316                 default:
 5317                         break;
 5318                 };
 5319                 break;
 5320         /* msync */
 5321         case 277:
 5322                 switch(ndx) {
 5323                 case 0:
 5324                         p = "void *";
 5325                         break;
 5326                 case 1:
 5327                         p = "size_t";
 5328                         break;
 5329                 case 2:
 5330                         p = "int";
 5331                         break;
 5332                 default:
 5333                         break;
 5334                 };
 5335                 break;
 5336         /* nstat */
 5337         case 278:
 5338                 switch(ndx) {
 5339                 case 0:
 5340                         p = "char *";
 5341                         break;
 5342                 case 1:
 5343                         p = "struct nstat *";
 5344                         break;
 5345                 default:
 5346                         break;
 5347                 };
 5348                 break;
 5349         /* nfstat */
 5350         case 279:
 5351                 switch(ndx) {
 5352                 case 0:
 5353                         p = "int";
 5354                         break;
 5355                 case 1:
 5356                         p = "struct nstat *";
 5357                         break;
 5358                 default:
 5359                         break;
 5360                 };
 5361                 break;
 5362         /* nlstat */
 5363         case 280:
 5364                 switch(ndx) {
 5365                 case 0:
 5366                         p = "char *";
 5367                         break;
 5368                 case 1:
 5369                         p = "struct nstat *";
 5370                         break;
 5371                 default:
 5372                         break;
 5373                 };
 5374                 break;
 5375         /* freebsd32_preadv */
 5376         case 289:
 5377                 switch(ndx) {
 5378                 case 0:
 5379                         p = "int";
 5380                         break;
 5381                 case 1:
 5382                         p = "struct iovec32 *";
 5383                         break;
 5384                 case 2:
 5385                         p = "u_int";
 5386                         break;
 5387                 case 3:
 5388                         p = "u_int32_t";
 5389                         break;
 5390                 case 4:
 5391                         p = "u_int32_t";
 5392                         break;
 5393                 default:
 5394                         break;
 5395                 };
 5396                 break;
 5397         /* freebsd32_pwritev */
 5398         case 290:
 5399                 switch(ndx) {
 5400                 case 0:
 5401                         p = "int";
 5402                         break;
 5403                 case 1:
 5404                         p = "struct iovec32 *";
 5405                         break;
 5406                 case 2:
 5407                         p = "u_int";
 5408                         break;
 5409                 case 3:
 5410                         p = "u_int32_t";
 5411                         break;
 5412                 case 4:
 5413                         p = "u_int32_t";
 5414                         break;
 5415                 default:
 5416                         break;
 5417                 };
 5418                 break;
 5419         /* fhopen */
 5420         case 298:
 5421                 switch(ndx) {
 5422                 case 0:
 5423                         p = "const struct fhandle *";
 5424                         break;
 5425                 case 1:
 5426                         p = "int";
 5427                         break;
 5428                 default:
 5429                         break;
 5430                 };
 5431                 break;
 5432         /* fhstat */
 5433         case 299:
 5434                 switch(ndx) {
 5435                 case 0:
 5436                         p = "const struct fhandle *";
 5437                         break;
 5438                 case 1:
 5439                         p = "struct stat *";
 5440                         break;
 5441                 default:
 5442                         break;
 5443                 };
 5444                 break;
 5445         /* modnext */
 5446         case 300:
 5447                 switch(ndx) {
 5448                 case 0:
 5449                         p = "int";
 5450                         break;
 5451                 default:
 5452                         break;
 5453                 };
 5454                 break;
 5455         /* freebsd32_modstat */
 5456         case 301:
 5457                 switch(ndx) {
 5458                 case 0:
 5459                         p = "int";
 5460                         break;
 5461                 case 1:
 5462                         p = "struct module_stat32 *";
 5463                         break;
 5464                 default:
 5465                         break;
 5466                 };
 5467                 break;
 5468         /* modfnext */
 5469         case 302:
 5470                 switch(ndx) {
 5471                 case 0:
 5472                         p = "int";
 5473                         break;
 5474                 default:
 5475                         break;
 5476                 };
 5477                 break;
 5478         /* modfind */
 5479         case 303:
 5480                 switch(ndx) {
 5481                 case 0:
 5482                         p = "const char *";
 5483                         break;
 5484                 default:
 5485                         break;
 5486                 };
 5487                 break;
 5488         /* kldload */
 5489         case 304:
 5490                 switch(ndx) {
 5491                 case 0:
 5492                         p = "const char *";
 5493                         break;
 5494                 default:
 5495                         break;
 5496                 };
 5497                 break;
 5498         /* kldunload */
 5499         case 305:
 5500                 switch(ndx) {
 5501                 case 0:
 5502                         p = "int";
 5503                         break;
 5504                 default:
 5505                         break;
 5506                 };
 5507                 break;
 5508         /* kldfind */
 5509         case 306:
 5510                 switch(ndx) {
 5511                 case 0:
 5512                         p = "const char *";
 5513                         break;
 5514                 default:
 5515                         break;
 5516                 };
 5517                 break;
 5518         /* kldnext */
 5519         case 307:
 5520                 switch(ndx) {
 5521                 case 0:
 5522                         p = "int";
 5523                         break;
 5524                 default:
 5525                         break;
 5526                 };
 5527                 break;
 5528         /* freebsd32_kldstat */
 5529         case 308:
 5530                 switch(ndx) {
 5531                 case 0:
 5532                         p = "int";
 5533                         break;
 5534                 case 1:
 5535                         p = "struct kld32_file_stat *";
 5536                         break;
 5537                 default:
 5538                         break;
 5539                 };
 5540                 break;
 5541         /* kldfirstmod */
 5542         case 309:
 5543                 switch(ndx) {
 5544                 case 0:
 5545                         p = "int";
 5546                         break;
 5547                 default:
 5548                         break;
 5549                 };
 5550                 break;
 5551         /* getsid */
 5552         case 310:
 5553                 switch(ndx) {
 5554                 case 0:
 5555                         p = "pid_t";
 5556                         break;
 5557                 default:
 5558                         break;
 5559                 };
 5560                 break;
 5561         /* setresuid */
 5562         case 311:
 5563                 switch(ndx) {
 5564                 case 0:
 5565                         p = "uid_t";
 5566                         break;
 5567                 case 1:
 5568                         p = "uid_t";
 5569                         break;
 5570                 case 2:
 5571                         p = "uid_t";
 5572                         break;
 5573                 default:
 5574                         break;
 5575                 };
 5576                 break;
 5577         /* setresgid */
 5578         case 312:
 5579                 switch(ndx) {
 5580                 case 0:
 5581                         p = "gid_t";
 5582                         break;
 5583                 case 1:
 5584                         p = "gid_t";
 5585                         break;
 5586                 case 2:
 5587                         p = "gid_t";
 5588                         break;
 5589                 default:
 5590                         break;
 5591                 };
 5592                 break;
 5593         /* freebsd32_aio_return */
 5594         case 314:
 5595                 switch(ndx) {
 5596                 case 0:
 5597                         p = "struct aiocb32 *";
 5598                         break;
 5599                 default:
 5600                         break;
 5601                 };
 5602                 break;
 5603         /* freebsd32_aio_suspend */
 5604         case 315:
 5605                 switch(ndx) {
 5606                 case 0:
 5607                         p = "struct aiocb32 *const *";
 5608                         break;
 5609                 case 1:
 5610                         p = "int";
 5611                         break;
 5612                 case 2:
 5613                         p = "const struct timespec32 *";
 5614                         break;
 5615                 default:
 5616                         break;
 5617                 };
 5618                 break;
 5619         /* freebsd32_aio_cancel */
 5620         case 316:
 5621                 switch(ndx) {
 5622                 case 0:
 5623                         p = "int";
 5624                         break;
 5625                 case 1:
 5626                         p = "struct aiocb32 *";
 5627                         break;
 5628                 default:
 5629                         break;
 5630                 };
 5631                 break;
 5632         /* freebsd32_aio_error */
 5633         case 317:
 5634                 switch(ndx) {
 5635                 case 0:
 5636                         p = "struct aiocb32 *";
 5637                         break;
 5638                 default:
 5639                         break;
 5640                 };
 5641                 break;
 5642         /* freebsd32_oaio_read */
 5643         case 318:
 5644                 switch(ndx) {
 5645                 case 0:
 5646                         p = "struct oaiocb32 *";
 5647                         break;
 5648                 default:
 5649                         break;
 5650                 };
 5651                 break;
 5652         /* freebsd32_oaio_write */
 5653         case 319:
 5654                 switch(ndx) {
 5655                 case 0:
 5656                         p = "struct oaiocb32 *";
 5657                         break;
 5658                 default:
 5659                         break;
 5660                 };
 5661                 break;
 5662         /* freebsd32_olio_listio */
 5663         case 320:
 5664                 switch(ndx) {
 5665                 case 0:
 5666                         p = "int";
 5667                         break;
 5668                 case 1:
 5669                         p = "struct oaiocb32 *const *";
 5670                         break;
 5671                 case 2:
 5672                         p = "int";
 5673                         break;
 5674                 case 3:
 5675                         p = "struct osigevent32 *";
 5676                         break;
 5677                 default:
 5678                         break;
 5679                 };
 5680                 break;
 5681         /* yield */
 5682         case 321:
 5683                 break;
 5684         /* mlockall */
 5685         case 324:
 5686                 switch(ndx) {
 5687                 case 0:
 5688                         p = "int";
 5689                         break;
 5690                 default:
 5691                         break;
 5692                 };
 5693                 break;
 5694         /* munlockall */
 5695         case 325:
 5696                 break;
 5697         /* __getcwd */
 5698         case 326:
 5699                 switch(ndx) {
 5700                 case 0:
 5701                         p = "char *";
 5702                         break;
 5703                 case 1:
 5704                         p = "u_int";
 5705                         break;
 5706                 default:
 5707                         break;
 5708                 };
 5709                 break;
 5710         /* sched_setparam */
 5711         case 327:
 5712                 switch(ndx) {
 5713                 case 0:
 5714                         p = "pid_t";
 5715                         break;
 5716                 case 1:
 5717                         p = "const struct sched_param *";
 5718                         break;
 5719                 default:
 5720                         break;
 5721                 };
 5722                 break;
 5723         /* sched_getparam */
 5724         case 328:
 5725                 switch(ndx) {
 5726                 case 0:
 5727                         p = "pid_t";
 5728                         break;
 5729                 case 1:
 5730                         p = "struct sched_param *";
 5731                         break;
 5732                 default:
 5733                         break;
 5734                 };
 5735                 break;
 5736         /* sched_setscheduler */
 5737         case 329:
 5738                 switch(ndx) {
 5739                 case 0:
 5740                         p = "pid_t";
 5741                         break;
 5742                 case 1:
 5743                         p = "int";
 5744                         break;
 5745                 case 2:
 5746                         p = "const struct sched_param *";
 5747                         break;
 5748                 default:
 5749                         break;
 5750                 };
 5751                 break;
 5752         /* sched_getscheduler */
 5753         case 330:
 5754                 switch(ndx) {
 5755                 case 0:
 5756                         p = "pid_t";
 5757                         break;
 5758                 default:
 5759                         break;
 5760                 };
 5761                 break;
 5762         /* sched_yield */
 5763         case 331:
 5764                 break;
 5765         /* sched_get_priority_max */
 5766         case 332:
 5767                 switch(ndx) {
 5768                 case 0:
 5769                         p = "int";
 5770                         break;
 5771                 default:
 5772                         break;
 5773                 };
 5774                 break;
 5775         /* sched_get_priority_min */
 5776         case 333:
 5777                 switch(ndx) {
 5778                 case 0:
 5779                         p = "int";
 5780                         break;
 5781                 default:
 5782                         break;
 5783                 };
 5784                 break;
 5785         /* sched_rr_get_interval */
 5786         case 334:
 5787                 switch(ndx) {
 5788                 case 0:
 5789                         p = "pid_t";
 5790                         break;
 5791                 case 1:
 5792                         p = "struct timespec *";
 5793                         break;
 5794                 default:
 5795                         break;
 5796                 };
 5797                 break;
 5798         /* utrace */
 5799         case 335:
 5800                 switch(ndx) {
 5801                 case 0:
 5802                         p = "const void *";
 5803                         break;
 5804                 case 1:
 5805                         p = "size_t";
 5806                         break;
 5807                 default:
 5808                         break;
 5809                 };
 5810                 break;
 5811         /* kldsym */
 5812         case 337:
 5813                 switch(ndx) {
 5814                 case 0:
 5815                         p = "int";
 5816                         break;
 5817                 case 1:
 5818                         p = "int";
 5819                         break;
 5820                 case 2:
 5821                         p = "void *";
 5822                         break;
 5823                 default:
 5824                         break;
 5825                 };
 5826                 break;
 5827         /* freebsd32_jail */
 5828         case 338:
 5829                 switch(ndx) {
 5830                 case 0:
 5831                         p = "struct jail32 *";
 5832                         break;
 5833                 default:
 5834                         break;
 5835                 };
 5836                 break;
 5837         /* sigprocmask */
 5838         case 340:
 5839                 switch(ndx) {
 5840                 case 0:
 5841                         p = "int";
 5842                         break;
 5843                 case 1:
 5844                         p = "const sigset_t *";
 5845                         break;
 5846                 case 2:
 5847                         p = "sigset_t *";
 5848                         break;
 5849                 default:
 5850                         break;
 5851                 };
 5852                 break;
 5853         /* sigsuspend */
 5854         case 341:
 5855                 switch(ndx) {
 5856                 case 0:
 5857                         p = "const sigset_t *";
 5858                         break;
 5859                 default:
 5860                         break;
 5861                 };
 5862                 break;
 5863         /* sigpending */
 5864         case 343:
 5865                 switch(ndx) {
 5866                 case 0:
 5867                         p = "sigset_t *";
 5868                         break;
 5869                 default:
 5870                         break;
 5871                 };
 5872                 break;
 5873         /* freebsd32_sigtimedwait */
 5874         case 345:
 5875                 switch(ndx) {
 5876                 case 0:
 5877                         p = "const sigset_t *";
 5878                         break;
 5879                 case 1:
 5880                         p = "siginfo_t *";
 5881                         break;
 5882                 case 2:
 5883                         p = "const struct timespec *";
 5884                         break;
 5885                 default:
 5886                         break;
 5887                 };
 5888                 break;
 5889         /* freebsd32_sigwaitinfo */
 5890         case 346:
 5891                 switch(ndx) {
 5892                 case 0:
 5893                         p = "const sigset_t *";
 5894                         break;
 5895                 case 1:
 5896                         p = "siginfo_t *";
 5897                         break;
 5898                 default:
 5899                         break;
 5900                 };
 5901                 break;
 5902         /* __acl_get_file */
 5903         case 347:
 5904                 switch(ndx) {
 5905                 case 0:
 5906                         p = "const char *";
 5907                         break;
 5908                 case 1:
 5909                         p = "acl_type_t";
 5910                         break;
 5911                 case 2:
 5912                         p = "struct acl *";
 5913                         break;
 5914                 default:
 5915                         break;
 5916                 };
 5917                 break;
 5918         /* __acl_set_file */
 5919         case 348:
 5920                 switch(ndx) {
 5921                 case 0:
 5922                         p = "const char *";
 5923                         break;
 5924                 case 1:
 5925                         p = "acl_type_t";
 5926                         break;
 5927                 case 2:
 5928                         p = "struct acl *";
 5929                         break;
 5930                 default:
 5931                         break;
 5932                 };
 5933                 break;
 5934         /* __acl_get_fd */
 5935         case 349:
 5936                 switch(ndx) {
 5937                 case 0:
 5938                         p = "int";
 5939                         break;
 5940                 case 1:
 5941                         p = "acl_type_t";
 5942                         break;
 5943                 case 2:
 5944                         p = "struct acl *";
 5945                         break;
 5946                 default:
 5947                         break;
 5948                 };
 5949                 break;
 5950         /* __acl_set_fd */
 5951         case 350:
 5952                 switch(ndx) {
 5953                 case 0:
 5954                         p = "int";
 5955                         break;
 5956                 case 1:
 5957                         p = "acl_type_t";
 5958                         break;
 5959                 case 2:
 5960                         p = "struct acl *";
 5961                         break;
 5962                 default:
 5963                         break;
 5964                 };
 5965                 break;
 5966         /* __acl_delete_file */
 5967         case 351:
 5968                 switch(ndx) {
 5969                 case 0:
 5970                         p = "const char *";
 5971                         break;
 5972                 case 1:
 5973                         p = "acl_type_t";
 5974                         break;
 5975                 default:
 5976                         break;
 5977                 };
 5978                 break;
 5979         /* __acl_delete_fd */
 5980         case 352:
 5981                 switch(ndx) {
 5982                 case 0:
 5983                         p = "int";
 5984                         break;
 5985                 case 1:
 5986                         p = "acl_type_t";
 5987                         break;
 5988                 default:
 5989                         break;
 5990                 };
 5991                 break;
 5992         /* __acl_aclcheck_file */
 5993         case 353:
 5994                 switch(ndx) {
 5995                 case 0:
 5996                         p = "const char *";
 5997                         break;
 5998                 case 1:
 5999                         p = "acl_type_t";
 6000                         break;
 6001                 case 2:
 6002                         p = "struct acl *";
 6003                         break;
 6004                 default:
 6005                         break;
 6006                 };
 6007                 break;
 6008         /* __acl_aclcheck_fd */
 6009         case 354:
 6010                 switch(ndx) {
 6011                 case 0:
 6012                         p = "int";
 6013                         br