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 /* mprotect */ 468 case 74: { 469 struct 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_nanosleep */ 1199 case 240: { 1200 struct freebsd32_nanosleep_args *p = params; 1201 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec32 * */ 1202 uarg[1] = (intptr_t) p->rmtp; /* struct timespec32 * */ 1203 *n_args = 2; 1204 break; 1205 } 1206 /* minherit */ 1207 case 250: { 1208 struct minherit_args *p = params; 1209 uarg[0] = (intptr_t) p->addr; /* void * */ 1210 uarg[1] = p->len; /* size_t */ 1211 iarg[2] = p->inherit; /* int */ 1212 *n_args = 3; 1213 break; 1214 } 1215 /* rfork */ 1216 case 251: { 1217 struct rfork_args *p = params; 1218 iarg[0] = p->flags; /* int */ 1219 *n_args = 1; 1220 break; 1221 } 1222 /* openbsd_poll */ 1223 case 252: { 1224 struct openbsd_poll_args *p = params; 1225 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ 1226 uarg[1] = p->nfds; /* u_int */ 1227 iarg[2] = p->timeout; /* int */ 1228 *n_args = 3; 1229 break; 1230 } 1231 /* issetugid */ 1232 case 253: { 1233 *n_args = 0; 1234 break; 1235 } 1236 /* lchown */ 1237 case 254: { 1238 struct lchown_args *p = params; 1239 uarg[0] = (intptr_t) p->path; /* char * */ 1240 iarg[1] = p->uid; /* int */ 1241 iarg[2] = p->gid; /* int */ 1242 *n_args = 3; 1243 break; 1244 } 1245 /* freebsd32_aio_read */ 1246 case 255: { 1247 struct freebsd32_aio_read_args *p = params; 1248 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */ 1249 *n_args = 1; 1250 break; 1251 } 1252 /* freebsd32_aio_write */ 1253 case 256: { 1254 struct freebsd32_aio_write_args *p = params; 1255 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */ 1256 *n_args = 1; 1257 break; 1258 } 1259 /* freebsd32_lio_listio */ 1260 case 257: { 1261 struct freebsd32_lio_listio_args *p = params; 1262 iarg[0] = p->mode; /* int */ 1263 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb32 *const * */ 1264 iarg[2] = p->nent; /* int */ 1265 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */ 1266 *n_args = 4; 1267 break; 1268 } 1269 /* getdents */ 1270 case 272: { 1271 struct getdents_args *p = params; 1272 iarg[0] = p->fd; /* int */ 1273 uarg[1] = (intptr_t) p->buf; /* char * */ 1274 uarg[2] = p->count; /* size_t */ 1275 *n_args = 3; 1276 break; 1277 } 1278 /* lchmod */ 1279 case 274: { 1280 struct lchmod_args *p = params; 1281 uarg[0] = (intptr_t) p->path; /* char * */ 1282 iarg[1] = p->mode; /* mode_t */ 1283 *n_args = 2; 1284 break; 1285 } 1286 /* lchown */ 1287 case 275: { 1288 struct lchown_args *p = params; 1289 uarg[0] = (intptr_t) p->path; /* char * */ 1290 uarg[1] = p->uid; /* uid_t */ 1291 iarg[2] = p->gid; /* gid_t */ 1292 *n_args = 3; 1293 break; 1294 } 1295 /* freebsd32_lutimes */ 1296 case 276: { 1297 struct freebsd32_lutimes_args *p = params; 1298 uarg[0] = (intptr_t) p->path; /* char * */ 1299 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */ 1300 *n_args = 2; 1301 break; 1302 } 1303 /* msync */ 1304 case 277: { 1305 struct msync_args *p = params; 1306 uarg[0] = (intptr_t) p->addr; /* void * */ 1307 uarg[1] = p->len; /* size_t */ 1308 iarg[2] = p->flags; /* int */ 1309 *n_args = 3; 1310 break; 1311 } 1312 /* nstat */ 1313 case 278: { 1314 struct nstat_args *p = params; 1315 uarg[0] = (intptr_t) p->path; /* char * */ 1316 uarg[1] = (intptr_t) p->ub; /* struct nstat * */ 1317 *n_args = 2; 1318 break; 1319 } 1320 /* nfstat */ 1321 case 279: { 1322 struct nfstat_args *p = params; 1323 iarg[0] = p->fd; /* int */ 1324 uarg[1] = (intptr_t) p->sb; /* struct nstat * */ 1325 *n_args = 2; 1326 break; 1327 } 1328 /* nlstat */ 1329 case 280: { 1330 struct nlstat_args *p = params; 1331 uarg[0] = (intptr_t) p->path; /* char * */ 1332 uarg[1] = (intptr_t) p->ub; /* struct nstat * */ 1333 *n_args = 2; 1334 break; 1335 } 1336 /* freebsd32_preadv */ 1337 case 289: { 1338 struct freebsd32_preadv_args *p = params; 1339 iarg[0] = p->fd; /* int */ 1340 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */ 1341 uarg[2] = p->iovcnt; /* u_int */ 1342 uarg[3] = p->offset1; /* u_int32_t */ 1343 uarg[4] = p->offset2; /* u_int32_t */ 1344 *n_args = 5; 1345 break; 1346 } 1347 /* freebsd32_pwritev */ 1348 case 290: { 1349 struct freebsd32_pwritev_args *p = params; 1350 iarg[0] = p->fd; /* int */ 1351 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */ 1352 uarg[2] = p->iovcnt; /* u_int */ 1353 uarg[3] = p->offset1; /* u_int32_t */ 1354 uarg[4] = p->offset2; /* u_int32_t */ 1355 *n_args = 5; 1356 break; 1357 } 1358 /* fhopen */ 1359 case 298: { 1360 struct fhopen_args *p = params; 1361 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ 1362 iarg[1] = p->flags; /* int */ 1363 *n_args = 2; 1364 break; 1365 } 1366 /* fhstat */ 1367 case 299: { 1368 struct fhstat_args *p = params; 1369 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ 1370 uarg[1] = (intptr_t) p->sb; /* struct stat * */ 1371 *n_args = 2; 1372 break; 1373 } 1374 /* modnext */ 1375 case 300: { 1376 struct modnext_args *p = params; 1377 iarg[0] = p->modid; /* int */ 1378 *n_args = 1; 1379 break; 1380 } 1381 /* freebsd32_modstat */ 1382 case 301: { 1383 struct freebsd32_modstat_args *p = params; 1384 iarg[0] = p->modid; /* int */ 1385 uarg[1] = (intptr_t) p->stat; /* struct module_stat32 * */ 1386 *n_args = 2; 1387 break; 1388 } 1389 /* modfnext */ 1390 case 302: { 1391 struct modfnext_args *p = params; 1392 iarg[0] = p->modid; /* int */ 1393 *n_args = 1; 1394 break; 1395 } 1396 /* modfind */ 1397 case 303: { 1398 struct modfind_args *p = params; 1399 uarg[0] = (intptr_t) p->name; /* const char * */ 1400 *n_args = 1; 1401 break; 1402 } 1403 /* kldload */ 1404 case 304: { 1405 struct kldload_args *p = params; 1406 uarg[0] = (intptr_t) p->file; /* const char * */ 1407 *n_args = 1; 1408 break; 1409 } 1410 /* kldunload */ 1411 case 305: { 1412 struct kldunload_args *p = params; 1413 iarg[0] = p->fileid; /* int */ 1414 *n_args = 1; 1415 break; 1416 } 1417 /* kldfind */ 1418 case 306: { 1419 struct kldfind_args *p = params; 1420 uarg[0] = (intptr_t) p->file; /* const char * */ 1421 *n_args = 1; 1422 break; 1423 } 1424 /* kldnext */ 1425 case 307: { 1426 struct kldnext_args *p = params; 1427 iarg[0] = p->fileid; /* int */ 1428 *n_args = 1; 1429 break; 1430 } 1431 /* freebsd32_kldstat */ 1432 case 308: { 1433 struct freebsd32_kldstat_args *p = params; 1434 iarg[0] = p->fileid; /* int */ 1435 uarg[1] = (intptr_t) p->stat; /* struct kld32_file_stat * */ 1436 *n_args = 2; 1437 break; 1438 } 1439 /* kldfirstmod */ 1440 case 309: { 1441 struct kldfirstmod_args *p = params; 1442 iarg[0] = p->fileid; /* int */ 1443 *n_args = 1; 1444 break; 1445 } 1446 /* getsid */ 1447 case 310: { 1448 struct getsid_args *p = params; 1449 iarg[0] = p->pid; /* pid_t */ 1450 *n_args = 1; 1451 break; 1452 } 1453 /* setresuid */ 1454 case 311: { 1455 struct setresuid_args *p = params; 1456 uarg[0] = p->ruid; /* uid_t */ 1457 uarg[1] = p->euid; /* uid_t */ 1458 uarg[2] = p->suid; /* uid_t */ 1459 *n_args = 3; 1460 break; 1461 } 1462 /* setresgid */ 1463 case 312: { 1464 struct setresgid_args *p = params; 1465 iarg[0] = p->rgid; /* gid_t */ 1466 iarg[1] = p->egid; /* gid_t */ 1467 iarg[2] = p->sgid; /* gid_t */ 1468 *n_args = 3; 1469 break; 1470 } 1471 /* freebsd32_aio_return */ 1472 case 314: { 1473 struct freebsd32_aio_return_args *p = params; 1474 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */ 1475 *n_args = 1; 1476 break; 1477 } 1478 /* freebsd32_aio_suspend */ 1479 case 315: { 1480 struct freebsd32_aio_suspend_args *p = params; 1481 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 *const * */ 1482 iarg[1] = p->nent; /* int */ 1483 uarg[2] = (intptr_t) p->timeout; /* const struct timespec32 * */ 1484 *n_args = 3; 1485 break; 1486 } 1487 /* freebsd32_aio_cancel */ 1488 case 316: { 1489 struct freebsd32_aio_cancel_args *p = params; 1490 iarg[0] = p->fd; /* int */ 1491 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb32 * */ 1492 *n_args = 2; 1493 break; 1494 } 1495 /* freebsd32_aio_error */ 1496 case 317: { 1497 struct freebsd32_aio_error_args *p = params; 1498 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */ 1499 *n_args = 1; 1500 break; 1501 } 1502 /* freebsd32_oaio_read */ 1503 case 318: { 1504 struct freebsd32_oaio_read_args *p = params; 1505 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb32 * */ 1506 *n_args = 1; 1507 break; 1508 } 1509 /* freebsd32_oaio_write */ 1510 case 319: { 1511 struct freebsd32_oaio_write_args *p = params; 1512 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb32 * */ 1513 *n_args = 1; 1514 break; 1515 } 1516 /* freebsd32_olio_listio */ 1517 case 320: { 1518 struct freebsd32_olio_listio_args *p = params; 1519 iarg[0] = p->mode; /* int */ 1520 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb32 *const * */ 1521 iarg[2] = p->nent; /* int */ 1522 uarg[3] = (intptr_t) p->sig; /* struct osigevent32 * */ 1523 *n_args = 4; 1524 break; 1525 } 1526 /* yield */ 1527 case 321: { 1528 *n_args = 0; 1529 break; 1530 } 1531 /* mlockall */ 1532 case 324: { 1533 struct mlockall_args *p = params; 1534 iarg[0] = p->how; /* int */ 1535 *n_args = 1; 1536 break; 1537 } 1538 /* munlockall */ 1539 case 325: { 1540 *n_args = 0; 1541 break; 1542 } 1543 /* __getcwd */ 1544 case 326: { 1545 struct __getcwd_args *p = params; 1546 uarg[0] = (intptr_t) p->buf; /* u_char * */ 1547 uarg[1] = p->buflen; /* u_int */ 1548 *n_args = 2; 1549 break; 1550 } 1551 /* sched_setparam */ 1552 case 327: { 1553 struct sched_setparam_args *p = params; 1554 iarg[0] = p->pid; /* pid_t */ 1555 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */ 1556 *n_args = 2; 1557 break; 1558 } 1559 /* sched_getparam */ 1560 case 328: { 1561 struct sched_getparam_args *p = params; 1562 iarg[0] = p->pid; /* pid_t */ 1563 uarg[1] = (intptr_t) p->param; /* struct sched_param * */ 1564 *n_args = 2; 1565 break; 1566 } 1567 /* sched_setscheduler */ 1568 case 329: { 1569 struct sched_setscheduler_args *p = params; 1570 iarg[0] = p->pid; /* pid_t */ 1571 iarg[1] = p->policy; /* int */ 1572 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */ 1573 *n_args = 3; 1574 break; 1575 } 1576 /* sched_getscheduler */ 1577 case 330: { 1578 struct sched_getscheduler_args *p = params; 1579 iarg[0] = p->pid; /* pid_t */ 1580 *n_args = 1; 1581 break; 1582 } 1583 /* sched_yield */ 1584 case 331: { 1585 *n_args = 0; 1586 break; 1587 } 1588 /* sched_get_priority_max */ 1589 case 332: { 1590 struct sched_get_priority_max_args *p = params; 1591 iarg[0] = p->policy; /* int */ 1592 *n_args = 1; 1593 break; 1594 } 1595 /* sched_get_priority_min */ 1596 case 333: { 1597 struct sched_get_priority_min_args *p = params; 1598 iarg[0] = p->policy; /* int */ 1599 *n_args = 1; 1600 break; 1601 } 1602 /* sched_rr_get_interval */ 1603 case 334: { 1604 struct sched_rr_get_interval_args *p = params; 1605 iarg[0] = p->pid; /* pid_t */ 1606 uarg[1] = (intptr_t) p->interval; /* struct timespec * */ 1607 *n_args = 2; 1608 break; 1609 } 1610 /* utrace */ 1611 case 335: { 1612 struct utrace_args *p = params; 1613 uarg[0] = (intptr_t) p->addr; /* const void * */ 1614 uarg[1] = p->len; /* size_t */ 1615 *n_args = 2; 1616 break; 1617 } 1618 /* kldsym */ 1619 case 337: { 1620 struct kldsym_args *p = params; 1621 iarg[0] = p->fileid; /* int */ 1622 iarg[1] = p->cmd; /* int */ 1623 uarg[2] = (intptr_t) p->data; /* void * */ 1624 *n_args = 3; 1625 break; 1626 } 1627 /* freebsd32_jail */ 1628 case 338: { 1629 struct freebsd32_jail_args *p = params; 1630 uarg[0] = (intptr_t) p->jail; /* struct jail32 * */ 1631 *n_args = 1; 1632 break; 1633 } 1634 /* sigprocmask */ 1635 case 340: { 1636 struct sigprocmask_args *p = params; 1637 iarg[0] = p->how; /* int */ 1638 uarg[1] = (intptr_t) p->set; /* const sigset_t * */ 1639 uarg[2] = (intptr_t) p->oset; /* sigset_t * */ 1640 *n_args = 3; 1641 break; 1642 } 1643 /* sigsuspend */ 1644 case 341: { 1645 struct sigsuspend_args *p = params; 1646 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */ 1647 *n_args = 1; 1648 break; 1649 } 1650 /* sigpending */ 1651 case 343: { 1652 struct sigpending_args *p = params; 1653 uarg[0] = (intptr_t) p->set; /* sigset_t * */ 1654 *n_args = 1; 1655 break; 1656 } 1657 /* freebsd32_sigtimedwait */ 1658 case 345: { 1659 struct freebsd32_sigtimedwait_args *p = params; 1660 uarg[0] = (intptr_t) p->set; /* const sigset_t * */ 1661 uarg[1] = (intptr_t) p->info; /* siginfo_t * */ 1662 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */ 1663 *n_args = 3; 1664 break; 1665 } 1666 /* freebsd32_sigwaitinfo */ 1667 case 346: { 1668 struct freebsd32_sigwaitinfo_args *p = params; 1669 uarg[0] = (intptr_t) p->set; /* const sigset_t * */ 1670 uarg[1] = (intptr_t) p->info; /* siginfo_t * */ 1671 *n_args = 2; 1672 break; 1673 } 1674 /* __acl_get_file */ 1675 case 347: { 1676 struct __acl_get_file_args *p = params; 1677 uarg[0] = (intptr_t) p->path; /* const char * */ 1678 iarg[1] = p->type; /* acl_type_t */ 1679 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1680 *n_args = 3; 1681 break; 1682 } 1683 /* __acl_set_file */ 1684 case 348: { 1685 struct __acl_set_file_args *p = params; 1686 uarg[0] = (intptr_t) p->path; /* const char * */ 1687 iarg[1] = p->type; /* acl_type_t */ 1688 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1689 *n_args = 3; 1690 break; 1691 } 1692 /* __acl_get_fd */ 1693 case 349: { 1694 struct __acl_get_fd_args *p = params; 1695 iarg[0] = p->filedes; /* int */ 1696 iarg[1] = p->type; /* acl_type_t */ 1697 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1698 *n_args = 3; 1699 break; 1700 } 1701 /* __acl_set_fd */ 1702 case 350: { 1703 struct __acl_set_fd_args *p = params; 1704 iarg[0] = p->filedes; /* int */ 1705 iarg[1] = p->type; /* acl_type_t */ 1706 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1707 *n_args = 3; 1708 break; 1709 } 1710 /* __acl_delete_file */ 1711 case 351: { 1712 struct __acl_delete_file_args *p = params; 1713 uarg[0] = (intptr_t) p->path; /* const char * */ 1714 iarg[1] = p->type; /* acl_type_t */ 1715 *n_args = 2; 1716 break; 1717 } 1718 /* __acl_delete_fd */ 1719 case 352: { 1720 struct __acl_delete_fd_args *p = params; 1721 iarg[0] = p->filedes; /* int */ 1722 iarg[1] = p->type; /* acl_type_t */ 1723 *n_args = 2; 1724 break; 1725 } 1726 /* __acl_aclcheck_file */ 1727 case 353: { 1728 struct __acl_aclcheck_file_args *p = params; 1729 uarg[0] = (intptr_t) p->path; /* const char * */ 1730 iarg[1] = p->type; /* acl_type_t */ 1731 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1732 *n_args = 3; 1733 break; 1734 } 1735 /* __acl_aclcheck_fd */ 1736 case 354: { 1737 struct __acl_aclcheck_fd_args *p = params; 1738 iarg[0] = p->filedes; /* int */ 1739 iarg[1] = p->type; /* acl_type_t */ 1740 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1741 *n_args = 3; 1742 break; 1743 } 1744 /* extattrctl */ 1745 case 355: { 1746 struct extattrctl_args *p = params; 1747 uarg[0] = (intptr_t) p->path; /* const char * */ 1748 iarg[1] = p->cmd; /* int */ 1749 uarg[2] = (intptr_t) p->filename; /* const char * */ 1750 iarg[3] = p->attrnamespace; /* int */ 1751 uarg[4] = (intptr_t) p->attrname; /* const char * */ 1752 *n_args = 5; 1753 break; 1754 } 1755 /* extattr_set_file */ 1756 case 356: { 1757 struct extattr_set_file_args *p = params; 1758 uarg[0] = (intptr_t) p->path; /* const char * */ 1759 iarg[1] = p->attrnamespace; /* int */ 1760 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1761 uarg[3] = (intptr_t) p->data; /* void * */ 1762 uarg[4] = p->nbytes; /* size_t */ 1763 *n_args = 5; 1764 break; 1765 } 1766 /* extattr_get_file */ 1767 case 357: { 1768 struct extattr_get_file_args *p = params; 1769 uarg[0] = (intptr_t) p->path; /* const char * */ 1770 iarg[1] = p->attrnamespace; /* int */ 1771 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1772 uarg[3] = (intptr_t) p->data; /* void * */ 1773 uarg[4] = p->nbytes; /* size_t */ 1774 *n_args = 5; 1775 break; 1776 } 1777 /* extattr_delete_file */ 1778 case 358: { 1779 struct extattr_delete_file_args *p = params; 1780 uarg[0] = (intptr_t) p->path; /* const char * */ 1781 iarg[1] = p->attrnamespace; /* int */ 1782 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1783 *n_args = 3; 1784 break; 1785 } 1786 /* freebsd32_aio_waitcomplete */ 1787 case 359: { 1788 struct freebsd32_aio_waitcomplete_args *p = params; 1789 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 ** */ 1790 uarg[1] = (intptr_t) p->timeout; /* struct timespec32 * */ 1791 *n_args = 2; 1792 break; 1793 } 1794 /* getresuid */ 1795 case 360: { 1796 struct getresuid_args *p = params; 1797 uarg[0] = (intptr_t) p->ruid; /* uid_t * */ 1798 uarg[1] = (intptr_t) p->euid; /* uid_t * */ 1799 uarg[2] = (intptr_t) p->suid; /* uid_t * */ 1800 *n_args = 3; 1801 break; 1802 } 1803 /* getresgid */ 1804 case 361: { 1805 struct getresgid_args *p = params; 1806 uarg[0] = (intptr_t) p->rgid; /* gid_t * */ 1807 uarg[1] = (intptr_t) p->egid; /* gid_t * */ 1808 uarg[2] = (intptr_t) p->sgid; /* gid_t * */ 1809 *n_args = 3; 1810 break; 1811 } 1812 /* kqueue */ 1813 case 362: { 1814 *n_args = 0; 1815 break; 1816 } 1817 /* freebsd32_kevent */ 1818 case 363: { 1819 struct freebsd32_kevent_args *p = params; 1820 iarg[0] = p->fd; /* int */ 1821 uarg[1] = (intptr_t) p->changelist; /* const struct kevent32 * */ 1822 iarg[2] = p->nchanges; /* int */ 1823 uarg[3] = (intptr_t) p->eventlist; /* struct kevent32 * */ 1824 iarg[4] = p->nevents; /* int */ 1825 uarg[5] = (intptr_t) p->timeout; /* const struct timespec32 * */ 1826 *n_args = 6; 1827 break; 1828 } 1829 /* extattr_set_fd */ 1830 case 371: { 1831 struct extattr_set_fd_args *p = params; 1832 iarg[0] = p->fd; /* int */ 1833 iarg[1] = p->attrnamespace; /* int */ 1834 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1835 uarg[3] = (intptr_t) p->data; /* void * */ 1836 uarg[4] = p->nbytes; /* size_t */ 1837 *n_args = 5; 1838 break; 1839 } 1840 /* extattr_get_fd */ 1841 case 372: { 1842 struct extattr_get_fd_args *p = params; 1843 iarg[0] = p->fd; /* int */ 1844 iarg[1] = p->attrnamespace; /* int */ 1845 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1846 uarg[3] = (intptr_t) p->data; /* void * */ 1847 uarg[4] = p->nbytes; /* size_t */ 1848 *n_args = 5; 1849 break; 1850 } 1851 /* extattr_delete_fd */ 1852 case 373: { 1853 struct extattr_delete_fd_args *p = params; 1854 iarg[0] = p->fd; /* int */ 1855 iarg[1] = p->attrnamespace; /* int */ 1856 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1857 *n_args = 3; 1858 break; 1859 } 1860 /* __setugid */ 1861 case 374: { 1862 struct __setugid_args *p = params; 1863 iarg[0] = p->flag; /* int */ 1864 *n_args = 1; 1865 break; 1866 } 1867 /* eaccess */ 1868 case 376: { 1869 struct eaccess_args *p = params; 1870 uarg[0] = (intptr_t) p->path; /* char * */ 1871 iarg[1] = p->flags; /* int */ 1872 *n_args = 2; 1873 break; 1874 } 1875 /* freebsd32_nmount */ 1876 case 378: { 1877 struct freebsd32_nmount_args *p = params; 1878 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */ 1879 uarg[1] = p->iovcnt; /* unsigned int */ 1880 iarg[2] = p->flags; /* int */ 1881 *n_args = 3; 1882 break; 1883 } 1884 /* kenv */ 1885 case 390: { 1886 struct kenv_args *p = params; 1887 iarg[0] = p->what; /* int */ 1888 uarg[1] = (intptr_t) p->name; /* const char * */ 1889 uarg[2] = (intptr_t) p->value; /* char * */ 1890 iarg[3] = p->len; /* int */ 1891 *n_args = 4; 1892 break; 1893 } 1894 /* lchflags */ 1895 case 391: { 1896 struct lchflags_args *p = params; 1897 uarg[0] = (intptr_t) p->path; /* const char * */ 1898 iarg[1] = p->flags; /* int */ 1899 *n_args = 2; 1900 break; 1901 } 1902 /* uuidgen */ 1903 case 392: { 1904 struct uuidgen_args *p = params; 1905 uarg[0] = (intptr_t) p->store; /* struct uuid * */ 1906 iarg[1] = p->count; /* int */ 1907 *n_args = 2; 1908 break; 1909 } 1910 /* freebsd32_sendfile */ 1911 case 393: { 1912 struct freebsd32_sendfile_args *p = params; 1913 iarg[0] = p->fd; /* int */ 1914 iarg[1] = p->s; /* int */ 1915 uarg[2] = p->offset1; /* u_int32_t */ 1916 uarg[3] = p->offset2; /* u_int32_t */ 1917 uarg[4] = p->nbytes; /* size_t */ 1918 uarg[5] = (intptr_t) p->hdtr; /* struct sf_hdtr32 * */ 1919 uarg[6] = (intptr_t) p->sbytes; /* off_t * */ 1920 iarg[7] = p->flags; /* int */ 1921 *n_args = 8; 1922 break; 1923 } 1924 /* getfsstat */ 1925 case 395: { 1926 struct getfsstat_args *p = params; 1927 uarg[0] = (intptr_t) p->buf; /* struct statfs * */ 1928 iarg[1] = p->bufsize; /* long */ 1929 iarg[2] = p->flags; /* int */ 1930 *n_args = 3; 1931 break; 1932 } 1933 /* statfs */ 1934 case 396: { 1935 struct statfs_args *p = params; 1936 uarg[0] = (intptr_t) p->path; /* char * */ 1937 uarg[1] = (intptr_t) p->buf; /* struct statfs * */ 1938 *n_args = 2; 1939 break; 1940 } 1941 /* fstatfs */ 1942 case 397: { 1943 struct fstatfs_args *p = params; 1944 iarg[0] = p->fd; /* int */ 1945 uarg[1] = (intptr_t) p->buf; /* struct statfs * */ 1946 *n_args = 2; 1947 break; 1948 } 1949 /* fhstatfs */ 1950 case 398: { 1951 struct fhstatfs_args *p = params; 1952 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ 1953 uarg[1] = (intptr_t) p->buf; /* struct statfs * */ 1954 *n_args = 2; 1955 break; 1956 } 1957 /* ksem_close */ 1958 case 400: { 1959 struct ksem_close_args *p = params; 1960 iarg[0] = p->id; /* semid_t */ 1961 *n_args = 1; 1962 break; 1963 } 1964 /* ksem_post */ 1965 case 401: { 1966 struct ksem_post_args *p = params; 1967 iarg[0] = p->id; /* semid_t */ 1968 *n_args = 1; 1969 break; 1970 } 1971 /* ksem_wait */ 1972 case 402: { 1973 struct ksem_wait_args *p = params; 1974 iarg[0] = p->id; /* semid_t */ 1975 *n_args = 1; 1976 break; 1977 } 1978 /* ksem_trywait */ 1979 case 403: { 1980 struct ksem_trywait_args *p = params; 1981 iarg[0] = p->id; /* semid_t */ 1982 *n_args = 1; 1983 break; 1984 } 1985 /* freebsd32_ksem_init */ 1986 case 404: { 1987 struct freebsd32_ksem_init_args *p = params; 1988 uarg[0] = (intptr_t) p->idp; /* semid_t * */ 1989 uarg[1] = p->value; /* unsigned int */ 1990 *n_args = 2; 1991 break; 1992 } 1993 /* freebsd32_ksem_open */ 1994 case 405: { 1995 struct freebsd32_ksem_open_args *p = params; 1996 uarg[0] = (intptr_t) p->idp; /* semid_t * */ 1997 uarg[1] = (intptr_t) p->name; /* const char * */ 1998 iarg[2] = p->oflag; /* int */ 1999 iarg[3] = p->mode; /* mode_t */ 2000 uarg[4] = p->value; /* unsigned int */ 2001 *n_args = 5; 2002 break; 2003 } 2004 /* ksem_unlink */ 2005 case 406: { 2006 struct ksem_unlink_args *p = params; 2007 uarg[0] = (intptr_t) p->name; /* const char * */ 2008 *n_args = 1; 2009 break; 2010 } 2011 /* ksem_getvalue */ 2012 case 407: { 2013 struct ksem_getvalue_args *p = params; 2014 iarg[0] = p->id; /* semid_t */ 2015 uarg[1] = (intptr_t) p->val; /* int * */ 2016 *n_args = 2; 2017 break; 2018 } 2019 /* ksem_destroy */ 2020 case 408: { 2021 struct ksem_destroy_args *p = params; 2022 iarg[0] = p->id; /* semid_t */ 2023 *n_args = 1; 2024 break; 2025 } 2026 /* extattr_set_link */ 2027 case 412: { 2028 struct extattr_set_link_args *p = params; 2029 uarg[0] = (intptr_t) p->path; /* const char * */ 2030 iarg[1] = p->attrnamespace; /* int */ 2031 uarg[2] = (intptr_t) p->attrname; /* const char * */ 2032 uarg[3] = (intptr_t) p->data; /* void * */ 2033 uarg[4] = p->nbytes; /* size_t */ 2034 *n_args = 5; 2035 break; 2036 } 2037 /* extattr_get_link */ 2038 case 413: { 2039 struct extattr_get_link_args *p = params; 2040 uarg[0] = (intptr_t) p->path; /* const char * */ 2041 iarg[1] = p->attrnamespace; /* int */ 2042 uarg[2] = (intptr_t) p->attrname; /* const char * */ 2043 uarg[3] = (intptr_t) p->data; /* void * */ 2044 uarg[4] = p->nbytes; /* size_t */ 2045 *n_args = 5; 2046 break; 2047 } 2048 /* extattr_delete_link */ 2049 case 414: { 2050 struct extattr_delete_link_args *p = params; 2051 uarg[0] = (intptr_t) p->path; /* const char * */ 2052 iarg[1] = p->attrnamespace; /* int */ 2053 uarg[2] = (intptr_t) p->attrname; /* const char * */ 2054 *n_args = 3; 2055 break; 2056 } 2057 /* freebsd32_sigaction */ 2058 case 416: { 2059 struct freebsd32_sigaction_args *p = params; 2060 iarg[0] = p->sig; /* int */ 2061 uarg[1] = (intptr_t) p->act; /* struct sigaction32 * */ 2062 uarg[2] = (intptr_t) p->oact; /* struct sigaction32 * */ 2063 *n_args = 3; 2064 break; 2065 } 2066 /* freebsd32_sigreturn */ 2067 case 417: { 2068 struct freebsd32_sigreturn_args *p = params; 2069 uarg[0] = (intptr_t) p->sigcntxp; /* const struct freebsd32_ucontext * */ 2070 *n_args = 1; 2071 break; 2072 } 2073 /* freebsd32_getcontext */ 2074 case 421: { 2075 struct freebsd32_getcontext_args *p = params; 2076 uarg[0] = (intptr_t) p->ucp; /* struct freebsd32_ucontext * */ 2077 *n_args = 1; 2078 break; 2079 } 2080 /* freebsd32_setcontext */ 2081 case 422: { 2082 struct freebsd32_setcontext_args *p = params; 2083 uarg[0] = (intptr_t) p->ucp; /* const struct freebsd32_ucontext * */ 2084 *n_args = 1; 2085 break; 2086 } 2087 /* freebsd32_swapcontext */ 2088 case 423: { 2089 struct freebsd32_swapcontext_args *p = params; 2090 uarg[0] = (intptr_t) p->oucp; /* struct freebsd32_ucontext * */ 2091 uarg[1] = (intptr_t) p->ucp; /* const struct freebsd32_ucontext * */ 2092 *n_args = 2; 2093 break; 2094 } 2095 /* __acl_get_link */ 2096 case 425: { 2097 struct __acl_get_link_args *p = params; 2098 uarg[0] = (intptr_t) p->path; /* const char * */ 2099 iarg[1] = p->type; /* acl_type_t */ 2100 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 2101 *n_args = 3; 2102 break; 2103 } 2104 /* __acl_set_link */ 2105 case 426: { 2106 struct __acl_set_link_args *p = params; 2107 uarg[0] = (intptr_t) p->path; /* const char * */ 2108 iarg[1] = p->type; /* acl_type_t */ 2109 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 2110 *n_args = 3; 2111 break; 2112 } 2113 /* __acl_delete_link */ 2114 case 427: { 2115 struct __acl_delete_link_args *p = params; 2116 uarg[0] = (intptr_t) p->path; /* const char * */ 2117 iarg[1] = p->type; /* acl_type_t */ 2118 *n_args = 2; 2119 break; 2120 } 2121 /* __acl_aclcheck_link */ 2122 case 428: { 2123 struct __acl_aclcheck_link_args *p = params; 2124 uarg[0] = (intptr_t) p->path; /* const char * */ 2125 iarg[1] = p->type; /* acl_type_t */ 2126 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 2127 *n_args = 3; 2128 break; 2129 } 2130 /* sigwait */ 2131 case 429: { 2132 struct sigwait_args *p = params; 2133 uarg[0] = (intptr_t) p->set; /* const sigset_t * */ 2134 uarg[1] = (intptr_t) p->sig; /* int * */ 2135 *n_args = 2; 2136 break; 2137 } 2138 /* thr_exit */ 2139 case 431: { 2140 struct thr_exit_args *p = params; 2141 uarg[0] = (intptr_t) p->state; /* long * */ 2142 *n_args = 1; 2143 break; 2144 } 2145 /* thr_self */ 2146 case 432: { 2147 struct thr_self_args *p = params; 2148 uarg[0] = (intptr_t) p->id; /* long * */ 2149 *n_args = 1; 2150 break; 2151 } 2152 /* thr_kill */ 2153 case 433: { 2154 struct thr_kill_args *p = params; 2155 iarg[0] = p->id; /* long */ 2156 iarg[1] = p->sig; /* int */ 2157 *n_args = 2; 2158 break; 2159 } 2160 /* freebsd32_umtx_lock */ 2161 case 434: { 2162 struct freebsd32_umtx_lock_args *p = params; 2163 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */ 2164 *n_args = 1; 2165 break; 2166 } 2167 /* freebsd32_umtx_unlock */ 2168 case 435: { 2169 struct freebsd32_umtx_unlock_args *p = params; 2170 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */ 2171 *n_args = 1; 2172 break; 2173 } 2174 /* jail_attach */ 2175 case 436: { 2176 struct jail_attach_args *p = params; 2177 iarg[0] = p->jid; /* int */ 2178 *n_args = 1; 2179 break; 2180 } 2181 /* extattr_list_fd */ 2182 case 437: { 2183 struct extattr_list_fd_args *p = params; 2184 iarg[0] = p->fd; /* int */ 2185 iarg[1] = p->attrnamespace; /* int */ 2186 uarg[2] = (intptr_t) p->data; /* void * */ 2187 uarg[3] = p->nbytes; /* size_t */ 2188 *n_args = 4; 2189 break; 2190 } 2191 /* extattr_list_file */ 2192 case 438: { 2193 struct extattr_list_file_args *p = params; 2194 uarg[0] = (intptr_t) p->path; /* const char * */ 2195 iarg[1] = p->attrnamespace; /* int */ 2196 uarg[2] = (intptr_t) p->data; /* void * */ 2197 uarg[3] = p->nbytes; /* size_t */ 2198 *n_args = 4; 2199 break; 2200 } 2201 /* extattr_list_link */ 2202 case 439: { 2203 struct extattr_list_link_args *p = params; 2204 uarg[0] = (intptr_t) p->path; /* const char * */ 2205 iarg[1] = p->attrnamespace; /* int */ 2206 uarg[2] = (intptr_t) p->data; /* void * */ 2207 uarg[3] = p->nbytes; /* size_t */ 2208 *n_args = 4; 2209 break; 2210 } 2211 /* freebsd32_ksem_timedwait */ 2212 case 441: { 2213 struct freebsd32_ksem_timedwait_args *p = params; 2214 iarg[0] = p->id; /* semid_t */ 2215 uarg[1] = (intptr_t) p->abstime; /* const struct timespec32 * */ 2216 *n_args = 2; 2217 break; 2218 } 2219 /* freebsd32_thr_suspend */ 2220 case 442: { 2221 struct freebsd32_thr_suspend_args *p = params; 2222 uarg[0] = (intptr_t) p->timeout; /* const struct timespec32 * */ 2223 *n_args = 1; 2224 break; 2225 } 2226 /* thr_wake */ 2227 case 443: { 2228 struct thr_wake_args *p = params; 2229 iarg[0] = p->id; /* long */ 2230 *n_args = 1; 2231 break; 2232 } 2233 /* kldunloadf */ 2234 case 444: { 2235 struct kldunloadf_args *p = params; 2236 iarg[0] = p->fileid; /* int */ 2237 iarg[1] = p->flags; /* int */ 2238 *n_args = 2; 2239 break; 2240 } 2241 /* audit */ 2242 case 445: { 2243 struct audit_args *p = params; 2244 uarg[0] = (intptr_t) p->record; /* const void * */ 2245 uarg[1] = p->length; /* u_int */ 2246 *n_args = 2; 2247 break; 2248 } 2249 /* auditon */ 2250 case 446: { 2251 struct auditon_args *p = params; 2252 iarg[0] = p->cmd; /* int */ 2253 uarg[1] = (intptr_t) p->data; /* void * */ 2254 uarg[2] = p->length; /* u_int */ 2255 *n_args = 3; 2256 break; 2257 } 2258 /* getauid */ 2259 case 447: { 2260 struct getauid_args *p = params; 2261 uarg[0] = (intptr_t) p->auid; /* uid_t * */ 2262 *n_args = 1; 2263 break; 2264 } 2265 /* setauid */ 2266 case 448: { 2267 struct setauid_args *p = params; 2268 uarg[0] = (intptr_t) p->auid; /* uid_t * */ 2269 *n_args = 1; 2270 break; 2271 } 2272 /* getaudit */ 2273 case 449: { 2274 struct getaudit_args *p = params; 2275 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */ 2276 *n_args = 1; 2277 break; 2278 } 2279 /* setaudit */ 2280 case 450: { 2281 struct setaudit_args *p = params; 2282 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */ 2283 *n_args = 1; 2284 break; 2285 } 2286 /* getaudit_addr */ 2287 case 451: { 2288 struct getaudit_addr_args *p = params; 2289 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */ 2290 uarg[1] = p->length; /* u_int */ 2291 *n_args = 2; 2292 break; 2293 } 2294 /* setaudit_addr */ 2295 case 452: { 2296 struct setaudit_addr_args *p = params; 2297 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */ 2298 uarg[1] = p->length; /* u_int */ 2299 *n_args = 2; 2300 break; 2301 } 2302 /* auditctl */ 2303 case 453: { 2304 struct auditctl_args *p = params; 2305 uarg[0] = (intptr_t) p->path; /* char * */ 2306 *n_args = 1; 2307 break; 2308 } 2309 /* freebsd32_umtx_op */ 2310 case 454: { 2311 struct freebsd32_umtx_op_args *p = params; 2312 uarg[0] = (intptr_t) p->obj; /* void * */ 2313 iarg[1] = p->op; /* int */ 2314 uarg[2] = p->val; /* u_long */ 2315 uarg[3] = (intptr_t) p->uaddr; /* void * */ 2316 uarg[4] = (intptr_t) p->uaddr2; /* void * */ 2317 *n_args = 5; 2318 break; 2319 } 2320 /* freebsd32_thr_new */ 2321 case 455: { 2322 struct freebsd32_thr_new_args *p = params; 2323 uarg[0] = (intptr_t) p->param; /* struct thr_param32 * */ 2324 iarg[1] = p->param_size; /* int */ 2325 *n_args = 2; 2326 break; 2327 } 2328 /* sigqueue */ 2329 case 456: { 2330 struct sigqueue_args *p = params; 2331 iarg[0] = p->pid; /* pid_t */ 2332 iarg[1] = p->signum; /* int */ 2333 uarg[2] = (intptr_t) p->value; /* void * */ 2334 *n_args = 3; 2335 break; 2336 } 2337 /* freebsd32_kmq_open */ 2338 case 457: { 2339 struct freebsd32_kmq_open_args *p = params; 2340 uarg[0] = (intptr_t) p->path; /* const char * */ 2341 iarg[1] = p->flags; /* int */ 2342 iarg[2] = p->mode; /* mode_t */ 2343 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr32 * */ 2344 *n_args = 4; 2345 break; 2346 } 2347 /* freebsd32_kmq_setattr */ 2348 case 458: { 2349 struct freebsd32_kmq_setattr_args *p = params; 2350 iarg[0] = p->mqd; /* int */ 2351 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr32 * */ 2352 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr32 * */ 2353 *n_args = 3; 2354 break; 2355 } 2356 /* freebsd32_kmq_timedreceive */ 2357 case 459: { 2358 struct freebsd32_kmq_timedreceive_args *p = params; 2359 iarg[0] = p->mqd; /* int */ 2360 uarg[1] = (intptr_t) p->msg_ptr; /* char * */ 2361 uarg[2] = p->msg_len; /* size_t */ 2362 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */ 2363 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec32 * */ 2364 *n_args = 5; 2365 break; 2366 } 2367 /* freebsd32_kmq_timedsend */ 2368 case 460: { 2369 struct freebsd32_kmq_timedsend_args *p = params; 2370 iarg[0] = p->mqd; /* int */ 2371 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */ 2372 uarg[2] = p->msg_len; /* size_t */ 2373 uarg[3] = p->msg_prio; /* unsigned */ 2374 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec32 * */ 2375 *n_args = 5; 2376 break; 2377 } 2378 /* kmq_notify */ 2379 case 461: { 2380 struct kmq_notify_args *p = params; 2381 iarg[0] = p->mqd; /* int */ 2382 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */ 2383 *n_args = 2; 2384 break; 2385 } 2386 /* kmq_unlink */ 2387 case 462: { 2388 struct kmq_unlink_args *p = params; 2389 uarg[0] = (intptr_t) p->path; /* const char * */ 2390 *n_args = 1; 2391 break; 2392 } 2393 /* abort2 */ 2394 case 463: { 2395 struct abort2_args *p = params; 2396 uarg[0] = (intptr_t) p->why; /* const char * */ 2397 iarg[1] = p->nargs; /* int */ 2398 uarg[2] = (intptr_t) p->args; /* void ** */ 2399 *n_args = 3; 2400 break; 2401 } 2402 /* thr_set_name */ 2403 case 464: { 2404 struct thr_set_name_args *p = params; 2405 iarg[0] = p->id; /* long */ 2406 uarg[1] = (intptr_t) p->name; /* const char * */ 2407 *n_args = 2; 2408 break; 2409 } 2410 /* freebsd32_aio_fsync */ 2411 case 465: { 2412 struct freebsd32_aio_fsync_args *p = params; 2413 iarg[0] = p->op; /* int */ 2414 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb32 * */ 2415 *n_args = 2; 2416 break; 2417 } 2418 /* rtprio_thread */ 2419 case 466: { 2420 struct rtprio_thread_args *p = params; 2421 iarg[0] = p->function; /* int */ 2422 iarg[1] = p->lwpid; /* lwpid_t */ 2423 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */ 2424 *n_args = 3; 2425 break; 2426 } 2427 /* sctp_peeloff */ 2428 case 471: { 2429 struct sctp_peeloff_args *p = params; 2430 iarg[0] = p->sd; /* int */ 2431 uarg[1] = p->name; /* uint32_t */ 2432 *n_args = 2; 2433 break; 2434 } 2435 /* sctp_generic_sendmsg */ 2436 case 472: { 2437 struct sctp_generic_sendmsg_args *p = params; 2438 iarg[0] = p->sd; /* int */ 2439 uarg[1] = (intptr_t) p->msg; /* caddr_t */ 2440 iarg[2] = p->mlen; /* int */ 2441 uarg[3] = (intptr_t) p->to; /* caddr_t */ 2442 iarg[4] = p->tolen; /* __socklen_t */ 2443 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */ 2444 iarg[6] = p->flags; /* int */ 2445 *n_args = 7; 2446 break; 2447 } 2448 /* sctp_generic_sendmsg_iov */ 2449 case 473: { 2450 struct sctp_generic_sendmsg_iov_args *p = params; 2451 iarg[0] = p->sd; /* int */ 2452 uarg[1] = (intptr_t) p->iov; /* struct iovec * */ 2453 iarg[2] = p->iovlen; /* int */ 2454 uarg[3] = (intptr_t) p->to; /* caddr_t */ 2455 iarg[4] = p->tolen; /* __socklen_t */ 2456 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */ 2457 iarg[6] = p->flags; /* int */ 2458 *n_args = 7; 2459 break; 2460 } 2461 /* sctp_generic_recvmsg */ 2462 case 474: { 2463 struct sctp_generic_recvmsg_args *p = params; 2464 iarg[0] = p->sd; /* int */ 2465 uarg[1] = (intptr_t) p->iov; /* struct iovec * */ 2466 iarg[2] = p->iovlen; /* int */ 2467 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */ 2468 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */ 2469 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */ 2470 uarg[6] = (intptr_t) p->msg_flags; /* int * */ 2471 *n_args = 7; 2472 break; 2473 } 2474 #ifdef PAD64_REQUIRED 2475 /* freebsd32_pread */ 2476 case 475: { 2477 struct freebsd32_pread_args *p = params; 2478 iarg[0] = p->fd; /* int */ 2479 uarg[1] = (intptr_t) p->buf; /* void * */ 2480 uarg[2] = p->nbyte; /* size_t */ 2481 iarg[3] = p->pad; /* int */ 2482 uarg[4] = p->offset1; /* u_int32_t */ 2483 uarg[5] = p->offset2; /* u_int32_t */ 2484 *n_args = 6; 2485 break; 2486 } 2487 /* freebsd32_pwrite */ 2488 case 476: { 2489 struct freebsd32_pwrite_args *p = params; 2490 iarg[0] = p->fd; /* int */ 2491 uarg[1] = (intptr_t) p->buf; /* const void * */ 2492 uarg[2] = p->nbyte; /* size_t */ 2493 iarg[3] = p->pad; /* int */ 2494 uarg[4] = p->offset1; /* u_int32_t */ 2495 uarg[5] = p->offset2; /* u_int32_t */ 2496 *n_args = 6; 2497 break; 2498 } 2499 /* freebsd32_mmap */ 2500 case 477: { 2501 struct freebsd32_mmap_args *p = params; 2502 uarg[0] = (intptr_t) p->addr; /* caddr_t */ 2503 uarg[1] = p->len; /* size_t */ 2504 iarg[2] = p->prot; /* int */ 2505 iarg[3] = p->flags; /* int */ 2506 iarg[4] = p->fd; /* int */ 2507 iarg[5] = p->pad; /* int */ 2508 uarg[6] = p->pos1; /* u_int32_t */ 2509 uarg[7] = p->pos2; /* u_int32_t */ 2510 *n_args = 8; 2511 break; 2512 } 2513 /* freebsd32_lseek */ 2514 case 478: { 2515 struct freebsd32_lseek_args *p = params; 2516 iarg[0] = p->fd; /* int */ 2517 iarg[1] = p->pad; /* int */ 2518 uarg[2] = p->offset1; /* u_int32_t */ 2519 uarg[3] = p->offset2; /* u_int32_t */ 2520 iarg[4] = p->whence; /* int */ 2521 *n_args = 5; 2522 break; 2523 } 2524 /* freebsd32_truncate */ 2525 case 479: { 2526 struct freebsd32_truncate_args *p = params; 2527 uarg[0] = (intptr_t) p->path; /* char * */ 2528 iarg[1] = p->pad; /* int */ 2529 uarg[2] = p->length1; /* u_int32_t */ 2530 uarg[3] = p->length2; /* u_int32_t */ 2531 *n_args = 4; 2532 break; 2533 } 2534 /* freebsd32_ftruncate */ 2535 case 480: { 2536 struct freebsd32_ftruncate_args *p = params; 2537 iarg[0] = p->fd; /* int */ 2538 iarg[1] = p->pad; /* int */ 2539 uarg[2] = p->length1; /* u_int32_t */ 2540 uarg[3] = p->length2; /* u_int32_t */ 2541 *n_args = 4; 2542 break; 2543 } 2544 #else 2545 /* freebsd32_pread */ 2546 case 475: { 2547 struct freebsd32_pread_args *p = params; 2548 iarg[0] = p->fd; /* int */ 2549 uarg[1] = (intptr_t) p->buf; /* void * */ 2550 uarg[2] = p->nbyte; /* size_t */ 2551 uarg[3] = p->offset1; /* u_int32_t */ 2552 uarg[4] = p->offset2; /* u_int32_t */ 2553 *n_args = 5; 2554 break; 2555 } 2556 /* freebsd32_pwrite */ 2557 case 476: { 2558 struct freebsd32_pwrite_args *p = params; 2559 iarg[0] = p->fd; /* int */ 2560 uarg[1] = (intptr_t) p->buf; /* const void * */ 2561 uarg[2] = p->nbyte; /* size_t */ 2562 uarg[3] = p->offset1; /* u_int32_t */ 2563 uarg[4] = p->offset2; /* u_int32_t */ 2564 *n_args = 5; 2565 break; 2566 } 2567 /* freebsd32_mmap */ 2568 case 477: { 2569 struct freebsd32_mmap_args *p = params; 2570 uarg[0] = (intptr_t) p->addr; /* caddr_t */ 2571 uarg[1] = p->len; /* size_t */ 2572 iarg[2] = p->prot; /* int */ 2573 iarg[3] = p->flags; /* int */ 2574 iarg[4] = p->fd; /* int */ 2575 uarg[5] = p->pos1; /* u_int32_t */ 2576 uarg[6] = p->pos2; /* u_int32_t */ 2577 *n_args = 7; 2578 break; 2579 } 2580 /* freebsd32_lseek */ 2581 case 478: { 2582 struct freebsd32_lseek_args *p = params; 2583 iarg[0] = p->fd; /* int */ 2584 uarg[1] = p->offset1; /* u_int32_t */ 2585 uarg[2] = p->offset2; /* u_int32_t */ 2586 iarg[3] = p->whence; /* int */ 2587 *n_args = 4; 2588 break; 2589 } 2590 /* freebsd32_truncate */ 2591 case 479: { 2592 struct freebsd32_truncate_args *p = params; 2593 uarg[0] = (intptr_t) p->path; /* char * */ 2594 uarg[1] = p->length1; /* u_int32_t */ 2595 uarg[2] = p->length2; /* u_int32_t */ 2596 *n_args = 3; 2597 break; 2598 } 2599 /* freebsd32_ftruncate */ 2600 case 480: { 2601 struct freebsd32_ftruncate_args *p = params; 2602 iarg[0] = p->fd; /* int */ 2603 uarg[1] = p->length1; /* u_int32_t */ 2604 uarg[2] = p->length2; /* u_int32_t */ 2605 *n_args = 3; 2606 break; 2607 } 2608 #endif 2609 /* thr_kill2 */ 2610 case 481: { 2611 struct thr_kill2_args *p = params; 2612 iarg[0] = p->pid; /* pid_t */ 2613 iarg[1] = p->id; /* long */ 2614 iarg[2] = p->sig; /* int */ 2615 *n_args = 3; 2616 break; 2617 } 2618 /* shm_open */ 2619 case 482: { 2620 struct shm_open_args *p = params; 2621 uarg[0] = (intptr_t) p->path; /* const char * */ 2622 iarg[1] = p->flags; /* int */ 2623 iarg[2] = p->mode; /* mode_t */ 2624 *n_args = 3; 2625 break; 2626 } 2627 /* shm_unlink */ 2628 case 483: { 2629 struct shm_unlink_args *p = params; 2630 uarg[0] = (intptr_t) p->path; /* const char * */ 2631 *n_args = 1; 2632 break; 2633 } 2634 /* cpuset */ 2635 case 484: { 2636 struct cpuset_args *p = params; 2637 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */ 2638 *n_args = 1; 2639 break; 2640 } 2641 #ifdef PAD64_REQUIRED 2642 /* freebsd32_cpuset_setid */ 2643 case 485: { 2644 struct freebsd32_cpuset_setid_args *p = params; 2645 iarg[0] = p->which; /* cpuwhich_t */ 2646 iarg[1] = p->pad; /* int */ 2647 uarg[2] = p->id1; /* u_int32_t */ 2648 uarg[3] = p->id2; /* u_int32_t */ 2649 iarg[4] = p->setid; /* cpusetid_t */ 2650 *n_args = 5; 2651 break; 2652 } 2653 #else 2654 /* freebsd32_cpuset_setid */ 2655 case 485: { 2656 struct freebsd32_cpuset_setid_args *p = params; 2657 iarg[0] = p->which; /* cpuwhich_t */ 2658 uarg[1] = p->id1; /* u_int32_t */ 2659 uarg[2] = p->id2; /* u_int32_t */ 2660 iarg[3] = p->setid; /* cpusetid_t */ 2661 *n_args = 4; 2662 break; 2663 } 2664 #endif 2665 /* freebsd32_cpuset_getid */ 2666 case 486: { 2667 struct freebsd32_cpuset_getid_args *p = params; 2668 iarg[0] = p->level; /* cpulevel_t */ 2669 iarg[1] = p->which; /* cpuwhich_t */ 2670 uarg[2] = p->id1; /* u_int32_t */ 2671 uarg[3] = p->id2; /* u_int32_t */ 2672 uarg[4] = (intptr_t) p->setid; /* cpusetid_t * */ 2673 *n_args = 5; 2674 break; 2675 } 2676 /* freebsd32_cpuset_getaffinity */ 2677 case 487: { 2678 struct freebsd32_cpuset_getaffinity_args *p = params; 2679 iarg[0] = p->level; /* cpulevel_t */ 2680 iarg[1] = p->which; /* cpuwhich_t */ 2681 uarg[2] = p->id1; /* u_int32_t */ 2682 uarg[3] = p->id2; /* u_int32_t */ 2683 uarg[4] = p->cpusetsize; /* size_t */ 2684 uarg[5] = (intptr_t) p->mask; /* cpuset_t * */ 2685 *n_args = 6; 2686 break; 2687 } 2688 /* freebsd32_cpuset_setaffinity */ 2689 case 488: { 2690 struct freebsd32_cpuset_setaffinity_args *p = params; 2691 iarg[0] = p->level; /* cpulevel_t */ 2692 iarg[1] = p->which; /* cpuwhich_t */ 2693 uarg[2] = p->id1; /* u_int32_t */ 2694 uarg[3] = p->id2; /* u_int32_t */ 2695 uarg[4] = p->cpusetsize; /* size_t */ 2696 uarg[5] = (intptr_t) p->mask; /* const cpuset_t * */ 2697 *n_args = 6; 2698 break; 2699 } 2700 /* faccessat */ 2701 case 489: { 2702 struct faccessat_args *p = params; 2703 iarg[0] = p->fd; /* int */ 2704 uarg[1] = (intptr_t) p->path; /* char * */ 2705 iarg[2] = p->mode; /* int */ 2706 iarg[3] = p->flag; /* int */ 2707 *n_args = 4; 2708 break; 2709 } 2710 /* fchmodat */ 2711 case 490: { 2712 struct fchmodat_args *p = params; 2713 iarg[0] = p->fd; /* int */ 2714 uarg[1] = (intptr_t) p->path; /* const char * */ 2715 iarg[2] = p->mode; /* mode_t */ 2716 iarg[3] = p->flag; /* int */ 2717 *n_args = 4; 2718 break; 2719 } 2720 /* fchownat */ 2721 case 491: { 2722 struct fchownat_args *p = params; 2723 iarg[0] = p->fd; /* int */ 2724 uarg[1] = (intptr_t) p->path; /* char * */ 2725 uarg[2] = p->uid; /* uid_t */ 2726 iarg[3] = p->gid; /* gid_t */ 2727 iarg[4] = p->flag; /* int */ 2728 *n_args = 5; 2729 break; 2730 } 2731 /* freebsd32_fexecve */ 2732 case 492: { 2733 struct freebsd32_fexecve_args *p = params; 2734 iarg[0] = p->fd; /* int */ 2735 uarg[1] = (intptr_t) p->argv; /* u_int32_t * */ 2736 uarg[2] = (intptr_t) p->envv; /* u_int32_t * */ 2737 *n_args = 3; 2738 break; 2739 } 2740 /* freebsd32_fstatat */ 2741 case 493: { 2742 struct freebsd32_fstatat_args *p = params; 2743 iarg[0] = p->fd; /* int */ 2744 uarg[1] = (intptr_t) p->path; /* char * */ 2745 uarg[2] = (intptr_t) p->buf; /* struct stat * */ 2746 iarg[3] = p->flag; /* int */ 2747 *n_args = 4; 2748 break; 2749 } 2750 /* freebsd32_futimesat */ 2751 case 494: { 2752 struct freebsd32_futimesat_args *p = params; 2753 iarg[0] = p->fd; /* int */ 2754 uarg[1] = (intptr_t) p->path; /* char * */ 2755 uarg[2] = (intptr_t) p->times; /* struct timeval * */ 2756 *n_args = 3; 2757 break; 2758 } 2759 /* linkat */ 2760 case 495: { 2761 struct linkat_args *p = params; 2762 iarg[0] = p->fd1; /* int */ 2763 uarg[1] = (intptr_t) p->path1; /* char * */ 2764 iarg[2] = p->fd2; /* int */ 2765 uarg[3] = (intptr_t) p->path2; /* char * */ 2766 iarg[4] = p->flag; /* int */ 2767 *n_args = 5; 2768 break; 2769 } 2770 /* mkdirat */ 2771 case 496: { 2772 struct mkdirat_args *p = params; 2773 iarg[0] = p->fd; /* int */ 2774 uarg[1] = (intptr_t) p->path; /* char * */ 2775 iarg[2] = p->mode; /* mode_t */ 2776 *n_args = 3; 2777 break; 2778 } 2779 /* mkfifoat */ 2780 case 497: { 2781 struct mkfifoat_args *p = params; 2782 iarg[0] = p->fd; /* int */ 2783 uarg[1] = (intptr_t) p->path; /* char * */ 2784 iarg[2] = p->mode; /* mode_t */ 2785 *n_args = 3; 2786 break; 2787 } 2788 /* mknodat */ 2789 case 498: { 2790 struct mknodat_args *p = params; 2791 iarg[0] = p->fd; /* int */ 2792 uarg[1] = (intptr_t) p->path; /* char * */ 2793 iarg[2] = p->mode; /* mode_t */ 2794 iarg[3] = p->dev; /* dev_t */ 2795 *n_args = 4; 2796 break; 2797 } 2798 /* openat */ 2799 case 499: { 2800 struct openat_args *p = params; 2801 iarg[0] = p->fd; /* int */ 2802 uarg[1] = (intptr_t) p->path; /* char * */ 2803 iarg[2] = p->flag; /* int */ 2804 iarg[3] = p->mode; /* mode_t */ 2805 *n_args = 4; 2806 break; 2807 } 2808 /* readlinkat */ 2809 case 500: { 2810 struct readlinkat_args *p = params; 2811 iarg[0] = p->fd; /* int */ 2812 uarg[1] = (intptr_t) p->path; /* char * */ 2813 uarg[2] = (intptr_t) p->buf; /* char * */ 2814 uarg[3] = p->bufsize; /* size_t */ 2815 *n_args = 4; 2816 break; 2817 } 2818 /* renameat */ 2819 case 501: { 2820 struct renameat_args *p = params; 2821 iarg[0] = p->oldfd; /* int */ 2822 uarg[1] = (intptr_t) p->old; /* char * */ 2823 iarg[2] = p->newfd; /* int */ 2824 uarg[3] = (intptr_t) p->new; /* const char * */ 2825 *n_args = 4; 2826 break; 2827 } 2828 /* symlinkat */ 2829 case 502: { 2830 struct symlinkat_args *p = params; 2831 uarg[0] = (intptr_t) p->path1; /* char * */ 2832 iarg[1] = p->fd; /* int */ 2833 uarg[2] = (intptr_t) p->path2; /* char * */ 2834 *n_args = 3; 2835 break; 2836 } 2837 /* unlinkat */ 2838 case 503: { 2839 struct unlinkat_args *p = params; 2840 iarg[0] = p->fd; /* int */ 2841 uarg[1] = (intptr_t) p->path; /* char * */ 2842 iarg[2] = p->flag; /* int */ 2843 *n_args = 3; 2844 break; 2845 } 2846 /* posix_openpt */ 2847 case 504: { 2848 struct posix_openpt_args *p = params; 2849 iarg[0] = p->flags; /* int */ 2850 *n_args = 1; 2851 break; 2852 } 2853 /* freebsd32_jail_get */ 2854 case 506: { 2855 struct freebsd32_jail_get_args *p = params; 2856 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */ 2857 uarg[1] = p->iovcnt; /* unsigned int */ 2858 iarg[2] = p->flags; /* int */ 2859 *n_args = 3; 2860 break; 2861 } 2862 /* freebsd32_jail_set */ 2863 case 507: { 2864 struct freebsd32_jail_set_args *p = params; 2865 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */ 2866 uarg[1] = p->iovcnt; /* unsigned int */ 2867 iarg[2] = p->flags; /* int */ 2868 *n_args = 3; 2869 break; 2870 } 2871 /* jail_remove */ 2872 case 508: { 2873 struct jail_remove_args *p = params; 2874 iarg[0] = p->jid; /* int */ 2875 *n_args = 1; 2876 break; 2877 } 2878 /* closefrom */ 2879 case 509: { 2880 struct closefrom_args *p = params; 2881 iarg[0] = p->lowfd; /* int */ 2882 *n_args = 1; 2883 break; 2884 } 2885 /* freebsd32_semctl */ 2886 case 510: { 2887 struct freebsd32_semctl_args *p = params; 2888 iarg[0] = p->semid; /* int */ 2889 iarg[1] = p->semnum; /* int */ 2890 iarg[2] = p->cmd; /* int */ 2891 uarg[3] = (intptr_t) p->arg; /* union semun32 * */ 2892 *n_args = 4; 2893 break; 2894 } 2895 /* freebsd32_msgctl */ 2896 case 511: { 2897 struct freebsd32_msgctl_args *p = params; 2898 iarg[0] = p->msqid; /* int */ 2899 iarg[1] = p->cmd; /* int */ 2900 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds32 * */ 2901 *n_args = 3; 2902 break; 2903 } 2904 /* freebsd32_shmctl */ 2905 case 512: { 2906 struct freebsd32_shmctl_args *p = params; 2907 iarg[0] = p->shmid; /* int */ 2908 iarg[1] = p->cmd; /* int */ 2909 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds32 * */ 2910 *n_args = 3; 2911 break; 2912 } 2913 /* lpathconf */ 2914 case 513: { 2915 struct lpathconf_args *p = params; 2916 uarg[0] = (intptr_t) p->path; /* char * */ 2917 iarg[1] = p->name; /* int */ 2918 *n_args = 2; 2919 break; 2920 } 2921 /* cap_enter */ 2922 case 516: { 2923 *n_args = 0; 2924 break; 2925 } 2926 /* cap_getmode */ 2927 case 517: { 2928 struct cap_getmode_args *p = params; 2929 uarg[0] = (intptr_t) p->modep; /* u_int * */ 2930 *n_args = 1; 2931 break; 2932 } 2933 /* freebsd32_pselect */ 2934 case 522: { 2935 struct freebsd32_pselect_args *p = params; 2936 iarg[0] = p->nd; /* int */ 2937 uarg[1] = (intptr_t) p->in; /* fd_set * */ 2938 uarg[2] = (intptr_t) p->ou; /* fd_set * */ 2939 uarg[3] = (intptr_t) p->ex; /* fd_set * */ 2940 uarg[4] = (intptr_t) p->ts; /* const struct timespec32 * */ 2941 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */ 2942 *n_args = 6; 2943 break; 2944 } 2945 /* getloginclass */ 2946 case 523: { 2947 struct getloginclass_args *p = params; 2948 uarg[0] = (intptr_t) p->namebuf; /* char * */ 2949 uarg[1] = p->namelen; /* size_t */ 2950 *n_args = 2; 2951 break; 2952 } 2953 /* setloginclass */ 2954 case 524: { 2955 struct setloginclass_args *p = params; 2956 uarg[0] = (intptr_t) p->namebuf; /* const char * */ 2957 *n_args = 1; 2958 break; 2959 } 2960 /* rctl_get_racct */ 2961 case 525: { 2962 struct rctl_get_racct_args *p = params; 2963 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2964 uarg[1] = p->inbuflen; /* size_t */ 2965 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2966 uarg[3] = p->outbuflen; /* size_t */ 2967 *n_args = 4; 2968 break; 2969 } 2970 /* rctl_get_rules */ 2971 case 526: { 2972 struct rctl_get_rules_args *p = params; 2973 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2974 uarg[1] = p->inbuflen; /* size_t */ 2975 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2976 uarg[3] = p->outbuflen; /* size_t */ 2977 *n_args = 4; 2978 break; 2979 } 2980 /* rctl_get_limits */ 2981 case 527: { 2982 struct rctl_get_limits_args *p = params; 2983 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2984 uarg[1] = p->inbuflen; /* size_t */ 2985 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2986 uarg[3] = p->outbuflen; /* size_t */ 2987 *n_args = 4; 2988 break; 2989 } 2990 /* rctl_add_rule */ 2991 case 528: { 2992 struct rctl_add_rule_args *p = params; 2993 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2994 uarg[1] = p->inbuflen; /* size_t */ 2995 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2996 uarg[3] = p->outbuflen; /* size_t */ 2997 *n_args = 4; 2998 break; 2999 } 3000 /* rctl_remove_rule */ 3001 case 529: { 3002 struct rctl_remove_rule_args *p = params; 3003 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3004 uarg[1] = p->inbuflen; /* size_t */ 3005 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3006 uarg[3] = p->outbuflen; /* size_t */ 3007 *n_args = 4; 3008 break; 3009 } 3010 /* freebsd32_posix_fallocate */ 3011 case 530: { 3012 struct freebsd32_posix_fallocate_args *p = params; 3013 iarg[0] = p->fd; /* int */ 3014 uarg[1] = p->offsetlo; /* uint32_t */ 3015 uarg[2] = p->offsethi; /* uint32_t */ 3016 uarg[3] = p->lenlo; /* uint32_t */ 3017 uarg[4] = p->lenhi; /* uint32_t */ 3018 *n_args = 5; 3019 break; 3020 } 3021 default: 3022 *n_args = 0; 3023 break; 3024 }; 3025 } 3026 static void 3027 systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3028 { 3029 const char *p = NULL; 3030 switch (sysnum) { 3031 #if !defined(PAD64_REQUIRED) && defined(__powerpc__) 3032 #define PAD64_REQUIRED 3033 #endif 3034 /* nosys */ 3035 case 0: 3036 break; 3037 /* sys_exit */ 3038 case 1: 3039 switch(ndx) { 3040 case 0: 3041 p = "int"; 3042 break; 3043 default: 3044 break; 3045 }; 3046 break; 3047 /* fork */ 3048 case 2: 3049 break; 3050 /* read */ 3051 case 3: 3052 switch(ndx) { 3053 case 0: 3054 p = "int"; 3055 break; 3056 case 1: 3057 p = "void *"; 3058 break; 3059 case 2: 3060 p = "size_t"; 3061 break; 3062 default: 3063 break; 3064 }; 3065 break; 3066 /* write */ 3067 case 4: 3068 switch(ndx) { 3069 case 0: 3070 p = "int"; 3071 break; 3072 case 1: 3073 p = "const void *"; 3074 break; 3075 case 2: 3076 p = "size_t"; 3077 break; 3078 default: 3079 break; 3080 }; 3081 break; 3082 /* open */ 3083 case 5: 3084 switch(ndx) { 3085 case 0: 3086 p = "char *"; 3087 break; 3088 case 1: 3089 p = "int"; 3090 break; 3091 case 2: 3092 p = "int"; 3093 break; 3094 default: 3095 break; 3096 }; 3097 break; 3098 /* close */ 3099 case 6: 3100 switch(ndx) { 3101 case 0: 3102 p = "int"; 3103 break; 3104 default: 3105 break; 3106 }; 3107 break; 3108 /* freebsd32_wait4 */ 3109 case 7: 3110 switch(ndx) { 3111 case 0: 3112 p = "int"; 3113 break; 3114 case 1: 3115 p = "int *"; 3116 break; 3117 case 2: 3118 p = "int"; 3119 break; 3120 case 3: 3121 p = "struct rusage32 *"; 3122 break; 3123 default: 3124 break; 3125 }; 3126 break; 3127 /* link */ 3128 case 9: 3129 switch(ndx) { 3130 case 0: 3131 p = "char *"; 3132 break; 3133 case 1: 3134 p = "char *"; 3135 break; 3136 default: 3137 break; 3138 }; 3139 break; 3140 /* unlink */ 3141 case 10: 3142 switch(ndx) { 3143 case 0: 3144 p = "char *"; 3145 break; 3146 default: 3147 break; 3148 }; 3149 break; 3150 /* chdir */ 3151 case 12: 3152 switch(ndx) { 3153 case 0: 3154 p = "char *"; 3155 break; 3156 default: 3157 break; 3158 }; 3159 break; 3160 /* fchdir */ 3161 case 13: 3162 switch(ndx) { 3163 case 0: 3164 p = "int"; 3165 break; 3166 default: 3167 break; 3168 }; 3169 break; 3170 /* mknod */ 3171 case 14: 3172 switch(ndx) { 3173 case 0: 3174 p = "char *"; 3175 break; 3176 case 1: 3177 p = "int"; 3178 break; 3179 case 2: 3180 p = "int"; 3181 break; 3182 default: 3183 break; 3184 }; 3185 break; 3186 /* chmod */ 3187 case 15: 3188 switch(ndx) { 3189 case 0: 3190 p = "char *"; 3191 break; 3192 case 1: 3193 p = "int"; 3194 break; 3195 default: 3196 break; 3197 }; 3198 break; 3199 /* chown */ 3200 case 16: 3201 switch(ndx) { 3202 case 0: 3203 p = "char *"; 3204 break; 3205 case 1: 3206 p = "int"; 3207 break; 3208 case 2: 3209 p = "int"; 3210 break; 3211 default: 3212 break; 3213 }; 3214 break; 3215 /* obreak */ 3216 case 17: 3217 switch(ndx) { 3218 case 0: 3219 p = "char *"; 3220 break; 3221 default: 3222 break; 3223 }; 3224 break; 3225 /* getpid */ 3226 case 20: 3227 break; 3228 /* mount */ 3229 case 21: 3230 switch(ndx) { 3231 case 0: 3232 p = "char *"; 3233 break; 3234 case 1: 3235 p = "char *"; 3236 break; 3237 case 2: 3238 p = "int"; 3239 break; 3240 case 3: 3241 p = "caddr_t"; 3242 break; 3243 default: 3244 break; 3245 }; 3246 break; 3247 /* unmount */ 3248 case 22: 3249 switch(ndx) { 3250 case 0: 3251 p = "char *"; 3252 break; 3253 case 1: 3254 p = "int"; 3255 break; 3256 default: 3257 break; 3258 }; 3259 break; 3260 /* setuid */ 3261 case 23: 3262 switch(ndx) { 3263 case 0: 3264 p = "uid_t"; 3265 break; 3266 default: 3267 break; 3268 }; 3269 break; 3270 /* getuid */ 3271 case 24: 3272 break; 3273 /* geteuid */ 3274 case 25: 3275 break; 3276 /* ptrace */ 3277 case 26: 3278 switch(ndx) { 3279 case 0: 3280 p = "int"; 3281 break; 3282 case 1: 3283 p = "pid_t"; 3284 break; 3285 case 2: 3286 p = "caddr_t"; 3287 break; 3288 case 3: 3289 p = "int"; 3290 break; 3291 default: 3292 break; 3293 }; 3294 break; 3295 /* freebsd32_recvmsg */ 3296 case 27: 3297 switch(ndx) { 3298 case 0: 3299 p = "int"; 3300 break; 3301 case 1: 3302 p = "struct msghdr32 *"; 3303 break; 3304 case 2: 3305 p = "int"; 3306 break; 3307 default: 3308 break; 3309 }; 3310 break; 3311 /* freebsd32_sendmsg */ 3312 case 28: 3313 switch(ndx) { 3314 case 0: 3315 p = "int"; 3316 break; 3317 case 1: 3318 p = "struct msghdr32 *"; 3319 break; 3320 case 2: 3321 p = "int"; 3322 break; 3323 default: 3324 break; 3325 }; 3326 break; 3327 /* freebsd32_recvfrom */ 3328 case 29: 3329 switch(ndx) { 3330 case 0: 3331 p = "int"; 3332 break; 3333 case 1: 3334 p = "u_int32_t"; 3335 break; 3336 case 2: 3337 p = "u_int32_t"; 3338 break; 3339 case 3: 3340 p = "int"; 3341 break; 3342 case 4: 3343 p = "u_int32_t"; 3344 break; 3345 case 5: 3346 p = "u_int32_t"; 3347 break; 3348 default: 3349 break; 3350 }; 3351 break; 3352 /* accept */ 3353 case 30: 3354 switch(ndx) { 3355 case 0: 3356 p = "int"; 3357 break; 3358 case 1: 3359 p = "caddr_t"; 3360 break; 3361 case 2: 3362 p = "int *"; 3363 break; 3364 default: 3365 break; 3366 }; 3367 break; 3368 /* getpeername */ 3369 case 31: 3370 switch(ndx) { 3371 case 0: 3372 p = "int"; 3373 break; 3374 case 1: 3375 p = "caddr_t"; 3376 break; 3377 case 2: 3378 p = "int *"; 3379 break; 3380 default: 3381 break; 3382 }; 3383 break; 3384 /* getsockname */ 3385 case 32: 3386 switch(ndx) { 3387 case 0: 3388 p = "int"; 3389 break; 3390 case 1: 3391 p = "caddr_t"; 3392 break; 3393 case 2: 3394 p = "int *"; 3395 break; 3396 default: 3397 break; 3398 }; 3399 break; 3400 /* access */ 3401 case 33: 3402 switch(ndx) { 3403 case 0: 3404 p = "char *"; 3405 break; 3406 case 1: 3407 p = "int"; 3408 break; 3409 default: 3410 break; 3411 }; 3412 break; 3413 /* chflags */ 3414 case 34: 3415 switch(ndx) { 3416 case 0: 3417 p = "char *"; 3418 break; 3419 case 1: 3420 p = "int"; 3421 break; 3422 default: 3423 break; 3424 }; 3425 break; 3426 /* fchflags */ 3427 case 35: 3428 switch(ndx) { 3429 case 0: 3430 p = "int"; 3431 break; 3432 case 1: 3433 p = "int"; 3434 break; 3435 default: 3436 break; 3437 }; 3438 break; 3439 /* sync */ 3440 case 36: 3441 break; 3442 /* kill */ 3443 case 37: 3444 switch(ndx) { 3445 case 0: 3446 p = "int"; 3447 break; 3448 case 1: 3449 p = "int"; 3450 break; 3451 default: 3452 break; 3453 }; 3454 break; 3455 /* getppid */ 3456 case 39: 3457 break; 3458 /* dup */ 3459 case 41: 3460 switch(ndx) { 3461 case 0: 3462 p = "u_int"; 3463 break; 3464 default: 3465 break; 3466 }; 3467 break; 3468 /* pipe */ 3469 case 42: 3470 break; 3471 /* getegid */ 3472 case 43: 3473 break; 3474 /* profil */ 3475 case 44: 3476 switch(ndx) { 3477 case 0: 3478 p = "caddr_t"; 3479 break; 3480 case 1: 3481 p = "size_t"; 3482 break; 3483 case 2: 3484 p = "size_t"; 3485 break; 3486 case 3: 3487 p = "u_int"; 3488 break; 3489 default: 3490 break; 3491 }; 3492 break; 3493 /* ktrace */ 3494 case 45: 3495 switch(ndx) { 3496 case 0: 3497 p = "const char *"; 3498 break; 3499 case 1: 3500 p = "int"; 3501 break; 3502 case 2: 3503 p = "int"; 3504 break; 3505 case 3: 3506 p = "int"; 3507 break; 3508 default: 3509 break; 3510 }; 3511 break; 3512 /* getgid */ 3513 case 47: 3514 break; 3515 /* getlogin */ 3516 case 49: 3517 switch(ndx) { 3518 case 0: 3519 p = "char *"; 3520 break; 3521 case 1: 3522 p = "u_int"; 3523 break; 3524 default: 3525 break; 3526 }; 3527 break; 3528 /* setlogin */ 3529 case 50: 3530 switch(ndx) { 3531 case 0: 3532 p = "char *"; 3533 break; 3534 default: 3535 break; 3536 }; 3537 break; 3538 /* acct */ 3539 case 51: 3540 switch(ndx) { 3541 case 0: 3542 p = "char *"; 3543 break; 3544 default: 3545 break; 3546 }; 3547 break; 3548 /* freebsd32_sigaltstack */ 3549 case 53: 3550 switch(ndx) { 3551 case 0: 3552 p = "struct sigaltstack32 *"; 3553 break; 3554 case 1: 3555 p = "struct sigaltstack32 *"; 3556 break; 3557 default: 3558 break; 3559 }; 3560 break; 3561 /* freebsd32_ioctl */ 3562 case 54: 3563 switch(ndx) { 3564 case 0: 3565 p = "int"; 3566 break; 3567 case 1: 3568 p = "uint32_t"; 3569 break; 3570 case 2: 3571 p = "struct md_ioctl32 *"; 3572 break; 3573 default: 3574 break; 3575 }; 3576 break; 3577 /* reboot */ 3578 case 55: 3579 switch(ndx) { 3580 case 0: 3581 p = "int"; 3582 break; 3583 default: 3584 break; 3585 }; 3586 break; 3587 /* revoke */ 3588 case 56: 3589 switch(ndx) { 3590 case 0: 3591 p = "char *"; 3592 break; 3593 default: 3594 break; 3595 }; 3596 break; 3597 /* symlink */ 3598 case 57: 3599 switch(ndx) { 3600 case 0: 3601 p = "char *"; 3602 break; 3603 case 1: 3604 p = "char *"; 3605 break; 3606 default: 3607 break; 3608 }; 3609 break; 3610 /* readlink */ 3611 case 58: 3612 switch(ndx) { 3613 case 0: 3614 p = "char *"; 3615 break; 3616 case 1: 3617 p = "char *"; 3618 break; 3619 case 2: 3620 p = "size_t"; 3621 break; 3622 default: 3623 break; 3624 }; 3625 break; 3626 /* freebsd32_execve */ 3627 case 59: 3628 switch(ndx) { 3629 case 0: 3630 p = "char *"; 3631 break; 3632 case 1: 3633 p = "u_int32_t *"; 3634 break; 3635 case 2: 3636 p = "u_int32_t *"; 3637 break; 3638 default: 3639 break; 3640 }; 3641 break; 3642 /* umask */ 3643 case 60: 3644 switch(ndx) { 3645 case 0: 3646 p = "int"; 3647 break; 3648 default: 3649 break; 3650 }; 3651 break; 3652 /* chroot */ 3653 case 61: 3654 switch(ndx) { 3655 case 0: 3656 p = "char *"; 3657 break; 3658 default: 3659 break; 3660 }; 3661 break; 3662 /* msync */ 3663 case 65: 3664 switch(ndx) { 3665 case 0: 3666 p = "void *"; 3667 break; 3668 case 1: 3669 p = "size_t"; 3670 break; 3671 case 2: 3672 p = "int"; 3673 break; 3674 default: 3675 break; 3676 }; 3677 break; 3678 /* vfork */ 3679 case 66: 3680 break; 3681 /* sbrk */ 3682 case 69: 3683 switch(ndx) { 3684 case 0: 3685 p = "int"; 3686 break; 3687 default: 3688 break; 3689 }; 3690 break; 3691 /* sstk */ 3692 case 70: 3693 switch(ndx) { 3694 case 0: 3695 p = "int"; 3696 break; 3697 default: 3698 break; 3699 }; 3700 break; 3701 /* ovadvise */ 3702 case 72: 3703 switch(ndx) { 3704 case 0: 3705 p = "int"; 3706 break; 3707 default: 3708 break; 3709 }; 3710 break; 3711 /* munmap */ 3712 case 73: 3713 switch(ndx) { 3714 case 0: 3715 p = "void *"; 3716 break; 3717 case 1: 3718 p = "size_t"; 3719 break; 3720 default: 3721 break; 3722 }; 3723 break; 3724 /* mprotect */ 3725 case 74: 3726 switch(ndx) { 3727 case 0: 3728 p = "const void *"; 3729 break; 3730 case 1: 3731 p = "size_t"; 3732 break; 3733 case 2: 3734 p = "int"; 3735 break; 3736 default: 3737 break; 3738 }; 3739 break; 3740 /* madvise */ 3741 case 75: 3742 switch(ndx) { 3743 case 0: 3744 p = "void *"; 3745 break; 3746 case 1: 3747 p = "size_t"; 3748 break; 3749 case 2: 3750 p = "int"; 3751 break; 3752 default: 3753 break; 3754 }; 3755 break; 3756 /* mincore */ 3757 case 78: 3758 switch(ndx) { 3759 case 0: 3760 p = "const void *"; 3761 break; 3762 case 1: 3763 p = "size_t"; 3764 break; 3765 case 2: 3766 p = "char *"; 3767 break; 3768 default: 3769 break; 3770 }; 3771 break; 3772 /* getgroups */ 3773 case 79: 3774 switch(ndx) { 3775 case 0: 3776 p = "u_int"; 3777 break; 3778 case 1: 3779 p = "gid_t *"; 3780 break; 3781 default: 3782 break; 3783 }; 3784 break; 3785 /* setgroups */ 3786 case 80: 3787 switch(ndx) { 3788 case 0: 3789 p = "u_int"; 3790 break; 3791 case 1: 3792 p = "gid_t *"; 3793 break; 3794 default: 3795 break; 3796 }; 3797 break; 3798 /* getpgrp */ 3799 case 81: 3800 break; 3801 /* setpgid */ 3802 case 82: 3803 switch(ndx) { 3804 case 0: 3805 p = "int"; 3806 break; 3807 case 1: 3808 p = "int"; 3809 break; 3810 default: 3811 break; 3812 }; 3813 break; 3814 /* freebsd32_setitimer */ 3815 case 83: 3816 switch(ndx) { 3817 case 0: 3818 p = "u_int"; 3819 break; 3820 case 1: 3821 p = "struct itimerval32 *"; 3822 break; 3823 case 2: 3824 p = "struct itimerval32 *"; 3825 break; 3826 default: 3827 break; 3828 }; 3829 break; 3830 /* swapon */ 3831 case 85: 3832 switch(ndx) { 3833 case 0: 3834 p = "char *"; 3835 break; 3836 default: 3837 break; 3838 }; 3839 break; 3840 /* freebsd32_getitimer */ 3841 case 86: 3842 switch(ndx) { 3843 case 0: 3844 p = "u_int"; 3845 break; 3846 case 1: 3847 p = "struct itimerval32 *"; 3848 break; 3849 default: 3850 break; 3851 }; 3852 break; 3853 /* getdtablesize */ 3854 case 89: 3855 break; 3856 /* dup2 */ 3857 case 90: 3858 switch(ndx) { 3859 case 0: 3860 p = "u_int"; 3861 break; 3862 case 1: 3863 p = "u_int"; 3864 break; 3865 default: 3866 break; 3867 }; 3868 break; 3869 /* fcntl */ 3870 case 92: 3871 switch(ndx) { 3872 case 0: 3873 p = "int"; 3874 break; 3875 case 1: 3876 p = "int"; 3877 break; 3878 case 2: 3879 p = "long"; 3880 break; 3881 default: 3882 break; 3883 }; 3884 break; 3885 /* freebsd32_select */ 3886 case 93: 3887 switch(ndx) { 3888 case 0: 3889 p = "int"; 3890 break; 3891 case 1: 3892 p = "fd_set *"; 3893 break; 3894 case 2: 3895 p = "fd_set *"; 3896 break; 3897 case 3: 3898 p = "fd_set *"; 3899 break; 3900 case 4: 3901 p = "struct timeval32 *"; 3902 break; 3903 default: 3904 break; 3905 }; 3906 break; 3907 /* fsync */ 3908 case 95: 3909 switch(ndx) { 3910 case 0: 3911 p = "int"; 3912 break; 3913 default: 3914 break; 3915 }; 3916 break; 3917 /* setpriority */ 3918 case 96: 3919 switch(ndx) { 3920 case 0: 3921 p = "int"; 3922 break; 3923 case 1: 3924 p = "int"; 3925 break; 3926 case 2: 3927 p = "int"; 3928 break; 3929 default: 3930 break; 3931 }; 3932 break; 3933 /* socket */ 3934 case 97: 3935 switch(ndx) { 3936 case 0: 3937 p = "int"; 3938 break; 3939 case 1: 3940 p = "int"; 3941 break; 3942 case 2: 3943 p = "int"; 3944 break; 3945 default: 3946 break; 3947 }; 3948 break; 3949 /* connect */ 3950 case 98: 3951 switch(ndx) { 3952 case 0: 3953 p = "int"; 3954 break; 3955 case 1: 3956 p = "caddr_t"; 3957 break; 3958 case 2: 3959 p = "int"; 3960 break; 3961 default: 3962 break; 3963 }; 3964 break; 3965 /* getpriority */ 3966 case 100: 3967 switch(ndx) { 3968 case 0: 3969 p = "int"; 3970 break; 3971 case 1: 3972 p = "int"; 3973 break; 3974 default: 3975 break; 3976 }; 3977 break; 3978 /* bind */ 3979 case 104: 3980 switch(ndx) { 3981 case 0: 3982 p = "int"; 3983 break; 3984 case 1: 3985 p = "caddr_t"; 3986 break; 3987 case 2: 3988 p = "int"; 3989 break; 3990 default: 3991 break; 3992 }; 3993 break; 3994 /* setsockopt */ 3995 case 105: 3996 switch(ndx) { 3997 case 0: 3998 p = "int"; 3999 break; 4000 case 1: 4001 p = "int"; 4002 break; 4003 case 2: 4004 p = "int"; 4005 break; 4006 case 3: 4007 p = "caddr_t"; 4008 break; 4009 case 4: 4010 p = "int"; 4011 break; 4012 default: 4013 break; 4014 }; 4015 break; 4016 /* listen */ 4017 case 106: 4018 switch(ndx) { 4019 case 0: 4020 p = "int"; 4021 break; 4022 case 1: 4023 p = "int"; 4024 break; 4025 default: 4026 break; 4027 }; 4028 break; 4029 /* freebsd32_gettimeofday */ 4030 case 116: 4031 switch(ndx) { 4032 case 0: 4033 p = "struct timeval32 *"; 4034 break; 4035 case 1: 4036 p = "struct timezone *"; 4037 break; 4038 default: 4039 break; 4040 }; 4041 break; 4042 /* freebsd32_getrusage */ 4043 case 117: 4044 switch(ndx) { 4045 case 0: 4046 p = "int"; 4047 break; 4048 case 1: 4049 p = "struct rusage32 *"; 4050 break; 4051 default: 4052 break; 4053 }; 4054 break; 4055 /* getsockopt */ 4056 case 118: 4057 switch(ndx) { 4058 case 0: 4059 p = "int"; 4060 break; 4061 case 1: 4062 p = "int"; 4063 break; 4064 case 2: 4065 p = "int"; 4066 break; 4067 case 3: 4068 p = "caddr_t"; 4069 break; 4070 case 4: 4071 p = "int *"; 4072 break; 4073 default: 4074 break; 4075 }; 4076 break; 4077 /* freebsd32_readv */ 4078 case 120: 4079 switch(ndx) { 4080 case 0: 4081 p = "int"; 4082 break; 4083 case 1: 4084 p = "struct iovec32 *"; 4085 break; 4086 case 2: 4087 p = "u_int"; 4088 break; 4089 default: 4090 break; 4091 }; 4092 break; 4093 /* freebsd32_writev */ 4094 case 121: 4095 switch(ndx) { 4096 case 0: 4097 p = "int"; 4098 break; 4099 case 1: 4100 p = "struct iovec32 *"; 4101 break; 4102 case 2: 4103 p = "u_int"; 4104 break; 4105 default: 4106 break; 4107 }; 4108 break; 4109 /* freebsd32_settimeofday */ 4110 case 122: 4111 switch(ndx) { 4112 case 0: 4113 p = "struct timeval32 *"; 4114 break; 4115 case 1: 4116 p = "struct timezone *"; 4117 break; 4118 default: 4119 break; 4120 }; 4121 break; 4122 /* fchown */ 4123 case 123: 4124 switch(ndx) { 4125 case 0: 4126 p = "int"; 4127 break; 4128 case 1: 4129 p = "int"; 4130 break; 4131 case 2: 4132 p = "int"; 4133 break; 4134 default: 4135 break; 4136 }; 4137 break; 4138 /* fchmod */ 4139 case 124: 4140 switch(ndx) { 4141 case 0: 4142 p = "int"; 4143 break; 4144 case 1: 4145 p = "int"; 4146 break; 4147 default: 4148 break; 4149 }; 4150 break; 4151 /* setreuid */ 4152 case 126: 4153 switch(ndx) { 4154 case 0: 4155 p = "int"; 4156 break; 4157 case 1: 4158 p = "int"; 4159 break; 4160 default: 4161 break; 4162 }; 4163 break; 4164 /* setregid */ 4165 case 127: 4166 switch(ndx) { 4167 case 0: 4168 p = "int"; 4169 break; 4170 case 1: 4171 p = "int"; 4172 break; 4173 default: 4174 break; 4175 }; 4176 break; 4177 /* rename */ 4178 case 128: 4179 switch(ndx) { 4180 case 0: 4181 p = "char *"; 4182 break; 4183 case 1: 4184 p = "char *"; 4185 break; 4186 default: 4187 break; 4188 }; 4189 break; 4190 /* flock */ 4191 case 131: 4192 switch(ndx) { 4193 case 0: 4194 p = "int"; 4195 break; 4196 case 1: 4197 p = "int"; 4198 break; 4199 default: 4200 break; 4201 }; 4202 break; 4203 /* mkfifo */ 4204 case 132: 4205 switch(ndx) { 4206 case 0: 4207 p = "char *"; 4208 break; 4209 case 1: 4210 p = "int"; 4211 break; 4212 default: 4213 break; 4214 }; 4215 break; 4216 /* sendto */ 4217 case 133: 4218 switch(ndx) { 4219 case 0: 4220 p = "int"; 4221 break; 4222 case 1: 4223 p = "caddr_t"; 4224 break; 4225 case 2: 4226 p = "size_t"; 4227 break; 4228 case 3: 4229 p = "int"; 4230 break; 4231 case 4: 4232 p = "caddr_t"; 4233 break; 4234 case 5: 4235 p = "int"; 4236 break; 4237 default: 4238 break; 4239 }; 4240 break; 4241 /* shutdown */ 4242 case 134: 4243 switch(ndx) { 4244 case 0: 4245 p = "int"; 4246 break; 4247 case 1: 4248 p = "int"; 4249 break; 4250 default: 4251 break; 4252 }; 4253 break; 4254 /* socketpair */ 4255 case 135: 4256 switch(ndx) { 4257 case 0: 4258 p = "int"; 4259 break; 4260 case 1: 4261 p = "int"; 4262 break; 4263 case 2: 4264 p = "int"; 4265 break; 4266 case 3: 4267 p = "int *"; 4268 break; 4269 default: 4270 break; 4271 }; 4272 break; 4273 /* mkdir */ 4274 case 136: 4275 switch(ndx) { 4276 case 0: 4277 p = "char *"; 4278 break; 4279 case 1: 4280 p = "int"; 4281 break; 4282 default: 4283 break; 4284 }; 4285 break; 4286 /* rmdir */ 4287 case 137: 4288 switch(ndx) { 4289 case 0: 4290 p = "char *"; 4291 break; 4292 default: 4293 break; 4294 }; 4295 break; 4296 /* freebsd32_utimes */ 4297 case 138: 4298 switch(ndx) { 4299 case 0: 4300 p = "char *"; 4301 break; 4302 case 1: 4303 p = "struct timeval32 *"; 4304 break; 4305 default: 4306 break; 4307 }; 4308 break; 4309 /* freebsd32_adjtime */ 4310 case 140: 4311 switch(ndx) { 4312 case 0: 4313 p = "struct timeval32 *"; 4314 break; 4315 case 1: 4316 p = "struct timeval32 *"; 4317 break; 4318 default: 4319 break; 4320 }; 4321 break; 4322 /* setsid */ 4323 case 147: 4324 break; 4325 /* quotactl */ 4326 case 148: 4327 switch(ndx) { 4328 case 0: 4329 p = "char *"; 4330 break; 4331 case 1: 4332 p = "int"; 4333 break; 4334 case 2: 4335 p = "int"; 4336 break; 4337 case 3: 4338 p = "caddr_t"; 4339 break; 4340 default: 4341 break; 4342 }; 4343 break; 4344 /* getfh */ 4345 case 161: 4346 switch(ndx) { 4347 case 0: 4348 p = "char *"; 4349 break; 4350 case 1: 4351 p = "struct fhandle *"; 4352 break; 4353 default: 4354 break; 4355 }; 4356 break; 4357 /* freebsd32_sysarch */ 4358 case 165: 4359 switch(ndx) { 4360 case 0: 4361 p = "int"; 4362 break; 4363 case 1: 4364 p = "char *"; 4365 break; 4366 default: 4367 break; 4368 }; 4369 break; 4370 /* rtprio */ 4371 case 166: 4372 switch(ndx) { 4373 case 0: 4374 p = "int"; 4375 break; 4376 case 1: 4377 p = "pid_t"; 4378 break; 4379 case 2: 4380 p = "struct rtprio *"; 4381 break; 4382 default: 4383 break; 4384 }; 4385 break; 4386 /* freebsd32_semsys */ 4387 case 169: 4388 switch(ndx) { 4389 case 0: 4390 p = "int"; 4391 break; 4392 case 1: 4393 p = "int"; 4394 break; 4395 case 2: 4396 p = "int"; 4397 break; 4398 case 3: 4399 p = "int"; 4400 break; 4401 case 4: 4402 p = "int"; 4403 break; 4404 default: 4405 break; 4406 }; 4407 break; 4408 /* freebsd32_msgsys */ 4409 case 170: 4410 switch(ndx) { 4411 case 0: 4412 p = "int"; 4413 break; 4414 case 1: 4415 p = "int"; 4416 break; 4417 case 2: 4418 p = "int"; 4419 break; 4420 case 3: 4421 p = "int"; 4422 break; 4423 case 4: 4424 p = "int"; 4425 break; 4426 case 5: 4427 p = "int"; 4428 break; 4429 default: 4430 break; 4431 }; 4432 break; 4433 /* freebsd32_shmsys */ 4434 case 171: 4435 switch(ndx) { 4436 case 0: 4437 p = "uint32_t"; 4438 break; 4439 case 1: 4440 p = "uint32_t"; 4441 break; 4442 case 2: 4443 p = "uint32_t"; 4444 break; 4445 case 3: 4446 p = "uint32_t"; 4447 break; 4448 default: 4449 break; 4450 }; 4451 break; 4452 /* ntp_adjtime */ 4453 case 176: 4454 switch(ndx) { 4455 case 0: 4456 p = "struct timex *"; 4457 break; 4458 default: 4459 break; 4460 }; 4461 break; 4462 /* setgid */ 4463 case 181: 4464 switch(ndx) { 4465 case 0: 4466 p = "gid_t"; 4467 break; 4468 default: 4469 break; 4470 }; 4471 break; 4472 /* setegid */ 4473 case 182: 4474 switch(ndx) { 4475 case 0: 4476 p = "gid_t"; 4477 break; 4478 default: 4479 break; 4480 }; 4481 break; 4482 /* seteuid */ 4483 case 183: 4484 switch(ndx) { 4485 case 0: 4486 p = "uid_t"; 4487 break; 4488 default: 4489 break; 4490 }; 4491 break; 4492 /* freebsd32_stat */ 4493 case 188: 4494 switch(ndx) { 4495 case 0: 4496 p = "char *"; 4497 break; 4498 case 1: 4499 p = "struct stat32 *"; 4500 break; 4501 default: 4502 break; 4503 }; 4504 break; 4505 /* freebsd32_fstat */ 4506 case 189: 4507 switch(ndx) { 4508 case 0: 4509 p = "int"; 4510 break; 4511 case 1: 4512 p = "struct stat32 *"; 4513 break; 4514 default: 4515 break; 4516 }; 4517 break; 4518 /* freebsd32_lstat */ 4519 case 190: 4520 switch(ndx) { 4521 case 0: 4522 p = "char *"; 4523 break; 4524 case 1: 4525 p = "struct stat32 *"; 4526 break; 4527 default: 4528 break; 4529 }; 4530 break; 4531 /* pathconf */ 4532 case 191: 4533 switch(ndx) { 4534 case 0: 4535 p = "char *"; 4536 break; 4537 case 1: 4538 p = "int"; 4539 break; 4540 default: 4541 break; 4542 }; 4543 break; 4544 /* fpathconf */ 4545 case 192: 4546 switch(ndx) { 4547 case 0: 4548 p = "int"; 4549 break; 4550 case 1: 4551 p = "int"; 4552 break; 4553 default: 4554 break; 4555 }; 4556 break; 4557 /* getrlimit */ 4558 case 194: 4559 switch(ndx) { 4560 case 0: 4561 p = "u_int"; 4562 break; 4563 case 1: 4564 p = "struct rlimit *"; 4565 break; 4566 default: 4567 break; 4568 }; 4569 break; 4570 /* setrlimit */ 4571 case 195: 4572 switch(ndx) { 4573 case 0: 4574 p = "u_int"; 4575 break; 4576 case 1: 4577 p = "struct rlimit *"; 4578 break; 4579 default: 4580 break; 4581 }; 4582 break; 4583 /* freebsd32_getdirentries */ 4584 case 196: 4585 switch(ndx) { 4586 case 0: 4587 p = "int"; 4588 break; 4589 case 1: 4590 p = "char *"; 4591 break; 4592 case 2: 4593 p = "u_int"; 4594 break; 4595 case 3: 4596 p = "int32_t *"; 4597 break; 4598 default: 4599 break; 4600 }; 4601 break; 4602 /* nosys */ 4603 case 198: 4604 break; 4605 /* freebsd32_sysctl */ 4606 case 202: 4607 switch(ndx) { 4608 case 0: 4609 p = "int *"; 4610 break; 4611 case 1: 4612 p = "u_int"; 4613 break; 4614 case 2: 4615 p = "void *"; 4616 break; 4617 case 3: 4618 p = "u_int32_t *"; 4619 break; 4620 case 4: 4621 p = "void *"; 4622 break; 4623 case 5: 4624 p = "u_int32_t"; 4625 break; 4626 default: 4627 break; 4628 }; 4629 break; 4630 /* mlock */ 4631 case 203: 4632 switch(ndx) { 4633 case 0: 4634 p = "const void *"; 4635 break; 4636 case 1: 4637 p = "size_t"; 4638 break; 4639 default: 4640 break; 4641 }; 4642 break; 4643 /* munlock */ 4644 case 204: 4645 switch(ndx) { 4646 case 0: 4647 p = "const void *"; 4648 break; 4649 case 1: 4650 p = "size_t"; 4651 break; 4652 default: 4653 break; 4654 }; 4655 break; 4656 /* undelete */ 4657 case 205: 4658 switch(ndx) { 4659 case 0: 4660 p = "char *"; 4661 break; 4662 default: 4663 break; 4664 }; 4665 break; 4666 /* freebsd32_futimes */ 4667 case 206: 4668 switch(ndx) { 4669 case 0: 4670 p = "int"; 4671 break; 4672 case 1: 4673 p = "struct timeval32 *"; 4674 break; 4675 default: 4676 break; 4677 }; 4678 break; 4679 /* getpgid */ 4680 case 207: 4681 switch(ndx) { 4682 case 0: 4683 p = "pid_t"; 4684 break; 4685 default: 4686 break; 4687 }; 4688 break; 4689 /* poll */ 4690 case 209: 4691 switch(ndx) { 4692 case 0: 4693 p = "struct pollfd *"; 4694 break; 4695 case 1: 4696 p = "u_int"; 4697 break; 4698 case 2: 4699 p = "int"; 4700 break; 4701 default: 4702 break; 4703 }; 4704 break; 4705 /* lkmnosys */ 4706 case 210: 4707 break; 4708 /* lkmnosys */ 4709 case 211: 4710 break; 4711 /* lkmnosys */ 4712 case 212: 4713 break; 4714 /* lkmnosys */ 4715 case 213: 4716 break; 4717 /* lkmnosys */ 4718 case 214: 4719 break; 4720 /* lkmnosys */ 4721 case 215: 4722 break; 4723 /* lkmnosys */ 4724 case 216: 4725 break; 4726 /* lkmnosys */ 4727 case 217: 4728 break; 4729 /* lkmnosys */ 4730 case 218: 4731 break; 4732 /* lkmnosys */ 4733 case 219: 4734 break; 4735 /* semget */ 4736 case 221: 4737 switch(ndx) { 4738 case 0: 4739 p = "key_t"; 4740 break; 4741 case 1: 4742 p = "int"; 4743 break; 4744 case 2: 4745 p = "int"; 4746 break; 4747 default: 4748 break; 4749 }; 4750 break; 4751 /* semop */ 4752 case 222: 4753 switch(ndx) { 4754 case 0: 4755 p = "int"; 4756 break; 4757 case 1: 4758 p = "struct sembuf *"; 4759 break; 4760 case 2: 4761 p = "u_int"; 4762 break; 4763 default: 4764 break; 4765 }; 4766 break; 4767 /* msgget */ 4768 case 225: 4769 switch(ndx) { 4770 case 0: 4771 p = "key_t"; 4772 break; 4773 case 1: 4774 p = "int"; 4775 break; 4776 default: 4777 break; 4778 }; 4779 break; 4780 /* freebsd32_msgsnd */ 4781 case 226: 4782 switch(ndx) { 4783 case 0: 4784 p = "int"; 4785 break; 4786 case 1: 4787 p = "void *"; 4788 break; 4789 case 2: 4790 p = "size_t"; 4791 break; 4792 case 3: 4793 p = "int"; 4794 break; 4795 default: 4796 break; 4797 }; 4798 break; 4799 /* freebsd32_msgrcv */ 4800 case 227: 4801 switch(ndx) { 4802 case 0: 4803 p = "int"; 4804 break; 4805 case 1: 4806 p = "void *"; 4807 break; 4808 case 2: 4809 p = "size_t"; 4810 break; 4811 case 3: 4812 p = "long"; 4813 break; 4814 case 4: 4815 p = "int"; 4816 break; 4817 default: 4818 break; 4819 }; 4820 break; 4821 /* shmat */ 4822 case 228: 4823 switch(ndx) { 4824 case 0: 4825 p = "int"; 4826 break; 4827 case 1: 4828 p = "void *"; 4829 break; 4830 case 2: 4831 p = "int"; 4832 break; 4833 default: 4834 break; 4835 }; 4836 break; 4837 /* shmdt */ 4838 case 230: 4839 switch(ndx) { 4840 case 0: 4841 p = "void *"; 4842 break; 4843 default: 4844 break; 4845 }; 4846 break; 4847 /* shmget */ 4848 case 231: 4849 switch(ndx) { 4850 case 0: 4851 p = "key_t"; 4852 break; 4853 case 1: 4854 p = "int"; 4855 break; 4856 case 2: 4857 p = "int"; 4858 break; 4859 default: 4860 break; 4861 }; 4862 break; 4863 /* freebsd32_clock_gettime */ 4864 case 232: 4865 switch(ndx) { 4866 case 0: 4867 p = "clockid_t"; 4868 break; 4869 case 1: 4870 p = "struct timespec32 *"; 4871 break; 4872 default: 4873 break; 4874 }; 4875 break; 4876 /* freebsd32_clock_settime */ 4877 case 233: 4878 switch(ndx) { 4879 case 0: 4880 p = "clockid_t"; 4881 break; 4882 case 1: 4883 p = "const struct timespec32 *"; 4884 break; 4885 default: 4886 break; 4887 }; 4888 break; 4889 /* freebsd32_clock_getres */ 4890 case 234: 4891 switch(ndx) { 4892 case 0: 4893 p = "clockid_t"; 4894 break; 4895 case 1: 4896 p = "struct timespec32 *"; 4897 break; 4898 default: 4899 break; 4900 }; 4901 break; 4902 /* freebsd32_nanosleep */ 4903 case 240: 4904 switch(ndx) { 4905 case 0: 4906 p = "const struct timespec32 *"; 4907 break; 4908 case 1: 4909 p = "struct timespec32 *"; 4910 break; 4911 default: 4912 break; 4913 }; 4914 break; 4915 /* minherit */ 4916 case 250: 4917 switch(ndx) { 4918 case 0: 4919 p = "void *"; 4920 break; 4921 case 1: 4922 p = "size_t"; 4923 break; 4924 case 2: 4925 p = "int"; 4926 break; 4927 default: 4928 break; 4929 }; 4930 break; 4931 /* rfork */ 4932 case 251: 4933 switch(ndx) { 4934 case 0: 4935 p = "int"; 4936 break; 4937 default: 4938 break; 4939 }; 4940 break; 4941 /* openbsd_poll */ 4942 case 252: 4943 switch(ndx) { 4944 case 0: 4945 p = "struct pollfd *"; 4946 break; 4947 case 1: 4948 p = "u_int"; 4949 break; 4950 case 2: 4951 p = "int"; 4952 break; 4953 default: 4954 break; 4955 }; 4956 break; 4957 /* issetugid */ 4958 case 253: 4959 break; 4960 /* lchown */ 4961 case 254: 4962 switch(ndx) { 4963 case 0: 4964 p = "char *"; 4965 break; 4966 case 1: 4967 p = "int"; 4968 break; 4969 case 2: 4970 p = "int"; 4971 break; 4972 default: 4973 break; 4974 }; 4975 break; 4976 /* freebsd32_aio_read */ 4977 case 255: 4978 switch(ndx) { 4979 case 0: 4980 p = "struct aiocb32 *"; 4981 break; 4982 default: 4983 break; 4984 }; 4985 break; 4986 /* freebsd32_aio_write */ 4987 case 256: 4988 switch(ndx) { 4989 case 0: 4990 p = "struct aiocb32 *"; 4991 break; 4992 default: 4993 break; 4994 }; 4995 break; 4996 /* freebsd32_lio_listio */ 4997 case 257: 4998 switch(ndx) { 4999 case 0: 5000 p = "int"; 5001 break; 5002 case 1: 5003 p = "struct aiocb32 *const *"; 5004 break; 5005 case 2: 5006 p = "int"; 5007 break; 5008 case 3: 5009 p = "struct sigevent *"; 5010 break; 5011 default: 5012 break; 5013 }; 5014 break; 5015 /* getdents */ 5016 case 272: 5017 switch(ndx) { 5018 case 0: 5019 p = "int"; 5020 break; 5021 case 1: 5022 p = "char *"; 5023 break; 5024 case 2: 5025 p = "size_t"; 5026 break; 5027 default: 5028 break; 5029 }; 5030 break; 5031 /* lchmod */ 5032 case 274: 5033 switch(ndx) { 5034 case 0: 5035 p = "char *"; 5036 break; 5037 case 1: 5038 p = "mode_t"; 5039 break; 5040 default: 5041 break; 5042 }; 5043 break; 5044 /* lchown */ 5045 case 275: 5046 switch(ndx) { 5047 case 0: 5048 p = "char *"; 5049 break; 5050 case 1: 5051 p = "uid_t"; 5052 break; 5053 case 2: 5054 p = "gid_t"; 5055 break; 5056 default: 5057 break; 5058 }; 5059 break; 5060 /* freebsd32_lutimes */ 5061 case 276: 5062 switch(ndx) { 5063 case 0: 5064 p = "char *"; 5065 break; 5066 case 1: 5067 p = "struct timeval32 *"; 5068 break; 5069 default: 5070 break; 5071 }; 5072 break; 5073 /* msync */ 5074 case 277: 5075 switch(ndx) { 5076 case 0: 5077 p = "void *"; 5078 break; 5079 case 1: 5080 p = "size_t"; 5081 break; 5082 case 2: 5083 p = "int"; 5084 break; 5085 default: 5086 break; 5087 }; 5088 break; 5089 /* nstat */ 5090 case 278: 5091 switch(ndx) { 5092 case 0: 5093 p = "char *"; 5094 break; 5095 case 1: 5096 p = "struct nstat *"; 5097 break; 5098 default: 5099 break; 5100 }; 5101 break; 5102 /* nfstat */ 5103 case 279: 5104 switch(ndx) { 5105 case 0: 5106 p = "int"; 5107 break; 5108 case 1: 5109 p = "struct nstat *"; 5110 break; 5111 default: 5112 break; 5113 }; 5114 break; 5115 /* nlstat */ 5116 case 280: 5117 switch(ndx) { 5118 case 0: 5119 p = "char *"; 5120 break; 5121 case 1: 5122 p = "struct nstat *"; 5123 break; 5124 default: 5125 break; 5126 }; 5127 break; 5128 /* freebsd32_preadv */ 5129 case 289: 5130 switch(ndx) { 5131 case 0: 5132 p = "int"; 5133 break; 5134 case 1: 5135 p = "struct iovec32 *"; 5136 break; 5137 case 2: 5138 p = "u_int"; 5139 break; 5140 case 3: 5141 p = "u_int32_t"; 5142 break; 5143 case 4: 5144 p = "u_int32_t"; 5145 break; 5146 default: 5147 break; 5148 }; 5149 break; 5150 /* freebsd32_pwritev */ 5151 case 290: 5152 switch(ndx) { 5153 case 0: 5154 p = "int"; 5155 break; 5156 case 1: 5157 p = "struct iovec32 *"; 5158 break; 5159 case 2: 5160 p = "u_int"; 5161 break; 5162 case 3: 5163 p = "u_int32_t"; 5164 break; 5165 case 4: 5166 p = "u_int32_t"; 5167 break; 5168 default: 5169 break; 5170 }; 5171 break; 5172 /* fhopen */ 5173 case 298: 5174 switch(ndx) { 5175 case 0: 5176 p = "const struct fhandle *"; 5177 break; 5178 case 1: 5179 p = "int"; 5180 break; 5181 default: 5182 break; 5183 }; 5184 break; 5185 /* fhstat */ 5186 case 299: 5187 switch(ndx) { 5188 case 0: 5189 p = "const struct fhandle *"; 5190 break; 5191 case 1: 5192 p = "struct stat *"; 5193 break; 5194 default: 5195 break; 5196 }; 5197 break; 5198 /* modnext */ 5199 case 300: 5200 switch(ndx) { 5201 case 0: 5202 p = "int"; 5203 break; 5204 default: 5205 break; 5206 }; 5207 break; 5208 /* freebsd32_modstat */ 5209 case 301: 5210 switch(ndx) { 5211 case 0: 5212 p = "int"; 5213 break; 5214 case 1: 5215 p = "struct module_stat32 *"; 5216 break; 5217 default: 5218 break; 5219 }; 5220 break; 5221 /* modfnext */ 5222 case 302: 5223 switch(ndx) { 5224 case 0: 5225 p = "int"; 5226 break; 5227 default: 5228 break; 5229 }; 5230 break; 5231 /* modfind */ 5232 case 303: 5233 switch(ndx) { 5234 case 0: 5235 p = "const char *"; 5236 break; 5237 default: 5238 break; 5239 }; 5240 break; 5241 /* kldload */ 5242 case 304: 5243 switch(ndx) { 5244 case 0: 5245 p = "const char *"; 5246 break; 5247 default: 5248 break; 5249 }; 5250 break; 5251 /* kldunload */ 5252 case 305: 5253 switch(ndx) { 5254 case 0: 5255 p = "int"; 5256 break; 5257 default: 5258 break; 5259 }; 5260 break; 5261 /* kldfind */ 5262 case 306: 5263 switch(ndx) { 5264 case 0: 5265 p = "const char *"; 5266 break; 5267 default: 5268 break; 5269 }; 5270 break; 5271 /* kldnext */ 5272 case 307: 5273 switch(ndx) { 5274 case 0: 5275 p = "int"; 5276 break; 5277 default: 5278 break; 5279 }; 5280 break; 5281 /* freebsd32_kldstat */ 5282 case 308: 5283 switch(ndx) { 5284 case 0: 5285 p = "int"; 5286 break; 5287 case 1: 5288 p = "struct kld32_file_stat *"; 5289 break; 5290 default: 5291 break; 5292 }; 5293 break; 5294 /* kldfirstmod */ 5295 case 309: 5296 switch(ndx) { 5297 case 0: 5298 p = "int"; 5299 break; 5300 default: 5301 break; 5302 }; 5303 break; 5304 /* getsid */ 5305 case 310: 5306 switch(ndx) { 5307 case 0: 5308 p = "pid_t"; 5309 break; 5310 default: 5311 break; 5312 }; 5313 break; 5314 /* setresuid */ 5315 case 311: 5316 switch(ndx) { 5317 case 0: 5318 p = "uid_t"; 5319 break; 5320 case 1: 5321 p = "uid_t"; 5322 break; 5323 case 2: 5324 p = "uid_t"; 5325 break; 5326 default: 5327 break; 5328 }; 5329 break; 5330 /* setresgid */ 5331 case 312: 5332 switch(ndx) { 5333 case 0: 5334 p = "gid_t"; 5335 break; 5336 case 1: 5337 p = "gid_t"; 5338 break; 5339 case 2: 5340 p = "gid_t"; 5341 break; 5342 default: 5343 break; 5344 }; 5345 break; 5346 /* freebsd32_aio_return */ 5347 case 314: 5348 switch(ndx) { 5349 case 0: 5350 p = "struct aiocb32 *"; 5351 break; 5352 default: 5353 break; 5354 }; 5355 break; 5356 /* freebsd32_aio_suspend */ 5357 case 315: 5358 switch(ndx) { 5359 case 0: 5360 p = "struct aiocb32 *const *"; 5361 break; 5362 case 1: 5363 p = "int"; 5364 break; 5365 case 2: 5366 p = "const struct timespec32 *"; 5367 break; 5368 default: 5369 break; 5370 }; 5371 break; 5372 /* freebsd32_aio_cancel */ 5373 case 316: 5374 switch(ndx) { 5375 case 0: 5376 p = "int"; 5377 break; 5378 case 1: 5379 p = "struct aiocb32 *"; 5380 break; 5381 default: 5382 break; 5383 }; 5384 break; 5385 /* freebsd32_aio_error */ 5386 case 317: 5387 switch(ndx) { 5388 case 0: 5389 p = "struct aiocb32 *"; 5390 break; 5391 default: 5392 break; 5393 }; 5394 break; 5395 /* freebsd32_oaio_read */ 5396 case 318: 5397 switch(ndx) { 5398 case 0: 5399 p = "struct oaiocb32 *"; 5400 break; 5401 default: 5402 break; 5403 }; 5404 break; 5405 /* freebsd32_oaio_write */ 5406 case 319: 5407 switch(ndx) { 5408 case 0: 5409 p = "struct oaiocb32 *"; 5410 break; 5411 default: 5412 break; 5413 }; 5414 break; 5415 /* freebsd32_olio_listio */ 5416 case 320: 5417 switch(ndx) { 5418 case 0: 5419 p = "int"; 5420 break; 5421 case 1: 5422 p = "struct oaiocb32 *const *"; 5423 break; 5424 case 2: 5425 p = "int"; 5426 break; 5427 case 3: 5428 p = "struct osigevent32 *"; 5429 break; 5430 default: 5431 break; 5432 }; 5433 break; 5434 /* yield */ 5435 case 321: 5436 break; 5437 /* mlockall */ 5438 case 324: 5439 switch(ndx) { 5440 case 0: 5441 p = "int"; 5442 break; 5443 default: 5444 break; 5445 }; 5446 break; 5447 /* munlockall */ 5448 case 325: 5449 break; 5450 /* __getcwd */ 5451 case 326: 5452 switch(ndx) { 5453 case 0: 5454 p = "u_char *"; 5455 break; 5456 case 1: 5457 p = "u_int"; 5458 break; 5459 default: 5460 break; 5461 }; 5462 break; 5463 /* sched_setparam */ 5464 case 327: 5465 switch(ndx) { 5466 case 0: 5467 p = "pid_t"; 5468 break; 5469 case 1: 5470 p = "const struct sched_param *"; 5471 break; 5472 default: 5473 break; 5474 }; 5475 break; 5476 /* sched_getparam */ 5477 case 328: 5478 switch(ndx) { 5479 case 0: 5480 p = "pid_t"; 5481 break; 5482 case 1: 5483 p = "struct sched_param *"; 5484 break; 5485 default: 5486 break; 5487 }; 5488 break; 5489 /* sched_setscheduler */ 5490 case 329: 5491 switch(ndx) { 5492 case 0: 5493 p = "pid_t"; 5494 break; 5495 case 1: 5496 p = "int"; 5497 break; 5498 case 2: 5499 p = "const struct sched_param *"; 5500 break; 5501 default: 5502 break; 5503 }; 5504 break; 5505 /* sched_getscheduler */ 5506 case 330: 5507 switch(ndx) { 5508 case 0: 5509 p = "pid_t"; 5510 break; 5511 default: 5512 break; 5513 }; 5514 break; 5515 /* sched_yield */ 5516 case 331: 5517 break; 5518 /* sched_get_priority_max */ 5519 case 332: 5520 switch(ndx) { 5521 case 0: 5522 p = "int"; 5523 break; 5524 default: 5525 break; 5526 }; 5527 break; 5528 /* sched_get_priority_min */ 5529 case 333: 5530 switch(ndx) { 5531 case 0: 5532 p = "int"; 5533 break; 5534 default: 5535 break; 5536 }; 5537 break; 5538 /* sched_rr_get_interval */ 5539 case 334: 5540 switch(ndx) { 5541 case 0: 5542 p = "pid_t"; 5543 break; 5544 case 1: 5545 p = "struct timespec *"; 5546 break; 5547 default: 5548 break; 5549 }; 5550 break; 5551 /* utrace */ 5552 case 335: 5553 switch(ndx) { 5554 case 0: 5555 p = "const void *"; 5556 break; 5557 case 1: 5558 p = "size_t"; 5559 break; 5560 default: 5561 break; 5562 }; 5563 break; 5564 /* kldsym */ 5565 case 337: 5566 switch(ndx) { 5567 case 0: 5568 p = "int"; 5569 break; 5570 case 1: 5571 p = "int"; 5572 break; 5573 case 2: 5574 p = "void *"; 5575 break; 5576 default: 5577 break; 5578 }; 5579 break; 5580 /* freebsd32_jail */ 5581 case 338: 5582 switch(ndx) { 5583 case 0: 5584 p = "struct jail32 *"; 5585 break; 5586 default: 5587 break; 5588 }; 5589 break; 5590 /* sigprocmask */ 5591 case 340: 5592 switch(ndx) { 5593 case 0: 5594 p = "int"; 5595 break; 5596 case 1: 5597 p = "const sigset_t *"; 5598 break; 5599 case 2: 5600 p = "sigset_t *"; 5601 break; 5602 default: 5603 break; 5604 }; 5605 break; 5606 /* sigsuspend */ 5607 case 341: 5608 switch(ndx) { 5609 case 0: 5610 p = "const sigset_t *"; 5611 break; 5612 default: 5613 break; 5614 }; 5615 break; 5616 /* sigpending */ 5617 case 343: 5618 switch(ndx) { 5619 case 0: 5620 p = "sigset_t *"; 5621 break; 5622 default: 5623 break; 5624 }; 5625 break; 5626 /* freebsd32_sigtimedwait */ 5627 case 345: 5628 switch(ndx) { 5629 case 0: 5630 p = "const sigset_t *"; 5631 break; 5632 case 1: 5633 p = "siginfo_t *"; 5634 break; 5635 case 2: 5636 p = "const struct timespec *"; 5637 break; 5638 default: 5639 break; 5640 }; 5641 break; 5642 /* freebsd32_sigwaitinfo */ 5643 case 346: 5644 switch(ndx) { 5645 case 0: 5646 p = "const sigset_t *"; 5647 break; 5648 case 1: 5649 p = "siginfo_t *"; 5650 break; 5651 default: 5652 break; 5653 }; 5654 break; 5655 /* __acl_get_file */ 5656 case 347: 5657 switch(ndx) { 5658 case 0: 5659 p = "const char *"; 5660 break; 5661 case 1: 5662 p = "acl_type_t"; 5663 break; 5664 case 2: 5665 p = "struct acl *"; 5666 break; 5667 default: 5668 break; 5669 }; 5670 break; 5671 /* __acl_set_file */ 5672 case 348: 5673 switch(ndx) { 5674 case 0: 5675 p = "const char *"; 5676 break; 5677 case 1: 5678 p = "acl_type_t"; 5679 break; 5680 case 2: 5681 p = "struct acl *"; 5682 break; 5683 default: 5684 break; 5685 }; 5686 break; 5687 /* __acl_get_fd */ 5688 case 349: 5689 switch(ndx) { 5690 case 0: 5691 p = "int"; 5692 break; 5693 case 1: 5694 p = "acl_type_t"; 5695 break; 5696 case 2: 5697 p = "struct acl *"; 5698 break; 5699 default: 5700 break; 5701 }; 5702 break; 5703 /* __acl_set_fd */ 5704 case 350: 5705 switch(ndx) { 5706 case 0: 5707 p = "int"; 5708 break; 5709 case 1: 5710 p = "acl_type_t"; 5711 break; 5712 case 2: 5713 p = "struct acl *"; 5714 break; 5715 default: 5716 break; 5717 }; 5718 break; 5719 /* __acl_delete_file */ 5720 case 351: 5721 switch(ndx) { 5722 case 0: 5723 p = "const char *"; 5724 break; 5725 case 1: 5726 p = "acl_type_t"; 5727 break; 5728 default: 5729 break; 5730 }; 5731 break; 5732 /* __acl_delete_fd */ 5733 case 352: 5734 switch(ndx) { 5735 case 0: 5736 p = "int"; 5737 break; 5738 case 1: 5739 p = "acl_type_t"; 5740 break; 5741 default: 5742 break; 5743 }; 5744 break; 5745 /* __acl_aclcheck_file */ 5746 case 353: 5747 switch(ndx) { 5748 case 0: 5749 p = "const char *"; 5750 break; 5751 case 1: 5752 p = "acl_type_t"; 5753 break; 5754 case 2: 5755 p = "struct acl *"; 5756 break; 5757 default: 5758 break; 5759 }; 5760 break; 5761 /* __acl_aclcheck_fd */ 5762 case 354: 5763 switch(ndx) { 5764 case 0: 5765 p = "int"; 5766 break; 5767 case 1: 5768 p = "acl_type_t"; 5769 break; 5770 case 2: 5771 p = "struct acl *"; 5772 break; 5773 default: 5774 break; 5775 }; 5776 break; 5777 /* extattrctl */ 5778 case 355: 5779 switch(ndx) { 5780 case 0: 5781 p = "const char *"; 5782 break; 5783 case 1: 5784 p = "int"; 5785 break; 5786 case 2: 5787 p = "const char *"; 5788 break; 5789 case 3: 5790 p = "int"; 5791 break; 5792 case 4: 5793 p = "const char *"; 5794 break; 5795 default: 5796 break; 5797 }; 5798 break; 5799 /* extattr_set_file */ 5800 case 356: 5801 switch(ndx) { 5802 case 0: 5803 p = "const char *"; 5804 break; 5805 case 1: 5806 p = "int"; 5807 break; 5808 case 2: 5809 p = "const char *"; 5810 break; 5811 case 3: 5812 p = "void *"; 5813 break; 5814 case 4: 5815 p = "size_t"; 5816 break; 5817 default: 5818 break; 5819 }; 5820 break; 5821 /* extattr_get_file */ 5822 case 357: 5823 switch(ndx) { 5824 case 0: 5825 p = "const char *"; 5826 break; 5827 case 1: 5828 p = "int"; 5829 break; 5830 case 2: 5831 p = "const char *"; 5832 break; 5833 case 3: 5834 p = "void *"; 5835 break; 5836 case 4: 5837 p = "size_t"; 5838 break; 5839 default: 5840 break; 5841 }; 5842 break; 5843 /* extattr_delete_file */ 5844 case 358: 5845 switch(ndx) { 5846 case 0: 5847 p = "const char *"; 5848 break; 5849 case 1: 5850 p = "int"; 5851 break; 5852 case 2: 5853 p = "const char *"; 5854 break; 5855 default: 5856 break; 5857 }; 5858 break; 5859 /* freebsd32_aio_waitcomplete */ 5860 case 359: 5861 switch(ndx) { 5862 case 0: 5863 p = "struct aiocb32 **"; 5864 break; 5865 case 1: 5866 p = "struct timespec32 *"; 5867 break; 5868 default: 5869 break; 5870 }; 5871 break; 5872 /* getresuid */ 5873 case 360: 5874 switch(ndx) { 5875 case 0: 5876 p = "uid_t *"; 5877 break; 5878 case 1: 5879 p = "uid_t *"; 5880 break; 5881 case 2: 5882 p = "uid_t *"; 5883 break; 5884 default: 5885 break; 5886 }; 5887 break; 5888 /* getresgid */ 5889 case 361: 5890 switch(ndx) { 5891 case 0: 5892 p = "gid_t *"; 5893 break; 5894 case 1: 5895 p = "gid_t *"; 5896 break; 5897 case 2: 5898 p = "gid_t *"; 5899 break; 5900 default: 5901 break; 5902 }; 5903 break; 5904 /* kqueue */ 5905 case 362: 5906 break; 5907 /* freebsd32_kevent */ 5908 case 363: 5909 switch(ndx) { 5910 case 0: 5911 p = "int"; 5912 break; 5913 case 1: 5914 p = "const struct kevent32 *"; 5915 break; 5916 case 2: 5917 p = "int"; 5918 break; 5919 case 3: 5920 p = "struct kevent32 *"; 5921 break; 5922 case 4: 5923 p = "int"; 5924 break; 5925 case 5: 5926 p = "const struct timespec32 *"; 5927 break; 5928 default: 5929 break; 5930 }; 5931 break; 5932 /* extattr_set_fd */ 5933 case 371: 5934 switch(ndx) { 5935 case 0: 5936 p = "int"; 5937 break; 5938 case 1: 5939 p = "int"; 5940 break; 5941 case 2: 5942 p = "const char *"; 5943 break; 5944 case 3: 5945 p = "void *"; 5946 break; 5947 case 4: 5948 p = "size_t"; 5949 break; 5950 default: 5951 break; 5952 }; 5953 break; 5954 /* extattr_get_fd */ 5955 case 372: 5956 switch(ndx) { 5957 case 0: 5958 p = "int"; 5959 break; 5960 case 1: 5961 p = "int"; 5962 break; 5963 case 2: 5964 p = "const char *"; 5965 break; 5966 case 3: 5967 p = "void *"; 5968 break; 5969 case 4: 5970 p = "size_t"; 5971 break; 5972 default: 5973 break; 5974 }; 5975 break; 5976 /* extattr_delete_fd */ 5977 case 373: 5978 switch(ndx) { 5979 case 0: 5980 p = "int"; 5981 break; 5982 case 1: 5983 p = "int"; 5984 break; 5985 case 2: 5986 p = "const char *"; 5987 break; 5988 default: 5989 break; 5990 }; 5991 break; 5992 /* __setugid */ 5993 case 374: 5994 switch(ndx) { 5995 case 0: 5996 p = "int"; 5997 break; 5998 default: 5999 break; 6000 }; 6001 break; 6002 /* eaccess */ 6003 case 376: 6004 switch(ndx) { 6005 case 0: 6006 p = "char *"; 6007 break; 6008 case 1: 6009 p = "int"; 6010 break; 6011 default: 6012 break; 6013 }; 6014 break; 6015 /* freebsd32_nmount */ 6016 case 378: 6017 switch(ndx) { 6018 case 0: 6019 p = "struct iovec32 *"; 6020 break; 6021 case 1: 6022 p = "unsigned int"; 6023 break; 6024 case 2: 6025 p = "int"; 6026 break; 6027 default: 6028 break; 6029 }; 6030 break; 6031 /* kenv */ 6032 case 390: 6033 switch(ndx) { 6034 case 0: 6035 p = "int"; 6036 break; 6037 case 1: 6038 p = "const char *"; 6039 break; 6040 case 2: 6041 p = "char *"; 6042 break; 6043 case 3: 6044 p = "int"; 6045 break; 6046 default: 6047 break; 6048 }; 6049 break; 6050 /* lchflags */ 6051 case 391: 6052 switch(ndx) { 6053 case 0: 6054 p = "const char *"; 6055 break; 6056 case 1: 6057 p = "int"; 6058 break; 6059 default: 6060 break; 6061 }; 6062 break; 6063 /* uuidgen */ 6064 case 392: 6065 switch(ndx) { 6066 case 0: 6067 p = "struct uuid *"; 6068 break; 6069 case 1: 6070 p = "int"; 6071 break; 6072 default: 6073 break; 6074 }; 6075 break; 6076 /* freebsd32_sendfile */ 6077 case 393: 6078 switch(ndx) { 6079 case 0: 6080 p = "int"; 6081 break; 6082 case 1: 6083 p = "int"; 6084 break; 6085 case 2: 6086 p = "u_int32_t"; 6087 break; 6088 case 3: 6089 p = "u_int32_t"; 6090 break; 6091 case 4: 6092 p = "size_t"; 6093 break; 6094 case 5: 6095 p = "struct sf_hdtr32 *"; 6096 break; 6097 case 6: 6098 p = "off_t *"; 6099 break; 6100 case 7: 6101 p = "int"; 6102 break; 6103 default: 6104 break; 6105 }; 6106 break; 6107 /* getfsstat */ 6108 case 395: 6109 switch(ndx) { 6110 case 0: 6111 p = "struct statfs *"; 6112 break; 6113 case 1: 6114 p = "long"; 6115 break; 6116 case 2: 6117 p = "int"; 6118 break; 6119 default: 6120 break; 6121 }; 6122 break; 6123 /* statfs */ 6124 case 396: 6125 switch(ndx) { 6126 case 0: 6127 p = "char *"; 6128 break; 6129 case 1: 6130 p = "struct statfs *"; 6131 break; 6132 default: 6133 break; 6134 }; 6135 break; 6136 /* fstatfs */ 6137 case 397: 6138 switch(ndx) { 6139 case 0: 6140 p = "int"; 6141 break; 6142 case 1: 6143 p = "struct statfs *"; 6144 break; 6145 default: 6146 break; 6147 }; 6148 break; 6149 /* fhstatfs */ 6150 case 398: 6151 switch(ndx) { 6152 case 0: 6153 p = "const struct fhandle *"; 6154 break; 6155 case 1: 6156 p = "struct statfs *"; 6157 break; 6158 default: 6159 break; 6160 }; 6161 break; 6162 /* ksem_close */ 6163 case 400: 6164 switch(ndx) { 6165 case 0: 6166 p = "semid_t"; 6167 break; 6168 default: 6169 break; 6170 }; 6171 break; 6172 /* ksem_post */ 6173 case 401: 6174 switch(ndx) { 6175 case 0: 6176 p = "semid_t"; 6177 break; 6178 default: 6179 break; 6180 }; 6181 break; 6182 /* ksem_wait */ 6183 case 402: 6184 switch(ndx) { 6185 case 0: 6186 p = "semid_t"; 6187 break; 6188 default: 6189 break; 6190 }; 6191 break; 6192 /* ksem_trywait */ 6193 case 403: 6194 switch(ndx) { 6195 case 0: 6196 p = "semid_t"; 6197 break; 6198 default: 6199 break; 6200 }; 6201 break; 6202 /* freebsd32_ksem_init */ 6203 case 404: 6204 switch(ndx) { 6205 case 0: 6206 p = "semid_t *"; 6207 break; 6208 case 1: 6209 p = "unsigned int"; 6210 break; 6211 default: 6212 break; 6213 }; 6214 break; 6215 /* freebsd32_ksem_open */ 6216 case 405: 6217 switch(ndx) { 6218 case 0: 6219 p = "semid_t *"; 6220 break; 6221 case 1: 6222 p = "const char *"; 6223 break; 6224 case 2: 6225 p = "int"; 6226 break; 6227 case 3: 6228 p = "mode_t"; 6229 break; 6230 case 4: 6231 p = "unsigned int"; 6232 break; 6233 default: 6234 break; 6235 }; 6236 break; 6237 /* ksem_unlink */ 6238 case 406: 6239 switch(ndx) { 6240 case 0: 6241 p = "const char *"; 6242 break; 6243 default: 6244 break; 6245 }; 6246 break; 6247 /* ksem_getvalue */ 6248 case 407: 6249 switch(ndx) { 6250 case 0: 6251 p = "semid_t"; 6252 break; 6253 case 1: 6254 p = "int *"; 6255 break; 6256 default: 6257 break; 6258 }; 6259 break; 6260 /* ksem_destroy */ 6261 case 408: 6262 switch(ndx) { 6263 case 0: 6264 p = "semid_t"; 6265 break; 6266 default: 6267 break; 6268 }; 6269 break; 6270 /* extattr_set_link */ 6271 case 412: 6272 switch(ndx) { 6273 case 0: 6274 p = "const char *"; 6275 break; 6276 case 1: 6277 p = "int"; 6278 break; 6279 case 2: 6280 p = "const char *"; 6281 break; 6282 case 3: 6283 p = "void *"; 6284 break; 6285 case 4: 6286 p = "size_t"; 6287 break; 6288 default: 6289 break; 6290 }; 6291 break; 6292 /* extattr_get_link */ 6293 case 413: 6294 switch(ndx) { 6295 case 0: 6296 p = "const char *"; 6297 break; 6298 case 1: 6299 p = "int"; 6300 break; 6301 case 2: 6302 p = "const char *"; 6303 break; 6304 case 3: 6305 p = "void *"; 6306 break; 6307 case 4: 6308 p = "size_t"; 6309 break; 6310 default: 6311 break; 6312 }; 6313 break; 6314 /* extattr_delete_link */ 6315 case 414: 6316 switch(ndx) { 6317 case 0: 6318 p = "const char *"; 6319 break; 6320 case 1: 6321 p = "int"; 6322 break; 6323 case 2: 6324 p = "const char *"; 6325 break; 6326 default: 6327 break; 6328 }; 6329 break; 6330 /* freebsd32_sigaction */ 6331 case 416: 6332 switch(ndx) { 6333 case 0: 6334 p = "int"; 6335 break; 6336 case 1: 6337 p = "struct sigaction32 *"; 6338 break; 6339 case 2: 6340 p = "struct sigaction32 *"; 6341 break; 6342 default: 6343 break; 6344 }; 6345 break; 6346 /* freebsd32_sigreturn */ 6347 case 417: 6348 switch(ndx) { 6349 case 0: 6350 p = "const struct freebsd32_ucontext *"; 6351 break; 6352 default: 6353 break; 6354 }; 6355 break; 6356 /* freebsd32_getcontext */ 6357 case 421: 6358 switch(ndx) { 6359 case 0: 6360 p = "struct freebsd32_ucontext *"; 6361 break; 6362 default: 6363 break; 6364 }; 6365 break; 6366 /* freebsd32_setcontext */ 6367 case 422: 6368 switch(ndx) { 6369 case 0: 6370 p = "const struct freebsd32_ucontext *"; 6371 break; 6372 default: 6373 break; 6374 }; 6375 break; 6376 /* freebsd32_swapcontext */ 6377 case 423: 6378 switch(ndx) { 6379 case 0: 6380 p = "struct freebsd32_ucontext *"; 6381 break; 6382 case 1: 6383 p = "const struct freebsd32_ucontext *"; 6384 break; 6385 default: 6386 break; 6387 }; 6388 break; 6389 /* __acl_get_link */ 6390 case 425: 6391 switch(ndx) { 6392 case 0: 6393 p = "const char *"; 6394 break; 6395 case 1: 6396 p = "acl_type_t"; 6397 break; 6398 case 2: 6399 p = "struct acl *"; 6400 break; 6401 default: 6402 break; 6403 }; 6404 break; 6405 /* __acl_set_link */ 6406 case 426: 6407 switch(ndx) { 6408 case 0: 6409 p = "const char *"; 6410 break; 6411 case 1: 6412 p = "acl_type_t"; 6413 break; 6414 case 2: 6415 p = "struct acl *"; 6416 break; 6417 default: 6418 break; 6419 }; 6420 break; 6421 /* __acl_delete_link */ 6422 case 427: 6423 switch(ndx) { 6424 case 0: 6425 p = "const char *"; 6426 break; 6427 case 1: 6428 p = "acl_type_t"; 6429 break; 6430 default: 6431 break; 6432 }; 6433 break; 6434 /* __acl_aclcheck_link */ 6435 case 428: 6436 switch(ndx) { 6437 case 0: 6438 p = "const char *"; 6439 break; 6440 case 1: 6441 p = "acl_type_t"; 6442 break; 6443 case 2: 6444 p = "struct acl *"; 6445 break; 6446 default: 6447 break; 6448 }; 6449 break; 6450 /* sigwait */ 6451 case 429: 6452 switch(ndx) { 6453 case 0: 6454 p = "const sigset_t *"; 6455 break; 6456 case 1: 6457 p = "int *"; 6458 break; 6459 default: 6460 break; 6461 }; 6462 break; 6463 /* thr_exit */ 6464 case 431: 6465 switch(ndx) { 6466 case 0: 6467 p = "long *"; 6468 break; 6469 default: 6470 break; 6471 }; 6472 break; 6473 /* thr_self */ 6474 case 432: 6475 switch(ndx) { 6476 case 0: 6477 p = "long *"; 6478 break; 6479 default: 6480 break; 6481 }; 6482 break; 6483 /* thr_kill */ 6484 case 433: 6485 switch(ndx) { 6486 case 0: 6487 p = "long"; 6488 break; 6489 case 1: 6490 p = "int"; 6491 break; 6492 default: 6493 break; 6494 }; 6495 break; 6496 /* freebsd32_umtx_lock */ 6497 case 434: 6498 switch(ndx) { 6499 case 0: 6500 p = "struct umtx *"; 6501 break; 6502 default: 6503 break; 6504 }; 6505 break; 6506 /* freebsd32_umtx_unlock */ 6507 case 435: 6508 switch(ndx) { 6509 case 0: 6510 p = "struct umtx *"; 6511 break; 6512 default: 6513 break; 6514 }; 6515 break; 6516 /* jail_attach */ 6517 case 436: 6518 switch(ndx) { 6519 case 0: 6520 p = "int"; 6521 break; 6522 default: 6523 break; 6524 }; 6525 break; 6526 /* extattr_list_fd */ 6527 case 437: 6528 switch(ndx) { 6529 case 0: 6530 p = "int"; 6531 break; 6532 case 1: 6533 p = "int"; 6534 break; 6535 case 2: 6536 p = "void *"; 6537 break; 6538 case 3: 6539 p = "size_t"; 6540 break; 6541 default: 6542 break; 6543 }; 6544 break; 6545 /* extattr_list_file */ 6546 case 438: 6547 switch(ndx) { 6548 case 0: 6549 p = "const char *"; 6550 break; 6551 case 1: 6552 p = "int"; 6553 break; 6554 case 2: 6555 p = "void *"; 6556 break; 6557 case 3: 6558 p = "size_t"; 6559 break; 6560 default: 6561 break; 6562 }; 6563 break; 6564 /* extattr_list_link */ 6565 case 439: 6566 switch(ndx) { 6567 case 0: 6568 p = "const char *"; 6569 break; 6570 case 1: 6571 p = "int"; 6572 break; 6573 case 2: 6574 p = "void *"; 6575 break; 6576 case 3: 6577 p = "size_t"; 6578 break; 6579 default: 6580 break; 6581 }; 6582 break; 6583 /* freebsd32_ksem_timedwait */ 6584 case 441: 6585 switch(ndx) { 6586 case 0: 6587 p = "semid_t"; 6588 break; 6589 case 1: 6590 p = "const struct timespec32 *"; 6591 break; 6592 default: 6593 break; 6594 }; 6595 break; 6596 /* freebsd32_thr_suspend */ 6597 case 442: 6598 switch(ndx) { 6599 case 0: 6600 p = "const struct timespec32 *"; 6601 break; 6602 default: 6603 break; 6604 }; 6605 break; 6606 /* thr_wake */ 6607 case 443: 6608 switch(ndx) { 6609 case 0: 6610 p = "long"; 6611 break; 6612 default: 6613 break; 6614 }; 6615 break; 6616 /* kldunloadf */ 6617 case 444: 6618 switch(ndx) { 6619 case 0: 6620 p = "int"; 6621 break; 6622 case 1: 6623 p = "int"; 6624 break; 6625 default: 6626 break; 6627 }; 6628 break; 6629 /* audit */ 6630 case 445: 6631 switch(ndx) { 6632 case 0: 6633 p = "const void *"; 6634 break; 6635 case 1: 6636 p = "u_int"; 6637 break; 6638 default: 6639 break; 6640 }; 6641 break; 6642 /* auditon */ 6643 case 446: 6644 switch(ndx) { 6645 case 0: 6646 p = "int"; 6647 break; 6648 case 1: 6649 p = "void *"; 6650 break; 6651 case 2: 6652 p = "u_int"; 6653 break; 6654 default: 6655 break; 6656 }; 6657 break; 6658 /* getauid */ 6659 case 447: 6660 switch(ndx) { 6661 case 0: 6662 p = "uid_t *"; 6663 break; 6664 default: 6665 break; 6666 }; 6667 break; 6668 /* setauid */ 6669 case 448: 6670 switch(ndx) { 6671 case 0: 6672 p = "uid_t *"; 6673 break; 6674 default: 6675 break; 6676 }; 6677 break; 6678 /* getaudit */ 6679 case 449: 6680 switch(ndx) { 6681 case 0: 6682 p = "struct auditinfo *"; 6683 break; 6684 default: 6685 break; 6686 }; 6687 break; 6688 /* setaudit */ 6689 case 450: 6690 switch(ndx) { 6691 case 0: 6692 p = "struct auditinfo *"; 6693 break; 6694 default: 6695 break; 6696 }; 6697 break; 6698 /* getaudit_addr */ 6699 case 451: 6700 switch(ndx) { 6701 case 0: 6702 p = "struct auditinfo_addr *"; 6703 break; 6704 case 1: 6705 p = "u_int"; 6706 break; 6707 default: 6708 break; 6709 }; 6710 break; 6711 /* setaudit_addr */ 6712 case 452: 6713 switch(ndx) { 6714 case 0: 6715 p = "struct auditinfo_addr *"; 6716 break; 6717 case 1: 6718 p = "u_int"; 6719 break; 6720 default: 6721 break; 6722 }; 6723 break; 6724 /* auditctl */ 6725 case 453: 6726 switch(ndx) { 6727 case 0: 6728 p = "char *"; 6729 break; 6730 default: 6731 break; 6732 }; 6733 break; 6734 /* freebsd32_umtx_op */ 6735 case 454: 6736 switch(ndx) { 6737 case 0: 6738 p = "void *"; 6739 break; 6740 case 1: 6741 p = "int"; 6742 break; 6743 case 2: 6744 p = "u_long"; 6745 break; 6746 case 3: 6747 p = "void *"; 6748 break; 6749 case 4: 6750 p = "void *"; 6751 break; 6752 default: 6753 break; 6754 }; 6755 break; 6756 /* freebsd32_thr_new */ 6757 case 455: 6758 switch(ndx) { 6759 case 0: 6760 p = "struct thr_param32 *"; 6761 break; 6762 case 1: 6763 p = "int"; 6764 break; 6765 default: 6766 break; 6767 }; 6768 break; 6769 /* sigqueue */ 6770 case 456: 6771 switch(ndx) { 6772 case 0: 6773 p = "pid_t"; 6774 break; 6775 case 1: 6776 p = "int"; 6777 break; 6778 case 2: 6779 p = "void *"; 6780 break; 6781 default: 6782 break; 6783 }; 6784 break; 6785 /* freebsd32_kmq_open */ 6786 case 457: 6787 switch(ndx) { 6788 case 0: 6789 p = "const char *"; 6790 break; 6791 case 1: 6792 p = "int"; 6793 break; 6794 case 2: 6795 p = "mode_t"; 6796 break; 6797 case 3: 6798 p = "const struct mq_attr32 *"; 6799 break; 6800 default: 6801 break; 6802 }; 6803 break; 6804 /* freebsd32_kmq_setattr */ 6805 case 458: 6806 switch(ndx) { 6807 case 0: 6808 p = "int"; 6809 break; 6810 case 1: 6811 p = "const struct mq_attr32 *"; 6812 break; 6813 case 2: 6814 p = "struct mq_attr32 *"; 6815 break; 6816 default: 6817 break; 6818 }; 6819 break; 6820 /* freebsd32_kmq_timedreceive */ 6821 case 459: 6822 switch(ndx) { 6823 case 0: 6824 p = "int"; 6825 break; 6826 case 1: 6827 p = "char *"; 6828 break; 6829 case 2: 6830 p = "size_t"; 6831 break; 6832 case 3: 6833 p = "unsigned *"; 6834 break; 6835 case 4: 6836 p = "const struct timespec32 *"; 6837 break; 6838 default: 6839 break; 6840 }; 6841 break; 6842 /* freebsd32_kmq_timedsend */ 6843 case 460: 6844 switch(ndx) { 6845 case 0: 6846 p = "int"; 6847 break; 6848 case 1: 6849 p = "const char *"; 6850 break; 6851 case 2: 6852 p = "size_t"; 6853 break; 6854 case 3: 6855 p = "unsigned"; 6856 break; 6857 case 4: 6858 p = "const struct timespec32 *"; 6859 break; 6860 default: 6861 break; 6862 }; 6863 break; 6864 /* kmq_notify */ 6865 case 461: 6866 switch(ndx) { 6867 case 0: 6868 p = "int"; 6869 break; 6870 case 1: 6871 p = "const struct sigevent *"; 6872 break; 6873 default: 6874 break; 6875 }; 6876 break; 6877 /* kmq_unlink */ 6878 case 462: 6879 switch(ndx) { 6880 case 0: 6881 p = "const char *"; 6882 break; 6883 default: 6884 break; 6885 }; 6886 break; 6887 /* abort2 */ 6888 case 463: 6889 switch(ndx) { 6890 case 0: 6891 p = "const char *"; 6892 break; 6893 case 1: 6894 p = "int"; 6895 break; 6896 case 2: 6897 p = "void **"; 6898 break; 6899 default: 6900 break; 6901 }; 6902 break; 6903 /* thr_set_name */ 6904 case 464: 6905 switch(ndx) { 6906 case 0: 6907 p = "long"; 6908 break; 6909 case 1: 6910 p = "const char *"; 6911 break; 6912 default: 6913 break; 6914 }; 6915 break; 6916 /* freebsd32_aio_fsync */ 6917 case 465: 6918 switch(ndx) { 6919 case 0: 6920 p = "int"; 6921 break; 6922 case 1: 6923 p = "struct aiocb32 *"; 6924 break; 6925 default: 6926 break; 6927 }; 6928 break; 6929 /* rtprio_thread */ 6930 case 466: 6931 switch(ndx) { 6932 case 0: 6933 p = "int"; 6934 break; 6935 case 1: 6936 p = "lwpid_t"; 6937 break; 6938 case 2: 6939 p = "struct rtprio *"; 6940 break; 6941 default: 6942 break; 6943 }; 6944 break; 6945 /* sctp_peeloff */ 6946 case 471: 6947 switch(ndx) { 6948 case 0: 6949 p = "int"; 6950 break; 6951 case 1: 6952 p = "uint32_t"; 6953 break; 6954 default: 6955 break; 6956 }; 6957 break; 6958 /* sctp_generic_sendmsg */ 6959 case 472: 6960 switch(ndx) { 6961 case 0: 6962 p = "int"; 6963 break; 6964 case 1: 6965 p = "caddr_t"; 6966 break; 6967 case 2: 6968 p = "int"; 6969 break; 6970 case 3: 6971 p = "caddr_t"; 6972 break; 6973 case 4: 6974 p = "__socklen_t"; 6975 break; 6976 case 5: 6977 p = "struct sctp_sndrcvinfo *"; 6978 break; 6979 case 6: 6980 p = "int"; 6981 break; 6982 default: 6983 break; 6984 }; 6985 break; 6986 /* sctp_generic_sendmsg_iov */ 6987 case 473: 6988 switch(ndx) { 6989 case 0: 6990 p = "int"; 6991 break; 6992 case 1: 6993 p = "struct iovec *"; 6994 break; 6995 case 2: 6996 p = "int"; 6997 break; 6998 case 3: 6999 p = "caddr_t"; 7000 break; 7001 case 4: 7002 p = "__socklen_t"; 7003 break; 7004 case 5: 7005 p = "struct sctp_sndrcvinfo *"; 7006 break; 7007 case 6: 7008 p = "int"; 7009 break; 7010 default: 7011 break; 7012 }; 7013 break; 7014 /* sctp_generic_recvmsg */ 7015 case 474: 7016 switch(ndx) { 7017 case 0: 7018 p = "int"; 7019 break; 7020 case 1: 7021 p = "struct iovec *"; 7022 break; 7023 case 2: 7024 p = "int"; 7025 break; 7026 case 3: 7027 p = "struct sockaddr *"; 7028 break; 7029 case 4: 7030 p = "__socklen_t *"; 7031 break; 7032 case 5: 7033 p = "struct sctp_sndrcvinfo *"; 7034 break; 7035 case 6: 7036 p = "int *"; 7037 break; 7038 default: 7039 break; 7040 }; 7041 break; 7042 #ifdef PAD64_REQUIRED 7043 /* freebsd32_pread */ 7044 case 475: 7045 switch(ndx) { 7046 case 0: 7047 p = "int"; 7048 break; 7049 case 1: 7050 p = "void *"; 7051 break; 7052 case 2: 7053 p = "size_t"; 7054 break; 7055 case 3: 7056 p = "int"; 7057 break; 7058 case 4: 7059 p = "u_int32_t"; 7060 break; 7061 case 5: 7062 p = "u_int32_t"; 7063 break; 7064 default: 7065 break; 7066 }; 7067 break; 7068 /* freebsd32_pwrite */ 7069 case 476: 7070 switch(ndx) { 7071 case 0: 7072 p = "int"; 7073 break; 7074 case 1: 7075 p = "const void *"; 7076 break; 7077 case 2: 7078 p = "size_t"; 7079 break; 7080 case 3: 7081 p = "int"; 7082 break; 7083 case 4: 7084 p = "u_int32_t"; 7085 break; 7086 case 5: 7087 p = "u_int32_t"; 7088 break; 7089 default: 7090 break; 7091 }; 7092 break; 7093 /* freebsd32_mmap */ 7094 case 477: 7095 switch(ndx) { 7096 case 0: 7097 p = "caddr_t"; 7098 break; 7099 case 1: 7100 p = "size_t"; 7101 break; 7102 case 2: 7103 p = "int"; 7104 break; 7105 case 3: 7106 p = "int"; 7107 break; 7108 case 4: 7109 p = "int"; 7110 break; 7111 case 5: 7112 p = "int"; 7113 break; 7114 case 6: 7115 p = "u_int32_t"; 7116 break; 7117 case 7: 7118 p = "u_int32_t"; 7119 break; 7120 default: 7121 break; 7122 }; 7123 break; 7124 /* freebsd32_lseek */ 7125 case 478: 7126 switch(ndx) { 7127 case 0: 7128 p = "int"; 7129 break; 7130 case 1: 7131 p = "int"; 7132 break; 7133 case 2: 7134 p = "u_int32_t"; 7135 break; 7136 case 3: 7137 p = "u_int32_t"; 7138 break; 7139 case 4: 7140 p = "int"; 7141 break; 7142 default: 7143 break; 7144 }; 7145 break; 7146 /* freebsd32_truncate */ 7147 case 479: 7148 switch(ndx) { 7149 case 0: 7150 p = "char *"; 7151 break; 7152 case 1: 7153 p = "int"; 7154 break; 7155 case 2: 7156 p = "u_int32_t"; 7157 break; 7158 case 3: 7159 p = "u_int32_t"; 7160 break; 7161 default: 7162 break; 7163 }; 7164 break; 7165 /* freebsd32_ftruncate */ 7166 case 480: 7167 switch(ndx) { 7168 case 0: 7169 p = "int"; 7170 break; 7171 case 1: 7172 p = "int"; 7173 break; 7174 case 2: 7175 p = "u_int32_t"; 7176 break; 7177 case 3: 7178 p = "u_int32_t"; 7179 break; 7180 default: 7181 break; 7182 }; 7183 break; 7184 #else 7185 /* freebsd32_pread */ 7186 case 475: 7187 switch(ndx) { 7188 case 0: 7189 p = "int"; 7190 break; 7191 case 1: 7192 p = "void *"; 7193 break; 7194 case 2: 7195 p = "size_t"; 7196 break; 7197 case 3: 7198 p = "u_int32_t"; 7199 break; 7200 case 4: 7201 p = "u_int32_t"; 7202 break; 7203 default: 7204 break; 7205 }; 7206 break; 7207 /* freebsd32_pwrite */ 7208 case 476: 7209 switch(ndx) { 7210 case 0: 7211 p = "int"; 7212 break; 7213 case 1: 7214 p = "const void *"; 7215 break; 7216 case 2: 7217 p = "size_t"; 7218 break; 7219 case 3: 7220 p = "u_int32_t"; 7221 break; 7222 case 4: 7223 p = "u_int32_t"; 7224 break; 7225 default: 7226 break; 7227 }; 7228 break; 7229 /* freebsd32_mmap */ 7230 case 477: 7231 switch(ndx) { 7232 case 0: 7233 p = "caddr_t"; 7234 break; 7235 case 1: 7236 p = "size_t"; 7237 break; 7238 case 2: 7239 p = "int"; 7240 break; 7241 case 3: 7242 p = "int"; 7243 break; 7244 case 4: 7245 p = "int"; 7246 break; 7247 case 5: 7248 p = "u_int32_t"; 7249 break; 7250 case 6: 7251 p = "u_int32_t"; 7252 break; 7253 default: 7254 break; 7255 }; 7256 break; 7257 /* freebsd32_lseek */ 7258 case 478: 7259 switch(ndx) { 7260 case 0: 7261 p = "int"; 7262 break; 7263 case 1: 7264 p = "u_int32_t"; 7265 break; 7266 case 2: 7267 p = "u_int32_t"; 7268 break; 7269 case 3: 7270 p = "int"; 7271 break; 7272 default: 7273 break; 7274 }; 7275 break; 7276 /* freebsd32_truncate */ 7277 case 479: 7278 switch(ndx) { 7279 case 0: 7280 p = "char *"; 7281 break; 7282 case 1: 7283 p = "u_int32_t"; 7284 break; 7285 case 2: 7286 p = "u_int32_t"; 7287 break; 7288 default: 7289 break; 7290 }; 7291 break; 7292 /* freebsd32_ftruncate */ 7293 case 480: 7294 switch(ndx) { 7295 case 0: 7296 p = "int"; 7297 break; 7298 case 1: 7299 p = "u_int32_t"; 7300 break; 7301 case 2: 7302 p = "u_int32_t"; 7303 break; 7304 default: 7305 break; 7306 }; 7307 break; 7308 #endif 7309 /* thr_kill2 */ 7310 case 481: 7311 switch(ndx) { 7312 case 0: 7313 p = "pid_t"; 7314 break; 7315 case 1: 7316 p = "long"; 7317 break; 7318 case 2: 7319 p = "int"; 7320 break; 7321 default: 7322 break; 7323 }; 7324 break; 7325 /* shm_open */ 7326 case 482: 7327 switch(ndx) { 7328 case 0: 7329 p = "const char *"; 7330 break; 7331 case 1: 7332 p = "int"; 7333 break; 7334 case 2: 7335 p = "mode_t"; 7336 break; 7337 default: 7338 break; 7339 }; 7340 break; 7341 /* shm_unlink */ 7342 case 483: 7343 switch(ndx) { 7344 case 0: 7345 p = "const char *"; 7346 break; 7347 default: 7348 break; 7349 }; 7350 break; 7351 /* cpuset */ 7352 case 484: 7353 switch(ndx) { 7354 case 0: 7355 p = "cpusetid_t *"; 7356 break; 7357 default: 7358 break; 7359 }; 7360 break; 7361 #ifdef PAD64_REQUIRED 7362 /* freebsd32_cpuset_setid */ 7363 case 485: 7364 switch(ndx) { 7365 case 0: 7366 p = "cpuwhich_t"; 7367 break; 7368 case 1: 7369 p = "int"; 7370 break; 7371 case 2: 7372 p = "u_int32_t"; 7373 break; 7374 case 3: 7375 p = "u_int32_t"; 7376 break; 7377 case 4: 7378 p = "cpusetid_t"; 7379 break; 7380 default: 7381 break; 7382 }; 7383 break; 7384 #else 7385 /* freebsd32_cpuset_setid */ 7386 case 485: 7387 switch(ndx) { 7388 case 0: 7389 p = "cpuwhich_t"; 7390 break; 7391 case 1: 7392 p = "u_int32_t"; 7393 break; 7394 case 2: 7395 p = "u_int32_t"; 7396 break; 7397 case 3: 7398 p = "cpusetid_t"; 7399 break; 7400 default: 7401 break; 7402 }; 7403 break; 7404 #endif 7405 /* freebsd32_cpuset_getid */ 7406 case 486: 7407 switch(ndx) { 7408 case 0: 7409 p = "cpulevel_t"; 7410 break; 7411 case 1: 7412 p = "cpuwhich_t"; 7413 break; 7414 case 2: 7415 p = "u_int32_t"; 7416 break; 7417 case 3: 7418 p = "u_int32_t"; 7419 break; 7420 case 4: 7421 p = "cpusetid_t *"; 7422 break; 7423 default: 7424 break; 7425 }; 7426 break; 7427 /* freebsd32_cpuset_getaffinity */ 7428 case 487: 7429 switch(ndx) { 7430 case 0: 7431 p = "cpulevel_t"; 7432 break; 7433 case 1: 7434 p = "cpuwhich_t"; 7435 break; 7436 case 2: 7437 p = "u_int32_t"; 7438 break; 7439 case 3: 7440 p = "u_int32_t"; 7441 break; 7442 case 4: 7443 p = "size_t"; 7444 break; 7445 case 5: 7446 p = "cpuset_t *"; 7447 break; 7448 default: 7449 break; 7450 }; 7451 break; 7452 /* freebsd32_cpuset_setaffinity */ 7453 case 488: 7454 switch(ndx) { 7455 case 0: 7456 p = "cpulevel_t"; 7457 break; 7458 case 1: 7459 p = "cpuwhich_t"; 7460 break; 7461 case 2: 7462 p = "u_int32_t"; 7463 break; 7464 case 3: 7465 p = "u_int32_t"; 7466 break; 7467 case 4: 7468 p = "size_t"; 7469 break; 7470 case 5: 7471 p = "const cpuset_t *"; 7472 break; 7473 default: 7474 break; 7475 }; 7476 break; 7477 /* faccessat */ 7478 case 489: 7479 switch(ndx) { 7480 case 0: 7481 p = "int"; 7482 break; 7483 case 1: 7484 p = "char *"; 7485 break; 7486 case 2: 7487 p = "int"; 7488 break; 7489 case 3: 7490 p = "int"; 7491 break; 7492 default: 7493 break; 7494 }; 7495 break; 7496 /* fchmodat */ 7497 case 490: 7498 switch(ndx) { 7499 case 0: 7500 p = "int"; 7501 break; 7502 case 1: 7503 p = "const char *"; 7504 break; 7505 case 2: 7506 p = "mode_t"; 7507 break; 7508 case 3: 7509 p = "int"; 7510 break; 7511 default: 7512 break; 7513 }; 7514 break; 7515 /* fchownat */ 7516 case 491: 7517 switch(ndx) { 7518 case 0: 7519 p = "int"; 7520 break; 7521 case 1: 7522 p = "char *"; 7523 break; 7524 case 2: 7525 p = "uid_t"; 7526 break; 7527 case 3: 7528 p = "gid_t"; 7529 break; 7530 case 4: 7531 p = "int"; 7532 break; 7533 default: 7534 break; 7535 }; 7536 break; 7537 /* freebsd32_fexecve */ 7538 case 492: 7539 switch(ndx) { 7540 case 0: 7541 p = "int"; 7542 break; 7543 case 1: 7544 p = "u_int32_t *"; 7545 break; 7546 case 2: 7547 p = "u_int32_t *"; 7548 break; 7549 default: 7550 break; 7551 }; 7552 break; 7553 /* freebsd32_fstatat */ 7554 case 493: 7555 switch(ndx) { 7556 case 0: 7557 p = "int"; 7558 break; 7559 case 1: 7560 p = "char *"; 7561 break; 7562 case 2: 7563 p = "struct stat *"; 7564 break; 7565 case 3: 7566 p = "int"; 7567 break; 7568 default: 7569 break; 7570 }; 7571 break; 7572 /* freebsd32_futimesat */ 7573 case 494: 7574 switch(ndx) { 7575 case 0: 7576 p = "int"; 7577 break; 7578 case 1: 7579 p = "char *"; 7580 break; 7581 case 2: 7582 p = "struct timeval *"; 7583 break; 7584 default: 7585 break; 7586 }; 7587 break; 7588 /* linkat */ 7589 case 495: 7590 switch(ndx) { 7591 case 0: 7592 p = "int"; 7593 break; 7594 case 1: 7595 p = "char *"; 7596 break; 7597 case 2: 7598 p = "int"; 7599 break; 7600 case 3: 7601 p = "char *"; 7602 break; 7603 case 4: 7604 p = "int"; 7605 break; 7606 default: 7607 break; 7608 }; 7609 break; 7610 /* mkdirat */ 7611 case 496: 7612 switch(ndx) { 7613 case 0: 7614 p = "int"; 7615 break; 7616 case 1: 7617 p = "char *"; 7618 break; 7619 case 2: 7620 p = "mode_t"; 7621 break; 7622 default: 7623 break; 7624 }; 7625 break; 7626 /* mkfifoat */ 7627 case 497: 7628 switch(ndx) { 7629 case 0: 7630 p = "int"; 7631 break; 7632 case 1: 7633 p = "char *"; 7634 break; 7635 case 2: 7636 p = "mode_t"; 7637 break; 7638 default: 7639 break; 7640 }; 7641 break; 7642 /* mknodat */ 7643 case 498: 7644 switch(ndx) { 7645 case 0: 7646 p = "int"; 7647 break; 7648 case 1: 7649 p = "char *"; 7650 break; 7651 case 2: 7652 p = "mode_t"; 7653 break; 7654 case 3: 7655 p = "dev_t"; 7656 break; 7657 default: 7658 break; 7659 }; 7660 break; 7661 /* openat */ 7662 case 499: 7663 switch(ndx) { 7664 case 0: 7665 p = "int"; 7666 break; 7667 case 1: 7668 p = "char *"; 7669 break; 7670 case 2: 7671 p = "int"; 7672 break; 7673 case 3: 7674 p = "mode_t"; 7675 break; 7676 default: 7677 break; 7678 }; 7679 break; 7680 /* readlinkat */ 7681 case 500: 7682 switch(ndx) { 7683 case 0: 7684 p = "int"; 7685 break; 7686 case 1: 7687 p = "char *"; 7688 break; 7689 case 2: 7690 p = "char *"; 7691 break; 7692 case 3: 7693 p = "size_t"; 7694 break; 7695 default: 7696 break; 7697 }; 7698 break; 7699 /* renameat */ 7700 case 501: 7701 switch(ndx) { 7702 case 0: 7703 p = "int"; 7704 break; 7705 case 1: 7706 p = "char *"; 7707 break; 7708 case 2: 7709 p = "int"; 7710 break; 7711 case 3: 7712 p = "const char *"; 7713 break; 7714 default: 7715 break; 7716 }; 7717 break; 7718 /* symlinkat */ 7719 case 502: 7720 switch(ndx) { 7721 case 0: 7722 p = "char *"; 7723 break; 7724 case 1: 7725 p = "int"; 7726 break; 7727 case 2: 7728 p = "char *"; 7729 break; 7730 default: 7731 break; 7732 }; 7733 break; 7734 /* unlinkat */ 7735 case 503: 7736 switch(ndx) { 7737 case 0: 7738 p = "int"; 7739 break; 7740 case 1: 7741 p = "char *"; 7742 break; 7743 case 2: 7744 p = "int"; 7745 break; 7746 default: 7747 break; 7748 }; 7749 break; 7750 /* posix_openpt */ 7751 case 504: 7752 switch(ndx) { 7753 case 0: 7754 p = "int"; 7755 break; 7756 default: 7757 break; 7758 }; 7759 break; 7760 /* freebsd32_jail_get */ 7761 case 506: 7762 switch(ndx) { 7763 case 0: 7764 p = "struct iovec32 *"; 7765 break; 7766 case 1: 7767 p = "unsigned int"; 7768 break; 7769 case 2: 7770 p = "int"; 7771 break; 7772 default: 7773 break; 7774 }; 7775 break; 7776 /* freebsd32_jail_set */ 7777 case 507: 7778 switch(ndx) { 7779 case 0: 7780 p = "struct iovec32 *"; 7781 break; 7782 case 1: 7783 p = "unsigned int"; 7784 break; 7785 case 2: 7786 p = "int"; 7787 break; 7788 default: 7789 break; 7790 }; 7791 break; 7792 /* jail_remove */ 7793 case 508: 7794 switch(ndx) { 7795 case 0: 7796 p = "int"; 7797 break; 7798 default: 7799 break; 7800 }; 7801 break; 7802 /* closefrom */ 7803 case 509: 7804 switch(ndx) { 7805 case 0: 7806 p = "int"; 7807 break; 7808 default: 7809 break; 7810 }; 7811 break; 7812 /* freebsd32_semctl */ 7813 case 510: 7814 switch(ndx) { 7815 case 0: 7816 p = "int"; 7817 break; 7818 case 1: 7819 p = "int"; 7820 break; 7821 case 2: 7822 p = "int"; 7823 break; 7824 case 3: 7825 p = "union semun32 *"; 7826 break; 7827 default: 7828 break; 7829 }; 7830 break; 7831 /* freebsd32_msgctl */ 7832 case 511: 7833 switch(ndx) { 7834 case 0: 7835 p = "int"; 7836 break; 7837 case 1: 7838 p = "int"; 7839 break; 7840 case 2: 7841 p = "struct msqid_ds32 *"; 7842 break; 7843 default: 7844 break; 7845 }; 7846 break; 7847 /* freebsd32_shmctl */ 7848 case 512: 7849 switch(ndx) { 7850 case 0: 7851 p = "int"; 7852 break; 7853 case 1: 7854 p = "int"; 7855 break; 7856 case 2: 7857 p = "struct shmid_ds32 *"; 7858 break; 7859 default: 7860 break; 7861 }; 7862 break; 7863 /* lpathconf */ 7864 case 513: 7865 switch(ndx) { 7866 case 0: 7867 p = "char *"; 7868 break; 7869 case 1: 7870 p = "int"; 7871 break; 7872 default: 7873 break; 7874 }; 7875 break; 7876 /* cap_enter */ 7877 case 516: 7878 break; 7879 /* cap_getmode */ 7880 case 517: 7881 switch(ndx) { 7882 case 0: 7883 p = "u_int *"; 7884 break; 7885 default: 7886 break; 7887 }; 7888 break; 7889 /* freebsd32_pselect */ 7890 case 522: 7891 switch(ndx) { 7892 case 0: 7893 p = "int"; 7894 break; 7895 case 1: 7896 p = "fd_set *"; 7897 break; 7898 case 2: 7899 p = "fd_set *"; 7900 break; 7901 case 3: 7902 p = "fd_set *"; 7903 break; 7904 case 4: 7905 p = "const struct timespec32 *"; 7906 break; 7907 case 5: 7908 p = "const sigset_t *"; 7909 break; 7910 default: 7911 break; 7912 }; 7913 break; 7914 /* getloginclass */ 7915 case 523: 7916 switch(ndx) { 7917 case 0: 7918 p = "char *"; 7919 break; 7920 case 1: 7921 p = "size_t"; 7922 break; 7923 default: 7924 break; 7925 }; 7926 break; 7927 /* setloginclass */ 7928 case 524: 7929 switch(ndx) { 7930 case 0: 7931 p = "const char *"; 7932 break; 7933 default: 7934 break; 7935 }; 7936 break; 7937 /* rctl_get_racct */ 7938 case 525: 7939 switch(ndx) { 7940 case 0: 7941 p = "const void *"; 7942 break; 7943 case 1: 7944 p = "size_t"; 7945 break; 7946 case 2: 7947 p = "void *"; 7948 break; 7949 case 3: 7950 p = "size_t"; 7951 break; 7952 default: 7953 break; 7954 }; 7955 break; 7956 /* rctl_get_rules */ 7957 case 526: 7958 switch(ndx) { 7959 case 0: 7960 p = "const void *"; 7961 break; 7962 case 1: 7963 p = "size_t"; 7964 break; 7965 case 2: 7966 p = "void *"; 7967 break; 7968 case 3: 7969 p = "size_t"; 7970 break; 7971 default: 7972 break; 7973 }; 7974 break; 7975 /* rctl_get_limits */ 7976 case 527: 7977 switch(ndx) { 7978 case 0: 7979 p = "const void *"; 7980 break; 7981 case 1: 7982 p = "size_t"; 7983 break; 7984 case 2: 7985 p = "void *"; 7986 break; 7987 case 3: 7988 p = "size_t"; 7989 break; 7990 default: 7991 break; 7992 }; 7993 break; 7994 /* rctl_add_rule */ 7995 case 528: 7996 switch(ndx) { 7997 case 0: 7998 p = "const void *"; 7999 break; 8000 case 1: 8001 p = "size_t"; 8002 break; 8003 case 2: 8004 p = "void *"; 8005 break; 8006 case 3: 8007 p = "size_t"; 8008 break; 8009 default: 8010 break; 8011 }; 8012 break; 8013 /* rctl_remove_rule */ 8014 case 529: 8015 switch(ndx) { 8016 case 0: 8017 p = "const void *"; 8018 break; 8019 case 1: 8020 p = "size_t"; 8021 break; 8022 case 2: 8023 p = "void *"; 8024 break; 8025 case 3: 8026 p = "size_t"; 8027 break; 8028 default: 8029 break; 8030 }; 8031 break; 8032 /* freebsd32_posix_fallocate */ 8033 case 530: 8034 switch(ndx) { 8035 case 0: 8036 p = "int"; 8037 break; 8038 case 1: 8039 p = "uint32_t"; 8040 break; 8041 case 2: 8042 p = "uint32_t"; 8043 break; 8044 case 3: 8045 p = "uint32_t"; 8046 break; 8047 case 4: 8048 p = "uint32_t"; 8049 break; 8050 default: 8051 break; 8052 }; 8053 break; 8054 default: 8055 break; 8056 }; 8057 if (p != NULL) 8058 strlcpy(desc, p, descsz); 8059 } 8060