1 /*
2 * System call argument to DTrace register array converstion.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD$
6 * This file is part of the DTrace syscall provider.
7 */
8
9 static void
10 systrace_args(int sysnum, void *params, u_int64_t *uarg, int *n_args)
11 {
12 int64_t *iarg = (int64_t *) uarg;
13 switch (sysnum) {
14 #if !defined(PAD64_REQUIRED) && defined(__powerpc__)
15 #define PAD64_REQUIRED
16 #endif
17 /* nosys */
18 case 0: {
19 *n_args = 0;
20 break;
21 }
22 /* sys_exit */
23 case 1: {
24 struct sys_exit_args *p = params;
25 iarg[0] = p->rval; /* int */
26 *n_args = 1;
27 break;
28 }
29 /* fork */
30 case 2: {
31 *n_args = 0;
32 break;
33 }
34 /* read */
35 case 3: {
36 struct read_args *p = params;
37 iarg[0] = p->fd; /* int */
38 uarg[1] = (intptr_t) p->buf; /* void * */
39 uarg[2] = p->nbyte; /* size_t */
40 *n_args = 3;
41 break;
42 }
43 /* write */
44 case 4: {
45 struct write_args *p = params;
46 iarg[0] = p->fd; /* int */
47 uarg[1] = (intptr_t) p->buf; /* const void * */
48 uarg[2] = p->nbyte; /* size_t */
49 *n_args = 3;
50 break;
51 }
52 /* open */
53 case 5: {
54 struct open_args *p = params;
55 uarg[0] = (intptr_t) p->path; /* char * */
56 iarg[1] = p->flags; /* int */
57 iarg[2] = p->mode; /* int */
58 *n_args = 3;
59 break;
60 }
61 /* close */
62 case 6: {
63 struct close_args *p = params;
64 iarg[0] = p->fd; /* int */
65 *n_args = 1;
66 break;
67 }
68 /* freebsd32_wait4 */
69 case 7: {
70 struct freebsd32_wait4_args *p = params;
71 iarg[0] = p->pid; /* int */
72 uarg[1] = (intptr_t) p->status; /* int * */
73 iarg[2] = p->options; /* int */
74 uarg[3] = (intptr_t) p->rusage; /* struct rusage32 * */
75 *n_args = 4;
76 break;
77 }
78 /* link */
79 case 9: {
80 struct link_args *p = params;
81 uarg[0] = (intptr_t) p->path; /* char * */
82 uarg[1] = (intptr_t) p->link; /* char * */
83 *n_args = 2;
84 break;
85 }
86 /* unlink */
87 case 10: {
88 struct unlink_args *p = params;
89 uarg[0] = (intptr_t) p->path; /* char * */
90 *n_args = 1;
91 break;
92 }
93 /* chdir */
94 case 12: {
95 struct chdir_args *p = params;
96 uarg[0] = (intptr_t) p->path; /* char * */
97 *n_args = 1;
98 break;
99 }
100 /* fchdir */
101 case 13: {
102 struct fchdir_args *p = params;
103 iarg[0] = p->fd; /* int */
104 *n_args = 1;
105 break;
106 }
107 /* mknod */
108 case 14: {
109 struct mknod_args *p = params;
110 uarg[0] = (intptr_t) p->path; /* char * */
111 iarg[1] = p->mode; /* int */
112 iarg[2] = p->dev; /* int */
113 *n_args = 3;
114 break;
115 }
116 /* chmod */
117 case 15: {
118 struct chmod_args *p = params;
119 uarg[0] = (intptr_t) p->path; /* char * */
120 iarg[1] = p->mode; /* int */
121 *n_args = 2;
122 break;
123 }
124 /* chown */
125 case 16: {
126 struct chown_args *p = params;
127 uarg[0] = (intptr_t) p->path; /* char * */
128 iarg[1] = p->uid; /* int */
129 iarg[2] = p->gid; /* int */
130 *n_args = 3;
131 break;
132 }
133 /* obreak */
134 case 17: {
135 struct obreak_args *p = params;
136 uarg[0] = (intptr_t) p->nsize; /* char * */
137 *n_args = 1;
138 break;
139 }
140 /* getpid */
141 case 20: {
142 *n_args = 0;
143 break;
144 }
145 /* mount */
146 case 21: {
147 struct mount_args *p = params;
148 uarg[0] = (intptr_t) p->type; /* char * */
149 uarg[1] = (intptr_t) p->path; /* char * */
150 iarg[2] = p->flags; /* int */
151 uarg[3] = (intptr_t) p->data; /* caddr_t */
152 *n_args = 4;
153 break;
154 }
155 /* unmount */
156 case 22: {
157 struct unmount_args *p = params;
158 uarg[0] = (intptr_t) p->path; /* char * */
159 iarg[1] = p->flags; /* int */
160 *n_args = 2;
161 break;
162 }
163 /* setuid */
164 case 23: {
165 struct setuid_args *p = params;
166 uarg[0] = p->uid; /* uid_t */
167 *n_args = 1;
168 break;
169 }
170 /* getuid */
171 case 24: {
172 *n_args = 0;
173 break;
174 }
175 /* geteuid */
176 case 25: {
177 *n_args = 0;
178 break;
179 }
180 /* ptrace */
181 case 26: {
182 struct ptrace_args *p = params;
183 iarg[0] = p->req; /* int */
184 iarg[1] = p->pid; /* pid_t */
185 uarg[2] = (intptr_t) p->addr; /* caddr_t */
186 iarg[3] = p->data; /* int */
187 *n_args = 4;
188 break;
189 }
190 /* freebsd32_recvmsg */
191 case 27: {
192 struct freebsd32_recvmsg_args *p = params;
193 iarg[0] = p->s; /* int */
194 uarg[1] = (intptr_t) p->msg; /* struct msghdr32 * */
195 iarg[2] = p->flags; /* int */
196 *n_args = 3;
197 break;
198 }
199 /* freebsd32_sendmsg */
200 case 28: {
201 struct freebsd32_sendmsg_args *p = params;
202 iarg[0] = p->s; /* int */
203 uarg[1] = (intptr_t) p->msg; /* struct msghdr32 * */
204 iarg[2] = p->flags; /* int */
205 *n_args = 3;
206 break;
207 }
208 /* freebsd32_recvfrom */
209 case 29: {
210 struct freebsd32_recvfrom_args *p = params;
211 iarg[0] = p->s; /* int */
212 uarg[1] = p->buf; /* u_int32_t */
213 uarg[2] = p->len; /* u_int32_t */
214 iarg[3] = p->flags; /* int */
215 uarg[4] = p->from; /* u_int32_t */
216 uarg[5] = p->fromlenaddr; /* u_int32_t */
217 *n_args = 6;
218 break;
219 }
220 /* accept */
221 case 30: {
222 struct accept_args *p = params;
223 iarg[0] = p->s; /* int */
224 uarg[1] = (intptr_t) p->name; /* caddr_t */
225 uarg[2] = (intptr_t) p->anamelen; /* int * */
226 *n_args = 3;
227 break;
228 }
229 /* getpeername */
230 case 31: {
231 struct getpeername_args *p = params;
232 iarg[0] = p->fdes; /* int */
233 uarg[1] = (intptr_t) p->asa; /* caddr_t */
234 uarg[2] = (intptr_t) p->alen; /* int * */
235 *n_args = 3;
236 break;
237 }
238 /* getsockname */
239 case 32: {
240 struct getsockname_args *p = params;
241 iarg[0] = p->fdes; /* int */
242 uarg[1] = (intptr_t) p->asa; /* caddr_t */
243 uarg[2] = (intptr_t) p->alen; /* int * */
244 *n_args = 3;
245 break;
246 }
247 /* access */
248 case 33: {
249 struct access_args *p = params;
250 uarg[0] = (intptr_t) p->path; /* char * */
251 iarg[1] = p->flags; /* int */
252 *n_args = 2;
253 break;
254 }
255 /* chflags */
256 case 34: {
257 struct chflags_args *p = params;
258 uarg[0] = (intptr_t) p->path; /* char * */
259 iarg[1] = p->flags; /* int */
260 *n_args = 2;
261 break;
262 }
263 /* fchflags */
264 case 35: {
265 struct fchflags_args *p = params;
266 iarg[0] = p->fd; /* int */
267 iarg[1] = p->flags; /* int */
268 *n_args = 2;
269 break;
270 }
271 /* sync */
272 case 36: {
273 *n_args = 0;
274 break;
275 }
276 /* kill */
277 case 37: {
278 struct kill_args *p = params;
279 iarg[0] = p->pid; /* int */
280 iarg[1] = p->signum; /* int */
281 *n_args = 2;
282 break;
283 }
284 /* getppid */
285 case 39: {
286 *n_args = 0;
287 break;
288 }
289 /* dup */
290 case 41: {
291 struct dup_args *p = params;
292 uarg[0] = p->fd; /* u_int */
293 *n_args = 1;
294 break;
295 }
296 /* pipe */
297 case 42: {
298 *n_args = 0;
299 break;
300 }
301 /* getegid */
302 case 43: {
303 *n_args = 0;
304 break;
305 }
306 /* profil */
307 case 44: {
308 struct profil_args *p = params;
309 uarg[0] = (intptr_t) p->samples; /* caddr_t */
310 uarg[1] = p->size; /* size_t */
311 uarg[2] = p->offset; /* size_t */
312 uarg[3] = p->scale; /* u_int */
313 *n_args = 4;
314 break;
315 }
316 /* ktrace */
317 case 45: {
318 struct ktrace_args *p = params;
319 uarg[0] = (intptr_t) p->fname; /* const char * */
320 iarg[1] = p->ops; /* int */
321 iarg[2] = p->facs; /* int */
322 iarg[3] = p->pid; /* int */
323 *n_args = 4;
324 break;
325 }
326 /* getgid */
327 case 47: {
328 *n_args = 0;
329 break;
330 }
331 /* getlogin */
332 case 49: {
333 struct getlogin_args *p = params;
334 uarg[0] = (intptr_t) p->namebuf; /* char * */
335 uarg[1] = p->namelen; /* u_int */
336 *n_args = 2;
337 break;
338 }
339 /* setlogin */
340 case 50: {
341 struct setlogin_args *p = params;
342 uarg[0] = (intptr_t) p->namebuf; /* char * */
343 *n_args = 1;
344 break;
345 }
346 /* acct */
347 case 51: {
348 struct acct_args *p = params;
349 uarg[0] = (intptr_t) p->path; /* char * */
350 *n_args = 1;
351 break;
352 }
353 /* freebsd32_sigaltstack */
354 case 53: {
355 struct freebsd32_sigaltstack_args *p = params;
356 uarg[0] = (intptr_t) p->ss; /* struct sigaltstack32 * */
357 uarg[1] = (intptr_t) p->oss; /* struct sigaltstack32 * */
358 *n_args = 2;
359 break;
360 }
361 /* freebsd32_ioctl */
362 case 54: {
363 struct freebsd32_ioctl_args *p = params;
364 iarg[0] = p->fd; /* int */
365 uarg[1] = p->com; /* uint32_t */
366 uarg[2] = (intptr_t) p->data; /* struct md_ioctl32 * */
367 *n_args = 3;
368 break;
369 }
370 /* reboot */
371 case 55: {
372 struct reboot_args *p = params;
373 iarg[0] = p->opt; /* int */
374 *n_args = 1;
375 break;
376 }
377 /* revoke */
378 case 56: {
379 struct revoke_args *p = params;
380 uarg[0] = (intptr_t) p->path; /* char * */
381 *n_args = 1;
382 break;
383 }
384 /* symlink */
385 case 57: {
386 struct symlink_args *p = params;
387 uarg[0] = (intptr_t) p->path; /* char * */
388 uarg[1] = (intptr_t) p->link; /* char * */
389 *n_args = 2;
390 break;
391 }
392 /* readlink */
393 case 58: {
394 struct readlink_args *p = params;
395 uarg[0] = (intptr_t) p->path; /* char * */
396 uarg[1] = (intptr_t) p->buf; /* char * */
397 uarg[2] = p->count; /* size_t */
398 *n_args = 3;
399 break;
400 }
401 /* freebsd32_execve */
402 case 59: {
403 struct freebsd32_execve_args *p = params;
404 uarg[0] = (intptr_t) p->fname; /* char * */
405 uarg[1] = (intptr_t) p->argv; /* u_int32_t * */
406 uarg[2] = (intptr_t) p->envv; /* u_int32_t * */
407 *n_args = 3;
408 break;
409 }
410 /* umask */
411 case 60: {
412 struct umask_args *p = params;
413 iarg[0] = p->newmask; /* int */
414 *n_args = 1;
415 break;
416 }
417 /* chroot */
418 case 61: {
419 struct chroot_args *p = params;
420 uarg[0] = (intptr_t) p->path; /* char * */
421 *n_args = 1;
422 break;
423 }
424 /* msync */
425 case 65: {
426 struct msync_args *p = params;
427 uarg[0] = (intptr_t) p->addr; /* void * */
428 uarg[1] = p->len; /* size_t */
429 iarg[2] = p->flags; /* int */
430 *n_args = 3;
431 break;
432 }
433 /* vfork */
434 case 66: {
435 *n_args = 0;
436 break;
437 }
438 /* sbrk */
439 case 69: {
440 struct sbrk_args *p = params;
441 iarg[0] = p->incr; /* int */
442 *n_args = 1;
443 break;
444 }
445 /* sstk */
446 case 70: {
447 struct sstk_args *p = params;
448 iarg[0] = p->incr; /* int */
449 *n_args = 1;
450 break;
451 }
452 /* ovadvise */
453 case 72: {
454 struct ovadvise_args *p = params;
455 iarg[0] = p->anom; /* int */
456 *n_args = 1;
457 break;
458 }
459 /* munmap */
460 case 73: {
461 struct munmap_args *p = params;
462 uarg[0] = (intptr_t) p->addr; /* void * */
463 uarg[1] = p->len; /* size_t */
464 *n_args = 2;
465 break;
466 }
467 /* freebsd32_mprotect */
468 case 74: {
469 struct freebsd32_mprotect_args *p = params;
470 uarg[0] = (intptr_t) p->addr; /* const void * */
471 uarg[1] = p->len; /* size_t */
472 iarg[2] = p->prot; /* int */
473 *n_args = 3;
474 break;
475 }
476 /* madvise */
477 case 75: {
478 struct madvise_args *p = params;
479 uarg[0] = (intptr_t) p->addr; /* void * */
480 uarg[1] = p->len; /* size_t */
481 iarg[2] = p->behav; /* int */
482 *n_args = 3;
483 break;
484 }
485 /* mincore */
486 case 78: {
487 struct mincore_args *p = params;
488 uarg[0] = (intptr_t) p->addr; /* const void * */
489 uarg[1] = p->len; /* size_t */
490 uarg[2] = (intptr_t) p->vec; /* char * */
491 *n_args = 3;
492 break;
493 }
494 /* getgroups */
495 case 79: {
496 struct getgroups_args *p = params;
497 uarg[0] = p->gidsetsize; /* u_int */
498 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
499 *n_args = 2;
500 break;
501 }
502 /* setgroups */
503 case 80: {
504 struct setgroups_args *p = params;
505 uarg[0] = p->gidsetsize; /* u_int */
506 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
507 *n_args = 2;
508 break;
509 }
510 /* getpgrp */
511 case 81: {
512 *n_args = 0;
513 break;
514 }
515 /* setpgid */
516 case 82: {
517 struct setpgid_args *p = params;
518 iarg[0] = p->pid; /* int */
519 iarg[1] = p->pgid; /* int */
520 *n_args = 2;
521 break;
522 }
523 /* freebsd32_setitimer */
524 case 83: {
525 struct freebsd32_setitimer_args *p = params;
526 uarg[0] = p->which; /* u_int */
527 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
528 uarg[2] = (intptr_t) p->oitv; /* struct itimerval32 * */
529 *n_args = 3;
530 break;
531 }
532 /* swapon */
533 case 85: {
534 struct swapon_args *p = params;
535 uarg[0] = (intptr_t) p->name; /* char * */
536 *n_args = 1;
537 break;
538 }
539 /* freebsd32_getitimer */
540 case 86: {
541 struct freebsd32_getitimer_args *p = params;
542 uarg[0] = p->which; /* u_int */
543 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
544 *n_args = 2;
545 break;
546 }
547 /* getdtablesize */
548 case 89: {
549 *n_args = 0;
550 break;
551 }
552 /* dup2 */
553 case 90: {
554 struct dup2_args *p = params;
555 uarg[0] = p->from; /* u_int */
556 uarg[1] = p->to; /* u_int */
557 *n_args = 2;
558 break;
559 }
560 /* fcntl */
561 case 92: {
562 struct fcntl_args *p = params;
563 iarg[0] = p->fd; /* int */
564 iarg[1] = p->cmd; /* int */
565 iarg[2] = p->arg; /* long */
566 *n_args = 3;
567 break;
568 }
569 /* freebsd32_select */
570 case 93: {
571 struct freebsd32_select_args *p = params;
572 iarg[0] = p->nd; /* int */
573 uarg[1] = (intptr_t) p->in; /* fd_set * */
574 uarg[2] = (intptr_t) p->ou; /* fd_set * */
575 uarg[3] = (intptr_t) p->ex; /* fd_set * */
576 uarg[4] = (intptr_t) p->tv; /* struct timeval32 * */
577 *n_args = 5;
578 break;
579 }
580 /* fsync */
581 case 95: {
582 struct fsync_args *p = params;
583 iarg[0] = p->fd; /* int */
584 *n_args = 1;
585 break;
586 }
587 /* setpriority */
588 case 96: {
589 struct setpriority_args *p = params;
590 iarg[0] = p->which; /* int */
591 iarg[1] = p->who; /* int */
592 iarg[2] = p->prio; /* int */
593 *n_args = 3;
594 break;
595 }
596 /* socket */
597 case 97: {
598 struct socket_args *p = params;
599 iarg[0] = p->domain; /* int */
600 iarg[1] = p->type; /* int */
601 iarg[2] = p->protocol; /* int */
602 *n_args = 3;
603 break;
604 }
605 /* connect */
606 case 98: {
607 struct connect_args *p = params;
608 iarg[0] = p->s; /* int */
609 uarg[1] = (intptr_t) p->name; /* caddr_t */
610 iarg[2] = p->namelen; /* int */
611 *n_args = 3;
612 break;
613 }
614 /* getpriority */
615 case 100: {
616 struct getpriority_args *p = params;
617 iarg[0] = p->which; /* int */
618 iarg[1] = p->who; /* int */
619 *n_args = 2;
620 break;
621 }
622 /* bind */
623 case 104: {
624 struct bind_args *p = params;
625 iarg[0] = p->s; /* int */
626 uarg[1] = (intptr_t) p->name; /* caddr_t */
627 iarg[2] = p->namelen; /* int */
628 *n_args = 3;
629 break;
630 }
631 /* setsockopt */
632 case 105: {
633 struct setsockopt_args *p = params;
634 iarg[0] = p->s; /* int */
635 iarg[1] = p->level; /* int */
636 iarg[2] = p->name; /* int */
637 uarg[3] = (intptr_t) p->val; /* caddr_t */
638 iarg[4] = p->valsize; /* int */
639 *n_args = 5;
640 break;
641 }
642 /* listen */
643 case 106: {
644 struct listen_args *p = params;
645 iarg[0] = p->s; /* int */
646 iarg[1] = p->backlog; /* int */
647 *n_args = 2;
648 break;
649 }
650 /* freebsd32_gettimeofday */
651 case 116: {
652 struct freebsd32_gettimeofday_args *p = params;
653 uarg[0] = (intptr_t) p->tp; /* struct timeval32 * */
654 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
655 *n_args = 2;
656 break;
657 }
658 /* freebsd32_getrusage */
659 case 117: {
660 struct freebsd32_getrusage_args *p = params;
661 iarg[0] = p->who; /* int */
662 uarg[1] = (intptr_t) p->rusage; /* struct rusage32 * */
663 *n_args = 2;
664 break;
665 }
666 /* getsockopt */
667 case 118: {
668 struct getsockopt_args *p = params;
669 iarg[0] = p->s; /* int */
670 iarg[1] = p->level; /* int */
671 iarg[2] = p->name; /* int */
672 uarg[3] = (intptr_t) p->val; /* caddr_t */
673 uarg[4] = (intptr_t) p->avalsize; /* int * */
674 *n_args = 5;
675 break;
676 }
677 /* freebsd32_readv */
678 case 120: {
679 struct freebsd32_readv_args *p = params;
680 iarg[0] = p->fd; /* int */
681 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
682 uarg[2] = p->iovcnt; /* u_int */
683 *n_args = 3;
684 break;
685 }
686 /* freebsd32_writev */
687 case 121: {
688 struct freebsd32_writev_args *p = params;
689 iarg[0] = p->fd; /* int */
690 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
691 uarg[2] = p->iovcnt; /* u_int */
692 *n_args = 3;
693 break;
694 }
695 /* freebsd32_settimeofday */
696 case 122: {
697 struct freebsd32_settimeofday_args *p = params;
698 uarg[0] = (intptr_t) p->tv; /* struct timeval32 * */
699 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
700 *n_args = 2;
701 break;
702 }
703 /* fchown */
704 case 123: {
705 struct fchown_args *p = params;
706 iarg[0] = p->fd; /* int */
707 iarg[1] = p->uid; /* int */
708 iarg[2] = p->gid; /* int */
709 *n_args = 3;
710 break;
711 }
712 /* fchmod */
713 case 124: {
714 struct fchmod_args *p = params;
715 iarg[0] = p->fd; /* int */
716 iarg[1] = p->mode; /* int */
717 *n_args = 2;
718 break;
719 }
720 /* setreuid */
721 case 126: {
722 struct setreuid_args *p = params;
723 iarg[0] = p->ruid; /* int */
724 iarg[1] = p->euid; /* int */
725 *n_args = 2;
726 break;
727 }
728 /* setregid */
729 case 127: {
730 struct setregid_args *p = params;
731 iarg[0] = p->rgid; /* int */
732 iarg[1] = p->egid; /* int */
733 *n_args = 2;
734 break;
735 }
736 /* rename */
737 case 128: {
738 struct rename_args *p = params;
739 uarg[0] = (intptr_t) p->from; /* char * */
740 uarg[1] = (intptr_t) p->to; /* char * */
741 *n_args = 2;
742 break;
743 }
744 /* flock */
745 case 131: {
746 struct flock_args *p = params;
747 iarg[0] = p->fd; /* int */
748 iarg[1] = p->how; /* int */
749 *n_args = 2;
750 break;
751 }
752 /* mkfifo */
753 case 132: {
754 struct mkfifo_args *p = params;
755 uarg[0] = (intptr_t) p->path; /* char * */
756 iarg[1] = p->mode; /* int */
757 *n_args = 2;
758 break;
759 }
760 /* sendto */
761 case 133: {
762 struct sendto_args *p = params;
763 iarg[0] = p->s; /* int */
764 uarg[1] = (intptr_t) p->buf; /* caddr_t */
765 uarg[2] = p->len; /* size_t */
766 iarg[3] = p->flags; /* int */
767 uarg[4] = (intptr_t) p->to; /* caddr_t */
768 iarg[5] = p->tolen; /* int */
769 *n_args = 6;
770 break;
771 }
772 /* shutdown */
773 case 134: {
774 struct shutdown_args *p = params;
775 iarg[0] = p->s; /* int */
776 iarg[1] = p->how; /* int */
777 *n_args = 2;
778 break;
779 }
780 /* socketpair */
781 case 135: {
782 struct socketpair_args *p = params;
783 iarg[0] = p->domain; /* int */
784 iarg[1] = p->type; /* int */
785 iarg[2] = p->protocol; /* int */
786 uarg[3] = (intptr_t) p->rsv; /* int * */
787 *n_args = 4;
788 break;
789 }
790 /* mkdir */
791 case 136: {
792 struct mkdir_args *p = params;
793 uarg[0] = (intptr_t) p->path; /* char * */
794 iarg[1] = p->mode; /* int */
795 *n_args = 2;
796 break;
797 }
798 /* rmdir */
799 case 137: {
800 struct rmdir_args *p = params;
801 uarg[0] = (intptr_t) p->path; /* char * */
802 *n_args = 1;
803 break;
804 }
805 /* freebsd32_utimes */
806 case 138: {
807 struct freebsd32_utimes_args *p = params;
808 uarg[0] = (intptr_t) p->path; /* char * */
809 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
810 *n_args = 2;
811 break;
812 }
813 /* freebsd32_adjtime */
814 case 140: {
815 struct freebsd32_adjtime_args *p = params;
816 uarg[0] = (intptr_t) p->delta; /* struct timeval32 * */
817 uarg[1] = (intptr_t) p->olddelta; /* struct timeval32 * */
818 *n_args = 2;
819 break;
820 }
821 /* setsid */
822 case 147: {
823 *n_args = 0;
824 break;
825 }
826 /* quotactl */
827 case 148: {
828 struct quotactl_args *p = params;
829 uarg[0] = (intptr_t) p->path; /* char * */
830 iarg[1] = p->cmd; /* int */
831 iarg[2] = p->uid; /* int */
832 uarg[3] = (intptr_t) p->arg; /* caddr_t */
833 *n_args = 4;
834 break;
835 }
836 /* getfh */
837 case 161: {
838 struct getfh_args *p = params;
839 uarg[0] = (intptr_t) p->fname; /* char * */
840 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
841 *n_args = 2;
842 break;
843 }
844 /* freebsd32_sysarch */
845 case 165: {
846 struct freebsd32_sysarch_args *p = params;
847 iarg[0] = p->op; /* int */
848 uarg[1] = (intptr_t) p->parms; /* char * */
849 *n_args = 2;
850 break;
851 }
852 /* rtprio */
853 case 166: {
854 struct rtprio_args *p = params;
855 iarg[0] = p->function; /* int */
856 iarg[1] = p->pid; /* pid_t */
857 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
858 *n_args = 3;
859 break;
860 }
861 /* freebsd32_semsys */
862 case 169: {
863 struct freebsd32_semsys_args *p = params;
864 iarg[0] = p->which; /* int */
865 iarg[1] = p->a2; /* int */
866 iarg[2] = p->a3; /* int */
867 iarg[3] = p->a4; /* int */
868 iarg[4] = p->a5; /* int */
869 *n_args = 5;
870 break;
871 }
872 /* freebsd32_msgsys */
873 case 170: {
874 struct freebsd32_msgsys_args *p = params;
875 iarg[0] = p->which; /* int */
876 iarg[1] = p->a2; /* int */
877 iarg[2] = p->a3; /* int */
878 iarg[3] = p->a4; /* int */
879 iarg[4] = p->a5; /* int */
880 iarg[5] = p->a6; /* int */
881 *n_args = 6;
882 break;
883 }
884 /* freebsd32_shmsys */
885 case 171: {
886 struct freebsd32_shmsys_args *p = params;
887 uarg[0] = p->which; /* uint32_t */
888 uarg[1] = p->a2; /* uint32_t */
889 uarg[2] = p->a3; /* uint32_t */
890 uarg[3] = p->a4; /* uint32_t */
891 *n_args = 4;
892 break;
893 }
894 /* ntp_adjtime */
895 case 176: {
896 struct ntp_adjtime_args *p = params;
897 uarg[0] = (intptr_t) p->tp; /* struct timex * */
898 *n_args = 1;
899 break;
900 }
901 /* setgid */
902 case 181: {
903 struct setgid_args *p = params;
904 iarg[0] = p->gid; /* gid_t */
905 *n_args = 1;
906 break;
907 }
908 /* setegid */
909 case 182: {
910 struct setegid_args *p = params;
911 iarg[0] = p->egid; /* gid_t */
912 *n_args = 1;
913 break;
914 }
915 /* seteuid */
916 case 183: {
917 struct seteuid_args *p = params;
918 uarg[0] = p->euid; /* uid_t */
919 *n_args = 1;
920 break;
921 }
922 /* freebsd32_stat */
923 case 188: {
924 struct freebsd32_stat_args *p = params;
925 uarg[0] = (intptr_t) p->path; /* char * */
926 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
927 *n_args = 2;
928 break;
929 }
930 /* freebsd32_fstat */
931 case 189: {
932 struct freebsd32_fstat_args *p = params;
933 iarg[0] = p->fd; /* int */
934 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
935 *n_args = 2;
936 break;
937 }
938 /* freebsd32_lstat */
939 case 190: {
940 struct freebsd32_lstat_args *p = params;
941 uarg[0] = (intptr_t) p->path; /* char * */
942 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
943 *n_args = 2;
944 break;
945 }
946 /* pathconf */
947 case 191: {
948 struct pathconf_args *p = params;
949 uarg[0] = (intptr_t) p->path; /* char * */
950 iarg[1] = p->name; /* int */
951 *n_args = 2;
952 break;
953 }
954 /* fpathconf */
955 case 192: {
956 struct fpathconf_args *p = params;
957 iarg[0] = p->fd; /* int */
958 iarg[1] = p->name; /* int */
959 *n_args = 2;
960 break;
961 }
962 /* getrlimit */
963 case 194: {
964 struct __getrlimit_args *p = params;
965 uarg[0] = p->which; /* u_int */
966 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
967 *n_args = 2;
968 break;
969 }
970 /* setrlimit */
971 case 195: {
972 struct __setrlimit_args *p = params;
973 uarg[0] = p->which; /* u_int */
974 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
975 *n_args = 2;
976 break;
977 }
978 /* freebsd32_getdirentries */
979 case 196: {
980 struct freebsd32_getdirentries_args *p = params;
981 iarg[0] = p->fd; /* int */
982 uarg[1] = (intptr_t) p->buf; /* char * */
983 uarg[2] = p->count; /* u_int */
984 uarg[3] = (intptr_t) p->basep; /* int32_t * */
985 *n_args = 4;
986 break;
987 }
988 /* nosys */
989 case 198: {
990 *n_args = 0;
991 break;
992 }
993 /* freebsd32_sysctl */
994 case 202: {
995 struct freebsd32_sysctl_args *p = params;
996 uarg[0] = (intptr_t) p->name; /* int * */
997 uarg[1] = p->namelen; /* u_int */
998 uarg[2] = (intptr_t) p->old; /* void * */
999 uarg[3] = (intptr_t) p->oldlenp; /* u_int32_t * */
1000 uarg[4] = (intptr_t) p->new; /* void * */
1001 uarg[5] = p->newlen; /* u_int32_t */
1002 *n_args = 6;
1003 break;
1004 }
1005 /* mlock */
1006 case 203: {
1007 struct mlock_args *p = params;
1008 uarg[0] = (intptr_t) p->addr; /* const void * */
1009 uarg[1] = p->len; /* size_t */
1010 *n_args = 2;
1011 break;
1012 }
1013 /* munlock */
1014 case 204: {
1015 struct munlock_args *p = params;
1016 uarg[0] = (intptr_t) p->addr; /* const void * */
1017 uarg[1] = p->len; /* size_t */
1018 *n_args = 2;
1019 break;
1020 }
1021 /* undelete */
1022 case 205: {
1023 struct undelete_args *p = params;
1024 uarg[0] = (intptr_t) p->path; /* char * */
1025 *n_args = 1;
1026 break;
1027 }
1028 /* freebsd32_futimes */
1029 case 206: {
1030 struct freebsd32_futimes_args *p = params;
1031 iarg[0] = p->fd; /* int */
1032 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
1033 *n_args = 2;
1034 break;
1035 }
1036 /* getpgid */
1037 case 207: {
1038 struct getpgid_args *p = params;
1039 iarg[0] = p->pid; /* pid_t */
1040 *n_args = 1;
1041 break;
1042 }
1043 /* poll */
1044 case 209: {
1045 struct poll_args *p = params;
1046 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1047 uarg[1] = p->nfds; /* u_int */
1048 iarg[2] = p->timeout; /* int */
1049 *n_args = 3;
1050 break;
1051 }
1052 /* lkmnosys */
1053 case 210: {
1054 *n_args = 0;
1055 break;
1056 }
1057 /* lkmnosys */
1058 case 211: {
1059 *n_args = 0;
1060 break;
1061 }
1062 /* lkmnosys */
1063 case 212: {
1064 *n_args = 0;
1065 break;
1066 }
1067 /* lkmnosys */
1068 case 213: {
1069 *n_args = 0;
1070 break;
1071 }
1072 /* lkmnosys */
1073 case 214: {
1074 *n_args = 0;
1075 break;
1076 }
1077 /* lkmnosys */
1078 case 215: {
1079 *n_args = 0;
1080 break;
1081 }
1082 /* lkmnosys */
1083 case 216: {
1084 *n_args = 0;
1085 break;
1086 }
1087 /* lkmnosys */
1088 case 217: {
1089 *n_args = 0;
1090 break;
1091 }
1092 /* lkmnosys */
1093 case 218: {
1094 *n_args = 0;
1095 break;
1096 }
1097 /* lkmnosys */
1098 case 219: {
1099 *n_args = 0;
1100 break;
1101 }
1102 /* semget */
1103 case 221: {
1104 struct semget_args *p = params;
1105 iarg[0] = p->key; /* key_t */
1106 iarg[1] = p->nsems; /* int */
1107 iarg[2] = p->semflg; /* int */
1108 *n_args = 3;
1109 break;
1110 }
1111 /* semop */
1112 case 222: {
1113 struct semop_args *p = params;
1114 iarg[0] = p->semid; /* int */
1115 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1116 uarg[2] = p->nsops; /* u_int */
1117 *n_args = 3;
1118 break;
1119 }
1120 /* msgget */
1121 case 225: {
1122 struct msgget_args *p = params;
1123 iarg[0] = p->key; /* key_t */
1124 iarg[1] = p->msgflg; /* int */
1125 *n_args = 2;
1126 break;
1127 }
1128 /* freebsd32_msgsnd */
1129 case 226: {
1130 struct freebsd32_msgsnd_args *p = params;
1131 iarg[0] = p->msqid; /* int */
1132 uarg[1] = (intptr_t) p->msgp; /* void * */
1133 uarg[2] = p->msgsz; /* size_t */
1134 iarg[3] = p->msgflg; /* int */
1135 *n_args = 4;
1136 break;
1137 }
1138 /* freebsd32_msgrcv */
1139 case 227: {
1140 struct freebsd32_msgrcv_args *p = params;
1141 iarg[0] = p->msqid; /* int */
1142 uarg[1] = (intptr_t) p->msgp; /* void * */
1143 uarg[2] = p->msgsz; /* size_t */
1144 iarg[3] = p->msgtyp; /* long */
1145 iarg[4] = p->msgflg; /* int */
1146 *n_args = 5;
1147 break;
1148 }
1149 /* shmat */
1150 case 228: {
1151 struct shmat_args *p = params;
1152 iarg[0] = p->shmid; /* int */
1153 uarg[1] = (intptr_t) p->shmaddr; /* void * */
1154 iarg[2] = p->shmflg; /* int */
1155 *n_args = 3;
1156 break;
1157 }
1158 /* shmdt */
1159 case 230: {
1160 struct shmdt_args *p = params;
1161 uarg[0] = (intptr_t) p->shmaddr; /* void * */
1162 *n_args = 1;
1163 break;
1164 }
1165 /* shmget */
1166 case 231: {
1167 struct shmget_args *p = params;
1168 iarg[0] = p->key; /* key_t */
1169 iarg[1] = p->size; /* int */
1170 iarg[2] = p->shmflg; /* int */
1171 *n_args = 3;
1172 break;
1173 }
1174 /* freebsd32_clock_gettime */
1175 case 232: {
1176 struct freebsd32_clock_gettime_args *p = params;
1177 iarg[0] = p->clock_id; /* clockid_t */
1178 uarg[1] = (intptr_t) p->tp; /* struct timespec32 * */
1179 *n_args = 2;
1180 break;
1181 }
1182 /* freebsd32_clock_settime */
1183 case 233: {
1184 struct freebsd32_clock_settime_args *p = params;
1185 iarg[0] = p->clock_id; /* clockid_t */
1186 uarg[1] = (intptr_t) p->tp; /* const struct timespec32 * */
1187 *n_args = 2;
1188 break;
1189 }
1190 /* freebsd32_clock_getres */
1191 case 234: {
1192 struct freebsd32_clock_getres_args *p = params;
1193 iarg[0] = p->clock_id; /* clockid_t */
1194 uarg[1] = (intptr_t) p->tp; /* struct timespec32 * */
1195 *n_args = 2;
1196 break;
1197 }
1198 /* freebsd32_nanosleep */
1199 case 240: {
1200 struct freebsd32_nanosleep_args *p = params;
1201 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec32 * */
1202 uarg[1] = (intptr_t) p->rmtp; /* struct timespec32 * */
1203 *n_args = 2;
1204 break;
1205 }
1206 /* minherit */
1207 case 250: {
1208 struct minherit_args *p = params;
1209 uarg[0] = (intptr_t) p->addr; /* void * */
1210 uarg[1] = p->len; /* size_t */
1211 iarg[2] = p->inherit; /* int */
1212 *n_args = 3;
1213 break;
1214 }
1215 /* rfork */
1216 case 251: {
1217 struct rfork_args *p = params;
1218 iarg[0] = p->flags; /* int */
1219 *n_args = 1;
1220 break;
1221 }
1222 /* openbsd_poll */
1223 case 252: {
1224 struct openbsd_poll_args *p = params;
1225 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1226 uarg[1] = p->nfds; /* u_int */
1227 iarg[2] = p->timeout; /* int */
1228 *n_args = 3;
1229 break;
1230 }
1231 /* issetugid */
1232 case 253: {
1233 *n_args = 0;
1234 break;
1235 }
1236 /* lchown */
1237 case 254: {
1238 struct lchown_args *p = params;
1239 uarg[0] = (intptr_t) p->path; /* char * */
1240 iarg[1] = p->uid; /* int */
1241 iarg[2] = p->gid; /* int */
1242 *n_args = 3;
1243 break;
1244 }
1245 /* freebsd32_aio_read */
1246 case 255: {
1247 struct freebsd32_aio_read_args *p = params;
1248 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1249 *n_args = 1;
1250 break;
1251 }
1252 /* freebsd32_aio_write */
1253 case 256: {
1254 struct freebsd32_aio_write_args *p = params;
1255 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1256 *n_args = 1;
1257 break;
1258 }
1259 /* freebsd32_lio_listio */
1260 case 257: {
1261 struct freebsd32_lio_listio_args *p = params;
1262 iarg[0] = p->mode; /* int */
1263 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb32 *const * */
1264 iarg[2] = p->nent; /* int */
1265 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1266 *n_args = 4;
1267 break;
1268 }
1269 /* getdents */
1270 case 272: {
1271 struct getdents_args *p = params;
1272 iarg[0] = p->fd; /* int */
1273 uarg[1] = (intptr_t) p->buf; /* char * */
1274 uarg[2] = p->count; /* size_t */
1275 *n_args = 3;
1276 break;
1277 }
1278 /* lchmod */
1279 case 274: {
1280 struct lchmod_args *p = params;
1281 uarg[0] = (intptr_t) p->path; /* char * */
1282 iarg[1] = p->mode; /* mode_t */
1283 *n_args = 2;
1284 break;
1285 }
1286 /* lchown */
1287 case 275: {
1288 struct lchown_args *p = params;
1289 uarg[0] = (intptr_t) p->path; /* char * */
1290 uarg[1] = p->uid; /* uid_t */
1291 iarg[2] = p->gid; /* gid_t */
1292 *n_args = 3;
1293 break;
1294 }
1295 /* freebsd32_lutimes */
1296 case 276: {
1297 struct freebsd32_lutimes_args *p = params;
1298 uarg[0] = (intptr_t) p->path; /* char * */
1299 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
1300 *n_args = 2;
1301 break;
1302 }
1303 /* msync */
1304 case 277: {
1305 struct msync_args *p = params;
1306 uarg[0] = (intptr_t) p->addr; /* void * */
1307 uarg[1] = p->len; /* size_t */
1308 iarg[2] = p->flags; /* int */
1309 *n_args = 3;
1310 break;
1311 }
1312 /* nstat */
1313 case 278: {
1314 struct nstat_args *p = params;
1315 uarg[0] = (intptr_t) p->path; /* char * */
1316 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1317 *n_args = 2;
1318 break;
1319 }
1320 /* nfstat */
1321 case 279: {
1322 struct nfstat_args *p = params;
1323 iarg[0] = p->fd; /* int */
1324 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1325 *n_args = 2;
1326 break;
1327 }
1328 /* nlstat */
1329 case 280: {
1330 struct nlstat_args *p = params;
1331 uarg[0] = (intptr_t) p->path; /* char * */
1332 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1333 *n_args = 2;
1334 break;
1335 }
1336 /* freebsd32_preadv */
1337 case 289: {
1338 struct freebsd32_preadv_args *p = params;
1339 iarg[0] = p->fd; /* int */
1340 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
1341 uarg[2] = p->iovcnt; /* u_int */
1342 uarg[3] = p->offset1; /* u_int32_t */
1343 uarg[4] = p->offset2; /* u_int32_t */
1344 *n_args = 5;
1345 break;
1346 }
1347 /* freebsd32_pwritev */
1348 case 290: {
1349 struct freebsd32_pwritev_args *p = params;
1350 iarg[0] = p->fd; /* int */
1351 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
1352 uarg[2] = p->iovcnt; /* u_int */
1353 uarg[3] = p->offset1; /* u_int32_t */
1354 uarg[4] = p->offset2; /* u_int32_t */
1355 *n_args = 5;
1356 break;
1357 }
1358 /* fhopen */
1359 case 298: {
1360 struct fhopen_args *p = params;
1361 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1362 iarg[1] = p->flags; /* int */
1363 *n_args = 2;
1364 break;
1365 }
1366 /* fhstat */
1367 case 299: {
1368 struct fhstat_args *p = params;
1369 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1370 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1371 *n_args = 2;
1372 break;
1373 }
1374 /* modnext */
1375 case 300: {
1376 struct modnext_args *p = params;
1377 iarg[0] = p->modid; /* int */
1378 *n_args = 1;
1379 break;
1380 }
1381 /* freebsd32_modstat */
1382 case 301: {
1383 struct freebsd32_modstat_args *p = params;
1384 iarg[0] = p->modid; /* int */
1385 uarg[1] = (intptr_t) p->stat; /* struct module_stat32 * */
1386 *n_args = 2;
1387 break;
1388 }
1389 /* modfnext */
1390 case 302: {
1391 struct modfnext_args *p = params;
1392 iarg[0] = p->modid; /* int */
1393 *n_args = 1;
1394 break;
1395 }
1396 /* modfind */
1397 case 303: {
1398 struct modfind_args *p = params;
1399 uarg[0] = (intptr_t) p->name; /* const char * */
1400 *n_args = 1;
1401 break;
1402 }
1403 /* kldload */
1404 case 304: {
1405 struct kldload_args *p = params;
1406 uarg[0] = (intptr_t) p->file; /* const char * */
1407 *n_args = 1;
1408 break;
1409 }
1410 /* kldunload */
1411 case 305: {
1412 struct kldunload_args *p = params;
1413 iarg[0] = p->fileid; /* int */
1414 *n_args = 1;
1415 break;
1416 }
1417 /* kldfind */
1418 case 306: {
1419 struct kldfind_args *p = params;
1420 uarg[0] = (intptr_t) p->file; /* const char * */
1421 *n_args = 1;
1422 break;
1423 }
1424 /* kldnext */
1425 case 307: {
1426 struct kldnext_args *p = params;
1427 iarg[0] = p->fileid; /* int */
1428 *n_args = 1;
1429 break;
1430 }
1431 /* freebsd32_kldstat */
1432 case 308: {
1433 struct freebsd32_kldstat_args *p = params;
1434 iarg[0] = p->fileid; /* int */
1435 uarg[1] = (intptr_t) p->stat; /* struct kld32_file_stat * */
1436 *n_args = 2;
1437 break;
1438 }
1439 /* kldfirstmod */
1440 case 309: {
1441 struct kldfirstmod_args *p = params;
1442 iarg[0] = p->fileid; /* int */
1443 *n_args = 1;
1444 break;
1445 }
1446 /* getsid */
1447 case 310: {
1448 struct getsid_args *p = params;
1449 iarg[0] = p->pid; /* pid_t */
1450 *n_args = 1;
1451 break;
1452 }
1453 /* setresuid */
1454 case 311: {
1455 struct setresuid_args *p = params;
1456 uarg[0] = p->ruid; /* uid_t */
1457 uarg[1] = p->euid; /* uid_t */
1458 uarg[2] = p->suid; /* uid_t */
1459 *n_args = 3;
1460 break;
1461 }
1462 /* setresgid */
1463 case 312: {
1464 struct setresgid_args *p = params;
1465 iarg[0] = p->rgid; /* gid_t */
1466 iarg[1] = p->egid; /* gid_t */
1467 iarg[2] = p->sgid; /* gid_t */
1468 *n_args = 3;
1469 break;
1470 }
1471 /* freebsd32_aio_return */
1472 case 314: {
1473 struct freebsd32_aio_return_args *p = params;
1474 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1475 *n_args = 1;
1476 break;
1477 }
1478 /* freebsd32_aio_suspend */
1479 case 315: {
1480 struct freebsd32_aio_suspend_args *p = params;
1481 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 *const * */
1482 iarg[1] = p->nent; /* int */
1483 uarg[2] = (intptr_t) p->timeout; /* const struct timespec32 * */
1484 *n_args = 3;
1485 break;
1486 }
1487 /* freebsd32_aio_cancel */
1488 case 316: {
1489 struct freebsd32_aio_cancel_args *p = params;
1490 iarg[0] = p->fd; /* int */
1491 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1492 *n_args = 2;
1493 break;
1494 }
1495 /* freebsd32_aio_error */
1496 case 317: {
1497 struct freebsd32_aio_error_args *p = params;
1498 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1499 *n_args = 1;
1500 break;
1501 }
1502 /* freebsd32_oaio_read */
1503 case 318: {
1504 struct freebsd32_oaio_read_args *p = params;
1505 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb32 * */
1506 *n_args = 1;
1507 break;
1508 }
1509 /* freebsd32_oaio_write */
1510 case 319: {
1511 struct freebsd32_oaio_write_args *p = params;
1512 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb32 * */
1513 *n_args = 1;
1514 break;
1515 }
1516 /* freebsd32_olio_listio */
1517 case 320: {
1518 struct freebsd32_olio_listio_args *p = params;
1519 iarg[0] = p->mode; /* int */
1520 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb32 *const * */
1521 iarg[2] = p->nent; /* int */
1522 uarg[3] = (intptr_t) p->sig; /* struct osigevent32 * */
1523 *n_args = 4;
1524 break;
1525 }
1526 /* yield */
1527 case 321: {
1528 *n_args = 0;
1529 break;
1530 }
1531 /* mlockall */
1532 case 324: {
1533 struct mlockall_args *p = params;
1534 iarg[0] = p->how; /* int */
1535 *n_args = 1;
1536 break;
1537 }
1538 /* munlockall */
1539 case 325: {
1540 *n_args = 0;
1541 break;
1542 }
1543 /* __getcwd */
1544 case 326: {
1545 struct __getcwd_args *p = params;
1546 uarg[0] = (intptr_t) p->buf; /* u_char * */
1547 uarg[1] = p->buflen; /* u_int */
1548 *n_args = 2;
1549 break;
1550 }
1551 /* sched_setparam */
1552 case 327: {
1553 struct sched_setparam_args *p = params;
1554 iarg[0] = p->pid; /* pid_t */
1555 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1556 *n_args = 2;
1557 break;
1558 }
1559 /* sched_getparam */
1560 case 328: {
1561 struct sched_getparam_args *p = params;
1562 iarg[0] = p->pid; /* pid_t */
1563 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1564 *n_args = 2;
1565 break;
1566 }
1567 /* sched_setscheduler */
1568 case 329: {
1569 struct sched_setscheduler_args *p = params;
1570 iarg[0] = p->pid; /* pid_t */
1571 iarg[1] = p->policy; /* int */
1572 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1573 *n_args = 3;
1574 break;
1575 }
1576 /* sched_getscheduler */
1577 case 330: {
1578 struct sched_getscheduler_args *p = params;
1579 iarg[0] = p->pid; /* pid_t */
1580 *n_args = 1;
1581 break;
1582 }
1583 /* sched_yield */
1584 case 331: {
1585 *n_args = 0;
1586 break;
1587 }
1588 /* sched_get_priority_max */
1589 case 332: {
1590 struct sched_get_priority_max_args *p = params;
1591 iarg[0] = p->policy; /* int */
1592 *n_args = 1;
1593 break;
1594 }
1595 /* sched_get_priority_min */
1596 case 333: {
1597 struct sched_get_priority_min_args *p = params;
1598 iarg[0] = p->policy; /* int */
1599 *n_args = 1;
1600 break;
1601 }
1602 /* sched_rr_get_interval */
1603 case 334: {
1604 struct sched_rr_get_interval_args *p = params;
1605 iarg[0] = p->pid; /* pid_t */
1606 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1607 *n_args = 2;
1608 break;
1609 }
1610 /* utrace */
1611 case 335: {
1612 struct utrace_args *p = params;
1613 uarg[0] = (intptr_t) p->addr; /* const void * */
1614 uarg[1] = p->len; /* size_t */
1615 *n_args = 2;
1616 break;
1617 }
1618 /* kldsym */
1619 case 337: {
1620 struct kldsym_args *p = params;
1621 iarg[0] = p->fileid; /* int */
1622 iarg[1] = p->cmd; /* int */
1623 uarg[2] = (intptr_t) p->data; /* void * */
1624 *n_args = 3;
1625 break;
1626 }
1627 /* freebsd32_jail */
1628 case 338: {
1629 struct freebsd32_jail_args *p = params;
1630 uarg[0] = (intptr_t) p->jail; /* struct jail32 * */
1631 *n_args = 1;
1632 break;
1633 }
1634 /* sigprocmask */
1635 case 340: {
1636 struct sigprocmask_args *p = params;
1637 iarg[0] = p->how; /* int */
1638 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1639 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1640 *n_args = 3;
1641 break;
1642 }
1643 /* sigsuspend */
1644 case 341: {
1645 struct sigsuspend_args *p = params;
1646 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1647 *n_args = 1;
1648 break;
1649 }
1650 /* sigpending */
1651 case 343: {
1652 struct sigpending_args *p = params;
1653 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1654 *n_args = 1;
1655 break;
1656 }
1657 /* freebsd32_sigtimedwait */
1658 case 345: {
1659 struct freebsd32_sigtimedwait_args *p = params;
1660 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1661 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1662 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1663 *n_args = 3;
1664 break;
1665 }
1666 /* freebsd32_sigwaitinfo */
1667 case 346: {
1668 struct freebsd32_sigwaitinfo_args *p = params;
1669 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1670 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1671 *n_args = 2;
1672 break;
1673 }
1674 /* __acl_get_file */
1675 case 347: {
1676 struct __acl_get_file_args *p = params;
1677 uarg[0] = (intptr_t) p->path; /* const char * */
1678 iarg[1] = p->type; /* acl_type_t */
1679 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1680 *n_args = 3;
1681 break;
1682 }
1683 /* __acl_set_file */
1684 case 348: {
1685 struct __acl_set_file_args *p = params;
1686 uarg[0] = (intptr_t) p->path; /* const char * */
1687 iarg[1] = p->type; /* acl_type_t */
1688 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1689 *n_args = 3;
1690 break;
1691 }
1692 /* __acl_get_fd */
1693 case 349: {
1694 struct __acl_get_fd_args *p = params;
1695 iarg[0] = p->filedes; /* int */
1696 iarg[1] = p->type; /* acl_type_t */
1697 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1698 *n_args = 3;
1699 break;
1700 }
1701 /* __acl_set_fd */
1702 case 350: {
1703 struct __acl_set_fd_args *p = params;
1704 iarg[0] = p->filedes; /* int */
1705 iarg[1] = p->type; /* acl_type_t */
1706 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1707 *n_args = 3;
1708 break;
1709 }
1710 /* __acl_delete_file */
1711 case 351: {
1712 struct __acl_delete_file_args *p = params;
1713 uarg[0] = (intptr_t) p->path; /* const char * */
1714 iarg[1] = p->type; /* acl_type_t */
1715 *n_args = 2;
1716 break;
1717 }
1718 /* __acl_delete_fd */
1719 case 352: {
1720 struct __acl_delete_fd_args *p = params;
1721 iarg[0] = p->filedes; /* int */
1722 iarg[1] = p->type; /* acl_type_t */
1723 *n_args = 2;
1724 break;
1725 }
1726 /* __acl_aclcheck_file */
1727 case 353: {
1728 struct __acl_aclcheck_file_args *p = params;
1729 uarg[0] = (intptr_t) p->path; /* const char * */
1730 iarg[1] = p->type; /* acl_type_t */
1731 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1732 *n_args = 3;
1733 break;
1734 }
1735 /* __acl_aclcheck_fd */
1736 case 354: {
1737 struct __acl_aclcheck_fd_args *p = params;
1738 iarg[0] = p->filedes; /* int */
1739 iarg[1] = p->type; /* acl_type_t */
1740 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1741 *n_args = 3;
1742 break;
1743 }
1744 /* extattrctl */
1745 case 355: {
1746 struct extattrctl_args *p = params;
1747 uarg[0] = (intptr_t) p->path; /* const char * */
1748 iarg[1] = p->cmd; /* int */
1749 uarg[2] = (intptr_t) p->filename; /* const char * */
1750 iarg[3] = p->attrnamespace; /* int */
1751 uarg[4] = (intptr_t) p->attrname; /* const char * */
1752 *n_args = 5;
1753 break;
1754 }
1755 /* extattr_set_file */
1756 case 356: {
1757 struct extattr_set_file_args *p = params;
1758 uarg[0] = (intptr_t) p->path; /* const char * */
1759 iarg[1] = p->attrnamespace; /* int */
1760 uarg[2] = (intptr_t) p->attrname; /* const char * */
1761 uarg[3] = (intptr_t) p->data; /* void * */
1762 uarg[4] = p->nbytes; /* size_t */
1763 *n_args = 5;
1764 break;
1765 }
1766 /* extattr_get_file */
1767 case 357: {
1768 struct extattr_get_file_args *p = params;
1769 uarg[0] = (intptr_t) p->path; /* const char * */
1770 iarg[1] = p->attrnamespace; /* int */
1771 uarg[2] = (intptr_t) p->attrname; /* const char * */
1772 uarg[3] = (intptr_t) p->data; /* void * */
1773 uarg[4] = p->nbytes; /* size_t */
1774 *n_args = 5;
1775 break;
1776 }
1777 /* extattr_delete_file */
1778 case 358: {
1779 struct extattr_delete_file_args *p = params;
1780 uarg[0] = (intptr_t) p->path; /* const char * */
1781 iarg[1] = p->attrnamespace; /* int */
1782 uarg[2] = (intptr_t) p->attrname; /* const char * */
1783 *n_args = 3;
1784 break;
1785 }
1786 /* freebsd32_aio_waitcomplete */
1787 case 359: {
1788 struct freebsd32_aio_waitcomplete_args *p = params;
1789 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 ** */
1790 uarg[1] = (intptr_t) p->timeout; /* struct timespec32 * */
1791 *n_args = 2;
1792 break;
1793 }
1794 /* getresuid */
1795 case 360: {
1796 struct getresuid_args *p = params;
1797 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1798 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1799 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1800 *n_args = 3;
1801 break;
1802 }
1803 /* getresgid */
1804 case 361: {
1805 struct getresgid_args *p = params;
1806 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1807 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1808 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1809 *n_args = 3;
1810 break;
1811 }
1812 /* kqueue */
1813 case 362: {
1814 *n_args = 0;
1815 break;
1816 }
1817 /* freebsd32_kevent */
1818 case 363: {
1819 struct freebsd32_kevent_args *p = params;
1820 iarg[0] = p->fd; /* int */
1821 uarg[1] = (intptr_t) p->changelist; /* const struct kevent32 * */
1822 iarg[2] = p->nchanges; /* int */
1823 uarg[3] = (intptr_t) p->eventlist; /* struct kevent32 * */
1824 iarg[4] = p->nevents; /* int */
1825 uarg[5] = (intptr_t) p->timeout; /* const struct timespec32 * */
1826 *n_args = 6;
1827 break;
1828 }
1829 /* extattr_set_fd */
1830 case 371: {
1831 struct extattr_set_fd_args *p = params;
1832 iarg[0] = p->fd; /* int */
1833 iarg[1] = p->attrnamespace; /* int */
1834 uarg[2] = (intptr_t) p->attrname; /* const char * */
1835 uarg[3] = (intptr_t) p->data; /* void * */
1836 uarg[4] = p->nbytes; /* size_t */
1837 *n_args = 5;
1838 break;
1839 }
1840 /* extattr_get_fd */
1841 case 372: {
1842 struct extattr_get_fd_args *p = params;
1843 iarg[0] = p->fd; /* int */
1844 iarg[1] = p->attrnamespace; /* int */
1845 uarg[2] = (intptr_t) p->attrname; /* const char * */
1846 uarg[3] = (intptr_t) p->data; /* void * */
1847 uarg[4] = p->nbytes; /* size_t */
1848 *n_args = 5;
1849 break;
1850 }
1851 /* extattr_delete_fd */
1852 case 373: {
1853 struct extattr_delete_fd_args *p = params;
1854 iarg[0] = p->fd; /* int */
1855 iarg[1] = p->attrnamespace; /* int */
1856 uarg[2] = (intptr_t) p->attrname; /* const char * */
1857 *n_args = 3;
1858 break;
1859 }
1860 /* __setugid */
1861 case 374: {
1862 struct __setugid_args *p = params;
1863 iarg[0] = p->flag; /* int */
1864 *n_args = 1;
1865 break;
1866 }
1867 /* eaccess */
1868 case 376: {
1869 struct eaccess_args *p = params;
1870 uarg[0] = (intptr_t) p->path; /* char * */
1871 iarg[1] = p->flags; /* int */
1872 *n_args = 2;
1873 break;
1874 }
1875 /* freebsd32_nmount */
1876 case 378: {
1877 struct freebsd32_nmount_args *p = params;
1878 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
1879 uarg[1] = p->iovcnt; /* unsigned int */
1880 iarg[2] = p->flags; /* int */
1881 *n_args = 3;
1882 break;
1883 }
1884 /* kenv */
1885 case 390: {
1886 struct kenv_args *p = params;
1887 iarg[0] = p->what; /* int */
1888 uarg[1] = (intptr_t) p->name; /* const char * */
1889 uarg[2] = (intptr_t) p->value; /* char * */
1890 iarg[3] = p->len; /* int */
1891 *n_args = 4;
1892 break;
1893 }
1894 /* lchflags */
1895 case 391: {
1896 struct lchflags_args *p = params;
1897 uarg[0] = (intptr_t) p->path; /* const char * */
1898 iarg[1] = p->flags; /* int */
1899 *n_args = 2;
1900 break;
1901 }
1902 /* uuidgen */
1903 case 392: {
1904 struct uuidgen_args *p = params;
1905 uarg[0] = (intptr_t) p->store; /* struct uuid * */
1906 iarg[1] = p->count; /* int */
1907 *n_args = 2;
1908 break;
1909 }
1910 /* freebsd32_sendfile */
1911 case 393: {
1912 struct freebsd32_sendfile_args *p = params;
1913 iarg[0] = p->fd; /* int */
1914 iarg[1] = p->s; /* int */
1915 uarg[2] = p->offset1; /* u_int32_t */
1916 uarg[3] = p->offset2; /* u_int32_t */
1917 uarg[4] = p->nbytes; /* size_t */
1918 uarg[5] = (intptr_t) p->hdtr; /* struct sf_hdtr32 * */
1919 uarg[6] = (intptr_t) p->sbytes; /* off_t * */
1920 iarg[7] = p->flags; /* int */
1921 *n_args = 8;
1922 break;
1923 }
1924 /* getfsstat */
1925 case 395: {
1926 struct getfsstat_args *p = params;
1927 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
1928 iarg[1] = p->bufsize; /* long */
1929 iarg[2] = p->flags; /* int */
1930 *n_args = 3;
1931 break;
1932 }
1933 /* statfs */
1934 case 396: {
1935 struct statfs_args *p = params;
1936 uarg[0] = (intptr_t) p->path; /* char * */
1937 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
1938 *n_args = 2;
1939 break;
1940 }
1941 /* fstatfs */
1942 case 397: {
1943 struct fstatfs_args *p = params;
1944 iarg[0] = p->fd; /* int */
1945 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
1946 *n_args = 2;
1947 break;
1948 }
1949 /* fhstatfs */
1950 case 398: {
1951 struct fhstatfs_args *p = params;
1952 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1953 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
1954 *n_args = 2;
1955 break;
1956 }
1957 /* ksem_close */
1958 case 400: {
1959 struct ksem_close_args *p = params;
1960 iarg[0] = p->id; /* semid_t */
1961 *n_args = 1;
1962 break;
1963 }
1964 /* ksem_post */
1965 case 401: {
1966 struct ksem_post_args *p = params;
1967 iarg[0] = p->id; /* semid_t */
1968 *n_args = 1;
1969 break;
1970 }
1971 /* ksem_wait */
1972 case 402: {
1973 struct ksem_wait_args *p = params;
1974 iarg[0] = p->id; /* semid_t */
1975 *n_args = 1;
1976 break;
1977 }
1978 /* ksem_trywait */
1979 case 403: {
1980 struct ksem_trywait_args *p = params;
1981 iarg[0] = p->id; /* semid_t */
1982 *n_args = 1;
1983 break;
1984 }
1985 /* freebsd32_ksem_init */
1986 case 404: {
1987 struct freebsd32_ksem_init_args *p = params;
1988 uarg[0] = (intptr_t) p->idp; /* semid_t * */
1989 uarg[1] = p->value; /* unsigned int */
1990 *n_args = 2;
1991 break;
1992 }
1993 /* freebsd32_ksem_open */
1994 case 405: {
1995 struct freebsd32_ksem_open_args *p = params;
1996 uarg[0] = (intptr_t) p->idp; /* semid_t * */
1997 uarg[1] = (intptr_t) p->name; /* const char * */
1998 iarg[2] = p->oflag; /* int */
1999 iarg[3] = p->mode; /* mode_t */
2000 uarg[4] = p->value; /* unsigned int */
2001 *n_args = 5;
2002 break;
2003 }
2004 /* ksem_unlink */
2005 case 406: {
2006 struct ksem_unlink_args *p = params;
2007 uarg[0] = (intptr_t) p->name; /* const char * */
2008 *n_args = 1;
2009 break;
2010 }
2011 /* ksem_getvalue */
2012 case 407: {
2013 struct ksem_getvalue_args *p = params;
2014 iarg[0] = p->id; /* semid_t */
2015 uarg[1] = (intptr_t) p->val; /* int * */
2016 *n_args = 2;
2017 break;
2018 }
2019 /* ksem_destroy */
2020 case 408: {
2021 struct ksem_destroy_args *p = params;
2022 iarg[0] = p->id; /* semid_t */
2023 *n_args = 1;
2024 break;
2025 }
2026 /* extattr_set_link */
2027 case 412: {
2028 struct extattr_set_link_args *p = params;
2029 uarg[0] = (intptr_t) p->path; /* const char * */
2030 iarg[1] = p->attrnamespace; /* int */
2031 uarg[2] = (intptr_t) p->attrname; /* const char * */
2032 uarg[3] = (intptr_t) p->data; /* void * */
2033 uarg[4] = p->nbytes; /* size_t */
2034 *n_args = 5;
2035 break;
2036 }
2037 /* extattr_get_link */
2038 case 413: {
2039 struct extattr_get_link_args *p = params;
2040 uarg[0] = (intptr_t) p->path; /* const char * */
2041 iarg[1] = p->attrnamespace; /* int */
2042 uarg[2] = (intptr_t) p->attrname; /* const char * */
2043 uarg[3] = (intptr_t) p->data; /* void * */
2044 uarg[4] = p->nbytes; /* size_t */
2045 *n_args = 5;
2046 break;
2047 }
2048 /* extattr_delete_link */
2049 case 414: {
2050 struct extattr_delete_link_args *p = params;
2051 uarg[0] = (intptr_t) p->path; /* const char * */
2052 iarg[1] = p->attrnamespace; /* int */
2053 uarg[2] = (intptr_t) p->attrname; /* const char * */
2054 *n_args = 3;
2055 break;
2056 }
2057 /* freebsd32_sigaction */
2058 case 416: {
2059 struct freebsd32_sigaction_args *p = params;
2060 iarg[0] = p->sig; /* int */
2061 uarg[1] = (intptr_t) p->act; /* struct sigaction32 * */
2062 uarg[2] = (intptr_t) p->oact; /* struct sigaction32 * */
2063 *n_args = 3;
2064 break;
2065 }
2066 /* freebsd32_sigreturn */
2067 case 417: {
2068 struct freebsd32_sigreturn_args *p = params;
2069 uarg[0] = (intptr_t) p->sigcntxp; /* const struct freebsd32_ucontext * */
2070 *n_args = 1;
2071 break;
2072 }
2073 /* freebsd32_getcontext */
2074 case 421: {
2075 struct freebsd32_getcontext_args *p = params;
2076 uarg[0] = (intptr_t) p->ucp; /* struct freebsd32_ucontext * */
2077 *n_args = 1;
2078 break;
2079 }
2080 /* freebsd32_setcontext */
2081 case 422: {
2082 struct freebsd32_setcontext_args *p = params;
2083 uarg[0] = (intptr_t) p->ucp; /* const struct freebsd32_ucontext * */
2084 *n_args = 1;
2085 break;
2086 }
2087 /* freebsd32_swapcontext */
2088 case 423: {
2089 struct freebsd32_swapcontext_args *p = params;
2090 uarg[0] = (intptr_t) p->oucp; /* struct freebsd32_ucontext * */
2091 uarg[1] = (intptr_t) p->ucp; /* const struct freebsd32_ucontext * */
2092 *n_args = 2;
2093 break;
2094 }
2095 /* __acl_get_link */
2096 case 425: {
2097 struct __acl_get_link_args *p = params;
2098 uarg[0] = (intptr_t) p->path; /* const char * */
2099 iarg[1] = p->type; /* acl_type_t */
2100 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2101 *n_args = 3;
2102 break;
2103 }
2104 /* __acl_set_link */
2105 case 426: {
2106 struct __acl_set_link_args *p = params;
2107 uarg[0] = (intptr_t) p->path; /* const char * */
2108 iarg[1] = p->type; /* acl_type_t */
2109 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2110 *n_args = 3;
2111 break;
2112 }
2113 /* __acl_delete_link */
2114 case 427: {
2115 struct __acl_delete_link_args *p = params;
2116 uarg[0] = (intptr_t) p->path; /* const char * */
2117 iarg[1] = p->type; /* acl_type_t */
2118 *n_args = 2;
2119 break;
2120 }
2121 /* __acl_aclcheck_link */
2122 case 428: {
2123 struct __acl_aclcheck_link_args *p = params;
2124 uarg[0] = (intptr_t) p->path; /* const char * */
2125 iarg[1] = p->type; /* acl_type_t */
2126 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2127 *n_args = 3;
2128 break;
2129 }
2130 /* sigwait */
2131 case 429: {
2132 struct sigwait_args *p = params;
2133 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2134 uarg[1] = (intptr_t) p->sig; /* int * */
2135 *n_args = 2;
2136 break;
2137 }
2138 /* thr_exit */
2139 case 431: {
2140 struct thr_exit_args *p = params;
2141 uarg[0] = (intptr_t) p->state; /* long * */
2142 *n_args = 1;
2143 break;
2144 }
2145 /* thr_self */
2146 case 432: {
2147 struct thr_self_args *p = params;
2148 uarg[0] = (intptr_t) p->id; /* long * */
2149 *n_args = 1;
2150 break;
2151 }
2152 /* thr_kill */
2153 case 433: {
2154 struct thr_kill_args *p = params;
2155 iarg[0] = p->id; /* long */
2156 iarg[1] = p->sig; /* int */
2157 *n_args = 2;
2158 break;
2159 }
2160 /* freebsd32_umtx_lock */
2161 case 434: {
2162 struct freebsd32_umtx_lock_args *p = params;
2163 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2164 *n_args = 1;
2165 break;
2166 }
2167 /* freebsd32_umtx_unlock */
2168 case 435: {
2169 struct freebsd32_umtx_unlock_args *p = params;
2170 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2171 *n_args = 1;
2172 break;
2173 }
2174 /* jail_attach */
2175 case 436: {
2176 struct jail_attach_args *p = params;
2177 iarg[0] = p->jid; /* int */
2178 *n_args = 1;
2179 break;
2180 }
2181 /* extattr_list_fd */
2182 case 437: {
2183 struct extattr_list_fd_args *p = params;
2184 iarg[0] = p->fd; /* int */
2185 iarg[1] = p->attrnamespace; /* int */
2186 uarg[2] = (intptr_t) p->data; /* void * */
2187 uarg[3] = p->nbytes; /* size_t */
2188 *n_args = 4;
2189 break;
2190 }
2191 /* extattr_list_file */
2192 case 438: {
2193 struct extattr_list_file_args *p = params;
2194 uarg[0] = (intptr_t) p->path; /* const char * */
2195 iarg[1] = p->attrnamespace; /* int */
2196 uarg[2] = (intptr_t) p->data; /* void * */
2197 uarg[3] = p->nbytes; /* size_t */
2198 *n_args = 4;
2199 break;
2200 }
2201 /* extattr_list_link */
2202 case 439: {
2203 struct extattr_list_link_args *p = params;
2204 uarg[0] = (intptr_t) p->path; /* const char * */
2205 iarg[1] = p->attrnamespace; /* int */
2206 uarg[2] = (intptr_t) p->data; /* void * */
2207 uarg[3] = p->nbytes; /* size_t */
2208 *n_args = 4;
2209 break;
2210 }
2211 /* freebsd32_ksem_timedwait */
2212 case 441: {
2213 struct freebsd32_ksem_timedwait_args *p = params;
2214 iarg[0] = p->id; /* semid_t */
2215 uarg[1] = (intptr_t) p->abstime; /* const struct timespec32 * */
2216 *n_args = 2;
2217 break;
2218 }
2219 /* freebsd32_thr_suspend */
2220 case 442: {
2221 struct freebsd32_thr_suspend_args *p = params;
2222 uarg[0] = (intptr_t) p->timeout; /* const struct timespec32 * */
2223 *n_args = 1;
2224 break;
2225 }
2226 /* thr_wake */
2227 case 443: {
2228 struct thr_wake_args *p = params;
2229 iarg[0] = p->id; /* long */
2230 *n_args = 1;
2231 break;
2232 }
2233 /* kldunloadf */
2234 case 444: {
2235 struct kldunloadf_args *p = params;
2236 iarg[0] = p->fileid; /* int */
2237 iarg[1] = p->flags; /* int */
2238 *n_args = 2;
2239 break;
2240 }
2241 /* audit */
2242 case 445: {
2243 struct audit_args *p = params;
2244 uarg[0] = (intptr_t) p->record; /* const void * */
2245 uarg[1] = p->length; /* u_int */
2246 *n_args = 2;
2247 break;
2248 }
2249 /* auditon */
2250 case 446: {
2251 struct auditon_args *p = params;
2252 iarg[0] = p->cmd; /* int */
2253 uarg[1] = (intptr_t) p->data; /* void * */
2254 uarg[2] = p->length; /* u_int */
2255 *n_args = 3;
2256 break;
2257 }
2258 /* getauid */
2259 case 447: {
2260 struct getauid_args *p = params;
2261 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2262 *n_args = 1;
2263 break;
2264 }
2265 /* setauid */
2266 case 448: {
2267 struct setauid_args *p = params;
2268 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2269 *n_args = 1;
2270 break;
2271 }
2272 /* getaudit */
2273 case 449: {
2274 struct getaudit_args *p = params;
2275 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2276 *n_args = 1;
2277 break;
2278 }
2279 /* setaudit */
2280 case 450: {
2281 struct setaudit_args *p = params;
2282 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2283 *n_args = 1;
2284 break;
2285 }
2286 /* getaudit_addr */
2287 case 451: {
2288 struct getaudit_addr_args *p = params;
2289 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2290 uarg[1] = p->length; /* u_int */
2291 *n_args = 2;
2292 break;
2293 }
2294 /* setaudit_addr */
2295 case 452: {
2296 struct setaudit_addr_args *p = params;
2297 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2298 uarg[1] = p->length; /* u_int */
2299 *n_args = 2;
2300 break;
2301 }
2302 /* auditctl */
2303 case 453: {
2304 struct auditctl_args *p = params;
2305 uarg[0] = (intptr_t) p->path; /* char * */
2306 *n_args = 1;
2307 break;
2308 }
2309 /* freebsd32_umtx_op */
2310 case 454: {
2311 struct freebsd32_umtx_op_args *p = params;
2312 uarg[0] = (intptr_t) p->obj; /* void * */
2313 iarg[1] = p->op; /* int */
2314 uarg[2] = p->val; /* u_long */
2315 uarg[3] = (intptr_t) p->uaddr; /* void * */
2316 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2317 *n_args = 5;
2318 break;
2319 }
2320 /* freebsd32_thr_new */
2321 case 455: {
2322 struct freebsd32_thr_new_args *p = params;
2323 uarg[0] = (intptr_t) p->param; /* struct thr_param32 * */
2324 iarg[1] = p->param_size; /* int */
2325 *n_args = 2;
2326 break;
2327 }
2328 /* sigqueue */
2329 case 456: {
2330 struct sigqueue_args *p = params;
2331 iarg[0] = p->pid; /* pid_t */
2332 iarg[1] = p->signum; /* int */
2333 uarg[2] = (intptr_t) p->value; /* void * */
2334 *n_args = 3;
2335 break;
2336 }
2337 /* freebsd32_kmq_open */
2338 case 457: {
2339 struct freebsd32_kmq_open_args *p = params;
2340 uarg[0] = (intptr_t) p->path; /* const char * */
2341 iarg[1] = p->flags; /* int */
2342 iarg[2] = p->mode; /* mode_t */
2343 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr32 * */
2344 *n_args = 4;
2345 break;
2346 }
2347 /* freebsd32_kmq_setattr */
2348 case 458: {
2349 struct freebsd32_kmq_setattr_args *p = params;
2350 iarg[0] = p->mqd; /* int */
2351 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr32 * */
2352 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr32 * */
2353 *n_args = 3;
2354 break;
2355 }
2356 /* freebsd32_kmq_timedreceive */
2357 case 459: {
2358 struct freebsd32_kmq_timedreceive_args *p = params;
2359 iarg[0] = p->mqd; /* int */
2360 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2361 uarg[2] = p->msg_len; /* size_t */
2362 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2363 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec32 * */
2364 *n_args = 5;
2365 break;
2366 }
2367 /* freebsd32_kmq_timedsend */
2368 case 460: {
2369 struct freebsd32_kmq_timedsend_args *p = params;
2370 iarg[0] = p->mqd; /* int */
2371 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2372 uarg[2] = p->msg_len; /* size_t */
2373 uarg[3] = p->msg_prio; /* unsigned */
2374 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec32 * */
2375 *n_args = 5;
2376 break;
2377 }
2378 /* kmq_notify */
2379 case 461: {
2380 struct kmq_notify_args *p = params;
2381 iarg[0] = p->mqd; /* int */
2382 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2383 *n_args = 2;
2384 break;
2385 }
2386 /* kmq_unlink */
2387 case 462: {
2388 struct kmq_unlink_args *p = params;
2389 uarg[0] = (intptr_t) p->path; /* const char * */
2390 *n_args = 1;
2391 break;
2392 }
2393 /* abort2 */
2394 case 463: {
2395 struct abort2_args *p = params;
2396 uarg[0] = (intptr_t) p->why; /* const char * */
2397 iarg[1] = p->nargs; /* int */
2398 uarg[2] = (intptr_t) p->args; /* void ** */
2399 *n_args = 3;
2400 break;
2401 }
2402 /* thr_set_name */
2403 case 464: {
2404 struct thr_set_name_args *p = params;
2405 iarg[0] = p->id; /* long */
2406 uarg[1] = (intptr_t) p->name; /* const char * */
2407 *n_args = 2;
2408 break;
2409 }
2410 /* freebsd32_aio_fsync */
2411 case 465: {
2412 struct freebsd32_aio_fsync_args *p = params;
2413 iarg[0] = p->op; /* int */
2414 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
2415 *n_args = 2;
2416 break;
2417 }
2418 /* rtprio_thread */
2419 case 466: {
2420 struct rtprio_thread_args *p = params;
2421 iarg[0] = p->function; /* int */
2422 iarg[1] = p->lwpid; /* lwpid_t */
2423 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2424 *n_args = 3;
2425 break;
2426 }
2427 /* sctp_peeloff */
2428 case 471: {
2429 struct sctp_peeloff_args *p = params;
2430 iarg[0] = p->sd; /* int */
2431 uarg[1] = p->name; /* uint32_t */
2432 *n_args = 2;
2433 break;
2434 }
2435 /* sctp_generic_sendmsg */
2436 case 472: {
2437 struct sctp_generic_sendmsg_args *p = params;
2438 iarg[0] = p->sd; /* int */
2439 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2440 iarg[2] = p->mlen; /* int */
2441 uarg[3] = (intptr_t) p->to; /* caddr_t */
2442 iarg[4] = p->tolen; /* __socklen_t */
2443 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2444 iarg[6] = p->flags; /* int */
2445 *n_args = 7;
2446 break;
2447 }
2448 /* sctp_generic_sendmsg_iov */
2449 case 473: {
2450 struct sctp_generic_sendmsg_iov_args *p = params;
2451 iarg[0] = p->sd; /* int */
2452 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2453 iarg[2] = p->iovlen; /* int */
2454 uarg[3] = (intptr_t) p->to; /* caddr_t */
2455 iarg[4] = p->tolen; /* __socklen_t */
2456 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2457 iarg[6] = p->flags; /* int */
2458 *n_args = 7;
2459 break;
2460 }
2461 /* sctp_generic_recvmsg */
2462 case 474: {
2463 struct sctp_generic_recvmsg_args *p = params;
2464 iarg[0] = p->sd; /* int */
2465 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2466 iarg[2] = p->iovlen; /* int */
2467 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2468 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2469 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2470 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2471 *n_args = 7;
2472 break;
2473 }
2474 #ifdef PAD64_REQUIRED
2475 /* freebsd32_pread */
2476 case 475: {
2477 struct freebsd32_pread_args *p = params;
2478 iarg[0] = p->fd; /* int */
2479 uarg[1] = (intptr_t) p->buf; /* void * */
2480 uarg[2] = p->nbyte; /* size_t */
2481 iarg[3] = p->pad; /* int */
2482 uarg[4] = p->offset1; /* u_int32_t */
2483 uarg[5] = p->offset2; /* u_int32_t */
2484 *n_args = 6;
2485 break;
2486 }
2487 /* freebsd32_pwrite */
2488 case 476: {
2489 struct freebsd32_pwrite_args *p = params;
2490 iarg[0] = p->fd; /* int */
2491 uarg[1] = (intptr_t) p->buf; /* const void * */
2492 uarg[2] = p->nbyte; /* size_t */
2493 iarg[3] = p->pad; /* int */
2494 uarg[4] = p->offset1; /* u_int32_t */
2495 uarg[5] = p->offset2; /* u_int32_t */
2496 *n_args = 6;
2497 break;
2498 }
2499 /* freebsd32_mmap */
2500 case 477: {
2501 struct freebsd32_mmap_args *p = params;
2502 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2503 uarg[1] = p->len; /* size_t */
2504 iarg[2] = p->prot; /* int */
2505 iarg[3] = p->flags; /* int */
2506 iarg[4] = p->fd; /* int */
2507 iarg[5] = p->pad; /* int */
2508 uarg[6] = p->pos1; /* u_int32_t */
2509 uarg[7] = p->pos2; /* u_int32_t */
2510 *n_args = 8;
2511 break;
2512 }
2513 /* freebsd32_lseek */
2514 case 478: {
2515 struct freebsd32_lseek_args *p = params;
2516 iarg[0] = p->fd; /* int */
2517 iarg[1] = p->pad; /* int */
2518 uarg[2] = p->offset1; /* u_int32_t */
2519 uarg[3] = p->offset2; /* u_int32_t */
2520 iarg[4] = p->whence; /* int */
2521 *n_args = 5;
2522 break;
2523 }
2524 /* freebsd32_truncate */
2525 case 479: {
2526 struct freebsd32_truncate_args *p = params;
2527 uarg[0] = (intptr_t) p->path; /* char * */
2528 iarg[1] = p->pad; /* int */
2529 uarg[2] = p->length1; /* u_int32_t */
2530 uarg[3] = p->length2; /* u_int32_t */
2531 *n_args = 4;
2532 break;
2533 }
2534 /* freebsd32_ftruncate */
2535 case 480: {
2536 struct freebsd32_ftruncate_args *p = params;
2537 iarg[0] = p->fd; /* int */
2538 iarg[1] = p->pad; /* int */
2539 uarg[2] = p->length1; /* u_int32_t */
2540 uarg[3] = p->length2; /* u_int32_t */
2541 *n_args = 4;
2542 break;
2543 }
2544 #else
2545 /* freebsd32_pread */
2546 case 475: {
2547 struct freebsd32_pread_args *p = params;
2548 iarg[0] = p->fd; /* int */
2549 uarg[1] = (intptr_t) p->buf; /* void * */
2550 uarg[2] = p->nbyte; /* size_t */
2551 uarg[3] = p->offset1; /* u_int32_t */
2552 uarg[4] = p->offset2; /* u_int32_t */
2553 *n_args = 5;
2554 break;
2555 }
2556 /* freebsd32_pwrite */
2557 case 476: {
2558 struct freebsd32_pwrite_args *p = params;
2559 iarg[0] = p->fd; /* int */
2560 uarg[1] = (intptr_t) p->buf; /* const void * */
2561 uarg[2] = p->nbyte; /* size_t */
2562 uarg[3] = p->offset1; /* u_int32_t */
2563 uarg[4] = p->offset2; /* u_int32_t */
2564 *n_args = 5;
2565 break;
2566 }
2567 /* freebsd32_mmap */
2568 case 477: {
2569 struct freebsd32_mmap_args *p = params;
2570 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2571 uarg[1] = p->len; /* size_t */
2572 iarg[2] = p->prot; /* int */
2573 iarg[3] = p->flags; /* int */
2574 iarg[4] = p->fd; /* int */
2575 uarg[5] = p->pos1; /* u_int32_t */
2576 uarg[6] = p->pos2; /* u_int32_t */
2577 *n_args = 7;
2578 break;
2579 }
2580 /* freebsd32_lseek */
2581 case 478: {
2582 struct freebsd32_lseek_args *p = params;
2583 iarg[0] = p->fd; /* int */
2584 uarg[1] = p->offset1; /* u_int32_t */
2585 uarg[2] = p->offset2; /* u_int32_t */
2586 iarg[3] = p->whence; /* int */
2587 *n_args = 4;
2588 break;
2589 }
2590 /* freebsd32_truncate */
2591 case 479: {
2592 struct freebsd32_truncate_args *p = params;
2593 uarg[0] = (intptr_t) p->path; /* char * */
2594 uarg[1] = p->length1; /* u_int32_t */
2595 uarg[2] = p->length2; /* u_int32_t */
2596 *n_args = 3;
2597 break;
2598 }
2599 /* freebsd32_ftruncate */
2600 case 480: {
2601 struct freebsd32_ftruncate_args *p = params;
2602 iarg[0] = p->fd; /* int */
2603 uarg[1] = p->length1; /* u_int32_t */
2604 uarg[2] = p->length2; /* u_int32_t */
2605 *n_args = 3;
2606 break;
2607 }
2608 #endif
2609 /* thr_kill2 */
2610 case 481: {
2611 struct thr_kill2_args *p = params;
2612 iarg[0] = p->pid; /* pid_t */
2613 iarg[1] = p->id; /* long */
2614 iarg[2] = p->sig; /* int */
2615 *n_args = 3;
2616 break;
2617 }
2618 /* shm_open */
2619 case 482: {
2620 struct shm_open_args *p = params;
2621 uarg[0] = (intptr_t) p->path; /* const char * */
2622 iarg[1] = p->flags; /* int */
2623 iarg[2] = p->mode; /* mode_t */
2624 *n_args = 3;
2625 break;
2626 }
2627 /* shm_unlink */
2628 case 483: {
2629 struct shm_unlink_args *p = params;
2630 uarg[0] = (intptr_t) p->path; /* const char * */
2631 *n_args = 1;
2632 break;
2633 }
2634 /* cpuset */
2635 case 484: {
2636 struct cpuset_args *p = params;
2637 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2638 *n_args = 1;
2639 break;
2640 }
2641 #ifdef PAD64_REQUIRED
2642 /* freebsd32_cpuset_setid */
2643 case 485: {
2644 struct freebsd32_cpuset_setid_args *p = params;
2645 iarg[0] = p->which; /* cpuwhich_t */
2646 iarg[1] = p->pad; /* int */
2647 uarg[2] = p->id1; /* u_int32_t */
2648 uarg[3] = p->id2; /* u_int32_t */
2649 iarg[4] = p->setid; /* cpusetid_t */
2650 *n_args = 5;
2651 break;
2652 }
2653 #else
2654 /* freebsd32_cpuset_setid */
2655 case 485: {
2656 struct freebsd32_cpuset_setid_args *p = params;
2657 iarg[0] = p->which; /* cpuwhich_t */
2658 uarg[1] = p->id1; /* u_int32_t */
2659 uarg[2] = p->id2; /* u_int32_t */
2660 iarg[3] = p->setid; /* cpusetid_t */
2661 *n_args = 4;
2662 break;
2663 }
2664 #endif
2665 /* freebsd32_cpuset_getid */
2666 case 486: {
2667 struct freebsd32_cpuset_getid_args *p = params;
2668 iarg[0] = p->level; /* cpulevel_t */
2669 iarg[1] = p->which; /* cpuwhich_t */
2670 uarg[2] = p->id1; /* u_int32_t */
2671 uarg[3] = p->id2; /* u_int32_t */
2672 uarg[4] = (intptr_t) p->setid; /* cpusetid_t * */
2673 *n_args = 5;
2674 break;
2675 }
2676 /* freebsd32_cpuset_getaffinity */
2677 case 487: {
2678 struct freebsd32_cpuset_getaffinity_args *p = params;
2679 iarg[0] = p->level; /* cpulevel_t */
2680 iarg[1] = p->which; /* cpuwhich_t */
2681 uarg[2] = p->id1; /* u_int32_t */
2682 uarg[3] = p->id2; /* u_int32_t */
2683 uarg[4] = p->cpusetsize; /* size_t */
2684 uarg[5] = (intptr_t) p->mask; /* cpuset_t * */
2685 *n_args = 6;
2686 break;
2687 }
2688 /* freebsd32_cpuset_setaffinity */
2689 case 488: {
2690 struct freebsd32_cpuset_setaffinity_args *p = params;
2691 iarg[0] = p->level; /* cpulevel_t */
2692 iarg[1] = p->which; /* cpuwhich_t */
2693 uarg[2] = p->id1; /* u_int32_t */
2694 uarg[3] = p->id2; /* u_int32_t */
2695 uarg[4] = p->cpusetsize; /* size_t */
2696 uarg[5] = (intptr_t) p->mask; /* const cpuset_t * */
2697 *n_args = 6;
2698 break;
2699 }
2700 /* faccessat */
2701 case 489: {
2702 struct faccessat_args *p = params;
2703 iarg[0] = p->fd; /* int */
2704 uarg[1] = (intptr_t) p->path; /* char * */
2705 iarg[2] = p->mode; /* int */
2706 iarg[3] = p->flag; /* int */
2707 *n_args = 4;
2708 break;
2709 }
2710 /* fchmodat */
2711 case 490: {
2712 struct fchmodat_args *p = params;
2713 iarg[0] = p->fd; /* int */
2714 uarg[1] = (intptr_t) p->path; /* const char * */
2715 iarg[2] = p->mode; /* mode_t */
2716 iarg[3] = p->flag; /* int */
2717 *n_args = 4;
2718 break;
2719 }
2720 /* fchownat */
2721 case 491: {
2722 struct fchownat_args *p = params;
2723 iarg[0] = p->fd; /* int */
2724 uarg[1] = (intptr_t) p->path; /* char * */
2725 uarg[2] = p->uid; /* uid_t */
2726 iarg[3] = p->gid; /* gid_t */
2727 iarg[4] = p->flag; /* int */
2728 *n_args = 5;
2729 break;
2730 }
2731 /* freebsd32_fexecve */
2732 case 492: {
2733 struct freebsd32_fexecve_args *p = params;
2734 iarg[0] = p->fd; /* int */
2735 uarg[1] = (intptr_t) p->argv; /* u_int32_t * */
2736 uarg[2] = (intptr_t) p->envv; /* u_int32_t * */
2737 *n_args = 3;
2738 break;
2739 }
2740 /* freebsd32_fstatat */
2741 case 493: {
2742 struct freebsd32_fstatat_args *p = params;
2743 iarg[0] = p->fd; /* int */
2744 uarg[1] = (intptr_t) p->path; /* char * */
2745 uarg[2] = (intptr_t) p->buf; /* struct stat * */
2746 iarg[3] = p->flag; /* int */
2747 *n_args = 4;
2748 break;
2749 }
2750 /* freebsd32_futimesat */
2751 case 494: {
2752 struct freebsd32_futimesat_args *p = params;
2753 iarg[0] = p->fd; /* int */
2754 uarg[1] = (intptr_t) p->path; /* char * */
2755 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2756 *n_args = 3;
2757 break;
2758 }
2759 /* linkat */
2760 case 495: {
2761 struct linkat_args *p = params;
2762 iarg[0] = p->fd1; /* int */
2763 uarg[1] = (intptr_t) p->path1; /* char * */
2764 iarg[2] = p->fd2; /* int */
2765 uarg[3] = (intptr_t) p->path2; /* char * */
2766 iarg[4] = p->flag; /* int */
2767 *n_args = 5;
2768 break;
2769 }
2770 /* mkdirat */
2771 case 496: {
2772 struct mkdirat_args *p = params;
2773 iarg[0] = p->fd; /* int */
2774 uarg[1] = (intptr_t) p->path; /* char * */
2775 iarg[2] = p->mode; /* mode_t */
2776 *n_args = 3;
2777 break;
2778 }
2779 /* mkfifoat */
2780 case 497: {
2781 struct mkfifoat_args *p = params;
2782 iarg[0] = p->fd; /* int */
2783 uarg[1] = (intptr_t) p->path; /* char * */
2784 iarg[2] = p->mode; /* mode_t */
2785 *n_args = 3;
2786 break;
2787 }
2788 /* mknodat */
2789 case 498: {
2790 struct mknodat_args *p = params;
2791 iarg[0] = p->fd; /* int */
2792 uarg[1] = (intptr_t) p->path; /* char * */
2793 iarg[2] = p->mode; /* mode_t */
2794 iarg[3] = p->dev; /* dev_t */
2795 *n_args = 4;
2796 break;
2797 }
2798 /* openat */
2799 case 499: {
2800 struct openat_args *p = params;
2801 iarg[0] = p->fd; /* int */
2802 uarg[1] = (intptr_t) p->path; /* char * */
2803 iarg[2] = p->flag; /* int */
2804 iarg[3] = p->mode; /* mode_t */
2805 *n_args = 4;
2806 break;
2807 }
2808 /* readlinkat */
2809 case 500: {
2810 struct readlinkat_args *p = params;
2811 iarg[0] = p->fd; /* int */
2812 uarg[1] = (intptr_t) p->path; /* char * */
2813 uarg[2] = (intptr_t) p->buf; /* char * */
2814 uarg[3] = p->bufsize; /* size_t */
2815 *n_args = 4;
2816 break;
2817 }
2818 /* renameat */
2819 case 501: {
2820 struct renameat_args *p = params;
2821 iarg[0] = p->oldfd; /* int */
2822 uarg[1] = (intptr_t) p->old; /* char * */
2823 iarg[2] = p->newfd; /* int */
2824 uarg[3] = (intptr_t) p->new; /* const char * */
2825 *n_args = 4;
2826 break;
2827 }
2828 /* symlinkat */
2829 case 502: {
2830 struct symlinkat_args *p = params;
2831 uarg[0] = (intptr_t) p->path1; /* char * */
2832 iarg[1] = p->fd; /* int */
2833 uarg[2] = (intptr_t) p->path2; /* char * */
2834 *n_args = 3;
2835 break;
2836 }
2837 /* unlinkat */
2838 case 503: {
2839 struct unlinkat_args *p = params;
2840 iarg[0] = p->fd; /* int */
2841 uarg[1] = (intptr_t) p->path; /* char * */
2842 iarg[2] = p->flag; /* int */
2843 *n_args = 3;
2844 break;
2845 }
2846 /* posix_openpt */
2847 case 504: {
2848 struct posix_openpt_args *p = params;
2849 iarg[0] = p->flags; /* int */
2850 *n_args = 1;
2851 break;
2852 }
2853 /* freebsd32_jail_get */
2854 case 506: {
2855 struct freebsd32_jail_get_args *p = params;
2856 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
2857 uarg[1] = p->iovcnt; /* unsigned int */
2858 iarg[2] = p->flags; /* int */
2859 *n_args = 3;
2860 break;
2861 }
2862 /* freebsd32_jail_set */
2863 case 507: {
2864 struct freebsd32_jail_set_args *p = params;
2865 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
2866 uarg[1] = p->iovcnt; /* unsigned int */
2867 iarg[2] = p->flags; /* int */
2868 *n_args = 3;
2869 break;
2870 }
2871 /* jail_remove */
2872 case 508: {
2873 struct jail_remove_args *p = params;
2874 iarg[0] = p->jid; /* int */
2875 *n_args = 1;
2876 break;
2877 }
2878 /* closefrom */
2879 case 509: {
2880 struct closefrom_args *p = params;
2881 iarg[0] = p->lowfd; /* int */
2882 *n_args = 1;
2883 break;
2884 }
2885 /* freebsd32_semctl */
2886 case 510: {
2887 struct freebsd32_semctl_args *p = params;
2888 iarg[0] = p->semid; /* int */
2889 iarg[1] = p->semnum; /* int */
2890 iarg[2] = p->cmd; /* int */
2891 uarg[3] = (intptr_t) p->arg; /* union semun32 * */
2892 *n_args = 4;
2893 break;
2894 }
2895 /* freebsd32_msgctl */
2896 case 511: {
2897 struct freebsd32_msgctl_args *p = params;
2898 iarg[0] = p->msqid; /* int */
2899 iarg[1] = p->cmd; /* int */
2900 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds32 * */
2901 *n_args = 3;
2902 break;
2903 }
2904 /* freebsd32_shmctl */
2905 case 512: {
2906 struct freebsd32_shmctl_args *p = params;
2907 iarg[0] = p->shmid; /* int */
2908 iarg[1] = p->cmd; /* int */
2909 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds32 * */
2910 *n_args = 3;
2911 break;
2912 }
2913 /* lpathconf */
2914 case 513: {
2915 struct lpathconf_args *p = params;
2916 uarg[0] = (intptr_t) p->path; /* char * */
2917 iarg[1] = p->name; /* int */
2918 *n_args = 2;
2919 break;
2920 }
2921 /* freebsd32_pselect */
2922 case 522: {
2923 struct freebsd32_pselect_args *p = params;
2924 iarg[0] = p->nd; /* int */
2925 uarg[1] = (intptr_t) p->in; /* fd_set * */
2926 uarg[2] = (intptr_t) p->ou; /* fd_set * */
2927 uarg[3] = (intptr_t) p->ex; /* fd_set * */
2928 uarg[4] = (intptr_t) p->ts; /* const struct timespec32 * */
2929 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
2930 *n_args = 6;
2931 break;
2932 }
2933 /* freebsd32_posix_fallocate */
2934 case 530: {
2935 struct freebsd32_posix_fallocate_args *p = params;
2936 iarg[0] = p->fd; /* int */
2937 uarg[1] = p->offset1; /* uint32_t */
2938 uarg[2] = p->offset2; /* uint32_t */
2939 uarg[3] = p->len1; /* uint32_t */
2940 uarg[4] = p->len2; /* uint32_t */
2941 *n_args = 5;
2942 break;
2943 }
2944 /* freebsd32_posix_fadvise */
2945 case 531: {
2946 struct freebsd32_posix_fadvise_args *p = params;
2947 iarg[0] = p->fd; /* int */
2948 uarg[1] = p->offset1; /* uint32_t */
2949 uarg[2] = p->offset2; /* uint32_t */
2950 uarg[3] = p->len1; /* uint32_t */
2951 uarg[4] = p->len2; /* uint32_t */
2952 iarg[5] = p->advice; /* int */
2953 *n_args = 6;
2954 break;
2955 }
2956 default:
2957 *n_args = 0;
2958 break;
2959 };
2960 }
2961 static void
2962 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2963 {
2964 const char *p = NULL;
2965 switch (sysnum) {
2966 #if !defined(PAD64_REQUIRED) && defined(__powerpc__)
2967 #define PAD64_REQUIRED
2968 #endif
2969 /* nosys */
2970 case 0:
2971 break;
2972 /* sys_exit */
2973 case 1:
2974 switch(ndx) {
2975 case 0:
2976 p = "int";
2977 break;
2978 default:
2979 break;
2980 };
2981 break;
2982 /* fork */
2983 case 2:
2984 break;
2985 /* read */
2986 case 3:
2987 switch(ndx) {
2988 case 0:
2989 p = "int";
2990 break;
2991 case 1:
2992 p = "void *";
2993 break;
2994 case 2:
2995 p = "size_t";
2996 break;
2997 default:
2998 break;
2999 };
3000 break;
3001 /* write */
3002 case 4:
3003 switch(ndx) {
3004 case 0:
3005 p = "int";
3006 break;
3007 case 1:
3008 p = "const void *";
3009 break;
3010 case 2:
3011 p = "size_t";
3012 break;
3013 default:
3014 break;
3015 };
3016 break;
3017 /* open */
3018 case 5:
3019 switch(ndx) {
3020 case 0:
3021 p = "char *";
3022 break;
3023 case 1:
3024 p = "int";
3025 break;
3026 case 2:
3027 p = "int";
3028 break;
3029 default:
3030 break;
3031 };
3032 break;
3033 /* close */
3034 case 6:
3035 switch(ndx) {
3036 case 0:
3037 p = "int";
3038 break;
3039 default:
3040 break;
3041 };
3042 break;
3043 /* freebsd32_wait4 */
3044 case 7:
3045 switch(ndx) {
3046 case 0:
3047 p = "int";
3048 break;
3049 case 1:
3050 p = "int *";
3051 break;
3052 case 2:
3053 p = "int";
3054 break;
3055 case 3:
3056 p = "struct rusage32 *";
3057 break;
3058 default:
3059 break;
3060 };
3061 break;
3062 /* link */
3063 case 9:
3064 switch(ndx) {
3065 case 0:
3066 p = "char *";
3067 break;
3068 case 1:
3069 p = "char *";
3070 break;
3071 default:
3072 break;
3073 };
3074 break;
3075 /* unlink */
3076 case 10:
3077 switch(ndx) {
3078 case 0:
3079 p = "char *";
3080 break;
3081 default:
3082 break;
3083 };
3084 break;
3085 /* chdir */
3086 case 12:
3087 switch(ndx) {
3088 case 0:
3089 p = "char *";
3090 break;
3091 default:
3092 break;
3093 };
3094 break;
3095 /* fchdir */
3096 case 13:
3097 switch(ndx) {
3098 case 0:
3099 p = "int";
3100 break;
3101 default:
3102 break;
3103 };
3104 break;
3105 /* mknod */
3106 case 14:
3107 switch(ndx) {
3108 case 0:
3109 p = "char *";
3110 break;
3111 case 1:
3112 p = "int";
3113 break;
3114 case 2:
3115 p = "int";
3116 break;
3117 default:
3118 break;
3119 };
3120 break;
3121 /* chmod */
3122 case 15:
3123 switch(ndx) {
3124 case 0:
3125 p = "char *";
3126 break;
3127 case 1:
3128 p = "int";
3129 break;
3130 default:
3131 break;
3132 };
3133 break;
3134 /* chown */
3135 case 16:
3136 switch(ndx) {
3137 case 0:
3138 p = "char *";
3139 break;
3140 case 1:
3141 p = "int";
3142 break;
3143 case 2:
3144 p = "int";
3145 break;
3146 default:
3147 break;
3148 };
3149 break;
3150 /* obreak */
3151 case 17:
3152 switch(ndx) {
3153 case 0:
3154 p = "char *";
3155 break;
3156 default:
3157 break;
3158 };
3159 break;
3160 /* getpid */
3161 case 20:
3162 break;
3163 /* mount */
3164 case 21:
3165 switch(ndx) {
3166 case 0:
3167 p = "char *";
3168 break;
3169 case 1:
3170 p = "char *";
3171 break;
3172 case 2:
3173 p = "int";
3174 break;
3175 case 3:
3176 p = "caddr_t";
3177 break;
3178 default:
3179 break;
3180 };
3181 break;
3182 /* unmount */
3183 case 22:
3184 switch(ndx) {
3185 case 0:
3186 p = "char *";
3187 break;
3188 case 1:
3189 p = "int";
3190 break;
3191 default:
3192 break;
3193 };
3194 break;
3195 /* setuid */
3196 case 23:
3197 switch(ndx) {
3198 case 0:
3199 p = "uid_t";
3200 break;
3201 default:
3202 break;
3203 };
3204 break;
3205 /* getuid */
3206 case 24:
3207 break;
3208 /* geteuid */
3209 case 25:
3210 break;
3211 /* ptrace */
3212 case 26:
3213 switch(ndx) {
3214 case 0:
3215 p = "int";
3216 break;
3217 case 1:
3218 p = "pid_t";
3219 break;
3220 case 2:
3221 p = "caddr_t";
3222 break;
3223 case 3:
3224 p = "int";
3225 break;
3226 default:
3227 break;
3228 };
3229 break;
3230 /* freebsd32_recvmsg */
3231 case 27:
3232 switch(ndx) {
3233 case 0:
3234 p = "int";
3235 break;
3236 case 1:
3237 p = "struct msghdr32 *";
3238 break;
3239 case 2:
3240 p = "int";
3241 break;
3242 default:
3243 break;
3244 };
3245 break;
3246 /* freebsd32_sendmsg */
3247 case 28:
3248 switch(ndx) {
3249 case 0:
3250 p = "int";
3251 break;
3252 case 1:
3253 p = "struct msghdr32 *";
3254 break;
3255 case 2:
3256 p = "int";
3257 break;
3258 default:
3259 break;
3260 };
3261 break;
3262 /* freebsd32_recvfrom */
3263 case 29:
3264 switch(ndx) {
3265 case 0:
3266 p = "int";
3267 break;
3268 case 1:
3269 p = "u_int32_t";
3270 break;
3271 case 2:
3272 p = "u_int32_t";
3273 break;
3274 case 3:
3275 p = "int";
3276 break;
3277 case 4:
3278 p = "u_int32_t";
3279 break;
3280 case 5:
3281 p = "u_int32_t";
3282 break;
3283 default:
3284 break;
3285 };
3286 break;
3287 /* accept */
3288 case 30:
3289 switch(ndx) {
3290 case 0:
3291 p = "int";
3292 break;
3293 case 1:
3294 p = "caddr_t";
3295 break;
3296 case 2:
3297 p = "int *";
3298 break;
3299 default:
3300 break;
3301 };
3302 break;
3303 /* getpeername */
3304 case 31:
3305 switch(ndx) {
3306 case 0:
3307 p = "int";
3308 break;
3309 case 1:
3310 p = "caddr_t";
3311 break;
3312 case 2:
3313 p = "int *";
3314 break;
3315 default:
3316 break;
3317 };
3318 break;
3319 /* getsockname */
3320 case 32:
3321 switch(ndx) {
3322 case 0:
3323 p = "int";
3324 break;
3325 case 1:
3326 p = "caddr_t";
3327 break;
3328 case 2:
3329 p = "int *";
3330 break;
3331 default:
3332 break;
3333 };
3334 break;
3335 /* access */
3336 case 33:
3337 switch(ndx) {
3338 case 0:
3339 p = "char *";
3340 break;
3341 case 1:
3342 p = "int";
3343 break;
3344 default:
3345 break;
3346 };
3347 break;
3348 /* chflags */
3349 case 34:
3350 switch(ndx) {
3351 case 0:
3352 p = "char *";
3353 break;
3354 case 1:
3355 p = "int";
3356 break;
3357 default:
3358 break;
3359 };
3360 break;
3361 /* fchflags */
3362 case 35:
3363 switch(ndx) {
3364 case 0:
3365 p = "int";
3366 break;
3367 case 1:
3368 p = "int";
3369 break;
3370 default:
3371 break;
3372 };
3373 break;
3374 /* sync */
3375 case 36:
3376 break;
3377 /* kill */
3378 case 37:
3379 switch(ndx) {
3380 case 0:
3381 p = "int";
3382 break;
3383 case 1:
3384 p = "int";
3385 break;
3386 default:
3387 break;
3388 };
3389 break;
3390 /* getppid */
3391 case 39:
3392 break;
3393 /* dup */
3394 case 41:
3395 switch(ndx) {
3396 case 0:
3397 p = "u_int";
3398 break;
3399 default:
3400 break;
3401 };
3402 break;
3403 /* pipe */
3404 case 42:
3405 break;
3406 /* getegid */
3407 case 43:
3408 break;
3409 /* profil */
3410 case 44:
3411 switch(ndx) {
3412 case 0:
3413 p = "caddr_t";
3414 break;
3415 case 1:
3416 p = "size_t";
3417 break;
3418 case 2:
3419 p = "size_t";
3420 break;
3421 case 3:
3422 p = "u_int";
3423 break;
3424 default:
3425 break;
3426 };
3427 break;
3428 /* ktrace */
3429 case 45:
3430 switch(ndx) {
3431 case 0:
3432 p = "const char *";
3433 break;
3434 case 1:
3435 p = "int";
3436 break;
3437 case 2:
3438 p = "int";
3439 break;
3440 case 3:
3441 p = "int";
3442 break;
3443 default:
3444 break;
3445 };
3446 break;
3447 /* getgid */
3448 case 47:
3449 break;
3450 /* getlogin */
3451 case 49:
3452 switch(ndx) {
3453 case 0:
3454 p = "char *";
3455 break;
3456 case 1:
3457 p = "u_int";
3458 break;
3459 default:
3460 break;
3461 };
3462 break;
3463 /* setlogin */
3464 case 50:
3465 switch(ndx) {
3466 case 0:
3467 p = "char *";
3468 break;
3469 default:
3470 break;
3471 };
3472 break;
3473 /* acct */
3474 case 51:
3475 switch(ndx) {
3476 case 0:
3477 p = "char *";
3478 break;
3479 default:
3480 break;
3481 };
3482 break;
3483 /* freebsd32_sigaltstack */
3484 case 53:
3485 switch(ndx) {
3486 case 0:
3487 p = "struct sigaltstack32 *";
3488 break;
3489 case 1:
3490 p = "struct sigaltstack32 *";
3491 break;
3492 default:
3493 break;
3494 };
3495 break;
3496 /* freebsd32_ioctl */
3497 case 54:
3498 switch(ndx) {
3499 case 0:
3500 p = "int";
3501 break;
3502 case 1:
3503 p = "uint32_t";
3504 break;
3505 case 2:
3506 p = "struct md_ioctl32 *";
3507 break;
3508 default:
3509 break;
3510 };
3511 break;
3512 /* reboot */
3513 case 55:
3514 switch(ndx) {
3515 case 0:
3516 p = "int";
3517 break;
3518 default:
3519 break;
3520 };
3521 break;
3522 /* revoke */
3523 case 56:
3524 switch(ndx) {
3525 case 0:
3526 p = "char *";
3527 break;
3528 default:
3529 break;
3530 };
3531 break;
3532 /* symlink */
3533 case 57:
3534 switch(ndx) {
3535 case 0:
3536 p = "char *";
3537 break;
3538 case 1:
3539 p = "char *";
3540 break;
3541 default:
3542 break;
3543 };
3544 break;
3545 /* readlink */
3546 case 58:
3547 switch(ndx) {
3548 case 0:
3549 p = "char *";
3550 break;
3551 case 1:
3552 p = "char *";
3553 break;
3554 case 2:
3555 p = "size_t";
3556 break;
3557 default:
3558 break;
3559 };
3560 break;
3561 /* freebsd32_execve */
3562 case 59:
3563 switch(ndx) {
3564 case 0:
3565 p = "char *";
3566 break;
3567 case 1:
3568 p = "u_int32_t *";
3569 break;
3570 case 2:
3571 p = "u_int32_t *";
3572 break;
3573 default:
3574 break;
3575 };
3576 break;
3577 /* umask */
3578 case 60:
3579 switch(ndx) {
3580 case 0:
3581 p = "int";
3582 break;
3583 default:
3584 break;
3585 };
3586 break;
3587 /* chroot */
3588 case 61:
3589 switch(ndx) {
3590 case 0:
3591 p = "char *";
3592 break;
3593 default:
3594 break;
3595 };
3596 break;
3597 /* msync */
3598 case 65:
3599 switch(ndx) {
3600 case 0:
3601 p = "void *";
3602 break;
3603 case 1:
3604 p = "size_t";
3605 break;
3606 case 2:
3607 p = "int";
3608 break;
3609 default:
3610 break;
3611 };
3612 break;
3613 /* vfork */
3614 case 66:
3615 break;
3616 /* sbrk */
3617 case 69:
3618 switch(ndx) {
3619 case 0:
3620 p = "int";
3621 break;
3622 default:
3623 break;
3624 };
3625 break;
3626 /* sstk */
3627 case 70:
3628 switch(ndx) {
3629 case 0:
3630 p = "int";
3631 break;
3632 default:
3633 break;
3634 };
3635 break;
3636 /* ovadvise */
3637 case 72:
3638 switch(ndx) {
3639 case 0:
3640 p = "int";
3641 break;
3642 default:
3643 break;
3644 };
3645 break;
3646 /* munmap */
3647 case 73:
3648 switch(ndx) {
3649 case 0:
3650 p = "void *";
3651 break;
3652 case 1:
3653 p = "size_t";
3654 break;
3655 default:
3656 break;
3657 };
3658 break;
3659 /* freebsd32_mprotect */
3660 case 74:
3661 switch(ndx) {
3662 case 0:
3663 p = "const void *";
3664 break;
3665 case 1:
3666 p = "size_t";
3667 break;
3668 case 2:
3669 p = "int";
3670 break;
3671 default:
3672 break;
3673 };
3674 break;
3675 /* madvise */
3676 case 75:
3677 switch(ndx) {
3678 case 0:
3679 p = "void *";
3680 break;
3681 case 1:
3682 p = "size_t";
3683 break;
3684 case 2:
3685 p = "int";
3686 break;
3687 default:
3688 break;
3689 };
3690 break;
3691 /* mincore */
3692 case 78:
3693 switch(ndx) {
3694 case 0:
3695 p = "const void *";
3696 break;
3697 case 1:
3698 p = "size_t";
3699 break;
3700 case 2:
3701 p = "char *";
3702 break;
3703 default:
3704 break;
3705 };
3706 break;
3707 /* getgroups */
3708 case 79:
3709 switch(ndx) {
3710 case 0:
3711 p = "u_int";
3712 break;
3713 case 1:
3714 p = "gid_t *";
3715 break;
3716 default:
3717 break;
3718 };
3719 break;
3720 /* setgroups */
3721 case 80:
3722 switch(ndx) {
3723 case 0:
3724 p = "u_int";
3725 break;
3726 case 1:
3727 p = "gid_t *";
3728 break;
3729 default:
3730 break;
3731 };
3732 break;
3733 /* getpgrp */
3734 case 81:
3735 break;
3736 /* setpgid */
3737 case 82:
3738 switch(ndx) {
3739 case 0:
3740 p = "int";
3741 break;
3742 case 1:
3743 p = "int";
3744 break;
3745 default:
3746 break;
3747 };
3748 break;
3749 /* freebsd32_setitimer */
3750 case 83:
3751 switch(ndx) {
3752 case 0:
3753 p = "u_int";
3754 break;
3755 case 1:
3756 p = "struct itimerval32 *";
3757 break;
3758 case 2:
3759 p = "struct itimerval32 *";
3760 break;
3761 default:
3762 break;
3763 };
3764 break;
3765 /* swapon */
3766 case 85:
3767 switch(ndx) {
3768 case 0:
3769 p = "char *";
3770 break;
3771 default:
3772 break;
3773 };
3774 break;
3775 /* freebsd32_getitimer */
3776 case 86:
3777 switch(ndx) {
3778 case 0:
3779 p = "u_int";
3780 break;
3781 case 1:
3782 p = "struct itimerval32 *";
3783 break;
3784 default:
3785 break;
3786 };
3787 break;
3788 /* getdtablesize */
3789 case 89:
3790 break;
3791 /* dup2 */
3792 case 90:
3793 switch(ndx) {
3794 case 0:
3795 p = "u_int";
3796 break;
3797 case 1:
3798 p = "u_int";
3799 break;
3800 default:
3801 break;
3802 };
3803 break;
3804 /* fcntl */
3805 case 92:
3806 switch(ndx) {
3807 case 0:
3808 p = "int";
3809 break;
3810 case 1:
3811 p = "int";
3812 break;
3813 case 2:
3814 p = "long";
3815 break;
3816 default:
3817 break;
3818 };
3819 break;
3820 /* freebsd32_select */
3821 case 93:
3822 switch(ndx) {
3823 case 0:
3824 p = "int";
3825 break;
3826 case 1:
3827 p = "fd_set *";
3828 break;
3829 case 2:
3830 p = "fd_set *";
3831 break;
3832 case 3:
3833 p = "fd_set *";
3834 break;
3835 case 4:
3836 p = "struct timeval32 *";
3837 break;
3838 default:
3839 break;
3840 };
3841 break;
3842 /* fsync */
3843 case 95:
3844 switch(ndx) {
3845 case 0:
3846 p = "int";
3847 break;
3848 default:
3849 break;
3850 };
3851 break;
3852 /* setpriority */
3853 case 96:
3854 switch(ndx) {
3855 case 0:
3856 p = "int";
3857 break;
3858 case 1:
3859 p = "int";
3860 break;
3861 case 2:
3862 p = "int";
3863 break;
3864 default:
3865 break;
3866 };
3867 break;
3868 /* socket */
3869 case 97:
3870 switch(ndx) {
3871 case 0:
3872 p = "int";
3873 break;
3874 case 1:
3875 p = "int";
3876 break;
3877 case 2:
3878 p = "int";
3879 break;
3880 default:
3881 break;
3882 };
3883 break;
3884 /* connect */
3885 case 98:
3886 switch(ndx) {
3887 case 0:
3888 p = "int";
3889 break;
3890 case 1:
3891 p = "caddr_t";
3892 break;
3893 case 2:
3894 p = "int";
3895 break;
3896 default:
3897 break;
3898 };
3899 break;
3900 /* getpriority */
3901 case 100:
3902 switch(ndx) {
3903 case 0:
3904 p = "int";
3905 break;
3906 case 1:
3907 p = "int";
3908 break;
3909 default:
3910 break;
3911 };
3912 break;
3913 /* bind */
3914 case 104:
3915 switch(ndx) {
3916 case 0:
3917 p = "int";
3918 break;
3919 case 1:
3920 p = "caddr_t";
3921 break;
3922 case 2:
3923 p = "int";
3924 break;
3925 default:
3926 break;
3927 };
3928 break;
3929 /* setsockopt */
3930 case 105:
3931 switch(ndx) {
3932 case 0:
3933 p = "int";
3934 break;
3935 case 1:
3936 p = "int";
3937 break;
3938 case 2:
3939 p = "int";
3940 break;
3941 case 3:
3942 p = "caddr_t";
3943 break;
3944 case 4:
3945 p = "int";
3946 break;
3947 default:
3948 break;
3949 };
3950 break;
3951 /* listen */
3952 case 106:
3953 switch(ndx) {
3954 case 0:
3955 p = "int";
3956 break;
3957 case 1:
3958 p = "int";
3959 break;
3960 default:
3961 break;
3962 };
3963 break;
3964 /* freebsd32_gettimeofday */
3965 case 116:
3966 switch(ndx) {
3967 case 0:
3968 p = "struct timeval32 *";
3969 break;
3970 case 1:
3971 p = "struct timezone *";
3972 break;
3973 default:
3974 break;
3975 };
3976 break;
3977 /* freebsd32_getrusage */
3978 case 117:
3979 switch(ndx) {
3980 case 0:
3981 p = "int";
3982 break;
3983 case 1:
3984 p = "struct rusage32 *";
3985 break;
3986 default:
3987 break;
3988 };
3989 break;
3990 /* getsockopt */
3991 case 118:
3992 switch(ndx) {
3993 case 0:
3994 p = "int";
3995 break;
3996 case 1:
3997 p = "int";
3998 break;
3999 case 2:
4000 p = "int";
4001 break;
4002 case 3:
4003 p = "caddr_t";
4004 break;
4005 case 4:
4006 p = "int *";
4007 break;
4008 default:
4009 break;
4010 };
4011 break;
4012 /* freebsd32_readv */
4013 case 120:
4014 switch(ndx) {
4015 case 0:
4016 p = "int";
4017 break;
4018 case 1:
4019 p = "struct iovec32 *";
4020 break;
4021 case 2:
4022 p = "u_int";
4023 break;
4024 default:
4025 break;
4026 };
4027 break;
4028 /* freebsd32_writev */
4029 case 121:
4030 switch(ndx) {
4031 case 0:
4032 p = "int";
4033 break;
4034 case 1:
4035 p = "struct iovec32 *";
4036 break;
4037 case 2:
4038 p = "u_int";
4039 break;
4040 default:
4041 break;
4042 };
4043 break;
4044 /* freebsd32_settimeofday */
4045 case 122:
4046 switch(ndx) {
4047 case 0:
4048 p = "struct timeval32 *";
4049 break;
4050 case 1:
4051 p = "struct timezone *";
4052 break;
4053 default:
4054 break;
4055 };
4056 break;
4057 /* fchown */
4058 case 123:
4059 switch(ndx) {
4060 case 0:
4061 p = "int";
4062 break;
4063 case 1:
4064 p = "int";
4065 break;
4066 case 2:
4067 p = "int";
4068 break;
4069 default:
4070 break;
4071 };
4072 break;
4073 /* fchmod */
4074 case 124:
4075 switch(ndx) {
4076 case 0:
4077 p = "int";
4078 break;
4079 case 1:
4080 p = "int";
4081 break;
4082 default:
4083 break;
4084 };
4085 break;
4086 /* setreuid */
4087 case 126:
4088 switch(ndx) {
4089 case 0:
4090 p = "int";
4091 break;
4092 case 1:
4093 p = "int";
4094 break;
4095 default:
4096 break;
4097 };
4098 break;
4099 /* setregid */
4100 case 127:
4101 switch(ndx) {
4102 case 0:
4103 p = "int";
4104 break;
4105 case 1:
4106 p = "int";
4107 break;
4108 default:
4109 break;
4110 };
4111 break;
4112 /* rename */
4113 case 128:
4114 switch(ndx) {
4115 case 0:
4116 p = "char *";
4117 break;
4118 case 1:
4119 p = "char *";
4120 break;
4121 default:
4122 break;
4123 };
4124 break;
4125 /* flock */
4126 case 131:
4127 switch(ndx) {
4128 case 0:
4129 p = "int";
4130 break;
4131 case 1:
4132 p = "int";
4133 break;
4134 default:
4135 break;
4136 };
4137 break;
4138 /* mkfifo */
4139 case 132:
4140 switch(ndx) {
4141 case 0:
4142 p = "char *";
4143 break;
4144 case 1:
4145 p = "int";
4146 break;
4147 default:
4148 break;
4149 };
4150 break;
4151 /* sendto */
4152 case 133:
4153 switch(ndx) {
4154 case 0:
4155 p = "int";
4156 break;
4157 case 1:
4158 p = "caddr_t";
4159 break;
4160 case 2:
4161 p = "size_t";
4162 break;
4163 case 3:
4164 p = "int";
4165 break;
4166 case 4:
4167 p = "caddr_t";
4168 break;
4169 case 5:
4170 p = "int";
4171 break;
4172 default:
4173 break;
4174 };
4175 break;
4176 /* shutdown */
4177 case 134:
4178 switch(ndx) {
4179 case 0:
4180 p = "int";
4181 break;
4182 case 1:
4183 p = "int";
4184 break;
4185 default:
4186 break;
4187 };
4188 break;
4189 /* socketpair */
4190 case 135:
4191 switch(ndx) {
4192 case 0:
4193 p = "int";
4194 break;
4195 case 1:
4196 p = "int";
4197 break;
4198 case 2:
4199 p = "int";
4200 break;
4201 case 3:
4202 p = "int *";
4203 break;
4204 default:
4205 break;
4206 };
4207 break;
4208 /* mkdir */
4209 case 136:
4210 switch(ndx) {
4211 case 0:
4212 p = "char *";
4213 break;
4214 case 1:
4215 p = "int";
4216 break;
4217 default:
4218 break;
4219 };
4220 break;
4221 /* rmdir */
4222 case 137:
4223 switch(ndx) {
4224 case 0:
4225 p = "char *";
4226 break;
4227 default:
4228 break;
4229 };
4230 break;
4231 /* freebsd32_utimes */
4232 case 138:
4233 switch(ndx) {
4234 case 0:
4235 p = "char *";
4236 break;
4237 case 1:
4238 p = "struct timeval32 *";
4239 break;
4240 default:
4241 break;
4242 };
4243 break;
4244 /* freebsd32_adjtime */
4245 case 140:
4246 switch(ndx) {
4247 case 0:
4248 p = "struct timeval32 *";
4249 break;
4250 case 1:
4251 p = "struct timeval32 *";
4252 break;
4253 default:
4254 break;
4255 };
4256 break;
4257 /* setsid */
4258 case 147:
4259 break;
4260 /* quotactl */
4261 case 148:
4262 switch(ndx) {
4263 case 0:
4264 p = "char *";
4265 break;
4266 case 1:
4267 p = "int";
4268 break;
4269 case 2:
4270 p = "int";
4271 break;
4272 case 3:
4273 p = "caddr_t";
4274 break;
4275 default:
4276 break;
4277 };
4278 break;
4279 /* getfh */
4280 case 161:
4281 switch(ndx) {
4282 case 0:
4283 p = "char *";
4284 break;
4285 case 1:
4286 p = "struct fhandle *";
4287 break;
4288 default:
4289 break;
4290 };
4291 break;
4292 /* freebsd32_sysarch */
4293 case 165:
4294 switch(ndx) {
4295 case 0:
4296 p = "int";
4297 break;
4298 case 1:
4299 p = "char *";
4300 break;
4301 default:
4302 break;
4303 };
4304 break;
4305 /* rtprio */
4306 case 166:
4307 switch(ndx) {
4308 case 0:
4309 p = "int";
4310 break;
4311 case 1:
4312 p = "pid_t";
4313 break;
4314 case 2:
4315 p = "struct rtprio *";
4316 break;
4317 default:
4318 break;
4319 };
4320 break;
4321 /* freebsd32_semsys */
4322 case 169:
4323 switch(ndx) {
4324 case 0:
4325 p = "int";
4326 break;
4327 case 1:
4328 p = "int";
4329 break;
4330 case 2:
4331 p = "int";
4332 break;
4333 case 3:
4334 p = "int";
4335 break;
4336 case 4:
4337 p = "int";
4338 break;
4339 default:
4340 break;
4341 };
4342 break;
4343 /* freebsd32_msgsys */
4344 case 170:
4345 switch(ndx) {
4346 case 0:
4347 p = "int";
4348 break;
4349 case 1:
4350 p = "int";
4351 break;
4352 case 2:
4353 p = "int";
4354 break;
4355 case 3:
4356 p = "int";
4357 break;
4358 case 4:
4359 p = "int";
4360 break;
4361 case 5:
4362 p = "int";
4363 break;
4364 default:
4365 break;
4366 };
4367 break;
4368 /* freebsd32_shmsys */
4369 case 171:
4370 switch(ndx) {
4371 case 0:
4372 p = "uint32_t";
4373 break;
4374 case 1:
4375 p = "uint32_t";
4376 break;
4377 case 2:
4378 p = "uint32_t";
4379 break;
4380 case 3:
4381 p = "uint32_t";
4382 break;
4383 default:
4384 break;
4385 };
4386 break;
4387 /* ntp_adjtime */
4388 case 176:
4389 switch(ndx) {
4390 case 0:
4391 p = "struct timex *";
4392 break;
4393 default:
4394 break;
4395 };
4396 break;
4397 /* setgid */
4398 case 181:
4399 switch(ndx) {
4400 case 0:
4401 p = "gid_t";
4402 break;
4403 default:
4404 break;
4405 };
4406 break;
4407 /* setegid */
4408 case 182:
4409 switch(ndx) {
4410 case 0:
4411 p = "gid_t";
4412 break;
4413 default:
4414 break;
4415 };
4416 break;
4417 /* seteuid */
4418 case 183:
4419 switch(ndx) {
4420 case 0:
4421 p = "uid_t";
4422 break;
4423 default:
4424 break;
4425 };
4426 break;
4427 /* freebsd32_stat */
4428 case 188:
4429 switch(ndx) {
4430 case 0:
4431 p = "char *";
4432 break;
4433 case 1:
4434 p = "struct stat32 *";
4435 break;
4436 default:
4437 break;
4438 };
4439 break;
4440 /* freebsd32_fstat */
4441 case 189:
4442 switch(ndx) {
4443 case 0:
4444 p = "int";
4445 break;
4446 case 1:
4447 p = "struct stat32 *";
4448 break;
4449 default:
4450 break;
4451 };
4452 break;
4453 /* freebsd32_lstat */
4454 case 190:
4455 switch(ndx) {
4456 case 0:
4457 p = "char *";
4458 break;
4459 case 1:
4460 p = "struct stat32 *";
4461 break;
4462 default:
4463 break;
4464 };
4465 break;
4466 /* pathconf */
4467 case 191:
4468 switch(ndx) {
4469 case 0:
4470 p = "char *";
4471 break;
4472 case 1:
4473 p = "int";
4474 break;
4475 default:
4476 break;
4477 };
4478 break;
4479 /* fpathconf */
4480 case 192:
4481 switch(ndx) {
4482 case 0:
4483 p = "int";
4484 break;
4485 case 1:
4486 p = "int";
4487 break;
4488 default:
4489 break;
4490 };
4491 break;
4492 /* getrlimit */
4493 case 194:
4494 switch(ndx) {
4495 case 0:
4496 p = "u_int";
4497 break;
4498 case 1:
4499 p = "struct rlimit *";
4500 break;
4501 default:
4502 break;
4503 };
4504 break;
4505 /* setrlimit */
4506 case 195:
4507 switch(ndx) {
4508 case 0:
4509 p = "u_int";
4510 break;
4511 case 1:
4512 p = "struct rlimit *";
4513 break;
4514 default:
4515 break;
4516 };
4517 break;
4518 /* freebsd32_getdirentries */
4519 case 196:
4520 switch(ndx) {
4521 case 0:
4522 p = "int";
4523 break;
4524 case 1:
4525 p = "char *";
4526 break;
4527 case 2:
4528 p = "u_int";
4529 break;
4530 case 3:
4531 p = "int32_t *";
4532 break;
4533 default:
4534 break;
4535 };
4536 break;
4537 /* nosys */
4538 case 198:
4539 break;
4540 /* freebsd32_sysctl */
4541 case 202:
4542 switch(ndx) {
4543 case 0:
4544 p = "int *";
4545 break;
4546 case 1:
4547 p = "u_int";
4548 break;
4549 case 2:
4550 p = "void *";
4551 break;
4552 case 3:
4553 p = "u_int32_t *";
4554 break;
4555 case 4:
4556 p = "void *";
4557 break;
4558 case 5:
4559 p = "u_int32_t";
4560 break;
4561 default:
4562 break;
4563 };
4564 break;
4565 /* mlock */
4566 case 203:
4567 switch(ndx) {
4568 case 0:
4569 p = "const void *";
4570 break;
4571 case 1:
4572 p = "size_t";
4573 break;
4574 default:
4575 break;
4576 };
4577 break;
4578 /* munlock */
4579 case 204:
4580 switch(ndx) {
4581 case 0:
4582 p = "const void *";
4583 break;
4584 case 1:
4585 p = "size_t";
4586 break;
4587 default:
4588 break;
4589 };
4590 break;
4591 /* undelete */
4592 case 205:
4593 switch(ndx) {
4594 case 0:
4595 p = "char *";
4596 break;
4597 default:
4598 break;
4599 };
4600 break;
4601 /* freebsd32_futimes */
4602 case 206:
4603 switch(ndx) {
4604 case 0:
4605 p = "int";
4606 break;
4607 case 1:
4608 p = "struct timeval32 *";
4609 break;
4610 default:
4611 break;
4612 };
4613 break;
4614 /* getpgid */
4615 case 207:
4616 switch(ndx) {
4617 case 0:
4618 p = "pid_t";
4619 break;
4620 default:
4621 break;
4622 };
4623 break;
4624 /* poll */
4625 case 209:
4626 switch(ndx) {
4627 case 0:
4628 p = "struct pollfd *";
4629 break;
4630 case 1:
4631 p = "u_int";
4632 break;
4633 case 2:
4634 p = "int";
4635 break;
4636 default:
4637 break;
4638 };
4639 break;
4640 /* lkmnosys */
4641 case 210:
4642 break;
4643 /* lkmnosys */
4644 case 211:
4645 break;
4646 /* lkmnosys */
4647 case 212:
4648 break;
4649 /* lkmnosys */
4650 case 213:
4651 break;
4652 /* lkmnosys */
4653 case 214:
4654 break;
4655 /* lkmnosys */
4656 case 215:
4657 break;
4658 /* lkmnosys */
4659 case 216:
4660 break;
4661 /* lkmnosys */
4662 case 217:
4663 break;
4664 /* lkmnosys */
4665 case 218:
4666 break;
4667 /* lkmnosys */
4668 case 219:
4669 break;
4670 /* semget */
4671 case 221:
4672 switch(ndx) {
4673 case 0:
4674 p = "key_t";
4675 break;
4676 case 1:
4677 p = "int";
4678 break;
4679 case 2:
4680 p = "int";
4681 break;
4682 default:
4683 break;
4684 };
4685 break;
4686 /* semop */
4687 case 222:
4688 switch(ndx) {
4689 case 0:
4690 p = "int";
4691 break;
4692 case 1:
4693 p = "struct sembuf *";
4694 break;
4695 case 2:
4696 p = "u_int";
4697 break;
4698 default:
4699 break;
4700 };
4701 break;
4702 /* msgget */
4703 case 225:
4704 switch(ndx) {
4705 case 0:
4706 p = "key_t";
4707 break;
4708 case 1:
4709 p = "int";
4710 break;
4711 default:
4712 break;
4713 };
4714 break;
4715 /* freebsd32_msgsnd */
4716 case 226:
4717 switch(ndx) {
4718 case 0:
4719 p = "int";
4720 break;
4721 case 1:
4722 p = "void *";
4723 break;
4724 case 2:
4725 p = "size_t";
4726 break;
4727 case 3:
4728 p = "int";
4729 break;
4730 default:
4731 break;
4732 };
4733 break;
4734 /* freebsd32_msgrcv */
4735 case 227:
4736 switch(ndx) {
4737 case 0:
4738 p = "int";
4739 break;
4740 case 1:
4741 p = "void *";
4742 break;
4743 case 2:
4744 p = "size_t";
4745 break;
4746 case 3:
4747 p = "long";
4748 break;
4749 case 4:
4750 p = "int";
4751 break;
4752 default:
4753 break;
4754 };
4755 break;
4756 /* shmat */
4757 case 228:
4758 switch(ndx) {
4759 case 0:
4760 p = "int";
4761 break;
4762 case 1:
4763 p = "void *";
4764 break;
4765 case 2:
4766 p = "int";
4767 break;
4768 default:
4769 break;
4770 };
4771 break;
4772 /* shmdt */
4773 case 230:
4774 switch(ndx) {
4775 case 0:
4776 p = "void *";
4777 break;
4778 default:
4779 break;
4780 };
4781 break;
4782 /* shmget */
4783 case 231:
4784 switch(ndx) {
4785 case 0:
4786 p = "key_t";
4787 break;
4788 case 1:
4789 p = "int";
4790 break;
4791 case 2:
4792 p = "int";
4793 break;
4794 default:
4795 break;
4796 };
4797 break;
4798 /* freebsd32_clock_gettime */
4799 case 232:
4800 switch(ndx) {
4801 case 0:
4802 p = "clockid_t";
4803 break;
4804 case 1:
4805 p = "struct timespec32 *";
4806 break;
4807 default:
4808 break;
4809 };
4810 break;
4811 /* freebsd32_clock_settime */
4812 case 233:
4813 switch(ndx) {
4814 case 0:
4815 p = "clockid_t";
4816 break;
4817 case 1:
4818 p = "const struct timespec32 *";
4819 break;
4820 default:
4821 break;
4822 };
4823 break;
4824 /* freebsd32_clock_getres */
4825 case 234:
4826 switch(ndx) {
4827 case 0:
4828 p = "clockid_t";
4829 break;
4830 case 1:
4831 p = "struct timespec32 *";
4832 break;
4833 default:
4834 break;
4835 };
4836 break;
4837 /* freebsd32_nanosleep */
4838 case 240:
4839 switch(ndx) {
4840 case 0:
4841 p = "const struct timespec32 *";
4842 break;
4843 case 1:
4844 p = "struct timespec32 *";
4845 break;
4846 default:
4847 break;
4848 };
4849 break;
4850 /* minherit */
4851 case 250:
4852 switch(ndx) {
4853 case 0:
4854 p = "void *";
4855 break;
4856 case 1:
4857 p = "size_t";
4858 break;
4859 case 2:
4860 p = "int";
4861 break;
4862 default:
4863 break;
4864 };
4865 break;
4866 /* rfork */
4867 case 251:
4868 switch(ndx) {
4869 case 0:
4870 p = "int";
4871 break;
4872 default:
4873 break;
4874 };
4875 break;
4876 /* openbsd_poll */
4877 case 252:
4878 switch(ndx) {
4879 case 0:
4880 p = "struct pollfd *";
4881 break;
4882 case 1:
4883 p = "u_int";
4884 break;
4885 case 2:
4886 p = "int";
4887 break;
4888 default:
4889 break;
4890 };
4891 break;
4892 /* issetugid */
4893 case 253:
4894 break;
4895 /* lchown */
4896 case 254:
4897 switch(ndx) {
4898 case 0:
4899 p = "char *";
4900 break;
4901 case 1:
4902 p = "int";
4903 break;
4904 case 2:
4905 p = "int";
4906 break;
4907 default:
4908 break;
4909 };
4910 break;
4911 /* freebsd32_aio_read */
4912 case 255:
4913 switch(ndx) {
4914 case 0:
4915 p = "struct aiocb32 *";
4916 break;
4917 default:
4918 break;
4919 };
4920 break;
4921 /* freebsd32_aio_write */
4922 case 256:
4923 switch(ndx) {
4924 case 0:
4925 p = "struct aiocb32 *";
4926 break;
4927 default:
4928 break;
4929 };
4930 break;
4931 /* freebsd32_lio_listio */
4932 case 257:
4933 switch(ndx) {
4934 case 0:
4935 p = "int";
4936 break;
4937 case 1:
4938 p = "struct aiocb32 *const *";
4939 break;
4940 case 2:
4941 p = "int";
4942 break;
4943 case 3:
4944 p = "struct sigevent *";
4945 break;
4946 default:
4947 break;
4948 };
4949 break;
4950 /* getdents */
4951 case 272:
4952 switch(ndx) {
4953 case 0:
4954 p = "int";
4955 break;
4956 case 1:
4957 p = "char *";
4958 break;
4959 case 2:
4960 p = "size_t";
4961 break;
4962 default:
4963 break;
4964 };
4965 break;
4966 /* lchmod */
4967 case 274:
4968 switch(ndx) {
4969 case 0:
4970 p = "char *";
4971 break;
4972 case 1:
4973 p = "mode_t";
4974 break;
4975 default:
4976 break;
4977 };
4978 break;
4979 /* lchown */
4980 case 275:
4981 switch(ndx) {
4982 case 0:
4983 p = "char *";
4984 break;
4985 case 1:
4986 p = "uid_t";
4987 break;
4988 case 2:
4989 p = "gid_t";
4990 break;
4991 default:
4992 break;
4993 };
4994 break;
4995 /* freebsd32_lutimes */
4996 case 276:
4997 switch(ndx) {
4998 case 0:
4999 p = "char *";
5000 break;
5001 case 1:
5002 p = "struct timeval32 *";
5003 break;
5004 default:
5005 break;
5006 };
5007 break;
5008 /* msync */
5009 case 277:
5010 switch(ndx) {
5011 case 0:
5012 p = "void *";
5013 break;
5014 case 1:
5015 p = "size_t";
5016 break;
5017 case 2:
5018 p = "int";
5019 break;
5020 default:
5021 break;
5022 };
5023 break;
5024 /* nstat */
5025 case 278:
5026 switch(ndx) {
5027 case 0:
5028 p = "char *";
5029 break;
5030 case 1:
5031 p = "struct nstat *";
5032 break;
5033 default:
5034 break;
5035 };
5036 break;
5037 /* nfstat */
5038 case 279:
5039 switch(ndx) {
5040 case 0:
5041 p = "int";
5042 break;
5043 case 1:
5044 p = "struct nstat *";
5045 break;
5046 default:
5047 break;
5048 };
5049 break;
5050 /* nlstat */
5051 case 280:
5052 switch(ndx) {
5053 case 0:
5054 p = "char *";
5055 break;
5056 case 1:
5057 p = "struct nstat *";
5058 break;
5059 default:
5060 break;
5061 };
5062 break;
5063 /* freebsd32_preadv */
5064 case 289:
5065 switch(ndx) {
5066 case 0:
5067 p = "int";
5068 break;
5069 case 1:
5070 p = "struct iovec32 *";
5071 break;
5072 case 2:
5073 p = "u_int";
5074 break;
5075 case 3:
5076 p = "u_int32_t";
5077 break;
5078 case 4:
5079 p = "u_int32_t";
5080 break;
5081 default:
5082 break;
5083 };
5084 break;
5085 /* freebsd32_pwritev */
5086 case 290:
5087 switch(ndx) {
5088 case 0:
5089 p = "int";
5090 break;
5091 case 1:
5092 p = "struct iovec32 *";
5093 break;
5094 case 2:
5095 p = "u_int";
5096 break;
5097 case 3:
5098 p = "u_int32_t";
5099 break;
5100 case 4:
5101 p = "u_int32_t";
5102 break;
5103 default:
5104 break;
5105 };
5106 break;
5107 /* fhopen */
5108 case 298:
5109 switch(ndx) {
5110 case 0:
5111 p = "const struct fhandle *";
5112 break;
5113 case 1:
5114 p = "int";
5115 break;
5116 default:
5117 break;
5118 };
5119 break;
5120 /* fhstat */
5121 case 299:
5122 switch(ndx) {
5123 case 0:
5124 p = "const struct fhandle *";
5125 break;
5126 case 1:
5127 p = "struct stat *";
5128 break;
5129 default:
5130 break;
5131 };
5132 break;
5133 /* modnext */
5134 case 300:
5135 switch(ndx) {
5136 case 0:
5137 p = "int";
5138 break;
5139 default:
5140 break;
5141 };
5142 break;
5143 /* freebsd32_modstat */
5144 case 301:
5145 switch(ndx) {
5146 case 0:
5147 p = "int";
5148 break;
5149 case 1:
5150 p = "struct module_stat32 *";
5151 break;
5152 default:
5153 break;
5154 };
5155 break;
5156 /* modfnext */
5157 case 302:
5158 switch(ndx) {
5159 case 0:
5160 p = "int";
5161 break;
5162 default:
5163 break;
5164 };
5165 break;
5166 /* modfind */
5167 case 303:
5168 switch(ndx) {
5169 case 0:
5170 p = "const char *";
5171 break;
5172 default:
5173 break;
5174 };
5175 break;
5176 /* kldload */
5177 case 304:
5178 switch(ndx) {
5179 case 0:
5180 p = "const char *";
5181 break;
5182 default:
5183 break;
5184 };
5185 break;
5186 /* kldunload */
5187 case 305:
5188 switch(ndx) {
5189 case 0:
5190 p = "int";
5191 break;
5192 default:
5193 break;
5194 };
5195 break;
5196 /* kldfind */
5197 case 306:
5198 switch(ndx) {
5199 case 0:
5200 p = "const char *";
5201 break;
5202 default:
5203 break;
5204 };
5205 break;
5206 /* kldnext */
5207 case 307:
5208 switch(ndx) {
5209 case 0:
5210 p = "int";
5211 break;
5212 default:
5213 break;
5214 };
5215 break;
5216 /* freebsd32_kldstat */
5217 case 308:
5218 switch(ndx) {
5219 case 0:
5220 p = "int";
5221 break;
5222 case 1:
5223 p = "struct kld32_file_stat *";
5224 break;
5225 default:
5226 break;
5227 };
5228 break;
5229 /* kldfirstmod */
5230 case 309:
5231 switch(ndx) {
5232 case 0:
5233 p = "int";
5234 break;
5235 default:
5236 break;
5237 };
5238 break;
5239 /* getsid */
5240 case 310:
5241 switch(ndx) {
5242 case 0:
5243 p = "pid_t";
5244 break;
5245 default:
5246 break;
5247 };
5248 break;
5249 /* setresuid */
5250 case 311:
5251 switch(ndx) {
5252 case 0:
5253 p = "uid_t";
5254 break;
5255 case 1:
5256 p = "uid_t";
5257 break;
5258 case 2:
5259 p = "uid_t";
5260 break;
5261 default:
5262 break;
5263 };
5264 break;
5265 /* setresgid */
5266 case 312:
5267 switch(ndx) {
5268 case 0:
5269 p = "gid_t";
5270 break;
5271 case 1:
5272 p = "gid_t";
5273 break;
5274 case 2:
5275 p = "gid_t";
5276 break;
5277 default:
5278 break;
5279 };
5280 break;
5281 /* freebsd32_aio_return */
5282 case 314:
5283 switch(ndx) {
5284 case 0:
5285 p = "struct aiocb32 *";
5286 break;
5287 default:
5288 break;
5289 };
5290 break;
5291 /* freebsd32_aio_suspend */
5292 case 315:
5293 switch(ndx) {
5294 case 0:
5295 p = "struct aiocb32 *const *";
5296 break;
5297 case 1:
5298 p = "int";
5299 break;
5300 case 2:
5301 p = "const struct timespec32 *";
5302 break;
5303 default:
5304 break;
5305 };
5306 break;
5307 /* freebsd32_aio_cancel */
5308 case 316:
5309 switch(ndx) {
5310 case 0:
5311 p = "int";
5312 break;
5313 case 1:
5314 p = "struct aiocb32 *";
5315 break;
5316 default:
5317 break;
5318 };
5319 break;
5320 /* freebsd32_aio_error */
5321 case 317:
5322 switch(ndx) {
5323 case 0:
5324 p = "struct aiocb32 *";
5325 break;
5326 default:
5327 break;
5328 };
5329 break;
5330 /* freebsd32_oaio_read */
5331 case 318:
5332 switch(ndx) {
5333 case 0:
5334 p = "struct oaiocb32 *";
5335 break;
5336 default:
5337 break;
5338 };
5339 break;
5340 /* freebsd32_oaio_write */
5341 case 319:
5342 switch(ndx) {
5343 case 0:
5344 p = "struct oaiocb32 *";
5345 break;
5346 default:
5347 break;
5348 };
5349 break;
5350 /* freebsd32_olio_listio */
5351 case 320:
5352 switch(ndx) {
5353 case 0:
5354 p = "int";
5355 break;
5356 case 1:
5357 p = "struct oaiocb32 *const *";
5358 break;
5359 case 2:
5360 p = "int";
5361 break;
5362 case 3:
5363 p = "struct osigevent32 *";
5364 break;
5365 default:
5366 break;
5367 };
5368 break;
5369 /* yield */
5370 case 321:
5371 break;
5372 /* mlockall */
5373 case 324:
5374 switch(ndx) {
5375 case 0:
5376 p = "int";
5377 break;
5378 default:
5379 break;
5380 };
5381 break;
5382 /* munlockall */
5383 case 325:
5384 break;
5385 /* __getcwd */
5386 case 326:
5387 switch(ndx) {
5388 case 0:
5389 p = "u_char *";
5390 break;
5391 case 1:
5392 p = "u_int";
5393 break;
5394 default:
5395 break;
5396 };
5397 break;
5398 /* sched_setparam */
5399 case 327:
5400 switch(ndx) {
5401 case 0:
5402 p = "pid_t";
5403 break;
5404 case 1:
5405 p = "const struct sched_param *";
5406 break;
5407 default:
5408 break;
5409 };
5410 break;
5411 /* sched_getparam */
5412 case 328:
5413 switch(ndx) {
5414 case 0:
5415 p = "pid_t";
5416 break;
5417 case 1:
5418 p = "struct sched_param *";
5419 break;
5420 default:
5421 break;
5422 };
5423 break;
5424 /* sched_setscheduler */
5425 case 329:
5426 switch(ndx) {
5427 case 0:
5428 p = "pid_t";
5429 break;
5430 case 1:
5431 p = "int";
5432 break;
5433 case 2:
5434 p = "const struct sched_param *";
5435 break;
5436 default:
5437 break;
5438 };
5439 break;
5440 /* sched_getscheduler */
5441 case 330:
5442 switch(ndx) {
5443 case 0:
5444 p = "pid_t";
5445 break;
5446 default:
5447 break;
5448 };
5449 break;
5450 /* sched_yield */
5451 case 331:
5452 break;
5453 /* sched_get_priority_max */
5454 case 332:
5455 switch(ndx) {
5456 case 0:
5457 p = "int";
5458 break;
5459 default:
5460 break;
5461 };
5462 break;
5463 /* sched_get_priority_min */
5464 case 333:
5465 switch(ndx) {
5466 case 0:
5467 p = "int";
5468 break;
5469 default:
5470 break;
5471 };
5472 break;
5473 /* sched_rr_get_interval */
5474 case 334:
5475 switch(ndx) {
5476 case 0:
5477 p = "pid_t";
5478 break;
5479 case 1:
5480 p = "struct timespec *";
5481 break;
5482 default:
5483 break;
5484 };
5485 break;
5486 /* utrace */
5487 case 335:
5488 switch(ndx) {
5489 case 0:
5490 p = "const void *";
5491 break;
5492 case 1:
5493 p = "size_t";
5494 break;
5495 default:
5496 break;
5497 };
5498 break;
5499 /* kldsym */
5500 case 337:
5501 switch(ndx) {
5502 case 0:
5503 p = "int";
5504 break;
5505 case 1:
5506 p = "int";
5507 break;
5508 case 2:
5509 p = "void *";
5510 break;
5511 default:
5512 break;
5513 };
5514 break;
5515 /* freebsd32_jail */
5516 case 338:
5517 switch(ndx) {
5518 case 0:
5519 p = "struct jail32 *";
5520 break;
5521 default:
5522 break;
5523 };
5524 break;
5525 /* sigprocmask */
5526 case 340:
5527 switch(ndx) {
5528 case 0:
5529 p = "int";
5530 break;
5531 case 1:
5532 p = "const sigset_t *";
5533 break;
5534 case 2:
5535 p = "sigset_t *";
5536 break;
5537 default:
5538 break;
5539 };
5540 break;
5541 /* sigsuspend */
5542 case 341:
5543 switch(ndx) {
5544 case 0:
5545 p = "const sigset_t *";
5546 break;
5547 default:
5548 break;
5549 };
5550 break;
5551 /* sigpending */
5552 case 343:
5553 switch(ndx) {
5554 case 0:
5555 p = "sigset_t *";
5556 break;
5557 default:
5558 break;
5559 };
5560 break;
5561 /* freebsd32_sigtimedwait */
5562 case 345:
5563 switch(ndx) {
5564 case 0:
5565 p = "const sigset_t *";
5566 break;
5567 case 1:
5568 p = "siginfo_t *";
5569 break;
5570 case 2:
5571 p = "const struct timespec *";
5572 break;
5573 default:
5574 break;
5575 };
5576 break;
5577 /* freebsd32_sigwaitinfo */
5578 case 346:
5579 switch(ndx) {
5580 case 0:
5581 p = "const sigset_t *";
5582 break;
5583 case 1:
5584 p = "siginfo_t *";
5585 break;
5586 default:
5587 break;
5588 };
5589 break;
5590 /* __acl_get_file */
5591 case 347:
5592 switch(ndx) {
5593 case 0:
5594 p = "const char *";
5595 break;
5596 case 1:
5597 p = "acl_type_t";
5598 break;
5599 case 2:
5600 p = "struct acl *";
5601 break;
5602 default:
5603 break;
5604 };
5605 break;
5606 /* __acl_set_file */
5607 case 348:
5608 switch(ndx) {
5609 case 0:
5610 p = "const char *";
5611 break;
5612 case 1:
5613 p = "acl_type_t";
5614 break;
5615 case 2:
5616 p = "struct acl *";
5617 break;
5618 default:
5619 break;
5620 };
5621 break;
5622 /* __acl_get_fd */
5623 case 349:
5624 switch(ndx) {
5625 case 0:
5626 p = "int";
5627 break;
5628 case 1:
5629 p = "acl_type_t";
5630 break;
5631 case 2:
5632 p = "struct acl *";
5633 break;
5634 default:
5635 break;
5636 };
5637 break;
5638 /* __acl_set_fd */
5639 case 350:
5640 switch(ndx) {
5641 case 0:
5642 p = "int";
5643 break;
5644 case 1:
5645 p = "acl_type_t";
5646 break;
5647 case 2:
5648 p = "struct acl *";
5649 break;
5650 default:
5651 break;
5652 };
5653 break;
5654 /* __acl_delete_file */
5655 case 351:
5656 switch(ndx) {
5657 case 0:
5658 p = "const char *";
5659 break;
5660 case 1:
5661 p = "acl_type_t";
5662 break;
5663 default:
5664 break;
5665 };
5666 break;
5667 /* __acl_delete_fd */
5668 case 352:
5669 switch(ndx) {
5670 case 0:
5671 p = "int";
5672 break;
5673 case 1:
5674 p = "acl_type_t";
5675 break;
5676 default:
5677 break;
5678 };
5679 break;
5680 /* __acl_aclcheck_file */
5681 case 353:
5682 switch(ndx) {
5683 case 0:
5684 p = "const char *";
5685 break;
5686 case 1:
5687 p = "acl_type_t";
5688 break;
5689 case 2:
5690 p = "struct acl *";
5691 break;
5692 default:
5693 break;
5694 };
5695 break;
5696 /* __acl_aclcheck_fd */
5697 case 354:
5698 switch(ndx) {
5699 case 0:
5700 p = "int";
5701 break;
5702 case 1:
5703 p = "acl_type_t";
5704 break;
5705 case 2:
5706 p = "struct acl *";
5707 break;
5708 default:
5709 break;
5710 };
5711 break;
5712 /* extattrctl */
5713 case 355:
5714 switch(ndx) {
5715 case 0:
5716 p = "const char *";
5717 break;
5718 case 1:
5719 p = "int";
5720 break;
5721 case 2:
5722 p = "const char *";
5723 break;
5724 case 3:
5725 p = "int";
5726 break;
5727 case 4:
5728 p = "const char *";
5729 break;
5730 default:
5731 break;
5732 };
5733 break;
5734 /* extattr_set_file */
5735 case 356:
5736 switch(ndx) {
5737 case 0:
5738 p = "const char *";
5739 break;
5740 case 1:
5741 p = "int";
5742 break;
5743 case 2:
5744 p = "const char *";
5745 break;
5746 case 3:
5747 p = "void *";
5748 break;
5749 case 4:
5750 p = "size_t";
5751 break;
5752 default:
5753 break;
5754 };
5755 break;
5756 /* extattr_get_file */
5757 case 357:
5758 switch(ndx) {
5759 case 0:
5760 p = "const char *";
5761 break;
5762 case 1:
5763 p = "int";
5764 break;
5765 case 2:
5766 p = "const char *";
5767 break;
5768 case 3:
5769 p = "void *";
5770 break;
5771 case 4:
5772 p = "size_t";
5773 break;
5774 default:
5775 break;
5776 };
5777 break;
5778 /* extattr_delete_file */
5779 case 358:
5780 switch(ndx) {
5781 case 0:
5782 p = "const char *";
5783 break;
5784 case 1:
5785 p = "int";
5786 break;
5787 case 2:
5788 p = "const char *";
5789 break;
5790 default:
5791 break;
5792 };
5793 break;
5794 /* freebsd32_aio_waitcomplete */
5795 case 359:
5796 switch(ndx) {
5797 case 0:
5798 p = "struct aiocb32 **";
5799 break;
5800 case 1:
5801 p = "struct timespec32 *";
5802 break;
5803 default:
5804 break;
5805 };
5806 break;
5807 /* getresuid */
5808 case 360:
5809 switch(ndx) {
5810 case 0:
5811 p = "uid_t *";
5812 break;
5813 case 1:
5814 p = "uid_t *";
5815 break;
5816 case 2:
5817 p = "uid_t *";
5818 break;
5819 default:
5820 break;
5821 };
5822 break;
5823 /* getresgid */
5824 case 361:
5825 switch(ndx) {
5826 case 0:
5827 p = "gid_t *";
5828 break;
5829 case 1:
5830 p = "gid_t *";
5831 break;
5832 case 2:
5833 p = "gid_t *";
5834 break;
5835 default:
5836 break;
5837 };
5838 break;
5839 /* kqueue */
5840 case 362:
5841 break;
5842 /* freebsd32_kevent */
5843 case 363:
5844 switch(ndx) {
5845 case 0:
5846 p = "int";
5847 break;
5848 case 1:
5849 p = "const struct kevent32 *";
5850 break;
5851 case 2:
5852 p = "int";
5853 break;
5854 case 3:
5855 p = "struct kevent32 *";
5856 break;
5857 case 4:
5858 p = "int";
5859 break;
5860 case 5:
5861 p = "const struct timespec32 *";
5862 break;
5863 default:
5864 break;
5865 };
5866 break;
5867 /* extattr_set_fd */
5868 case 371:
5869 switch(ndx) {
5870 case 0:
5871 p = "int";
5872 break;
5873 case 1:
5874 p = "int";
5875 break;
5876 case 2:
5877 p = "const char *";
5878 break;
5879 case 3:
5880 p = "void *";
5881 break;
5882 case 4:
5883 p = "size_t";
5884 break;
5885 default:
5886 break;
5887 };
5888 break;
5889 /* extattr_get_fd */
5890 case 372:
5891 switch(ndx) {
5892 case 0:
5893 p = "int";
5894 break;
5895 case 1:
5896 p = "int";
5897 break;
5898 case 2:
5899 p = "const char *";
5900 break;
5901 case 3:
5902 p = "void *";
5903 break;
5904 case 4:
5905 p = "size_t";
5906 break;
5907 default:
5908 break;
5909 };
5910 break;
5911 /* extattr_delete_fd */
5912 case 373:
5913 switch(ndx) {
5914 case 0:
5915 p = "int";
5916 break;
5917 case 1:
5918 p = "int";
5919 break;
5920 case 2:
5921 p = "const char *";
5922 break;
5923 default:
5924 break;
5925 };
5926 break;
5927 /* __setugid */
5928 case 374:
5929 switch(ndx) {
5930 case 0:
5931 p = "int";
5932 break;
5933 default:
5934 break;
5935 };
5936 break;
5937 /* eaccess */
5938 case 376:
5939 switch(ndx) {
5940 case 0:
5941 p = "char *";
5942 break;
5943 case 1:
5944 p = "int";
5945 break;
5946 default:
5947 break;
5948 };
5949 break;
5950 /* freebsd32_nmount */
5951 case 378:
5952 switch(ndx) {
5953 case 0:
5954 p = "struct iovec32 *";
5955 break;
5956 case 1:
5957 p = "unsigned int";
5958 break;
5959 case 2:
5960 p = "int";
5961 break;
5962 default:
5963 break;
5964 };
5965 break;
5966 /* kenv */
5967 case 390:
5968 switch(ndx) {
5969 case 0:
5970 p = "int";
5971 break;
5972 case 1:
5973 p = "const char *";
5974 break;
5975 case 2:
5976 p = "char *";
5977 break;
5978 case 3:
5979 p = "int";
5980 break;
5981 default:
5982 break;
5983 };
5984 break;
5985 /* lchflags */
5986 case 391:
5987 switch(ndx) {
5988 case 0:
5989 p = "const char *";
5990 break;
5991 case 1:
5992 p = "int";
5993 break;
5994 default:
5995 break;
5996 };
5997 break;
5998 /* uuidgen */
5999 case 392:
6000 switch(ndx) {
6001 case 0:
6002 p = "struct uuid *";
6003 break;
6004 case 1:
6005 p = "int";
6006 break;
6007 default:
6008 break;
6009 };
6010 break;
6011 /* freebsd32_sendfile */
6012 case 393:
6013 switch(ndx) {
6014 case 0:
6015 p = "int";
6016 break;
6017 case 1:
6018 p = "int";
6019 break;
6020 case 2:
6021 p = "u_int32_t";
6022 break;
6023 case 3:
6024 p = "u_int32_t";
6025 break;
6026 case 4:
6027 p = "size_t";
6028 break;
6029 case 5:
6030 p = "struct sf_hdtr32 *";
6031 break;
6032 case 6:
6033 p = "off_t *";
6034 break;
6035 case 7:
6036 p = "int";
6037 break;
6038 default:
6039 break;
6040 };
6041 break;
6042 /* getfsstat */
6043 case 395:
6044 switch(ndx) {
6045 case 0:
6046 p = "struct statfs *";
6047 break;
6048 case 1:
6049 p = "long";
6050 break;
6051 case 2:
6052 p = "int";
6053 break;
6054 default:
6055 break;
6056 };
6057 break;
6058 /* statfs */
6059 case 396:
6060 switch(ndx) {
6061 case 0:
6062 p = "char *";
6063 break;
6064 case 1:
6065 p = "struct statfs *";
6066 break;
6067 default:
6068 break;
6069 };
6070 break;
6071 /* fstatfs */
6072 case 397:
6073 switch(ndx) {
6074 case 0:
6075 p = "int";
6076 break;
6077 case 1:
6078 p = "struct statfs *";
6079 break;
6080 default:
6081 break;
6082 };
6083 break;
6084 /* fhstatfs */
6085 case 398:
6086 switch(ndx) {
6087 case 0:
6088 p = "const struct fhandle *";
6089 break;
6090 case 1:
6091 p = "struct statfs *";
6092 break;
6093 default:
6094 break;
6095 };
6096 break;
6097 /* ksem_close */
6098 case 400:
6099 switch(ndx) {
6100 case 0:
6101 p = "semid_t";
6102 break;
6103 default:
6104 break;
6105 };
6106 break;
6107 /* ksem_post */
6108 case 401:
6109 switch(ndx) {
6110 case 0:
6111 p = "semid_t";
6112 break;
6113 default:
6114 break;
6115 };
6116 break;
6117 /* ksem_wait */
6118 case 402:
6119 switch(ndx) {
6120 case 0:
6121 p = "semid_t";
6122 break;
6123 default:
6124 break;
6125 };
6126 break;
6127 /* ksem_trywait */
6128 case 403:
6129 switch(ndx) {
6130 case 0:
6131 p = "semid_t";
6132 break;
6133 default:
6134 break;
6135 };
6136 break;
6137 /* freebsd32_ksem_init */
6138 case 404:
6139 switch(ndx) {
6140 case 0:
6141 p = "semid_t *";
6142 break;
6143 case 1:
6144 p = "unsigned int";
6145 break;
6146 default:
6147 break;
6148 };
6149 break;
6150 /* freebsd32_ksem_open */
6151 case 405:
6152 switch(ndx) {
6153 case 0:
6154 p = "semid_t *";
6155 break;
6156 case 1:
6157 p = "const char *";
6158 break;
6159 case 2:
6160 p = "int";
6161 break;
6162 case 3:
6163 p = "mode_t";
6164 break;
6165 case 4:
6166 p = "unsigned int";
6167 break;
6168 default:
6169 break;
6170 };
6171 break;
6172 /* ksem_unlink */
6173 case 406:
6174 switch(ndx) {
6175 case 0:
6176 p = "const char *";
6177 break;
6178 default:
6179 break;
6180 };
6181 break;
6182 /* ksem_getvalue */
6183 case 407:
6184 switch(ndx) {
6185 case 0:
6186 p = "semid_t";
6187 break;
6188 case 1:
6189 p = "int *";
6190 break;
6191 default:
6192 break;
6193 };
6194 break;
6195 /* ksem_destroy */
6196 case 408:
6197 switch(ndx) {
6198 case 0:
6199 p = "semid_t";
6200 break;
6201 default:
6202 break;
6203 };
6204 break;
6205 /* extattr_set_link */
6206 case 412:
6207 switch(ndx) {
6208 case 0:
6209 p = "const char *";
6210 break;
6211 case 1:
6212 p = "int";
6213 break;
6214 case 2:
6215 p = "const char *";
6216 break;
6217 case 3:
6218 p = "void *";
6219 break;
6220 case 4:
6221 p = "size_t";
6222 break;
6223 default:
6224 break;
6225 };
6226 break;
6227 /* extattr_get_link */
6228 case 413:
6229 switch(ndx) {
6230 case 0:
6231 p = "const char *";
6232 break;
6233 case 1:
6234 p = "int";
6235 break;
6236 case 2:
6237 p = "const char *";
6238 break;
6239 case 3:
6240 p = "void *";
6241 break;
6242 case 4:
6243 p = "size_t";
6244 break;
6245 default:
6246 break;
6247 };
6248 break;
6249 /* extattr_delete_link */
6250 case 414:
6251 switch(ndx) {
6252 case 0:
6253 p = "const char *";
6254 break;
6255 case 1:
6256 p = "int";
6257 break;
6258 case 2:
6259 p = "const char *";
6260 break;
6261 default:
6262 break;
6263 };
6264 break;
6265 /* freebsd32_sigaction */
6266 case 416:
6267 switch(ndx) {
6268 case 0:
6269 p = "int";
6270 break;
6271 case 1:
6272 p = "struct sigaction32 *";
6273 break;
6274 case 2:
6275 p = "struct sigaction32 *";
6276 break;
6277 default:
6278 break;
6279 };
6280 break;
6281 /* freebsd32_sigreturn */
6282 case 417:
6283 switch(ndx) {
6284 case 0:
6285 p = "const struct freebsd32_ucontext *";
6286 break;
6287 default:
6288 break;
6289 };
6290 break;
6291 /* freebsd32_getcontext */
6292 case 421:
6293 switch(ndx) {
6294 case 0:
6295 p = "struct freebsd32_ucontext *";
6296 break;
6297 default:
6298 break;
6299 };
|