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