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