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