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