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