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