1/*
2 * System call argument to DTrace register array converstion.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD: head/sys/kern/systrace_args.c 163451 2006-10-17 02:28:58Z davidxu $
6 * This file is part of the DTrace syscall provider.
7 */
8
9static void
10systrace_args(int sysnum, void *params, u_int64_t *uarg, int *n_args)
11{
12 int64_t *iarg = (int64_t *) uarg;
13 switch (sysnum) {
14 /* nosys */
15 case 0: {
16 *n_args = 0;
17 break;
18 }
19 /* sys_exit */
20 case 1: {
21 struct sys_exit_args *p = params;
22 iarg[0] = p->rval; /* int */
23 *n_args = 1;
24 break;
25 }
26 /* fork */
27 case 2: {
28 *n_args = 0;
29 break;
30 }
31 /* read */
32 case 3: {
33 struct read_args *p = params;
34 iarg[0] = p->fd; /* int */
35 uarg[1] = (intptr_t) p->buf; /* void * */
36 uarg[2] = p->nbyte; /* size_t */
37 *n_args = 3;
38 break;
39 }
40 /* write */
41 case 4: {
42 struct write_args *p = params;
43 iarg[0] = p->fd; /* int */
44 uarg[1] = (intptr_t) p->buf; /* const void * */
45 uarg[2] = p->nbyte; /* size_t */
46 *n_args = 3;
47 break;
48 }
49 /* open */
50 case 5: {
51 struct open_args *p = params;
52 uarg[0] = (intptr_t) p->path; /* char * */
53 iarg[1] = p->flags; /* int */
54 iarg[2] = p->mode; /* int */
55 *n_args = 3;
56 break;
57 }
58 /* close */
59 case 6: {
60 struct close_args *p = params;
61 iarg[0] = p->fd; /* int */
62 *n_args = 1;
63 break;
64 }
65 /* wait4 */
66 case 7: {
67 struct wait_args *p = params;
68 iarg[0] = p->pid; /* int */
69 uarg[1] = (intptr_t) p->status; /* int * */
70 iarg[2] = p->options; /* int */
71 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
72 *n_args = 4;
73 break;
74 }
75 /* link */
76 case 9: {
77 struct link_args *p = params;
78 uarg[0] = (intptr_t) p->path; /* char * */
79 uarg[1] = (intptr_t) p->link; /* char * */
80 *n_args = 2;
81 break;
82 }
83 /* unlink */
84 case 10: {
85 struct unlink_args *p = params;
86 uarg[0] = (intptr_t) p->path; /* char * */
87 *n_args = 1;
88 break;
89 }
90 /* chdir */
91 case 12: {
92 struct chdir_args *p = params;
93 uarg[0] = (intptr_t) p->path; /* char * */
94 *n_args = 1;
95 break;
96 }
97 /* fchdir */
98 case 13: {
99 struct fchdir_args *p = params;
100 iarg[0] = p->fd; /* int */
101 *n_args = 1;
102 break;
103 }
104 /* mknod */
105 case 14: {
106 struct mknod_args *p = params;
107 uarg[0] = (intptr_t) p->path; /* char * */
108 iarg[1] = p->mode; /* int */
109 iarg[2] = p->dev; /* int */
110 *n_args = 3;
111 break;
112 }
113 /* chmod */
114 case 15: {
115 struct chmod_args *p = params;
116 uarg[0] = (intptr_t) p->path; /* char * */
117 iarg[1] = p->mode; /* int */
118 *n_args = 2;
119 break;
120 }
121 /* chown */
122 case 16: {
123 struct chown_args *p = params;
124 uarg[0] = (intptr_t) p->path; /* char * */
125 iarg[1] = p->uid; /* int */
126 iarg[2] = p->gid; /* int */
127 *n_args = 3;
128 break;
129 }
130 /* obreak */
131 case 17: {
132 struct obreak_args *p = params;
133 uarg[0] = (intptr_t) p->nsize; /* char * */
134 *n_args = 1;
135 break;
136 }
137 /* getpid */
138 case 20: {
139 *n_args = 0;
140 break;
141 }
142 /* mount */
143 case 21: {
144 struct mount_args *p = params;
145 uarg[0] = (intptr_t) p->type; /* char * */
146 uarg[1] = (intptr_t) p->path; /* char * */
147 iarg[2] = p->flags; /* int */
148 uarg[3] = (intptr_t) p->data; /* caddr_t */
149 *n_args = 4;
150 break;
151 }
152 /* unmount */
153 case 22: {
154 struct unmount_args *p = params;
155 uarg[0] = (intptr_t) p->path; /* char * */
156 iarg[1] = p->flags; /* int */
157 *n_args = 2;
158 break;
159 }
160 /* setuid */
161 case 23: {
162 struct setuid_args *p = params;
163 uarg[0] = p->uid; /* uid_t */
164 *n_args = 1;
165 break;
166 }
167 /* getuid */
168 case 24: {
169 *n_args = 0;
170 break;
171 }
172 /* geteuid */
173 case 25: {
174 *n_args = 0;
175 break;
176 }
177 /* ptrace */
178 case 26: {
179 struct ptrace_args *p = params;
180 iarg[0] = p->req; /* int */
181 iarg[1] = p->pid; /* pid_t */
182 uarg[2] = (intptr_t) p->addr; /* caddr_t */
183 iarg[3] = p->data; /* int */
184 *n_args = 4;
185 break;
186 }
187 /* recvmsg */
188 case 27: {
189 struct recvmsg_args *p = params;
190 iarg[0] = p->s; /* int */
191 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
192 iarg[2] = p->flags; /* int */
193 *n_args = 3;
194 break;
195 }
196 /* sendmsg */
197 case 28: {
198 struct sendmsg_args *p = params;
199 iarg[0] = p->s; /* int */
200 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
201 iarg[2] = p->flags; /* int */
202 *n_args = 3;
203 break;
204 }
205 /* recvfrom */
206 case 29: {
207 struct recvfrom_args *p = params;
208 iarg[0] = p->s; /* int */
209 uarg[1] = (intptr_t) p->buf; /* caddr_t */
210 uarg[2] = p->len; /* size_t */
211 iarg[3] = p->flags; /* int */
212 uarg[4] = (intptr_t) p->from; /* struct sockaddr *__restrict */
213 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t *__restrict */
214 *n_args = 6;
215 break;
216 }
217 /* accept */
218 case 30: {
219 struct accept_args *p = params;
220 iarg[0] = p->s; /* int */
221 uarg[1] = (intptr_t) p->name; /* struct sockaddr *__restrict */
222 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t *__restrict */
223 *n_args = 3;
224 break;
225 }
226 /* getpeername */
227 case 31: {
228 struct getpeername_args *p = params;
229 iarg[0] = p->fdes; /* int */
230 uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */
231 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */
232 *n_args = 3;
233 break;
234 }
235 /* getsockname */
236 case 32: {
237 struct getsockname_args *p = params;
238 iarg[0] = p->fdes; /* int */
239 uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */
240 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */
241 *n_args = 3;
242 break;
243 }
244 /* access */
245 case 33: {
246 struct access_args *p = params;
247 uarg[0] = (intptr_t) p->path; /* char * */
248 iarg[1] = p->flags; /* int */
249 *n_args = 2;
250 break;
251 }
252 /* chflags */
253 case 34: {
254 struct chflags_args *p = params;
255 uarg[0] = (intptr_t) p->path; /* char * */
256 iarg[1] = p->flags; /* int */
257 *n_args = 2;
258 break;
259 }
260 /* fchflags */
261 case 35: {
262 struct fchflags_args *p = params;
263 iarg[0] = p->fd; /* int */
264 iarg[1] = p->flags; /* int */
265 *n_args = 2;
266 break;
267 }
268 /* sync */
269 case 36: {
270 *n_args = 0;
271 break;
272 }
273 /* kill */
274 case 37: {
275 struct kill_args *p = params;
276 iarg[0] = p->pid; /* int */
277 iarg[1] = p->signum; /* int */
278 *n_args = 2;
279 break;
280 }
281 /* getppid */
282 case 39: {
283 *n_args = 0;
284 break;
285 }
286 /* dup */
287 case 41: {
288 struct dup_args *p = params;
289 uarg[0] = p->fd; /* u_int */
290 *n_args = 1;
291 break;
292 }
293 /* pipe */
294 case 42: {
295 *n_args = 0;
296 break;
297 }
298 /* getegid */
299 case 43: {
300 *n_args = 0;
301 break;
302 }
303 /* profil */
304 case 44: {
305 struct profil_args *p = params;
306 uarg[0] = (intptr_t) p->samples; /* caddr_t */
307 uarg[1] = p->size; /* size_t */
308 uarg[2] = p->offset; /* size_t */
309 uarg[3] = p->scale; /* u_int */
310 *n_args = 4;
311 break;
312 }
313 /* ktrace */
314 case 45: {
315 struct ktrace_args *p = params;
316 uarg[0] = (intptr_t) p->fname; /* const char * */
317 iarg[1] = p->ops; /* int */
318 iarg[2] = p->facs; /* int */
319 iarg[3] = p->pid; /* int */
320 *n_args = 4;
321 break;
322 }
323 /* getgid */
324 case 47: {
325 *n_args = 0;
326 break;
327 }
328 /* getlogin */
329 case 49: {
330 struct getlogin_args *p = params;
331 uarg[0] = (intptr_t) p->namebuf; /* char * */
332 uarg[1] = p->namelen; /* u_int */
333 *n_args = 2;
334 break;
335 }
336 /* setlogin */
337 case 50: {
338 struct setlogin_args *p = params;
339 uarg[0] = (intptr_t) p->namebuf; /* char * */
340 *n_args = 1;
341 break;
342 }
343 /* acct */
344 case 51: {
345 struct acct_args *p = params;
346 uarg[0] = (intptr_t) p->path; /* char * */
347 *n_args = 1;
348 break;
349 }
350 /* sigaltstack */
351 case 53: {
352 struct sigaltstack_args *p = params;
353 uarg[0] = (intptr_t) p->ss; /* stack_t * */
354 uarg[1] = (intptr_t) p->oss; /* stack_t * */
355 *n_args = 2;
356 break;
357 }
358 /* ioctl */
359 case 54: {
360 struct ioctl_args *p = params;
361 iarg[0] = p->fd; /* int */
362 uarg[1] = p->com; /* u_long */
363 uarg[2] = (intptr_t) p->data; /* caddr_t */
364 *n_args = 3;
365 break;
366 }
367 /* reboot */
368 case 55: {
369 struct reboot_args *p = params;
370 iarg[0] = p->opt; /* int */
371 *n_args = 1;
372 break;
373 }
374 /* revoke */
375 case 56: {
376 struct revoke_args *p = params;
377 uarg[0] = (intptr_t) p->path; /* char * */
378 *n_args = 1;
379 break;
380 }
381 /* symlink */
382 case 57: {
383 struct symlink_args *p = params;
384 uarg[0] = (intptr_t) p->path; /* char * */
385 uarg[1] = (intptr_t) p->link; /* char * */
386 *n_args = 2;
387 break;
388 }
389 /* readlink */
390 case 58: {
391 struct readlink_args *p = params;
392 uarg[0] = (intptr_t) p->path; /* char * */
393 uarg[1] = (intptr_t) p->buf; /* char * */
394 iarg[2] = p->count; /* int */
395 *n_args = 3;
396 break;
397 }
398 /* execve */
399 case 59: {
400 struct execve_args *p = params;
401 uarg[0] = (intptr_t) p->fname; /* char * */
402 uarg[1] = (intptr_t) p->argv; /* char ** */
403 uarg[2] = (intptr_t) p->envv; /* char ** */
404 *n_args = 3;
405 break;
406 }
407 /* umask */
408 case 60: {
409 struct umask_args *p = params;
410 iarg[0] = p->newmask; /* int */
411 *n_args = 1;
412 break;
413 }
414 /* chroot */
415 case 61: {
416 struct chroot_args *p = params;
417 uarg[0] = (intptr_t) p->path; /* char * */
418 *n_args = 1;
419 break;
420 }
421 /* msync */
422 case 65: {
423 struct msync_args *p = params;
424 uarg[0] = (intptr_t) p->addr; /* void * */
425 uarg[1] = p->len; /* size_t */
426 iarg[2] = p->flags; /* int */
427 *n_args = 3;
428 break;
429 }
430 /* vfork */
431 case 66: {
432 *n_args = 0;
433 break;
434 }
435 /* sbrk */
436 case 69: {
437 struct sbrk_args *p = params;
438 iarg[0] = p->incr; /* int */
439 *n_args = 1;
440 break;
441 }
442 /* sstk */
443 case 70: {
444 struct sstk_args *p = params;
445 iarg[0] = p->incr; /* int */
446 *n_args = 1;
447 break;
448 }
449 /* ovadvise */
450 case 72: {
451 struct ovadvise_args *p = params;
452 iarg[0] = p->anom; /* int */
453 *n_args = 1;
454 break;
455 }
456 /* munmap */
457 case 73: {
458 struct munmap_args *p = params;
459 uarg[0] = (intptr_t) p->addr; /* void * */
460 uarg[1] = p->len; /* size_t */
461 *n_args = 2;
462 break;
463 }
464 /* mprotect */
465 case 74: {
466 struct mprotect_args *p = params;
467 uarg[0] = (intptr_t) p->addr; /* const void * */
468 uarg[1] = p->len; /* size_t */
469 iarg[2] = p->prot; /* int */
470 *n_args = 3;
471 break;
472 }
473 /* madvise */
474 case 75: {
475 struct madvise_args *p = params;
476 uarg[0] = (intptr_t) p->addr; /* void * */
477 uarg[1] = p->len; /* size_t */
478 iarg[2] = p->behav; /* int */
479 *n_args = 3;
480 break;
481 }
482 /* mincore */
483 case 78: {
484 struct mincore_args *p = params;
485 uarg[0] = (intptr_t) p->addr; /* const void * */
486 uarg[1] = p->len; /* size_t */
487 uarg[2] = (intptr_t) p->vec; /* char * */
488 *n_args = 3;
489 break;
490 }
491 /* getgroups */
492 case 79: {
493 struct getgroups_args *p = params;
494 uarg[0] = p->gidsetsize; /* u_int */
495 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
496 *n_args = 2;
497 break;
498 }
499 /* setgroups */
500 case 80: {
501 struct setgroups_args *p = params;
502 uarg[0] = p->gidsetsize; /* u_int */
503 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
504 *n_args = 2;
505 break;
506 }
507 /* getpgrp */
508 case 81: {
509 *n_args = 0;
510 break;
511 }
512 /* setpgid */
513 case 82: {
514 struct setpgid_args *p = params;
515 iarg[0] = p->pid; /* int */
516 iarg[1] = p->pgid; /* int */
517 *n_args = 2;
518 break;
519 }
520 /* setitimer */
521 case 83: {
522 struct setitimer_args *p = params;
523 uarg[0] = p->which; /* u_int */
524 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
525 uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */
526 *n_args = 3;
527 break;
528 }
529 /* swapon */
530 case 85: {
531 struct swapon_args *p = params;
532 uarg[0] = (intptr_t) p->name; /* char * */
533 *n_args = 1;
534 break;
535 }
536 /* getitimer */
537 case 86: {
538 struct getitimer_args *p = params;
539 uarg[0] = p->which; /* u_int */
540 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
541 *n_args = 2;
542 break;
543 }
544 /* getdtablesize */
545 case 89: {
546 *n_args = 0;
547 break;
548 }
549 /* dup2 */
550 case 90: {
551 struct dup2_args *p = params;
552 uarg[0] = p->from; /* u_int */
553 uarg[1] = p->to; /* u_int */
554 *n_args = 2;
555 break;
556 }
557 /* fcntl */
558 case 92: {
559 struct fcntl_args *p = params;
560 iarg[0] = p->fd; /* int */
561 iarg[1] = p->cmd; /* int */
562 iarg[2] = p->arg; /* long */
563 *n_args = 3;
564 break;
565 }
566 /* select */
567 case 93: {
568 struct select_args *p = params;
569 iarg[0] = p->nd; /* int */
570 uarg[1] = (intptr_t) p->in; /* fd_set * */
571 uarg[2] = (intptr_t) p->ou; /* fd_set * */
572 uarg[3] = (intptr_t) p->ex; /* fd_set * */
573 uarg[4] = (intptr_t) p->tv; /* struct timeval * */
574 *n_args = 5;
575 break;
576 }
577 /* fsync */
578 case 95: {
579 struct fsync_args *p = params;
580 iarg[0] = p->fd; /* int */
581 *n_args = 1;
582 break;
583 }
584 /* setpriority */
585 case 96: {
586 struct setpriority_args *p = params;
587 iarg[0] = p->which; /* int */
588 iarg[1] = p->who; /* int */
589 iarg[2] = p->prio; /* int */
590 *n_args = 3;
591 break;
592 }
593 /* socket */
594 case 97: {
595 struct socket_args *p = params;
596 iarg[0] = p->domain; /* int */
597 iarg[1] = p->type; /* int */
598 iarg[2] = p->protocol; /* int */
599 *n_args = 3;
600 break;
601 }
602 /* connect */
603 case 98: {
604 struct connect_args *p = params;
605 iarg[0] = p->s; /* int */
606 uarg[1] = (intptr_t) p->name; /* caddr_t */
607 iarg[2] = p->namelen; /* int */
608 *n_args = 3;
609 break;
610 }
611 /* getpriority */
612 case 100: {
613 struct getpriority_args *p = params;
614 iarg[0] = p->which; /* int */
615 iarg[1] = p->who; /* int */
616 *n_args = 2;
617 break;
618 }
619 /* bind */
620 case 104: {
621 struct bind_args *p = params;
622 iarg[0] = p->s; /* int */
623 uarg[1] = (intptr_t) p->name; /* caddr_t */
624 iarg[2] = p->namelen; /* int */
625 *n_args = 3;
626 break;
627 }
628 /* setsockopt */
629 case 105: {
630 struct setsockopt_args *p = params;
631 iarg[0] = p->s; /* int */
632 iarg[1] = p->level; /* int */
633 iarg[2] = p->name; /* int */
634 uarg[3] = (intptr_t) p->val; /* caddr_t */
635 iarg[4] = p->valsize; /* int */
636 *n_args = 5;
637 break;
638 }
639 /* listen */
640 case 106: {
641 struct listen_args *p = params;
642 iarg[0] = p->s; /* int */
643 iarg[1] = p->backlog; /* int */
644 *n_args = 2;
645 break;
646 }
647 /* gettimeofday */
648 case 116: {
649 struct gettimeofday_args *p = params;
650 uarg[0] = (intptr_t) p->tp; /* struct timeval * */
651 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
652 *n_args = 2;
653 break;
654 }
655 /* getrusage */
656 case 117: {
657 struct getrusage_args *p = params;
658 iarg[0] = p->who; /* int */
659 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
660 *n_args = 2;
661 break;
662 }
663 /* getsockopt */
664 case 118: {
665 struct getsockopt_args *p = params;
666 iarg[0] = p->s; /* int */
667 iarg[1] = p->level; /* int */
668 iarg[2] = p->name; /* int */
669 uarg[3] = (intptr_t) p->val; /* caddr_t */
670 uarg[4] = (intptr_t) p->avalsize; /* int * */
671 *n_args = 5;
672 break;
673 }
674 /* readv */
675 case 120: {
676 struct readv_args *p = params;
677 iarg[0] = p->fd; /* int */
678 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
679 uarg[2] = p->iovcnt; /* u_int */
680 *n_args = 3;
681 break;
682 }
683 /* writev */
684 case 121: {
685 struct writev_args *p = params;
686 iarg[0] = p->fd; /* int */
687 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
688 uarg[2] = p->iovcnt; /* u_int */
689 *n_args = 3;
690 break;
691 }
692 /* settimeofday */
693 case 122: {
694 struct settimeofday_args *p = params;
695 uarg[0] = (intptr_t) p->tv; /* struct timeval * */
696 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
697 *n_args = 2;
698 break;
699 }
700 /* fchown */
701 case 123: {
702 struct fchown_args *p = params;
703 iarg[0] = p->fd; /* int */
704 iarg[1] = p->uid; /* int */
705 iarg[2] = p->gid; /* int */
706 *n_args = 3;
707 break;
708 }
709 /* fchmod */
710 case 124: {
711 struct fchmod_args *p = params;
712 iarg[0] = p->fd; /* int */
713 iarg[1] = p->mode; /* int */
714 *n_args = 2;
715 break;
716 }
717 /* setreuid */
718 case 126: {
719 struct setreuid_args *p = params;
720 iarg[0] = p->ruid; /* int */
721 iarg[1] = p->euid; /* int */
722 *n_args = 2;
723 break;
724 }
725 /* setregid */
726 case 127: {
727 struct setregid_args *p = params;
728 iarg[0] = p->rgid; /* int */
729 iarg[1] = p->egid; /* int */
730 *n_args = 2;
731 break;
732 }
733 /* rename */
734 case 128: {
735 struct rename_args *p = params;
736 uarg[0] = (intptr_t) p->from; /* char * */
737 uarg[1] = (intptr_t) p->to; /* char * */
738 *n_args = 2;
739 break;
740 }
741 /* flock */
742 case 131: {
743 struct flock_args *p = params;
744 iarg[0] = p->fd; /* int */
745 iarg[1] = p->how; /* int */
746 *n_args = 2;
747 break;
748 }
749 /* mkfifo */
750 case 132: {
751 struct mkfifo_args *p = params;
752 uarg[0] = (intptr_t) p->path; /* char * */
753 iarg[1] = p->mode; /* int */
754 *n_args = 2;
755 break;
756 }
757 /* sendto */
758 case 133: {
759 struct sendto_args *p = params;
760 iarg[0] = p->s; /* int */
761 uarg[1] = (intptr_t) p->buf; /* caddr_t */
762 uarg[2] = p->len; /* size_t */
763 iarg[3] = p->flags; /* int */
764 uarg[4] = (intptr_t) p->to; /* caddr_t */
765 iarg[5] = p->tolen; /* int */
766 *n_args = 6;
767 break;
768 }
769 /* shutdown */
770 case 134: {
771 struct shutdown_args *p = params;
772 iarg[0] = p->s; /* int */
773 iarg[1] = p->how; /* int */
774 *n_args = 2;
775 break;
776 }
777 /* socketpair */
778 case 135: {
779 struct socketpair_args *p = params;
780 iarg[0] = p->domain; /* int */
781 iarg[1] = p->type; /* int */
782 iarg[2] = p->protocol; /* int */
783 uarg[3] = (intptr_t) p->rsv; /* int * */
784 *n_args = 4;
785 break;
786 }
787 /* mkdir */
788 case 136: {
789 struct mkdir_args *p = params;
790 uarg[0] = (intptr_t) p->path; /* char * */
791 iarg[1] = p->mode; /* int */
792 *n_args = 2;
793 break;
794 }
795 /* rmdir */
796 case 137: {
797 struct rmdir_args *p = params;
798 uarg[0] = (intptr_t) p->path; /* char * */
799 *n_args = 1;
800 break;
801 }
802 /* utimes */
803 case 138: {
804 struct utimes_args *p = params;
805 uarg[0] = (intptr_t) p->path; /* char * */
806 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
807 *n_args = 2;
808 break;
809 }
810 /* adjtime */
811 case 140: {
812 struct adjtime_args *p = params;
813 uarg[0] = (intptr_t) p->delta; /* struct timeval * */
814 uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */
815 *n_args = 2;
816 break;
817 }
818 /* setsid */
819 case 147: {
820 *n_args = 0;
821 break;
822 }
823 /* quotactl */
824 case 148: {
825 struct quotactl_args *p = params;
826 uarg[0] = (intptr_t) p->path; /* char * */
827 iarg[1] = p->cmd; /* int */
828 iarg[2] = p->uid; /* int */
829 uarg[3] = (intptr_t) p->arg; /* caddr_t */
830 *n_args = 4;
831 break;
832 }
833 /* nfssvc */
834 case 155: {
835 struct nfssvc_args *p = params;
836 iarg[0] = p->flag; /* int */
837 uarg[1] = (intptr_t) p->argp; /* caddr_t */
838 *n_args = 2;
839 break;
840 }
841 /* lgetfh */
842 case 160: {
843 struct lgetfh_args *p = params;
844 uarg[0] = (intptr_t) p->fname; /* char * */
845 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
846 *n_args = 2;
847 break;
848 }
849 /* getfh */
850 case 161: {
851 struct getfh_args *p = params;
852 uarg[0] = (intptr_t) p->fname; /* char * */
853 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
854 *n_args = 2;
855 break;
856 }
857 /* getdomainname */
858 case 162: {
859 struct getdomainname_args *p = params;
860 uarg[0] = (intptr_t) p->domainname; /* char * */
861 iarg[1] = p->len; /* int */
862 *n_args = 2;
863 break;
864 }
865 /* setdomainname */
866 case 163: {
867 struct setdomainname_args *p = params;
868 uarg[0] = (intptr_t) p->domainname; /* char * */
869 iarg[1] = p->len; /* int */
870 *n_args = 2;
871 break;
872 }
873 /* uname */
874 case 164: {
875 struct uname_args *p = params;
876 uarg[0] = (intptr_t) p->name; /* struct utsname * */
877 *n_args = 1;
878 break;
879 }
880 /* sysarch */
881 case 165: {
882 struct sysarch_args *p = params;
883 iarg[0] = p->op; /* int */
884 uarg[1] = (intptr_t) p->parms; /* char * */
885 *n_args = 2;
886 break;
887 }
888 /* rtprio */
889 case 166: {
890 struct rtprio_args *p = params;
891 iarg[0] = p->function; /* int */
892 iarg[1] = p->pid; /* pid_t */
893 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
894 *n_args = 3;
895 break;
896 }
897 /* semsys */
898 case 169: {
899 struct semsys_args *p = params;
900 iarg[0] = p->which; /* int */
901 iarg[1] = p->a2; /* int */
902 iarg[2] = p->a3; /* int */
903 iarg[3] = p->a4; /* int */
904 iarg[4] = p->a5; /* int */
905 *n_args = 5;
906 break;
907 }
908 /* msgsys */
909 case 170: {
910 struct msgsys_args *p = params;
911 iarg[0] = p->which; /* int */
912 iarg[1] = p->a2; /* int */
913 iarg[2] = p->a3; /* int */
914 iarg[3] = p->a4; /* int */
915 iarg[4] = p->a5; /* int */
916 iarg[5] = p->a6; /* int */
917 *n_args = 6;
918 break;
919 }
920 /* shmsys */
921 case 171: {
922 struct shmsys_args *p = params;
923 iarg[0] = p->which; /* int */
924 iarg[1] = p->a2; /* int */
925 iarg[2] = p->a3; /* int */
926 iarg[3] = p->a4; /* int */
927 *n_args = 4;
928 break;
929 }
930 /* pread */
931 case 173: {
932 struct pread_args *p = params;
933 iarg[0] = p->fd; /* int */
934 uarg[1] = (intptr_t) p->buf; /* void * */
935 uarg[2] = p->nbyte; /* size_t */
936 iarg[3] = p->pad; /* int */
937 iarg[4] = p->offset; /* off_t */
938 *n_args = 5;
939 break;
940 }
941 /* pwrite */
942 case 174: {
943 struct pwrite_args *p = params;
944 iarg[0] = p->fd; /* int */
945 uarg[1] = (intptr_t) p->buf; /* const void * */
946 uarg[2] = p->nbyte; /* size_t */
947 iarg[3] = p->pad; /* int */
948 iarg[4] = p->offset; /* off_t */
949 *n_args = 5;
950 break;
951 }
952 /* ntp_adjtime */
953 case 176: {
954 struct ntp_adjtime_args *p = params;
955 uarg[0] = (intptr_t) p->tp; /* struct timex * */
956 *n_args = 1;
957 break;
958 }
959 /* setgid */
960 case 181: {
961 struct setgid_args *p = params;
962 iarg[0] = p->gid; /* gid_t */
963 *n_args = 1;
964 break;
965 }
966 /* setegid */
967 case 182: {
968 struct setegid_args *p = params;
969 iarg[0] = p->egid; /* gid_t */
970 *n_args = 1;
971 break;
972 }
973 /* seteuid */
974 case 183: {
975 struct seteuid_args *p = params;
976 uarg[0] = p->euid; /* uid_t */
977 *n_args = 1;
978 break;
979 }
980 /* stat */
981 case 188: {
982 struct stat_args *p = params;
983 uarg[0] = (intptr_t) p->path; /* char * */
984 uarg[1] = (intptr_t) p->ub; /* struct stat * */
985 *n_args = 2;
986 break;
987 }
988 /* fstat */
989 case 189: {
990 struct fstat_args *p = params;
991 iarg[0] = p->fd; /* int */
992 uarg[1] = (intptr_t) p->sb; /* struct stat * */
993 *n_args = 2;
994 break;
995 }
996 /* lstat */
997 case 190: {
998 struct lstat_args *p = params;
999 uarg[0] = (intptr_t) p->path; /* char * */
1000 uarg[1] = (intptr_t) p->ub; /* struct stat * */
1001 *n_args = 2;
1002 break;
1003 }
1004 /* pathconf */
1005 case 191: {
1006 struct pathconf_args *p = params;
1007 uarg[0] = (intptr_t) p->path; /* char * */
1008 iarg[1] = p->name; /* int */
1009 *n_args = 2;
1010 break;
1011 }
1012 /* fpathconf */
1013 case 192: {
1014 struct fpathconf_args *p = params;
1015 iarg[0] = p->fd; /* int */
1016 iarg[1] = p->name; /* int */
1017 *n_args = 2;
1018 break;
1019 }
1020 /* getrlimit */
1021 case 194: {
1022 struct __getrlimit_args *p = params;
1023 uarg[0] = p->which; /* u_int */
1024 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1025 *n_args = 2;
1026 break;
1027 }
1028 /* setrlimit */
1029 case 195: {
1030 struct __setrlimit_args *p = params;
1031 uarg[0] = p->which; /* u_int */
1032 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1033 *n_args = 2;
1034 break;
1035 }
1036 /* getdirentries */
1037 case 196: {
1038 struct getdirentries_args *p = params;
1039 iarg[0] = p->fd; /* int */
1040 uarg[1] = (intptr_t) p->buf; /* char * */
1041 uarg[2] = p->count; /* u_int */
1042 uarg[3] = (intptr_t) p->basep; /* long * */
1043 *n_args = 4;
1044 break;
1045 }
1046 /* mmap */
1047 case 197: {
1048 struct mmap_args *p = params;
1049 uarg[0] = (intptr_t) p->addr; /* caddr_t */
1050 uarg[1] = p->len; /* size_t */
1051 iarg[2] = p->prot; /* int */
1052 iarg[3] = p->flags; /* int */
1053 iarg[4] = p->fd; /* int */
1054 iarg[5] = p->pad; /* int */
1055 iarg[6] = p->pos; /* off_t */
1056 *n_args = 7;
1057 break;
1058 }
1059 /* nosys */
1060 case 198: {
1061 *n_args = 0;
1062 break;
1063 }
1064 /* lseek */
1065 case 199: {
1066 struct lseek_args *p = params;
1067 iarg[0] = p->fd; /* int */
1068 iarg[1] = p->pad; /* int */
1069 iarg[2] = p->offset; /* off_t */
1070 iarg[3] = p->whence; /* int */
1071 *n_args = 4;
1072 break;
1073 }
1074 /* truncate */
1075 case 200: {
1076 struct truncate_args *p = params;
1077 uarg[0] = (intptr_t) p->path; /* char * */
1078 iarg[1] = p->pad; /* int */
1079 iarg[2] = p->length; /* off_t */
1080 *n_args = 3;
1081 break;
1082 }
1083 /* ftruncate */
1084 case 201: {
1085 struct ftruncate_args *p = params;
1086 iarg[0] = p->fd; /* int */
1087 iarg[1] = p->pad; /* int */
1088 iarg[2] = p->length; /* off_t */
1089 *n_args = 3;
1090 break;
1091 }
1092 /* __sysctl */
1093 case 202: {
1094 struct sysctl_args *p = params;
1095 uarg[0] = (intptr_t) p->name; /* int * */
1096 uarg[1] = p->namelen; /* u_int */
1097 uarg[2] = (intptr_t) p->old; /* void * */
1098 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
1099 uarg[4] = (intptr_t) p->new; /* void * */
1100 uarg[5] = p->newlen; /* size_t */
1101 *n_args = 6;
1102 break;
1103 }
1104 /* mlock */
1105 case 203: {
1106 struct mlock_args *p = params;
1107 uarg[0] = (intptr_t) p->addr; /* const void * */
1108 uarg[1] = p->len; /* size_t */
1109 *n_args = 2;
1110 break;
1111 }
1112 /* munlock */
1113 case 204: {
1114 struct munlock_args *p = params;
1115 uarg[0] = (intptr_t) p->addr; /* const void * */
1116 uarg[1] = p->len; /* size_t */
1117 *n_args = 2;
1118 break;
1119 }
1120 /* undelete */
1121 case 205: {
1122 struct undelete_args *p = params;
1123 uarg[0] = (intptr_t) p->path; /* char * */
1124 *n_args = 1;
1125 break;
1126 }
1127 /* futimes */
1128 case 206: {
1129 struct futimes_args *p = params;
1130 iarg[0] = p->fd; /* int */
1131 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1132 *n_args = 2;
1133 break;
1134 }
1135 /* getpgid */
1136 case 207: {
1137 struct getpgid_args *p = params;
1138 iarg[0] = p->pid; /* pid_t */
1139 *n_args = 1;
1140 break;
1141 }
1142 /* poll */
1143 case 209: {
1144 struct poll_args *p = params;
1145 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1146 uarg[1] = p->nfds; /* u_int */
1147 iarg[2] = p->timeout; /* int */
1148 *n_args = 3;
1149 break;
1150 }
1151 /* lkmnosys */
1152 case 210: {
1153 *n_args = 0;
1154 break;
1155 }
1156 /* lkmnosys */
1157 case 211: {
1158 *n_args = 0;
1159 break;
1160 }
1161 /* lkmnosys */
1162 case 212: {
1163 *n_args = 0;
1164 break;
1165 }
1166 /* lkmnosys */
1167 case 213: {
1168 *n_args = 0;
1169 break;
1170 }
1171 /* lkmnosys */
1172 case 214: {
1173 *n_args = 0;
1174 break;
1175 }
1176 /* lkmnosys */
1177 case 215: {
1178 *n_args = 0;
1179 break;
1180 }
1181 /* lkmnosys */
1182 case 216: {
1183 *n_args = 0;
1184 break;
1185 }
1186 /* lkmnosys */
1187 case 217: {
1188 *n_args = 0;
1189 break;
1190 }
1191 /* lkmnosys */
1192 case 218: {
1193 *n_args = 0;
1194 break;
1195 }
1196 /* lkmnosys */
1197 case 219: {
1198 *n_args = 0;
1199 break;
1200 }
1201 /* __semctl */
1202 case 220: {
1203 struct __semctl_args *p = params;
1204 iarg[0] = p->semid; /* int */
1205 iarg[1] = p->semnum; /* int */
1206 iarg[2] = p->cmd; /* int */
1207 uarg[3] = (intptr_t) p->arg; /* union semun * */
1208 *n_args = 4;
1209 break;
1210 }
1211 /* semget */
1212 case 221: {
1213 struct semget_args *p = params;
1214 iarg[0] = p->key; /* key_t */
1215 iarg[1] = p->nsems; /* int */
1216 iarg[2] = p->semflg; /* int */
1217 *n_args = 3;
1218 break;
1219 }
1220 /* semop */
1221 case 222: {
1222 struct semop_args *p = params;
1223 iarg[0] = p->semid; /* int */
1224 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1225 uarg[2] = p->nsops; /* size_t */
1226 *n_args = 3;
1227 break;
1228 }
1229 /* msgctl */
1230 case 224: {
1231 struct msgctl_args *p = params;
1232 iarg[0] = p->msqid; /* int */
1233 iarg[1] = p->cmd; /* int */
1234 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
1235 *n_args = 3;
1236 break;
1237 }
1238 /* msgget */
1239 case 225: {
1240 struct msgget_args *p = params;
1241 iarg[0] = p->key; /* key_t */
1242 iarg[1] = p->msgflg; /* int */
1243 *n_args = 2;
1244 break;
1245 }
1246 /* msgsnd */
1247 case 226: {
1248 struct msgsnd_args *p = params;
1249 iarg[0] = p->msqid; /* int */
1250 uarg[1] = (intptr_t) p->msgp; /* const void * */
1251 uarg[2] = p->msgsz; /* size_t */
1252 iarg[3] = p->msgflg; /* int */
1253 *n_args = 4;
1254 break;
1255 }
1256 /* msgrcv */
1257 case 227: {
1258 struct msgrcv_args *p = params;
1259 iarg[0] = p->msqid; /* int */
1260 uarg[1] = (intptr_t) p->msgp; /* void * */
1261 uarg[2] = p->msgsz; /* size_t */
1262 iarg[3] = p->msgtyp; /* long */
1263 iarg[4] = p->msgflg; /* int */
1264 *n_args = 5;
1265 break;
1266 }
1267 /* shmat */
1268 case 228: {
1269 struct shmat_args *p = params;
1270 iarg[0] = p->shmid; /* int */
1271 uarg[1] = (intptr_t) p->shmaddr; /* const void * */
1272 iarg[2] = p->shmflg; /* int */
1273 *n_args = 3;
1274 break;
1275 }
1276 /* shmctl */
1277 case 229: {
1278 struct shmctl_args *p = params;
1279 iarg[0] = p->shmid; /* int */
1280 iarg[1] = p->cmd; /* int */
1281 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
1282 *n_args = 3;
1283 break;
1284 }
1285 /* shmdt */
1286 case 230: {
1287 struct shmdt_args *p = params;
1288 uarg[0] = (intptr_t) p->shmaddr; /* const void * */
1289 *n_args = 1;
1290 break;
1291 }
1292 /* shmget */
1293 case 231: {
1294 struct shmget_args *p = params;
1295 iarg[0] = p->key; /* key_t */
1296 uarg[1] = p->size; /* size_t */
1297 iarg[2] = p->shmflg; /* int */
1298 *n_args = 3;
1299 break;
1300 }
1301 /* clock_gettime */
1302 case 232: {
1303 struct clock_gettime_args *p = params;
1304 iarg[0] = p->clock_id; /* clockid_t */
1305 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1306 *n_args = 2;
1307 break;
1308 }
1309 /* clock_settime */
1310 case 233: {
1311 struct clock_settime_args *p = params;
1312 iarg[0] = p->clock_id; /* clockid_t */
1313 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */
1314 *n_args = 2;
1315 break;
1316 }
1317 /* clock_getres */
1318 case 234: {
1319 struct clock_getres_args *p = params;
1320 iarg[0] = p->clock_id; /* clockid_t */
1321 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1322 *n_args = 2;
1323 break;
1324 }
1325 /* ktimer_create */
1326 case 235: {
1327 struct ktimer_create_args *p = params;
1328 iarg[0] = p->clock_id; /* clockid_t */
1329 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1330 uarg[2] = (intptr_t) p->timerid; /* int * */
1331 *n_args = 3;
1332 break;
1333 }
1334 /* ktimer_delete */
1335 case 236: {
1336 struct ktimer_delete_args *p = params;
1337 iarg[0] = p->timerid; /* int */
1338 *n_args = 1;
1339 break;
1340 }
1341 /* ktimer_settime */
1342 case 237: {
1343 struct ktimer_settime_args *p = params;
1344 iarg[0] = p->timerid; /* int */
1345 iarg[1] = p->flags; /* int */
1346 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */
1347 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */
1348 *n_args = 4;
1349 break;
1350 }
1351 /* ktimer_gettime */
1352 case 238: {
1353 struct ktimer_gettime_args *p = params;
1354 iarg[0] = p->timerid; /* int */
1355 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */
1356 *n_args = 2;
1357 break;
1358 }
1359 /* ktimer_getoverrun */
1360 case 239: {
1361 struct ktimer_getoverrun_args *p = params;
1362 iarg[0] = p->timerid; /* int */
1363 *n_args = 1;
1364 break;
1365 }
1366 /* nanosleep */
1367 case 240: {
1368 struct nanosleep_args *p = params;
1369 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */
1370 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */
1371 *n_args = 2;
1372 break;
1373 }
1374 /* ntp_gettime */
1375 case 248: {
1376 struct ntp_gettime_args *p = params;
1377 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1378 *n_args = 1;
1379 break;
1380 }
1381 /* minherit */
1382 case 250: {
1383 struct minherit_args *p = params;
1384 uarg[0] = (intptr_t) p->addr; /* void * */
1385 uarg[1] = p->len; /* size_t */
1386 iarg[2] = p->inherit; /* int */
1387 *n_args = 3;
1388 break;
1389 }
1390 /* rfork */
1391 case 251: {
1392 struct rfork_args *p = params;
1393 iarg[0] = p->flags; /* int */
1394 *n_args = 1;
1395 break;
1396 }
1397 /* openbsd_poll */
1398 case 252: {
1399 struct openbsd_poll_args *p = params;
1400 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1401 uarg[1] = p->nfds; /* u_int */
1402 iarg[2] = p->timeout; /* int */
1403 *n_args = 3;
1404 break;
1405 }
1406 /* issetugid */
1407 case 253: {
1408 *n_args = 0;
1409 break;
1410 }
1411 /* lchown */
1412 case 254: {
1413 struct lchown_args *p = params;
1414 uarg[0] = (intptr_t) p->path; /* char * */
1415 iarg[1] = p->uid; /* int */
1416 iarg[2] = p->gid; /* int */
1417 *n_args = 3;
1418 break;
1419 }
1420 /* aio_read */
1421 case 255: {
1422 struct aio_read_args *p = params;
1423 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1424 *n_args = 1;
1425 break;
1426 }
1427 /* aio_write */
1428 case 256: {
1429 struct aio_write_args *p = params;
1430 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1431 *n_args = 1;
1432 break;
1433 }
1434 /* lio_listio */
1435 case 257: {
1436 struct lio_listio_args *p = params;
1437 iarg[0] = p->mode; /* int */
1438 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1439 iarg[2] = p->nent; /* int */
1440 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1441 *n_args = 4;
1442 break;
1443 }
1444 /* getdents */
1445 case 272: {
1446 struct getdents_args *p = params;
1447 iarg[0] = p->fd; /* int */
1448 uarg[1] = (intptr_t) p->buf; /* char * */
1449 uarg[2] = p->count; /* size_t */
1450 *n_args = 3;
1451 break;
1452 }
1453 /* lchmod */
1454 case 274: {
1455 struct lchmod_args *p = params;
1456 uarg[0] = (intptr_t) p->path; /* char * */
1457 iarg[1] = p->mode; /* mode_t */
1458 *n_args = 2;
1459 break;
1460 }
1461 /* lchown */
1462 case 275: {
1463 struct lchown_args *p = params;
1464 uarg[0] = (intptr_t) p->path; /* char * */
1465 uarg[1] = p->uid; /* uid_t */
1466 iarg[2] = p->gid; /* gid_t */
1467 *n_args = 3;
1468 break;
1469 }
1470 /* lutimes */
1471 case 276: {
1472 struct lutimes_args *p = params;
1473 uarg[0] = (intptr_t) p->path; /* char * */
1474 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1475 *n_args = 2;
1476 break;
1477 }
1478 /* msync */
1479 case 277: {
1480 struct msync_args *p = params;
1481 uarg[0] = (intptr_t) p->addr; /* void * */
1482 uarg[1] = p->len; /* size_t */
1483 iarg[2] = p->flags; /* int */
1484 *n_args = 3;
1485 break;
1486 }
1487 /* nstat */
1488 case 278: {
1489 struct nstat_args *p = params;
1490 uarg[0] = (intptr_t) p->path; /* char * */
1491 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1492 *n_args = 2;
1493 break;
1494 }
1495 /* nfstat */
1496 case 279: {
1497 struct nfstat_args *p = params;
1498 iarg[0] = p->fd; /* int */
1499 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1500 *n_args = 2;
1501 break;
1502 }
1503 /* nlstat */
1504 case 280: {
1505 struct nlstat_args *p = params;
1506 uarg[0] = (intptr_t) p->path; /* char * */
1507 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1508 *n_args = 2;
1509 break;
1510 }
1511 /* preadv */
1512 case 289: {
1513 struct preadv_args *p = params;
1514 iarg[0] = p->fd; /* int */
1515 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1516 uarg[2] = p->iovcnt; /* u_int */
1517 iarg[3] = p->offset; /* off_t */
1518 *n_args = 4;
1519 break;
1520 }
1521 /* pwritev */
1522 case 290: {
1523 struct pwritev_args *p = params;
1524 iarg[0] = p->fd; /* int */
1525 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1526 uarg[2] = p->iovcnt; /* u_int */
1527 iarg[3] = p->offset; /* off_t */
1528 *n_args = 4;
1529 break;
1530 }
1531 /* fhopen */
1532 case 298: {
1533 struct fhopen_args *p = params;
1534 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1535 iarg[1] = p->flags; /* int */
1536 *n_args = 2;
1537 break;
1538 }
1539 /* fhstat */
1540 case 299: {
1541 struct fhstat_args *p = params;
1542 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1543 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1544 *n_args = 2;
1545 break;
1546 }
1547 /* modnext */
1548 case 300: {
1549 struct modnext_args *p = params;
1550 iarg[0] = p->modid; /* int */
1551 *n_args = 1;
1552 break;
1553 }
1554 /* modstat */
1555 case 301: {
1556 struct modstat_args *p = params;
1557 iarg[0] = p->modid; /* int */
1558 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1559 *n_args = 2;
1560 break;
1561 }
1562 /* modfnext */
1563 case 302: {
1564 struct modfnext_args *p = params;
1565 iarg[0] = p->modid; /* int */
1566 *n_args = 1;
1567 break;
1568 }
1569 /* modfind */
1570 case 303: {
1571 struct modfind_args *p = params;
1572 uarg[0] = (intptr_t) p->name; /* const char * */
1573 *n_args = 1;
1574 break;
1575 }
1576 /* kldload */
1577 case 304: {
1578 struct kldload_args *p = params;
1579 uarg[0] = (intptr_t) p->file; /* const char * */
1580 *n_args = 1;
1581 break;
1582 }
1583 /* kldunload */
1584 case 305: {
1585 struct kldunload_args *p = params;
1586 iarg[0] = p->fileid; /* int */
1587 *n_args = 1;
1588 break;
1589 }
1590 /* kldfind */
1591 case 306: {
1592 struct kldfind_args *p = params;
1593 uarg[0] = (intptr_t) p->file; /* const char * */
1594 *n_args = 1;
1595 break;
1596 }
1597 /* kldnext */
1598 case 307: {
1599 struct kldnext_args *p = params;
1600 iarg[0] = p->fileid; /* int */
1601 *n_args = 1;
1602 break;
1603 }
1604 /* kldstat */
1605 case 308: {
1606 struct kldstat_args *p = params;
1607 iarg[0] = p->fileid; /* int */
1608 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1609 *n_args = 2;
1610 break;
1611 }
1612 /* kldfirstmod */
1613 case 309: {
1614 struct kldfirstmod_args *p = params;
1615 iarg[0] = p->fileid; /* int */
1616 *n_args = 1;
1617 break;
1618 }
1619 /* getsid */
1620 case 310: {
1621 struct getsid_args *p = params;
1622 iarg[0] = p->pid; /* pid_t */
1623 *n_args = 1;
1624 break;
1625 }
1626 /* setresuid */
1627 case 311: {
1628 struct setresuid_args *p = params;
1629 uarg[0] = p->ruid; /* uid_t */
1630 uarg[1] = p->euid; /* uid_t */
1631 uarg[2] = p->suid; /* uid_t */
1632 *n_args = 3;
1633 break;
1634 }
1635 /* setresgid */
1636 case 312: {
1637 struct setresgid_args *p = params;
1638 iarg[0] = p->rgid; /* gid_t */
1639 iarg[1] = p->egid; /* gid_t */
1640 iarg[2] = p->sgid; /* gid_t */
1641 *n_args = 3;
1642 break;
1643 }
1644 /* aio_return */
1645 case 314: {
1646 struct aio_return_args *p = params;
1647 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1648 *n_args = 1;
1649 break;
1650 }
1651 /* aio_suspend */
1652 case 315: {
1653 struct aio_suspend_args *p = params;
1654 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1655 iarg[1] = p->nent; /* int */
1656 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1657 *n_args = 3;
1658 break;
1659 }
1660 /* aio_cancel */
1661 case 316: {
1662 struct aio_cancel_args *p = params;
1663 iarg[0] = p->fd; /* int */
1664 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1665 *n_args = 2;
1666 break;
1667 }
1668 /* aio_error */
1669 case 317: {
1670 struct aio_error_args *p = params;
1671 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1672 *n_args = 1;
1673 break;
1674 }
1675 /* oaio_read */
1676 case 318: {
1677 struct oaio_read_args *p = params;
1678 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1679 *n_args = 1;
1680 break;
1681 }
1682 /* oaio_write */
1683 case 319: {
1684 struct oaio_write_args *p = params;
1685 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1686 *n_args = 1;
1687 break;
1688 }
1689 /* olio_listio */
1690 case 320: {
1691 struct olio_listio_args *p = params;
1692 iarg[0] = p->mode; /* int */
1693 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb *const * */
1694 iarg[2] = p->nent; /* int */
1695 uarg[3] = (intptr_t) p->sig; /* struct osigevent * */
1696 *n_args = 4;
1697 break;
1698 }
1699 /* yield */
1700 case 321: {
1701 *n_args = 0;
1702 break;
1703 }
1704 /* mlockall */
1705 case 324: {
1706 struct mlockall_args *p = params;
1707 iarg[0] = p->how; /* int */
1708 *n_args = 1;
1709 break;
1710 }
1711 /* munlockall */
1712 case 325: {
1713 *n_args = 0;
1714 break;
1715 }
1716 /* __getcwd */
1717 case 326: {
1718 struct __getcwd_args *p = params;
1719 uarg[0] = (intptr_t) p->buf; /* u_char * */
1720 uarg[1] = p->buflen; /* u_int */
1721 *n_args = 2;
1722 break;
1723 }
1724 /* sched_setparam */
1725 case 327: {
1726 struct sched_setparam_args *p = params;
1727 iarg[0] = p->pid; /* pid_t */
1728 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1729 *n_args = 2;
1730 break;
1731 }
1732 /* sched_getparam */
1733 case 328: {
1734 struct sched_getparam_args *p = params;
1735 iarg[0] = p->pid; /* pid_t */
1736 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1737 *n_args = 2;
1738 break;
1739 }
1740 /* sched_setscheduler */
1741 case 329: {
1742 struct sched_setscheduler_args *p = params;
1743 iarg[0] = p->pid; /* pid_t */
1744 iarg[1] = p->policy; /* int */
1745 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1746 *n_args = 3;
1747 break;
1748 }
1749 /* sched_getscheduler */
1750 case 330: {
1751 struct sched_getscheduler_args *p = params;
1752 iarg[0] = p->pid; /* pid_t */
1753 *n_args = 1;
1754 break;
1755 }
1756 /* sched_yield */
1757 case 331: {
1758 *n_args = 0;
1759 break;
1760 }
1761 /* sched_get_priority_max */
1762 case 332: {
1763 struct sched_get_priority_max_args *p = params;
1764 iarg[0] = p->policy; /* int */
1765 *n_args = 1;
1766 break;
1767 }
1768 /* sched_get_priority_min */
1769 case 333: {
1770 struct sched_get_priority_min_args *p = params;
1771 iarg[0] = p->policy; /* int */
1772 *n_args = 1;
1773 break;
1774 }
1775 /* sched_rr_get_interval */
1776 case 334: {
1777 struct sched_rr_get_interval_args *p = params;
1778 iarg[0] = p->pid; /* pid_t */
1779 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1780 *n_args = 2;
1781 break;
1782 }
1783 /* utrace */
1784 case 335: {
1785 struct utrace_args *p = params;
1786 uarg[0] = (intptr_t) p->addr; /* const void * */
1787 uarg[1] = p->len; /* size_t */
1788 *n_args = 2;
1789 break;
1790 }
1791 /* kldsym */
1792 case 337: {
1793 struct kldsym_args *p = params;
1794 iarg[0] = p->fileid; /* int */
1795 iarg[1] = p->cmd; /* int */
1796 uarg[2] = (intptr_t) p->data; /* void * */
1797 *n_args = 3;
1798 break;
1799 }
1800 /* jail */
1801 case 338: {
1802 struct jail_args *p = params;
1803 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1804 *n_args = 1;
1805 break;
1806 }
1807 /* sigprocmask */
1808 case 340: {
1809 struct sigprocmask_args *p = params;
1810 iarg[0] = p->how; /* int */
1811 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1812 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1813 *n_args = 3;
1814 break;
1815 }
1816 /* sigsuspend */
1817 case 341: {
1818 struct sigsuspend_args *p = params;
1819 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1820 *n_args = 1;
1821 break;
1822 }
1823 /* sigpending */
1824 case 343: {
1825 struct sigpending_args *p = params;
1826 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1827 *n_args = 1;
1828 break;
1829 }
1830 /* sigtimedwait */
1831 case 345: {
1832 struct sigtimedwait_args *p = params;
1833 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1834 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1835 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1836 *n_args = 3;
1837 break;
1838 }
1839 /* sigwaitinfo */
1840 case 346: {
1841 struct sigwaitinfo_args *p = params;
1842 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1843 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1844 *n_args = 2;
1845 break;
1846 }
1847 /* __acl_get_file */
1848 case 347: {
1849 struct __acl_get_file_args *p = params;
1850 uarg[0] = (intptr_t) p->path; /* const char * */
1851 iarg[1] = p->type; /* acl_type_t */
1852 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1853 *n_args = 3;
1854 break;
1855 }
1856 /* __acl_set_file */
1857 case 348: {
1858 struct __acl_set_file_args *p = params;
1859 uarg[0] = (intptr_t) p->path; /* const char * */
1860 iarg[1] = p->type; /* acl_type_t */
1861 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1862 *n_args = 3;
1863 break;
1864 }
1865 /* __acl_get_fd */
1866 case 349: {
1867 struct __acl_get_fd_args *p = params;
1868 iarg[0] = p->filedes; /* int */
1869 iarg[1] = p->type; /* acl_type_t */
1870 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1871 *n_args = 3;
1872 break;
1873 }
1874 /* __acl_set_fd */
1875 case 350: {
1876 struct __acl_set_fd_args *p = params;
1877 iarg[0] = p->filedes; /* int */
1878 iarg[1] = p->type; /* acl_type_t */
1879 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1880 *n_args = 3;
1881 break;
1882 }
1883 /* __acl_delete_file */
1884 case 351: {
1885 struct __acl_delete_file_args *p = params;
1886 uarg[0] = (intptr_t) p->path; /* const char * */
1887 iarg[1] = p->type; /* acl_type_t */
1888 *n_args = 2;
1889 break;
1890 }
1891 /* __acl_delete_fd */
1892 case 352: {
1893 struct __acl_delete_fd_args *p = params;
1894 iarg[0] = p->filedes; /* int */
1895 iarg[1] = p->type; /* acl_type_t */
1896 *n_args = 2;
1897 break;
1898 }
1899 /* __acl_aclcheck_file */
1900 case 353: {
1901 struct __acl_aclcheck_file_args *p = params;
1902 uarg[0] = (intptr_t) p->path; /* const char * */
1903 iarg[1] = p->type; /* acl_type_t */
1904 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1905 *n_args = 3;
1906 break;
1907 }
1908 /* __acl_aclcheck_fd */
1909 case 354: {
1910 struct __acl_aclcheck_fd_args *p = params;
1911 iarg[0] = p->filedes; /* int */
1912 iarg[1] = p->type; /* acl_type_t */
1913 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1914 *n_args = 3;
1915 break;
1916 }
1917 /* extattrctl */
1918 case 355: {
1919 struct extattrctl_args *p = params;
1920 uarg[0] = (intptr_t) p->path; /* const char * */
1921 iarg[1] = p->cmd; /* int */
1922 uarg[2] = (intptr_t) p->filename; /* const char * */
1923 iarg[3] = p->attrnamespace; /* int */
1924 uarg[4] = (intptr_t) p->attrname; /* const char * */
1925 *n_args = 5;
1926 break;
1927 }
1928 /* extattr_set_file */
1929 case 356: {
1930 struct extattr_set_file_args *p = params;
1931 uarg[0] = (intptr_t) p->path; /* const char * */
1932 iarg[1] = p->attrnamespace; /* int */
1933 uarg[2] = (intptr_t) p->attrname; /* const char * */
1934 uarg[3] = (intptr_t) p->data; /* void * */
1935 uarg[4] = p->nbytes; /* size_t */
1936 *n_args = 5;
1937 break;
1938 }
1939 /* extattr_get_file */
1940 case 357: {
1941 struct extattr_get_file_args *p = params;
1942 uarg[0] = (intptr_t) p->path; /* const char * */
1943 iarg[1] = p->attrnamespace; /* int */
1944 uarg[2] = (intptr_t) p->attrname; /* const char * */
1945 uarg[3] = (intptr_t) p->data; /* void * */
1946 uarg[4] = p->nbytes; /* size_t */
1947 *n_args = 5;
1948 break;
1949 }
1950 /* extattr_delete_file */
1951 case 358: {
1952 struct extattr_delete_file_args *p = params;
1953 uarg[0] = (intptr_t) p->path; /* const char * */
1954 iarg[1] = p->attrnamespace; /* int */
1955 uarg[2] = (intptr_t) p->attrname; /* const char * */
1956 *n_args = 3;
1957 break;
1958 }
1959 /* aio_waitcomplete */
1960 case 359: {
1961 struct aio_waitcomplete_args *p = params;
1962 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1963 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1964 *n_args = 2;
1965 break;
1966 }
1967 /* getresuid */
1968 case 360: {
1969 struct getresuid_args *p = params;
1970 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1971 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1972 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1973 *n_args = 3;
1974 break;
1975 }
1976 /* getresgid */
1977 case 361: {
1978 struct getresgid_args *p = params;
1979 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1980 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1981 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1982 *n_args = 3;
1983 break;
1984 }
1985 /* kqueue */
1986 case 362: {
1987 *n_args = 0;
1988 break;
1989 }
1990 /* kevent */
1991 case 363: {
1992 struct kevent_args *p = params;
1993 iarg[0] = p->fd; /* int */
1994 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
1995 iarg[2] = p->nchanges; /* int */
1996 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
1997 iarg[4] = p->nevents; /* int */
1998 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
1999 *n_args = 6;
2000 break;
2001 }
2002 /* lkmressys */
2003 case 370: {
2004 *n_args = 0;
2005 break;
2006 }
2007 /* extattr_set_fd */
2008 case 371: {
2009 struct extattr_set_fd_args *p = params;
2010 iarg[0] = p->fd; /* int */
2011 iarg[1] = p->attrnamespace; /* int */
2012 uarg[2] = (intptr_t) p->attrname; /* const char * */
2013 uarg[3] = (intptr_t) p->data; /* void * */
2014 uarg[4] = p->nbytes; /* size_t */
2015 *n_args = 5;
2016 break;
2017 }
2018 /* extattr_get_fd */
2019 case 372: {
2020 struct extattr_get_fd_args *p = params;
2021 iarg[0] = p->fd; /* int */
2022 iarg[1] = p->attrnamespace; /* int */
2023 uarg[2] = (intptr_t) p->attrname; /* const char * */
2024 uarg[3] = (intptr_t) p->data; /* void * */
2025 uarg[4] = p->nbytes; /* size_t */
2026 *n_args = 5;
2027 break;
2028 }
2029 /* extattr_delete_fd */
2030 case 373: {
2031 struct extattr_delete_fd_args *p = params;
2032 iarg[0] = p->fd; /* int */
2033 iarg[1] = p->attrnamespace; /* int */
2034 uarg[2] = (intptr_t) p->attrname; /* const char * */
2035 *n_args = 3;
2036 break;
2037 }
2038 /* __setugid */
2039 case 374: {
2040 struct __setugid_args *p = params;
2041 iarg[0] = p->flag; /* int */
2042 *n_args = 1;
2043 break;
2044 }
2045 /* nfsclnt */
2046 case 375: {
2047 struct nfsclnt_args *p = params;
2048 iarg[0] = p->flag; /* int */
2049 uarg[1] = (intptr_t) p->argp; /* caddr_t */
2050 *n_args = 2;
2051 break;
2052 }
2053 /* eaccess */
2054 case 376: {
2055 struct eaccess_args *p = params;
2056 uarg[0] = (intptr_t) p->path; /* char * */
2057 iarg[1] = p->flags; /* int */
2058 *n_args = 2;
2059 break;
2060 }
2061 /* nmount */
2062 case 378: {
2063 struct nmount_args *p = params;
2064 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2065 uarg[1] = p->iovcnt; /* unsigned int */
2066 iarg[2] = p->flags; /* int */
2067 *n_args = 3;
2068 break;
2069 }
2070 /* kse_exit */
2071 case 379: {
2072 *n_args = 0;
2073 break;
2074 }
2075 /* kse_wakeup */
2076 case 380: {
2077 struct kse_wakeup_args *p = params;
2078 uarg[0] = (intptr_t) p->mbx; /* struct kse_mailbox * */
2079 *n_args = 1;
2080 break;
2081 }
2082 /* kse_create */
2083 case 381: {
2084 struct kse_create_args *p = params;
2085 uarg[0] = (intptr_t) p->mbx; /* struct kse_mailbox * */
2086 iarg[1] = p->newgroup; /* int */
2087 *n_args = 2;
2088 break;
2089 }
2090 /* kse_thr_interrupt */
2091 case 382: {
2092 struct kse_thr_interrupt_args *p = params;
2093 uarg[0] = (intptr_t) p->tmbx; /* struct kse_thr_mailbox * */
2094 iarg[1] = p->cmd; /* int */
2095 iarg[2] = p->data; /* long */
2096 *n_args = 3;
2097 break;
2098 }
2099 /* kse_release */
2100 case 383: {
2101 struct kse_release_args *p = params;
2102 uarg[0] = (intptr_t) p->timeout; /* struct timespec * */
2103 *n_args = 1;
2104 break;
2105 }
2106 /* __mac_get_proc */
2107 case 384: {
2108 struct __mac_get_proc_args *p = params;
2109 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2110 *n_args = 1;
2111 break;
2112 }
2113 /* __mac_set_proc */
2114 case 385: {
2115 struct __mac_set_proc_args *p = params;
2116 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2117 *n_args = 1;
2118 break;
2119 }
2120 /* __mac_get_fd */
2121 case 386: {
2122 struct __mac_get_fd_args *p = params;
2123 iarg[0] = p->fd; /* int */
2124 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2125 *n_args = 2;
2126 break;
2127 }
2128 /* __mac_get_file */
2129 case 387: {
2130 struct __mac_get_file_args *p = params;
2131 uarg[0] = (intptr_t) p->path_p; /* const char * */
2132 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2133 *n_args = 2;
2134 break;
2135 }
2136 /* __mac_set_fd */
2137 case 388: {
2138 struct __mac_set_fd_args *p = params;
2139 iarg[0] = p->fd; /* int */
2140 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2141 *n_args = 2;
2142 break;
2143 }
2144 /* __mac_set_file */
2145 case 389: {
2146 struct __mac_set_file_args *p = params;
2147 uarg[0] = (intptr_t) p->path_p; /* const char * */
2148 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2149 *n_args = 2;
2150 break;
2151 }
2152 /* kenv */
2153 case 390: {
2154 struct kenv_args *p = params;
2155 iarg[0] = p->what; /* int */
2156 uarg[1] = (intptr_t) p->name; /* const char * */
2157 uarg[2] = (intptr_t) p->value; /* char * */
2158 iarg[3] = p->len; /* int */
2159 *n_args = 4;
2160 break;
2161 }
2162 /* lchflags */
2163 case 391: {
2164 struct lchflags_args *p = params;
2165 uarg[0] = (intptr_t) p->path; /* const char * */
2166 iarg[1] = p->flags; /* int */
2167 *n_args = 2;
2168 break;
2169 }
2170 /* uuidgen */
2171 case 392: {
2172 struct uuidgen_args *p = params;
2173 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2174 iarg[1] = p->count; /* int */
2175 *n_args = 2;
2176 break;
2177 }
2178 /* sendfile */
2179 case 393: {
2180 struct sendfile_args *p = params;
2181 iarg[0] = p->fd; /* int */
2182 iarg[1] = p->s; /* int */
2183 iarg[2] = p->offset; /* off_t */
2184 uarg[3] = p->nbytes; /* size_t */
2185 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2186 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2187 iarg[6] = p->flags; /* int */
2188 *n_args = 7;
2189 break;
2190 }
2191 /* mac_syscall */
2192 case 394: {
2193 struct mac_syscall_args *p = params;
2194 uarg[0] = (intptr_t) p->policy; /* const char * */
2195 iarg[1] = p->call; /* int */
2196 uarg[2] = (intptr_t) p->arg; /* void * */
2197 *n_args = 3;
2198 break;
2199 }
2200 /* getfsstat */
2201 case 395: {
2202 struct getfsstat_args *p = params;
2203 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2204 iarg[1] = p->bufsize; /* long */
2205 iarg[2] = p->flags; /* int */
2206 *n_args = 3;
2207 break;
2208 }
2209 /* statfs */
2210 case 396: {
2211 struct statfs_args *p = params;
2212 uarg[0] = (intptr_t) p->path; /* char * */
2213 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2214 *n_args = 2;
2215 break;
2216 }
2217 /* fstatfs */
2218 case 397: {
2219 struct fstatfs_args *p = params;
2220 iarg[0] = p->fd; /* int */
2221 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2222 *n_args = 2;
2223 break;
2224 }
2225 /* fhstatfs */
2226 case 398: {
2227 struct fhstatfs_args *p = params;
2228 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2229 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2230 *n_args = 2;
2231 break;
2232 }
2233 /* ksem_close */
2234 case 400: {
2235 struct ksem_close_args *p = params;
2236 iarg[0] = p->id; /* semid_t */
2237 *n_args = 1;
2238 break;
2239 }
2240 /* ksem_post */
2241 case 401: {
2242 struct ksem_post_args *p = params;
2243 iarg[0] = p->id; /* semid_t */
2244 *n_args = 1;
2245 break;
2246 }
2247 /* ksem_wait */
2248 case 402: {
2249 struct ksem_wait_args *p = params;
2250 iarg[0] = p->id; /* semid_t */
2251 *n_args = 1;
2252 break;
2253 }
2254 /* ksem_trywait */
2255 case 403: {
2256 struct ksem_trywait_args *p = params;
2257 iarg[0] = p->id; /* semid_t */
2258 *n_args = 1;
2259 break;
2260 }
2261 /* ksem_init */
2262 case 404: {
2263 struct ksem_init_args *p = params;
2264 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2265 uarg[1] = p->value; /* unsigned int */
2266 *n_args = 2;
2267 break;
2268 }
2269 /* ksem_open */
2270 case 405: {
2271 struct ksem_open_args *p = params;
2272 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2273 uarg[1] = (intptr_t) p->name; /* const char * */
2274 iarg[2] = p->oflag; /* int */
2275 iarg[3] = p->mode; /* mode_t */
2276 uarg[4] = p->value; /* unsigned int */
2277 *n_args = 5;
2278 break;
2279 }
2280 /* ksem_unlink */
2281 case 406: {
2282 struct ksem_unlink_args *p = params;
2283 uarg[0] = (intptr_t) p->name; /* const char * */
2284 *n_args = 1;
2285 break;
2286 }
2287 /* ksem_getvalue */
2288 case 407: {
2289 struct ksem_getvalue_args *p = params;
2290 iarg[0] = p->id; /* semid_t */
2291 uarg[1] = (intptr_t) p->val; /* int * */
2292 *n_args = 2;
2293 break;
2294 }
2295 /* ksem_destroy */
2296 case 408: {
2297 struct ksem_destroy_args *p = params;
2298 iarg[0] = p->id; /* semid_t */
2299 *n_args = 1;
2300 break;
2301 }
2302 /* __mac_get_pid */
2303 case 409: {
2304 struct __mac_get_pid_args *p = params;
2305 iarg[0] = p->pid; /* pid_t */
2306 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2307 *n_args = 2;
2308 break;
2309 }
2310 /* __mac_get_link */
2311 case 410: {
2312 struct __mac_get_link_args *p = params;
2313 uarg[0] = (intptr_t) p->path_p; /* const char * */
2314 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2315 *n_args = 2;
2316 break;
2317 }
2318 /* __mac_set_link */
2319 case 411: {
2320 struct __mac_set_link_args *p = params;
2321 uarg[0] = (intptr_t) p->path_p; /* const char * */
2322 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2323 *n_args = 2;
2324 break;
2325 }
2326 /* extattr_set_link */
2327 case 412: {
2328 struct extattr_set_link_args *p = params;
2329 uarg[0] = (intptr_t) p->path; /* const char * */
2330 iarg[1] = p->attrnamespace; /* int */
2331 uarg[2] = (intptr_t) p->attrname; /* const char * */
2332 uarg[3] = (intptr_t) p->data; /* void * */
2333 uarg[4] = p->nbytes; /* size_t */
2334 *n_args = 5;
2335 break;
2336 }
2337 /* extattr_get_link */
2338 case 413: {
2339 struct extattr_get_link_args *p = params;
2340 uarg[0] = (intptr_t) p->path; /* const char * */
2341 iarg[1] = p->attrnamespace; /* int */
2342 uarg[2] = (intptr_t) p->attrname; /* const char * */
2343 uarg[3] = (intptr_t) p->data; /* void * */
2344 uarg[4] = p->nbytes; /* size_t */
2345 *n_args = 5;
2346 break;
2347 }
2348 /* extattr_delete_link */
2349 case 414: {
2350 struct extattr_delete_link_args *p = params;
2351 uarg[0] = (intptr_t) p->path; /* const char * */
2352 iarg[1] = p->attrnamespace; /* int */
2353 uarg[2] = (intptr_t) p->attrname; /* const char * */
2354 *n_args = 3;
2355 break;
2356 }
2357 /* __mac_execve */
2358 case 415: {
2359 struct __mac_execve_args *p = params;
2360 uarg[0] = (intptr_t) p->fname; /* char * */
2361 uarg[1] = (intptr_t) p->argv; /* char ** */
2362 uarg[2] = (intptr_t) p->envv; /* char ** */
2363 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2364 *n_args = 4;
2365 break;
2366 }
2367 /* sigaction */
2368 case 416: {
2369 struct sigaction_args *p = params;
2370 iarg[0] = p->sig; /* int */
2371 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2372 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2373 *n_args = 3;
2374 break;
2375 }
2376 /* sigreturn */
2377 case 417: {
2378 struct sigreturn_args *p = params;
2379 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2380 *n_args = 1;
2381 break;
2382 }
2383 /* getcontext */
2384 case 421: {
2385 struct getcontext_args *p = params;
2386 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2387 *n_args = 1;
2388 break;
2389 }
2390 /* setcontext */
2391 case 422: {
2392 struct setcontext_args *p = params;
2393 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2394 *n_args = 1;
2395 break;
2396 }
2397 /* swapcontext */
2398 case 423: {
2399 struct swapcontext_args *p = params;
2400 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2401 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2402 *n_args = 2;
2403 break;
2404 }
2405 /* swapoff */
2406 case 424: {
2407 struct swapoff_args *p = params;
2408 uarg[0] = (intptr_t) p->name; /* const char * */
2409 *n_args = 1;
2410 break;
2411 }
2412 /* __acl_get_link */
2413 case 425: {
2414 struct __acl_get_link_args *p = params;
2415 uarg[0] = (intptr_t) p->path; /* const char * */
2416 iarg[1] = p->type; /* acl_type_t */
2417 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2418 *n_args = 3;
2419 break;
2420 }
2421 /* __acl_set_link */
2422 case 426: {
2423 struct __acl_set_link_args *p = params;
2424 uarg[0] = (intptr_t) p->path; /* const char * */
2425 iarg[1] = p->type; /* acl_type_t */
2426 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2427 *n_args = 3;
2428 break;
2429 }
2430 /* __acl_delete_link */
2431 case 427: {
2432 struct __acl_delete_link_args *p = params;
2433 uarg[0] = (intptr_t) p->path; /* const char * */
2434 iarg[1] = p->type; /* acl_type_t */
2435 *n_args = 2;
2436 break;
2437 }
2438 /* __acl_aclcheck_link */
2439 case 428: {
2440 struct __acl_aclcheck_link_args *p = params;
2441 uarg[0] = (intptr_t) p->path; /* const char * */
2442 iarg[1] = p->type; /* acl_type_t */
2443 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2444 *n_args = 3;
2445 break;
2446 }
2447 /* sigwait */
2448 case 429: {
2449 struct sigwait_args *p = params;
2450 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2451 uarg[1] = (intptr_t) p->sig; /* int * */
2452 *n_args = 2;
2453 break;
2454 }
2455 /* thr_create */
2456 case 430: {
2457 struct thr_create_args *p = params;
2458 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2459 uarg[1] = (intptr_t) p->id; /* long * */
2460 iarg[2] = p->flags; /* int */
2461 *n_args = 3;
2462 break;
2463 }
2464 /* thr_exit */
2465 case 431: {
2466 struct thr_exit_args *p = params;
2467 uarg[0] = (intptr_t) p->state; /* long * */
2468 *n_args = 1;
2469 break;
2470 }
2471 /* thr_self */
2472 case 432: {
2473 struct thr_self_args *p = params;
2474 uarg[0] = (intptr_t) p->id; /* long * */
2475 *n_args = 1;
2476 break;
2477 }
2478 /* thr_kill */
2479 case 433: {
2480 struct thr_kill_args *p = params;
2481 iarg[0] = p->id; /* long */
2482 iarg[1] = p->sig; /* int */
2483 *n_args = 2;
2484 break;
2485 }
2486 /* _umtx_lock */
2487 case 434: {
2488 struct _umtx_lock_args *p = params;
2489 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2490 *n_args = 1;
2491 break;
2492 }
2493 /* _umtx_unlock */
2494 case 435: {
2495 struct _umtx_unlock_args *p = params;
2496 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2497 *n_args = 1;
2498 break;
2499 }
2500 /* jail_attach */
2501 case 436: {
2502 struct jail_attach_args *p = params;
2503 iarg[0] = p->jid; /* int */
2504 *n_args = 1;
2505 break;
2506 }
2507 /* extattr_list_fd */
2508 case 437: {
2509 struct extattr_list_fd_args *p = params;
2510 iarg[0] = p->fd; /* int */
2511 iarg[1] = p->attrnamespace; /* int */
2512 uarg[2] = (intptr_t) p->data; /* void * */
2513 uarg[3] = p->nbytes; /* size_t */
2514 *n_args = 4;
2515 break;
2516 }
2517 /* extattr_list_file */
2518 case 438: {
2519 struct extattr_list_file_args *p = params;
2520 uarg[0] = (intptr_t) p->path; /* const char * */
2521 iarg[1] = p->attrnamespace; /* int */
2522 uarg[2] = (intptr_t) p->data; /* void * */
2523 uarg[3] = p->nbytes; /* size_t */
2524 *n_args = 4;
2525 break;
2526 }
2527 /* extattr_list_link */
2528 case 439: {
2529 struct extattr_list_link_args *p = params;
2530 uarg[0] = (intptr_t) p->path; /* const char * */
2531 iarg[1] = p->attrnamespace; /* int */
2532 uarg[2] = (intptr_t) p->data; /* void * */
2533 uarg[3] = p->nbytes; /* size_t */
2534 *n_args = 4;
2535 break;
2536 }
2537 /* kse_switchin */
2538 case 440: {
2539 struct kse_switchin_args *p = params;
2540 uarg[0] = (intptr_t) p->tmbx; /* struct kse_thr_mailbox * */
2541 iarg[1] = p->flags; /* int */
2542 *n_args = 2;
2543 break;
2544 }
2545 /* ksem_timedwait */
2546 case 441: {
2547 struct ksem_timedwait_args *p = params;
2548 iarg[0] = p->id; /* semid_t */
2549 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2550 *n_args = 2;
2551 break;
2552 }
2553 /* thr_suspend */
2554 case 442: {
2555 struct thr_suspend_args *p = params;
2556 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2557 *n_args = 1;
2558 break;
2559 }
2560 /* thr_wake */
2561 case 443: {
2562 struct thr_wake_args *p = params;
2563 iarg[0] = p->id; /* long */
2564 *n_args = 1;
2565 break;
2566 }
2567 /* kldunloadf */
2568 case 444: {
2569 struct kldunloadf_args *p = params;
2570 iarg[0] = p->fileid; /* int */
2571 iarg[1] = p->flags; /* int */
2572 *n_args = 2;
2573 break;
2574 }
2575 /* audit */
2576 case 445: {
2577 struct audit_args *p = params;
2578 uarg[0] = (intptr_t) p->record; /* const void * */
2579 uarg[1] = p->length; /* u_int */
2580 *n_args = 2;
2581 break;
2582 }
2583 /* auditon */
2584 case 446: {
2585 struct auditon_args *p = params;
2586 iarg[0] = p->cmd; /* int */
2587 uarg[1] = (intptr_t) p->data; /* void * */
2588 uarg[2] = p->length; /* u_int */
2589 *n_args = 3;
2590 break;
2591 }
2592 /* getauid */
2593 case 447: {
2594 struct getauid_args *p = params;
2595 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2596 *n_args = 1;
2597 break;
2598 }
2599 /* setauid */
2600 case 448: {
2601 struct setauid_args *p = params;
2602 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2603 *n_args = 1;
2604 break;
2605 }
2606 /* getaudit */
2607 case 449: {
2608 struct getaudit_args *p = params;
2609 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2610 *n_args = 1;
2611 break;
2612 }
2613 /* setaudit */
2614 case 450: {
2615 struct setaudit_args *p = params;
2616 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2617 *n_args = 1;
2618 break;
2619 }
2620 /* getaudit_addr */
2621 case 451: {
2622 struct getaudit_addr_args *p = params;
2623 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2624 uarg[1] = p->length; /* u_int */
2625 *n_args = 2;
2626 break;
2627 }
2628 /* setaudit_addr */
2629 case 452: {
2630 struct setaudit_addr_args *p = params;
2631 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2632 uarg[1] = p->length; /* u_int */
2633 *n_args = 2;
2634 break;
2635 }
2636 /* auditctl */
2637 case 453: {
2638 struct auditctl_args *p = params;
2639 uarg[0] = (intptr_t) p->path; /* char * */
2640 *n_args = 1;
2641 break;
2642 }
2643 /* _umtx_op */
2644 case 454: {
2645 struct _umtx_op_args *p = params;
2646 uarg[0] = (intptr_t) p->obj; /* void * */
2647 iarg[1] = p->op; /* int */
2648 uarg[2] = p->val; /* u_long */
2649 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2650 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2651 *n_args = 5;
2652 break;
2653 }
2654 /* thr_new */
2655 case 455: {
2656 struct thr_new_args *p = params;
2657 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2658 iarg[1] = p->param_size; /* int */
2659 *n_args = 2;
2660 break;
2661 }
2662 /* sigqueue */
2663 case 456: {
2664 struct sigqueue_args *p = params;
2665 iarg[0] = p->pid; /* pid_t */
2666 iarg[1] = p->signum; /* int */
2667 uarg[2] = (intptr_t) p->value; /* void * */
2668 *n_args = 3;
2669 break;
2670 }
2671 /* kmq_open */
2672 case 457: {
2673 struct kmq_open_args *p = params;
2674 uarg[0] = (intptr_t) p->path; /* const char * */
2675 iarg[1] = p->flags; /* int */
2676 iarg[2] = p->mode; /* mode_t */
2677 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2678 *n_args = 4;
2679 break;
2680 }
2681 /* kmq_setattr */
2682 case 458: {
2683 struct kmq_setattr_args *p = params;
2684 iarg[0] = p->mqd; /* int */
2685 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2686 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2687 *n_args = 3;
2688 break;
2689 }
2690 /* kmq_timedreceive */
2691 case 459: {
2692 struct kmq_timedreceive_args *p = params;
2693 iarg[0] = p->mqd; /* int */
2694 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2695 uarg[2] = p->msg_len; /* size_t */
2696 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2697 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2698 *n_args = 5;
2699 break;
2700 }
2701 /* kmq_timedsend */
2702 case 460: {
2703 struct kmq_timedsend_args *p = params;
2704 iarg[0] = p->mqd; /* int */
2705 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2706 uarg[2] = p->msg_len; /* size_t */
2707 uarg[3] = p->msg_prio; /* unsigned */
2708 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2709 *n_args = 5;
2710 break;
2711 }
2712 /* kmq_notify */
2713 case 461: {
2714 struct kmq_notify_args *p = params;
2715 iarg[0] = p->mqd; /* int */
2716 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2717 *n_args = 2;
2718 break;
2719 }
2720 /* kmq_unlink */
2721 case 462: {
2722 struct kmq_unlink_args *p = params;
2723 uarg[0] = (intptr_t) p->path; /* const char * */
2724 *n_args = 1;
2725 break;
2726 }
2727 /* abort2 */
2728 case 463: {
2729 struct abort2_args *p = params;
2730 uarg[0] = (intptr_t) p->why; /* const char * */
2731 iarg[1] = p->nargs; /* int */
2732 uarg[2] = (intptr_t) p->args; /* void ** */
2733 *n_args = 3;
2734 break;
2735 }
2736 /* thr_set_name */
2737 case 464: {
2738 struct thr_set_name_args *p = params;
2739 iarg[0] = p->id; /* long */
2740 uarg[1] = (intptr_t) p->name; /* const char * */
2741 *n_args = 2;
2742 break;
2743 }
2744 /* aio_fsync */
2745 case 465: {
2746 struct aio_fsync_args *p = params;
2747 iarg[0] = p->op; /* int */
2748 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2749 *n_args = 2;
2750 break;
2751 }
2752 /* rtprio_thread */
2753 case 466: {
2754 struct rtprio_thread_args *p = params;
2755 iarg[0] = p->function; /* int */
2756 iarg[1] = p->lwpid; /* lwpid_t */
2757 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2758 *n_args = 3;
2759 break;
2760 }
2761 default:
2762 *n_args = 0;
2763 break;
2764 };
2765}
2 * System call argument to DTrace register array converstion.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD: head/sys/kern/systrace_args.c 163451 2006-10-17 02:28:58Z davidxu $
6 * This file is part of the DTrace syscall provider.
7 */
8
9static void
10systrace_args(int sysnum, void *params, u_int64_t *uarg, int *n_args)
11{
12 int64_t *iarg = (int64_t *) uarg;
13 switch (sysnum) {
14 /* nosys */
15 case 0: {
16 *n_args = 0;
17 break;
18 }
19 /* sys_exit */
20 case 1: {
21 struct sys_exit_args *p = params;
22 iarg[0] = p->rval; /* int */
23 *n_args = 1;
24 break;
25 }
26 /* fork */
27 case 2: {
28 *n_args = 0;
29 break;
30 }
31 /* read */
32 case 3: {
33 struct read_args *p = params;
34 iarg[0] = p->fd; /* int */
35 uarg[1] = (intptr_t) p->buf; /* void * */
36 uarg[2] = p->nbyte; /* size_t */
37 *n_args = 3;
38 break;
39 }
40 /* write */
41 case 4: {
42 struct write_args *p = params;
43 iarg[0] = p->fd; /* int */
44 uarg[1] = (intptr_t) p->buf; /* const void * */
45 uarg[2] = p->nbyte; /* size_t */
46 *n_args = 3;
47 break;
48 }
49 /* open */
50 case 5: {
51 struct open_args *p = params;
52 uarg[0] = (intptr_t) p->path; /* char * */
53 iarg[1] = p->flags; /* int */
54 iarg[2] = p->mode; /* int */
55 *n_args = 3;
56 break;
57 }
58 /* close */
59 case 6: {
60 struct close_args *p = params;
61 iarg[0] = p->fd; /* int */
62 *n_args = 1;
63 break;
64 }
65 /* wait4 */
66 case 7: {
67 struct wait_args *p = params;
68 iarg[0] = p->pid; /* int */
69 uarg[1] = (intptr_t) p->status; /* int * */
70 iarg[2] = p->options; /* int */
71 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
72 *n_args = 4;
73 break;
74 }
75 /* link */
76 case 9: {
77 struct link_args *p = params;
78 uarg[0] = (intptr_t) p->path; /* char * */
79 uarg[1] = (intptr_t) p->link; /* char * */
80 *n_args = 2;
81 break;
82 }
83 /* unlink */
84 case 10: {
85 struct unlink_args *p = params;
86 uarg[0] = (intptr_t) p->path; /* char * */
87 *n_args = 1;
88 break;
89 }
90 /* chdir */
91 case 12: {
92 struct chdir_args *p = params;
93 uarg[0] = (intptr_t) p->path; /* char * */
94 *n_args = 1;
95 break;
96 }
97 /* fchdir */
98 case 13: {
99 struct fchdir_args *p = params;
100 iarg[0] = p->fd; /* int */
101 *n_args = 1;
102 break;
103 }
104 /* mknod */
105 case 14: {
106 struct mknod_args *p = params;
107 uarg[0] = (intptr_t) p->path; /* char * */
108 iarg[1] = p->mode; /* int */
109 iarg[2] = p->dev; /* int */
110 *n_args = 3;
111 break;
112 }
113 /* chmod */
114 case 15: {
115 struct chmod_args *p = params;
116 uarg[0] = (intptr_t) p->path; /* char * */
117 iarg[1] = p->mode; /* int */
118 *n_args = 2;
119 break;
120 }
121 /* chown */
122 case 16: {
123 struct chown_args *p = params;
124 uarg[0] = (intptr_t) p->path; /* char * */
125 iarg[1] = p->uid; /* int */
126 iarg[2] = p->gid; /* int */
127 *n_args = 3;
128 break;
129 }
130 /* obreak */
131 case 17: {
132 struct obreak_args *p = params;
133 uarg[0] = (intptr_t) p->nsize; /* char * */
134 *n_args = 1;
135 break;
136 }
137 /* getpid */
138 case 20: {
139 *n_args = 0;
140 break;
141 }
142 /* mount */
143 case 21: {
144 struct mount_args *p = params;
145 uarg[0] = (intptr_t) p->type; /* char * */
146 uarg[1] = (intptr_t) p->path; /* char * */
147 iarg[2] = p->flags; /* int */
148 uarg[3] = (intptr_t) p->data; /* caddr_t */
149 *n_args = 4;
150 break;
151 }
152 /* unmount */
153 case 22: {
154 struct unmount_args *p = params;
155 uarg[0] = (intptr_t) p->path; /* char * */
156 iarg[1] = p->flags; /* int */
157 *n_args = 2;
158 break;
159 }
160 /* setuid */
161 case 23: {
162 struct setuid_args *p = params;
163 uarg[0] = p->uid; /* uid_t */
164 *n_args = 1;
165 break;
166 }
167 /* getuid */
168 case 24: {
169 *n_args = 0;
170 break;
171 }
172 /* geteuid */
173 case 25: {
174 *n_args = 0;
175 break;
176 }
177 /* ptrace */
178 case 26: {
179 struct ptrace_args *p = params;
180 iarg[0] = p->req; /* int */
181 iarg[1] = p->pid; /* pid_t */
182 uarg[2] = (intptr_t) p->addr; /* caddr_t */
183 iarg[3] = p->data; /* int */
184 *n_args = 4;
185 break;
186 }
187 /* recvmsg */
188 case 27: {
189 struct recvmsg_args *p = params;
190 iarg[0] = p->s; /* int */
191 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
192 iarg[2] = p->flags; /* int */
193 *n_args = 3;
194 break;
195 }
196 /* sendmsg */
197 case 28: {
198 struct sendmsg_args *p = params;
199 iarg[0] = p->s; /* int */
200 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
201 iarg[2] = p->flags; /* int */
202 *n_args = 3;
203 break;
204 }
205 /* recvfrom */
206 case 29: {
207 struct recvfrom_args *p = params;
208 iarg[0] = p->s; /* int */
209 uarg[1] = (intptr_t) p->buf; /* caddr_t */
210 uarg[2] = p->len; /* size_t */
211 iarg[3] = p->flags; /* int */
212 uarg[4] = (intptr_t) p->from; /* struct sockaddr *__restrict */
213 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t *__restrict */
214 *n_args = 6;
215 break;
216 }
217 /* accept */
218 case 30: {
219 struct accept_args *p = params;
220 iarg[0] = p->s; /* int */
221 uarg[1] = (intptr_t) p->name; /* struct sockaddr *__restrict */
222 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t *__restrict */
223 *n_args = 3;
224 break;
225 }
226 /* getpeername */
227 case 31: {
228 struct getpeername_args *p = params;
229 iarg[0] = p->fdes; /* int */
230 uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */
231 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */
232 *n_args = 3;
233 break;
234 }
235 /* getsockname */
236 case 32: {
237 struct getsockname_args *p = params;
238 iarg[0] = p->fdes; /* int */
239 uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */
240 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */
241 *n_args = 3;
242 break;
243 }
244 /* access */
245 case 33: {
246 struct access_args *p = params;
247 uarg[0] = (intptr_t) p->path; /* char * */
248 iarg[1] = p->flags; /* int */
249 *n_args = 2;
250 break;
251 }
252 /* chflags */
253 case 34: {
254 struct chflags_args *p = params;
255 uarg[0] = (intptr_t) p->path; /* char * */
256 iarg[1] = p->flags; /* int */
257 *n_args = 2;
258 break;
259 }
260 /* fchflags */
261 case 35: {
262 struct fchflags_args *p = params;
263 iarg[0] = p->fd; /* int */
264 iarg[1] = p->flags; /* int */
265 *n_args = 2;
266 break;
267 }
268 /* sync */
269 case 36: {
270 *n_args = 0;
271 break;
272 }
273 /* kill */
274 case 37: {
275 struct kill_args *p = params;
276 iarg[0] = p->pid; /* int */
277 iarg[1] = p->signum; /* int */
278 *n_args = 2;
279 break;
280 }
281 /* getppid */
282 case 39: {
283 *n_args = 0;
284 break;
285 }
286 /* dup */
287 case 41: {
288 struct dup_args *p = params;
289 uarg[0] = p->fd; /* u_int */
290 *n_args = 1;
291 break;
292 }
293 /* pipe */
294 case 42: {
295 *n_args = 0;
296 break;
297 }
298 /* getegid */
299 case 43: {
300 *n_args = 0;
301 break;
302 }
303 /* profil */
304 case 44: {
305 struct profil_args *p = params;
306 uarg[0] = (intptr_t) p->samples; /* caddr_t */
307 uarg[1] = p->size; /* size_t */
308 uarg[2] = p->offset; /* size_t */
309 uarg[3] = p->scale; /* u_int */
310 *n_args = 4;
311 break;
312 }
313 /* ktrace */
314 case 45: {
315 struct ktrace_args *p = params;
316 uarg[0] = (intptr_t) p->fname; /* const char * */
317 iarg[1] = p->ops; /* int */
318 iarg[2] = p->facs; /* int */
319 iarg[3] = p->pid; /* int */
320 *n_args = 4;
321 break;
322 }
323 /* getgid */
324 case 47: {
325 *n_args = 0;
326 break;
327 }
328 /* getlogin */
329 case 49: {
330 struct getlogin_args *p = params;
331 uarg[0] = (intptr_t) p->namebuf; /* char * */
332 uarg[1] = p->namelen; /* u_int */
333 *n_args = 2;
334 break;
335 }
336 /* setlogin */
337 case 50: {
338 struct setlogin_args *p = params;
339 uarg[0] = (intptr_t) p->namebuf; /* char * */
340 *n_args = 1;
341 break;
342 }
343 /* acct */
344 case 51: {
345 struct acct_args *p = params;
346 uarg[0] = (intptr_t) p->path; /* char * */
347 *n_args = 1;
348 break;
349 }
350 /* sigaltstack */
351 case 53: {
352 struct sigaltstack_args *p = params;
353 uarg[0] = (intptr_t) p->ss; /* stack_t * */
354 uarg[1] = (intptr_t) p->oss; /* stack_t * */
355 *n_args = 2;
356 break;
357 }
358 /* ioctl */
359 case 54: {
360 struct ioctl_args *p = params;
361 iarg[0] = p->fd; /* int */
362 uarg[1] = p->com; /* u_long */
363 uarg[2] = (intptr_t) p->data; /* caddr_t */
364 *n_args = 3;
365 break;
366 }
367 /* reboot */
368 case 55: {
369 struct reboot_args *p = params;
370 iarg[0] = p->opt; /* int */
371 *n_args = 1;
372 break;
373 }
374 /* revoke */
375 case 56: {
376 struct revoke_args *p = params;
377 uarg[0] = (intptr_t) p->path; /* char * */
378 *n_args = 1;
379 break;
380 }
381 /* symlink */
382 case 57: {
383 struct symlink_args *p = params;
384 uarg[0] = (intptr_t) p->path; /* char * */
385 uarg[1] = (intptr_t) p->link; /* char * */
386 *n_args = 2;
387 break;
388 }
389 /* readlink */
390 case 58: {
391 struct readlink_args *p = params;
392 uarg[0] = (intptr_t) p->path; /* char * */
393 uarg[1] = (intptr_t) p->buf; /* char * */
394 iarg[2] = p->count; /* int */
395 *n_args = 3;
396 break;
397 }
398 /* execve */
399 case 59: {
400 struct execve_args *p = params;
401 uarg[0] = (intptr_t) p->fname; /* char * */
402 uarg[1] = (intptr_t) p->argv; /* char ** */
403 uarg[2] = (intptr_t) p->envv; /* char ** */
404 *n_args = 3;
405 break;
406 }
407 /* umask */
408 case 60: {
409 struct umask_args *p = params;
410 iarg[0] = p->newmask; /* int */
411 *n_args = 1;
412 break;
413 }
414 /* chroot */
415 case 61: {
416 struct chroot_args *p = params;
417 uarg[0] = (intptr_t) p->path; /* char * */
418 *n_args = 1;
419 break;
420 }
421 /* msync */
422 case 65: {
423 struct msync_args *p = params;
424 uarg[0] = (intptr_t) p->addr; /* void * */
425 uarg[1] = p->len; /* size_t */
426 iarg[2] = p->flags; /* int */
427 *n_args = 3;
428 break;
429 }
430 /* vfork */
431 case 66: {
432 *n_args = 0;
433 break;
434 }
435 /* sbrk */
436 case 69: {
437 struct sbrk_args *p = params;
438 iarg[0] = p->incr; /* int */
439 *n_args = 1;
440 break;
441 }
442 /* sstk */
443 case 70: {
444 struct sstk_args *p = params;
445 iarg[0] = p->incr; /* int */
446 *n_args = 1;
447 break;
448 }
449 /* ovadvise */
450 case 72: {
451 struct ovadvise_args *p = params;
452 iarg[0] = p->anom; /* int */
453 *n_args = 1;
454 break;
455 }
456 /* munmap */
457 case 73: {
458 struct munmap_args *p = params;
459 uarg[0] = (intptr_t) p->addr; /* void * */
460 uarg[1] = p->len; /* size_t */
461 *n_args = 2;
462 break;
463 }
464 /* mprotect */
465 case 74: {
466 struct mprotect_args *p = params;
467 uarg[0] = (intptr_t) p->addr; /* const void * */
468 uarg[1] = p->len; /* size_t */
469 iarg[2] = p->prot; /* int */
470 *n_args = 3;
471 break;
472 }
473 /* madvise */
474 case 75: {
475 struct madvise_args *p = params;
476 uarg[0] = (intptr_t) p->addr; /* void * */
477 uarg[1] = p->len; /* size_t */
478 iarg[2] = p->behav; /* int */
479 *n_args = 3;
480 break;
481 }
482 /* mincore */
483 case 78: {
484 struct mincore_args *p = params;
485 uarg[0] = (intptr_t) p->addr; /* const void * */
486 uarg[1] = p->len; /* size_t */
487 uarg[2] = (intptr_t) p->vec; /* char * */
488 *n_args = 3;
489 break;
490 }
491 /* getgroups */
492 case 79: {
493 struct getgroups_args *p = params;
494 uarg[0] = p->gidsetsize; /* u_int */
495 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
496 *n_args = 2;
497 break;
498 }
499 /* setgroups */
500 case 80: {
501 struct setgroups_args *p = params;
502 uarg[0] = p->gidsetsize; /* u_int */
503 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
504 *n_args = 2;
505 break;
506 }
507 /* getpgrp */
508 case 81: {
509 *n_args = 0;
510 break;
511 }
512 /* setpgid */
513 case 82: {
514 struct setpgid_args *p = params;
515 iarg[0] = p->pid; /* int */
516 iarg[1] = p->pgid; /* int */
517 *n_args = 2;
518 break;
519 }
520 /* setitimer */
521 case 83: {
522 struct setitimer_args *p = params;
523 uarg[0] = p->which; /* u_int */
524 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
525 uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */
526 *n_args = 3;
527 break;
528 }
529 /* swapon */
530 case 85: {
531 struct swapon_args *p = params;
532 uarg[0] = (intptr_t) p->name; /* char * */
533 *n_args = 1;
534 break;
535 }
536 /* getitimer */
537 case 86: {
538 struct getitimer_args *p = params;
539 uarg[0] = p->which; /* u_int */
540 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
541 *n_args = 2;
542 break;
543 }
544 /* getdtablesize */
545 case 89: {
546 *n_args = 0;
547 break;
548 }
549 /* dup2 */
550 case 90: {
551 struct dup2_args *p = params;
552 uarg[0] = p->from; /* u_int */
553 uarg[1] = p->to; /* u_int */
554 *n_args = 2;
555 break;
556 }
557 /* fcntl */
558 case 92: {
559 struct fcntl_args *p = params;
560 iarg[0] = p->fd; /* int */
561 iarg[1] = p->cmd; /* int */
562 iarg[2] = p->arg; /* long */
563 *n_args = 3;
564 break;
565 }
566 /* select */
567 case 93: {
568 struct select_args *p = params;
569 iarg[0] = p->nd; /* int */
570 uarg[1] = (intptr_t) p->in; /* fd_set * */
571 uarg[2] = (intptr_t) p->ou; /* fd_set * */
572 uarg[3] = (intptr_t) p->ex; /* fd_set * */
573 uarg[4] = (intptr_t) p->tv; /* struct timeval * */
574 *n_args = 5;
575 break;
576 }
577 /* fsync */
578 case 95: {
579 struct fsync_args *p = params;
580 iarg[0] = p->fd; /* int */
581 *n_args = 1;
582 break;
583 }
584 /* setpriority */
585 case 96: {
586 struct setpriority_args *p = params;
587 iarg[0] = p->which; /* int */
588 iarg[1] = p->who; /* int */
589 iarg[2] = p->prio; /* int */
590 *n_args = 3;
591 break;
592 }
593 /* socket */
594 case 97: {
595 struct socket_args *p = params;
596 iarg[0] = p->domain; /* int */
597 iarg[1] = p->type; /* int */
598 iarg[2] = p->protocol; /* int */
599 *n_args = 3;
600 break;
601 }
602 /* connect */
603 case 98: {
604 struct connect_args *p = params;
605 iarg[0] = p->s; /* int */
606 uarg[1] = (intptr_t) p->name; /* caddr_t */
607 iarg[2] = p->namelen; /* int */
608 *n_args = 3;
609 break;
610 }
611 /* getpriority */
612 case 100: {
613 struct getpriority_args *p = params;
614 iarg[0] = p->which; /* int */
615 iarg[1] = p->who; /* int */
616 *n_args = 2;
617 break;
618 }
619 /* bind */
620 case 104: {
621 struct bind_args *p = params;
622 iarg[0] = p->s; /* int */
623 uarg[1] = (intptr_t) p->name; /* caddr_t */
624 iarg[2] = p->namelen; /* int */
625 *n_args = 3;
626 break;
627 }
628 /* setsockopt */
629 case 105: {
630 struct setsockopt_args *p = params;
631 iarg[0] = p->s; /* int */
632 iarg[1] = p->level; /* int */
633 iarg[2] = p->name; /* int */
634 uarg[3] = (intptr_t) p->val; /* caddr_t */
635 iarg[4] = p->valsize; /* int */
636 *n_args = 5;
637 break;
638 }
639 /* listen */
640 case 106: {
641 struct listen_args *p = params;
642 iarg[0] = p->s; /* int */
643 iarg[1] = p->backlog; /* int */
644 *n_args = 2;
645 break;
646 }
647 /* gettimeofday */
648 case 116: {
649 struct gettimeofday_args *p = params;
650 uarg[0] = (intptr_t) p->tp; /* struct timeval * */
651 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
652 *n_args = 2;
653 break;
654 }
655 /* getrusage */
656 case 117: {
657 struct getrusage_args *p = params;
658 iarg[0] = p->who; /* int */
659 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
660 *n_args = 2;
661 break;
662 }
663 /* getsockopt */
664 case 118: {
665 struct getsockopt_args *p = params;
666 iarg[0] = p->s; /* int */
667 iarg[1] = p->level; /* int */
668 iarg[2] = p->name; /* int */
669 uarg[3] = (intptr_t) p->val; /* caddr_t */
670 uarg[4] = (intptr_t) p->avalsize; /* int * */
671 *n_args = 5;
672 break;
673 }
674 /* readv */
675 case 120: {
676 struct readv_args *p = params;
677 iarg[0] = p->fd; /* int */
678 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
679 uarg[2] = p->iovcnt; /* u_int */
680 *n_args = 3;
681 break;
682 }
683 /* writev */
684 case 121: {
685 struct writev_args *p = params;
686 iarg[0] = p->fd; /* int */
687 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
688 uarg[2] = p->iovcnt; /* u_int */
689 *n_args = 3;
690 break;
691 }
692 /* settimeofday */
693 case 122: {
694 struct settimeofday_args *p = params;
695 uarg[0] = (intptr_t) p->tv; /* struct timeval * */
696 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
697 *n_args = 2;
698 break;
699 }
700 /* fchown */
701 case 123: {
702 struct fchown_args *p = params;
703 iarg[0] = p->fd; /* int */
704 iarg[1] = p->uid; /* int */
705 iarg[2] = p->gid; /* int */
706 *n_args = 3;
707 break;
708 }
709 /* fchmod */
710 case 124: {
711 struct fchmod_args *p = params;
712 iarg[0] = p->fd; /* int */
713 iarg[1] = p->mode; /* int */
714 *n_args = 2;
715 break;
716 }
717 /* setreuid */
718 case 126: {
719 struct setreuid_args *p = params;
720 iarg[0] = p->ruid; /* int */
721 iarg[1] = p->euid; /* int */
722 *n_args = 2;
723 break;
724 }
725 /* setregid */
726 case 127: {
727 struct setregid_args *p = params;
728 iarg[0] = p->rgid; /* int */
729 iarg[1] = p->egid; /* int */
730 *n_args = 2;
731 break;
732 }
733 /* rename */
734 case 128: {
735 struct rename_args *p = params;
736 uarg[0] = (intptr_t) p->from; /* char * */
737 uarg[1] = (intptr_t) p->to; /* char * */
738 *n_args = 2;
739 break;
740 }
741 /* flock */
742 case 131: {
743 struct flock_args *p = params;
744 iarg[0] = p->fd; /* int */
745 iarg[1] = p->how; /* int */
746 *n_args = 2;
747 break;
748 }
749 /* mkfifo */
750 case 132: {
751 struct mkfifo_args *p = params;
752 uarg[0] = (intptr_t) p->path; /* char * */
753 iarg[1] = p->mode; /* int */
754 *n_args = 2;
755 break;
756 }
757 /* sendto */
758 case 133: {
759 struct sendto_args *p = params;
760 iarg[0] = p->s; /* int */
761 uarg[1] = (intptr_t) p->buf; /* caddr_t */
762 uarg[2] = p->len; /* size_t */
763 iarg[3] = p->flags; /* int */
764 uarg[4] = (intptr_t) p->to; /* caddr_t */
765 iarg[5] = p->tolen; /* int */
766 *n_args = 6;
767 break;
768 }
769 /* shutdown */
770 case 134: {
771 struct shutdown_args *p = params;
772 iarg[0] = p->s; /* int */
773 iarg[1] = p->how; /* int */
774 *n_args = 2;
775 break;
776 }
777 /* socketpair */
778 case 135: {
779 struct socketpair_args *p = params;
780 iarg[0] = p->domain; /* int */
781 iarg[1] = p->type; /* int */
782 iarg[2] = p->protocol; /* int */
783 uarg[3] = (intptr_t) p->rsv; /* int * */
784 *n_args = 4;
785 break;
786 }
787 /* mkdir */
788 case 136: {
789 struct mkdir_args *p = params;
790 uarg[0] = (intptr_t) p->path; /* char * */
791 iarg[1] = p->mode; /* int */
792 *n_args = 2;
793 break;
794 }
795 /* rmdir */
796 case 137: {
797 struct rmdir_args *p = params;
798 uarg[0] = (intptr_t) p->path; /* char * */
799 *n_args = 1;
800 break;
801 }
802 /* utimes */
803 case 138: {
804 struct utimes_args *p = params;
805 uarg[0] = (intptr_t) p->path; /* char * */
806 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
807 *n_args = 2;
808 break;
809 }
810 /* adjtime */
811 case 140: {
812 struct adjtime_args *p = params;
813 uarg[0] = (intptr_t) p->delta; /* struct timeval * */
814 uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */
815 *n_args = 2;
816 break;
817 }
818 /* setsid */
819 case 147: {
820 *n_args = 0;
821 break;
822 }
823 /* quotactl */
824 case 148: {
825 struct quotactl_args *p = params;
826 uarg[0] = (intptr_t) p->path; /* char * */
827 iarg[1] = p->cmd; /* int */
828 iarg[2] = p->uid; /* int */
829 uarg[3] = (intptr_t) p->arg; /* caddr_t */
830 *n_args = 4;
831 break;
832 }
833 /* nfssvc */
834 case 155: {
835 struct nfssvc_args *p = params;
836 iarg[0] = p->flag; /* int */
837 uarg[1] = (intptr_t) p->argp; /* caddr_t */
838 *n_args = 2;
839 break;
840 }
841 /* lgetfh */
842 case 160: {
843 struct lgetfh_args *p = params;
844 uarg[0] = (intptr_t) p->fname; /* char * */
845 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
846 *n_args = 2;
847 break;
848 }
849 /* getfh */
850 case 161: {
851 struct getfh_args *p = params;
852 uarg[0] = (intptr_t) p->fname; /* char * */
853 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
854 *n_args = 2;
855 break;
856 }
857 /* getdomainname */
858 case 162: {
859 struct getdomainname_args *p = params;
860 uarg[0] = (intptr_t) p->domainname; /* char * */
861 iarg[1] = p->len; /* int */
862 *n_args = 2;
863 break;
864 }
865 /* setdomainname */
866 case 163: {
867 struct setdomainname_args *p = params;
868 uarg[0] = (intptr_t) p->domainname; /* char * */
869 iarg[1] = p->len; /* int */
870 *n_args = 2;
871 break;
872 }
873 /* uname */
874 case 164: {
875 struct uname_args *p = params;
876 uarg[0] = (intptr_t) p->name; /* struct utsname * */
877 *n_args = 1;
878 break;
879 }
880 /* sysarch */
881 case 165: {
882 struct sysarch_args *p = params;
883 iarg[0] = p->op; /* int */
884 uarg[1] = (intptr_t) p->parms; /* char * */
885 *n_args = 2;
886 break;
887 }
888 /* rtprio */
889 case 166: {
890 struct rtprio_args *p = params;
891 iarg[0] = p->function; /* int */
892 iarg[1] = p->pid; /* pid_t */
893 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
894 *n_args = 3;
895 break;
896 }
897 /* semsys */
898 case 169: {
899 struct semsys_args *p = params;
900 iarg[0] = p->which; /* int */
901 iarg[1] = p->a2; /* int */
902 iarg[2] = p->a3; /* int */
903 iarg[3] = p->a4; /* int */
904 iarg[4] = p->a5; /* int */
905 *n_args = 5;
906 break;
907 }
908 /* msgsys */
909 case 170: {
910 struct msgsys_args *p = params;
911 iarg[0] = p->which; /* int */
912 iarg[1] = p->a2; /* int */
913 iarg[2] = p->a3; /* int */
914 iarg[3] = p->a4; /* int */
915 iarg[4] = p->a5; /* int */
916 iarg[5] = p->a6; /* int */
917 *n_args = 6;
918 break;
919 }
920 /* shmsys */
921 case 171: {
922 struct shmsys_args *p = params;
923 iarg[0] = p->which; /* int */
924 iarg[1] = p->a2; /* int */
925 iarg[2] = p->a3; /* int */
926 iarg[3] = p->a4; /* int */
927 *n_args = 4;
928 break;
929 }
930 /* pread */
931 case 173: {
932 struct pread_args *p = params;
933 iarg[0] = p->fd; /* int */
934 uarg[1] = (intptr_t) p->buf; /* void * */
935 uarg[2] = p->nbyte; /* size_t */
936 iarg[3] = p->pad; /* int */
937 iarg[4] = p->offset; /* off_t */
938 *n_args = 5;
939 break;
940 }
941 /* pwrite */
942 case 174: {
943 struct pwrite_args *p = params;
944 iarg[0] = p->fd; /* int */
945 uarg[1] = (intptr_t) p->buf; /* const void * */
946 uarg[2] = p->nbyte; /* size_t */
947 iarg[3] = p->pad; /* int */
948 iarg[4] = p->offset; /* off_t */
949 *n_args = 5;
950 break;
951 }
952 /* ntp_adjtime */
953 case 176: {
954 struct ntp_adjtime_args *p = params;
955 uarg[0] = (intptr_t) p->tp; /* struct timex * */
956 *n_args = 1;
957 break;
958 }
959 /* setgid */
960 case 181: {
961 struct setgid_args *p = params;
962 iarg[0] = p->gid; /* gid_t */
963 *n_args = 1;
964 break;
965 }
966 /* setegid */
967 case 182: {
968 struct setegid_args *p = params;
969 iarg[0] = p->egid; /* gid_t */
970 *n_args = 1;
971 break;
972 }
973 /* seteuid */
974 case 183: {
975 struct seteuid_args *p = params;
976 uarg[0] = p->euid; /* uid_t */
977 *n_args = 1;
978 break;
979 }
980 /* stat */
981 case 188: {
982 struct stat_args *p = params;
983 uarg[0] = (intptr_t) p->path; /* char * */
984 uarg[1] = (intptr_t) p->ub; /* struct stat * */
985 *n_args = 2;
986 break;
987 }
988 /* fstat */
989 case 189: {
990 struct fstat_args *p = params;
991 iarg[0] = p->fd; /* int */
992 uarg[1] = (intptr_t) p->sb; /* struct stat * */
993 *n_args = 2;
994 break;
995 }
996 /* lstat */
997 case 190: {
998 struct lstat_args *p = params;
999 uarg[0] = (intptr_t) p->path; /* char * */
1000 uarg[1] = (intptr_t) p->ub; /* struct stat * */
1001 *n_args = 2;
1002 break;
1003 }
1004 /* pathconf */
1005 case 191: {
1006 struct pathconf_args *p = params;
1007 uarg[0] = (intptr_t) p->path; /* char * */
1008 iarg[1] = p->name; /* int */
1009 *n_args = 2;
1010 break;
1011 }
1012 /* fpathconf */
1013 case 192: {
1014 struct fpathconf_args *p = params;
1015 iarg[0] = p->fd; /* int */
1016 iarg[1] = p->name; /* int */
1017 *n_args = 2;
1018 break;
1019 }
1020 /* getrlimit */
1021 case 194: {
1022 struct __getrlimit_args *p = params;
1023 uarg[0] = p->which; /* u_int */
1024 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1025 *n_args = 2;
1026 break;
1027 }
1028 /* setrlimit */
1029 case 195: {
1030 struct __setrlimit_args *p = params;
1031 uarg[0] = p->which; /* u_int */
1032 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1033 *n_args = 2;
1034 break;
1035 }
1036 /* getdirentries */
1037 case 196: {
1038 struct getdirentries_args *p = params;
1039 iarg[0] = p->fd; /* int */
1040 uarg[1] = (intptr_t) p->buf; /* char * */
1041 uarg[2] = p->count; /* u_int */
1042 uarg[3] = (intptr_t) p->basep; /* long * */
1043 *n_args = 4;
1044 break;
1045 }
1046 /* mmap */
1047 case 197: {
1048 struct mmap_args *p = params;
1049 uarg[0] = (intptr_t) p->addr; /* caddr_t */
1050 uarg[1] = p->len; /* size_t */
1051 iarg[2] = p->prot; /* int */
1052 iarg[3] = p->flags; /* int */
1053 iarg[4] = p->fd; /* int */
1054 iarg[5] = p->pad; /* int */
1055 iarg[6] = p->pos; /* off_t */
1056 *n_args = 7;
1057 break;
1058 }
1059 /* nosys */
1060 case 198: {
1061 *n_args = 0;
1062 break;
1063 }
1064 /* lseek */
1065 case 199: {
1066 struct lseek_args *p = params;
1067 iarg[0] = p->fd; /* int */
1068 iarg[1] = p->pad; /* int */
1069 iarg[2] = p->offset; /* off_t */
1070 iarg[3] = p->whence; /* int */
1071 *n_args = 4;
1072 break;
1073 }
1074 /* truncate */
1075 case 200: {
1076 struct truncate_args *p = params;
1077 uarg[0] = (intptr_t) p->path; /* char * */
1078 iarg[1] = p->pad; /* int */
1079 iarg[2] = p->length; /* off_t */
1080 *n_args = 3;
1081 break;
1082 }
1083 /* ftruncate */
1084 case 201: {
1085 struct ftruncate_args *p = params;
1086 iarg[0] = p->fd; /* int */
1087 iarg[1] = p->pad; /* int */
1088 iarg[2] = p->length; /* off_t */
1089 *n_args = 3;
1090 break;
1091 }
1092 /* __sysctl */
1093 case 202: {
1094 struct sysctl_args *p = params;
1095 uarg[0] = (intptr_t) p->name; /* int * */
1096 uarg[1] = p->namelen; /* u_int */
1097 uarg[2] = (intptr_t) p->old; /* void * */
1098 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
1099 uarg[4] = (intptr_t) p->new; /* void * */
1100 uarg[5] = p->newlen; /* size_t */
1101 *n_args = 6;
1102 break;
1103 }
1104 /* mlock */
1105 case 203: {
1106 struct mlock_args *p = params;
1107 uarg[0] = (intptr_t) p->addr; /* const void * */
1108 uarg[1] = p->len; /* size_t */
1109 *n_args = 2;
1110 break;
1111 }
1112 /* munlock */
1113 case 204: {
1114 struct munlock_args *p = params;
1115 uarg[0] = (intptr_t) p->addr; /* const void * */
1116 uarg[1] = p->len; /* size_t */
1117 *n_args = 2;
1118 break;
1119 }
1120 /* undelete */
1121 case 205: {
1122 struct undelete_args *p = params;
1123 uarg[0] = (intptr_t) p->path; /* char * */
1124 *n_args = 1;
1125 break;
1126 }
1127 /* futimes */
1128 case 206: {
1129 struct futimes_args *p = params;
1130 iarg[0] = p->fd; /* int */
1131 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1132 *n_args = 2;
1133 break;
1134 }
1135 /* getpgid */
1136 case 207: {
1137 struct getpgid_args *p = params;
1138 iarg[0] = p->pid; /* pid_t */
1139 *n_args = 1;
1140 break;
1141 }
1142 /* poll */
1143 case 209: {
1144 struct poll_args *p = params;
1145 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1146 uarg[1] = p->nfds; /* u_int */
1147 iarg[2] = p->timeout; /* int */
1148 *n_args = 3;
1149 break;
1150 }
1151 /* lkmnosys */
1152 case 210: {
1153 *n_args = 0;
1154 break;
1155 }
1156 /* lkmnosys */
1157 case 211: {
1158 *n_args = 0;
1159 break;
1160 }
1161 /* lkmnosys */
1162 case 212: {
1163 *n_args = 0;
1164 break;
1165 }
1166 /* lkmnosys */
1167 case 213: {
1168 *n_args = 0;
1169 break;
1170 }
1171 /* lkmnosys */
1172 case 214: {
1173 *n_args = 0;
1174 break;
1175 }
1176 /* lkmnosys */
1177 case 215: {
1178 *n_args = 0;
1179 break;
1180 }
1181 /* lkmnosys */
1182 case 216: {
1183 *n_args = 0;
1184 break;
1185 }
1186 /* lkmnosys */
1187 case 217: {
1188 *n_args = 0;
1189 break;
1190 }
1191 /* lkmnosys */
1192 case 218: {
1193 *n_args = 0;
1194 break;
1195 }
1196 /* lkmnosys */
1197 case 219: {
1198 *n_args = 0;
1199 break;
1200 }
1201 /* __semctl */
1202 case 220: {
1203 struct __semctl_args *p = params;
1204 iarg[0] = p->semid; /* int */
1205 iarg[1] = p->semnum; /* int */
1206 iarg[2] = p->cmd; /* int */
1207 uarg[3] = (intptr_t) p->arg; /* union semun * */
1208 *n_args = 4;
1209 break;
1210 }
1211 /* semget */
1212 case 221: {
1213 struct semget_args *p = params;
1214 iarg[0] = p->key; /* key_t */
1215 iarg[1] = p->nsems; /* int */
1216 iarg[2] = p->semflg; /* int */
1217 *n_args = 3;
1218 break;
1219 }
1220 /* semop */
1221 case 222: {
1222 struct semop_args *p = params;
1223 iarg[0] = p->semid; /* int */
1224 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1225 uarg[2] = p->nsops; /* size_t */
1226 *n_args = 3;
1227 break;
1228 }
1229 /* msgctl */
1230 case 224: {
1231 struct msgctl_args *p = params;
1232 iarg[0] = p->msqid; /* int */
1233 iarg[1] = p->cmd; /* int */
1234 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
1235 *n_args = 3;
1236 break;
1237 }
1238 /* msgget */
1239 case 225: {
1240 struct msgget_args *p = params;
1241 iarg[0] = p->key; /* key_t */
1242 iarg[1] = p->msgflg; /* int */
1243 *n_args = 2;
1244 break;
1245 }
1246 /* msgsnd */
1247 case 226: {
1248 struct msgsnd_args *p = params;
1249 iarg[0] = p->msqid; /* int */
1250 uarg[1] = (intptr_t) p->msgp; /* const void * */
1251 uarg[2] = p->msgsz; /* size_t */
1252 iarg[3] = p->msgflg; /* int */
1253 *n_args = 4;
1254 break;
1255 }
1256 /* msgrcv */
1257 case 227: {
1258 struct msgrcv_args *p = params;
1259 iarg[0] = p->msqid; /* int */
1260 uarg[1] = (intptr_t) p->msgp; /* void * */
1261 uarg[2] = p->msgsz; /* size_t */
1262 iarg[3] = p->msgtyp; /* long */
1263 iarg[4] = p->msgflg; /* int */
1264 *n_args = 5;
1265 break;
1266 }
1267 /* shmat */
1268 case 228: {
1269 struct shmat_args *p = params;
1270 iarg[0] = p->shmid; /* int */
1271 uarg[1] = (intptr_t) p->shmaddr; /* const void * */
1272 iarg[2] = p->shmflg; /* int */
1273 *n_args = 3;
1274 break;
1275 }
1276 /* shmctl */
1277 case 229: {
1278 struct shmctl_args *p = params;
1279 iarg[0] = p->shmid; /* int */
1280 iarg[1] = p->cmd; /* int */
1281 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
1282 *n_args = 3;
1283 break;
1284 }
1285 /* shmdt */
1286 case 230: {
1287 struct shmdt_args *p = params;
1288 uarg[0] = (intptr_t) p->shmaddr; /* const void * */
1289 *n_args = 1;
1290 break;
1291 }
1292 /* shmget */
1293 case 231: {
1294 struct shmget_args *p = params;
1295 iarg[0] = p->key; /* key_t */
1296 uarg[1] = p->size; /* size_t */
1297 iarg[2] = p->shmflg; /* int */
1298 *n_args = 3;
1299 break;
1300 }
1301 /* clock_gettime */
1302 case 232: {
1303 struct clock_gettime_args *p = params;
1304 iarg[0] = p->clock_id; /* clockid_t */
1305 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1306 *n_args = 2;
1307 break;
1308 }
1309 /* clock_settime */
1310 case 233: {
1311 struct clock_settime_args *p = params;
1312 iarg[0] = p->clock_id; /* clockid_t */
1313 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */
1314 *n_args = 2;
1315 break;
1316 }
1317 /* clock_getres */
1318 case 234: {
1319 struct clock_getres_args *p = params;
1320 iarg[0] = p->clock_id; /* clockid_t */
1321 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1322 *n_args = 2;
1323 break;
1324 }
1325 /* ktimer_create */
1326 case 235: {
1327 struct ktimer_create_args *p = params;
1328 iarg[0] = p->clock_id; /* clockid_t */
1329 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1330 uarg[2] = (intptr_t) p->timerid; /* int * */
1331 *n_args = 3;
1332 break;
1333 }
1334 /* ktimer_delete */
1335 case 236: {
1336 struct ktimer_delete_args *p = params;
1337 iarg[0] = p->timerid; /* int */
1338 *n_args = 1;
1339 break;
1340 }
1341 /* ktimer_settime */
1342 case 237: {
1343 struct ktimer_settime_args *p = params;
1344 iarg[0] = p->timerid; /* int */
1345 iarg[1] = p->flags; /* int */
1346 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */
1347 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */
1348 *n_args = 4;
1349 break;
1350 }
1351 /* ktimer_gettime */
1352 case 238: {
1353 struct ktimer_gettime_args *p = params;
1354 iarg[0] = p->timerid; /* int */
1355 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */
1356 *n_args = 2;
1357 break;
1358 }
1359 /* ktimer_getoverrun */
1360 case 239: {
1361 struct ktimer_getoverrun_args *p = params;
1362 iarg[0] = p->timerid; /* int */
1363 *n_args = 1;
1364 break;
1365 }
1366 /* nanosleep */
1367 case 240: {
1368 struct nanosleep_args *p = params;
1369 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */
1370 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */
1371 *n_args = 2;
1372 break;
1373 }
1374 /* ntp_gettime */
1375 case 248: {
1376 struct ntp_gettime_args *p = params;
1377 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1378 *n_args = 1;
1379 break;
1380 }
1381 /* minherit */
1382 case 250: {
1383 struct minherit_args *p = params;
1384 uarg[0] = (intptr_t) p->addr; /* void * */
1385 uarg[1] = p->len; /* size_t */
1386 iarg[2] = p->inherit; /* int */
1387 *n_args = 3;
1388 break;
1389 }
1390 /* rfork */
1391 case 251: {
1392 struct rfork_args *p = params;
1393 iarg[0] = p->flags; /* int */
1394 *n_args = 1;
1395 break;
1396 }
1397 /* openbsd_poll */
1398 case 252: {
1399 struct openbsd_poll_args *p = params;
1400 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1401 uarg[1] = p->nfds; /* u_int */
1402 iarg[2] = p->timeout; /* int */
1403 *n_args = 3;
1404 break;
1405 }
1406 /* issetugid */
1407 case 253: {
1408 *n_args = 0;
1409 break;
1410 }
1411 /* lchown */
1412 case 254: {
1413 struct lchown_args *p = params;
1414 uarg[0] = (intptr_t) p->path; /* char * */
1415 iarg[1] = p->uid; /* int */
1416 iarg[2] = p->gid; /* int */
1417 *n_args = 3;
1418 break;
1419 }
1420 /* aio_read */
1421 case 255: {
1422 struct aio_read_args *p = params;
1423 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1424 *n_args = 1;
1425 break;
1426 }
1427 /* aio_write */
1428 case 256: {
1429 struct aio_write_args *p = params;
1430 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1431 *n_args = 1;
1432 break;
1433 }
1434 /* lio_listio */
1435 case 257: {
1436 struct lio_listio_args *p = params;
1437 iarg[0] = p->mode; /* int */
1438 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1439 iarg[2] = p->nent; /* int */
1440 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1441 *n_args = 4;
1442 break;
1443 }
1444 /* getdents */
1445 case 272: {
1446 struct getdents_args *p = params;
1447 iarg[0] = p->fd; /* int */
1448 uarg[1] = (intptr_t) p->buf; /* char * */
1449 uarg[2] = p->count; /* size_t */
1450 *n_args = 3;
1451 break;
1452 }
1453 /* lchmod */
1454 case 274: {
1455 struct lchmod_args *p = params;
1456 uarg[0] = (intptr_t) p->path; /* char * */
1457 iarg[1] = p->mode; /* mode_t */
1458 *n_args = 2;
1459 break;
1460 }
1461 /* lchown */
1462 case 275: {
1463 struct lchown_args *p = params;
1464 uarg[0] = (intptr_t) p->path; /* char * */
1465 uarg[1] = p->uid; /* uid_t */
1466 iarg[2] = p->gid; /* gid_t */
1467 *n_args = 3;
1468 break;
1469 }
1470 /* lutimes */
1471 case 276: {
1472 struct lutimes_args *p = params;
1473 uarg[0] = (intptr_t) p->path; /* char * */
1474 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1475 *n_args = 2;
1476 break;
1477 }
1478 /* msync */
1479 case 277: {
1480 struct msync_args *p = params;
1481 uarg[0] = (intptr_t) p->addr; /* void * */
1482 uarg[1] = p->len; /* size_t */
1483 iarg[2] = p->flags; /* int */
1484 *n_args = 3;
1485 break;
1486 }
1487 /* nstat */
1488 case 278: {
1489 struct nstat_args *p = params;
1490 uarg[0] = (intptr_t) p->path; /* char * */
1491 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1492 *n_args = 2;
1493 break;
1494 }
1495 /* nfstat */
1496 case 279: {
1497 struct nfstat_args *p = params;
1498 iarg[0] = p->fd; /* int */
1499 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1500 *n_args = 2;
1501 break;
1502 }
1503 /* nlstat */
1504 case 280: {
1505 struct nlstat_args *p = params;
1506 uarg[0] = (intptr_t) p->path; /* char * */
1507 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1508 *n_args = 2;
1509 break;
1510 }
1511 /* preadv */
1512 case 289: {
1513 struct preadv_args *p = params;
1514 iarg[0] = p->fd; /* int */
1515 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1516 uarg[2] = p->iovcnt; /* u_int */
1517 iarg[3] = p->offset; /* off_t */
1518 *n_args = 4;
1519 break;
1520 }
1521 /* pwritev */
1522 case 290: {
1523 struct pwritev_args *p = params;
1524 iarg[0] = p->fd; /* int */
1525 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1526 uarg[2] = p->iovcnt; /* u_int */
1527 iarg[3] = p->offset; /* off_t */
1528 *n_args = 4;
1529 break;
1530 }
1531 /* fhopen */
1532 case 298: {
1533 struct fhopen_args *p = params;
1534 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1535 iarg[1] = p->flags; /* int */
1536 *n_args = 2;
1537 break;
1538 }
1539 /* fhstat */
1540 case 299: {
1541 struct fhstat_args *p = params;
1542 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1543 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1544 *n_args = 2;
1545 break;
1546 }
1547 /* modnext */
1548 case 300: {
1549 struct modnext_args *p = params;
1550 iarg[0] = p->modid; /* int */
1551 *n_args = 1;
1552 break;
1553 }
1554 /* modstat */
1555 case 301: {
1556 struct modstat_args *p = params;
1557 iarg[0] = p->modid; /* int */
1558 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1559 *n_args = 2;
1560 break;
1561 }
1562 /* modfnext */
1563 case 302: {
1564 struct modfnext_args *p = params;
1565 iarg[0] = p->modid; /* int */
1566 *n_args = 1;
1567 break;
1568 }
1569 /* modfind */
1570 case 303: {
1571 struct modfind_args *p = params;
1572 uarg[0] = (intptr_t) p->name; /* const char * */
1573 *n_args = 1;
1574 break;
1575 }
1576 /* kldload */
1577 case 304: {
1578 struct kldload_args *p = params;
1579 uarg[0] = (intptr_t) p->file; /* const char * */
1580 *n_args = 1;
1581 break;
1582 }
1583 /* kldunload */
1584 case 305: {
1585 struct kldunload_args *p = params;
1586 iarg[0] = p->fileid; /* int */
1587 *n_args = 1;
1588 break;
1589 }
1590 /* kldfind */
1591 case 306: {
1592 struct kldfind_args *p = params;
1593 uarg[0] = (intptr_t) p->file; /* const char * */
1594 *n_args = 1;
1595 break;
1596 }
1597 /* kldnext */
1598 case 307: {
1599 struct kldnext_args *p = params;
1600 iarg[0] = p->fileid; /* int */
1601 *n_args = 1;
1602 break;
1603 }
1604 /* kldstat */
1605 case 308: {
1606 struct kldstat_args *p = params;
1607 iarg[0] = p->fileid; /* int */
1608 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1609 *n_args = 2;
1610 break;
1611 }
1612 /* kldfirstmod */
1613 case 309: {
1614 struct kldfirstmod_args *p = params;
1615 iarg[0] = p->fileid; /* int */
1616 *n_args = 1;
1617 break;
1618 }
1619 /* getsid */
1620 case 310: {
1621 struct getsid_args *p = params;
1622 iarg[0] = p->pid; /* pid_t */
1623 *n_args = 1;
1624 break;
1625 }
1626 /* setresuid */
1627 case 311: {
1628 struct setresuid_args *p = params;
1629 uarg[0] = p->ruid; /* uid_t */
1630 uarg[1] = p->euid; /* uid_t */
1631 uarg[2] = p->suid; /* uid_t */
1632 *n_args = 3;
1633 break;
1634 }
1635 /* setresgid */
1636 case 312: {
1637 struct setresgid_args *p = params;
1638 iarg[0] = p->rgid; /* gid_t */
1639 iarg[1] = p->egid; /* gid_t */
1640 iarg[2] = p->sgid; /* gid_t */
1641 *n_args = 3;
1642 break;
1643 }
1644 /* aio_return */
1645 case 314: {
1646 struct aio_return_args *p = params;
1647 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1648 *n_args = 1;
1649 break;
1650 }
1651 /* aio_suspend */
1652 case 315: {
1653 struct aio_suspend_args *p = params;
1654 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1655 iarg[1] = p->nent; /* int */
1656 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1657 *n_args = 3;
1658 break;
1659 }
1660 /* aio_cancel */
1661 case 316: {
1662 struct aio_cancel_args *p = params;
1663 iarg[0] = p->fd; /* int */
1664 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1665 *n_args = 2;
1666 break;
1667 }
1668 /* aio_error */
1669 case 317: {
1670 struct aio_error_args *p = params;
1671 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1672 *n_args = 1;
1673 break;
1674 }
1675 /* oaio_read */
1676 case 318: {
1677 struct oaio_read_args *p = params;
1678 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1679 *n_args = 1;
1680 break;
1681 }
1682 /* oaio_write */
1683 case 319: {
1684 struct oaio_write_args *p = params;
1685 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1686 *n_args = 1;
1687 break;
1688 }
1689 /* olio_listio */
1690 case 320: {
1691 struct olio_listio_args *p = params;
1692 iarg[0] = p->mode; /* int */
1693 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb *const * */
1694 iarg[2] = p->nent; /* int */
1695 uarg[3] = (intptr_t) p->sig; /* struct osigevent * */
1696 *n_args = 4;
1697 break;
1698 }
1699 /* yield */
1700 case 321: {
1701 *n_args = 0;
1702 break;
1703 }
1704 /* mlockall */
1705 case 324: {
1706 struct mlockall_args *p = params;
1707 iarg[0] = p->how; /* int */
1708 *n_args = 1;
1709 break;
1710 }
1711 /* munlockall */
1712 case 325: {
1713 *n_args = 0;
1714 break;
1715 }
1716 /* __getcwd */
1717 case 326: {
1718 struct __getcwd_args *p = params;
1719 uarg[0] = (intptr_t) p->buf; /* u_char * */
1720 uarg[1] = p->buflen; /* u_int */
1721 *n_args = 2;
1722 break;
1723 }
1724 /* sched_setparam */
1725 case 327: {
1726 struct sched_setparam_args *p = params;
1727 iarg[0] = p->pid; /* pid_t */
1728 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1729 *n_args = 2;
1730 break;
1731 }
1732 /* sched_getparam */
1733 case 328: {
1734 struct sched_getparam_args *p = params;
1735 iarg[0] = p->pid; /* pid_t */
1736 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1737 *n_args = 2;
1738 break;
1739 }
1740 /* sched_setscheduler */
1741 case 329: {
1742 struct sched_setscheduler_args *p = params;
1743 iarg[0] = p->pid; /* pid_t */
1744 iarg[1] = p->policy; /* int */
1745 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1746 *n_args = 3;
1747 break;
1748 }
1749 /* sched_getscheduler */
1750 case 330: {
1751 struct sched_getscheduler_args *p = params;
1752 iarg[0] = p->pid; /* pid_t */
1753 *n_args = 1;
1754 break;
1755 }
1756 /* sched_yield */
1757 case 331: {
1758 *n_args = 0;
1759 break;
1760 }
1761 /* sched_get_priority_max */
1762 case 332: {
1763 struct sched_get_priority_max_args *p = params;
1764 iarg[0] = p->policy; /* int */
1765 *n_args = 1;
1766 break;
1767 }
1768 /* sched_get_priority_min */
1769 case 333: {
1770 struct sched_get_priority_min_args *p = params;
1771 iarg[0] = p->policy; /* int */
1772 *n_args = 1;
1773 break;
1774 }
1775 /* sched_rr_get_interval */
1776 case 334: {
1777 struct sched_rr_get_interval_args *p = params;
1778 iarg[0] = p->pid; /* pid_t */
1779 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1780 *n_args = 2;
1781 break;
1782 }
1783 /* utrace */
1784 case 335: {
1785 struct utrace_args *p = params;
1786 uarg[0] = (intptr_t) p->addr; /* const void * */
1787 uarg[1] = p->len; /* size_t */
1788 *n_args = 2;
1789 break;
1790 }
1791 /* kldsym */
1792 case 337: {
1793 struct kldsym_args *p = params;
1794 iarg[0] = p->fileid; /* int */
1795 iarg[1] = p->cmd; /* int */
1796 uarg[2] = (intptr_t) p->data; /* void * */
1797 *n_args = 3;
1798 break;
1799 }
1800 /* jail */
1801 case 338: {
1802 struct jail_args *p = params;
1803 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1804 *n_args = 1;
1805 break;
1806 }
1807 /* sigprocmask */
1808 case 340: {
1809 struct sigprocmask_args *p = params;
1810 iarg[0] = p->how; /* int */
1811 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1812 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1813 *n_args = 3;
1814 break;
1815 }
1816 /* sigsuspend */
1817 case 341: {
1818 struct sigsuspend_args *p = params;
1819 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1820 *n_args = 1;
1821 break;
1822 }
1823 /* sigpending */
1824 case 343: {
1825 struct sigpending_args *p = params;
1826 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1827 *n_args = 1;
1828 break;
1829 }
1830 /* sigtimedwait */
1831 case 345: {
1832 struct sigtimedwait_args *p = params;
1833 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1834 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1835 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1836 *n_args = 3;
1837 break;
1838 }
1839 /* sigwaitinfo */
1840 case 346: {
1841 struct sigwaitinfo_args *p = params;
1842 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1843 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1844 *n_args = 2;
1845 break;
1846 }
1847 /* __acl_get_file */
1848 case 347: {
1849 struct __acl_get_file_args *p = params;
1850 uarg[0] = (intptr_t) p->path; /* const char * */
1851 iarg[1] = p->type; /* acl_type_t */
1852 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1853 *n_args = 3;
1854 break;
1855 }
1856 /* __acl_set_file */
1857 case 348: {
1858 struct __acl_set_file_args *p = params;
1859 uarg[0] = (intptr_t) p->path; /* const char * */
1860 iarg[1] = p->type; /* acl_type_t */
1861 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1862 *n_args = 3;
1863 break;
1864 }
1865 /* __acl_get_fd */
1866 case 349: {
1867 struct __acl_get_fd_args *p = params;
1868 iarg[0] = p->filedes; /* int */
1869 iarg[1] = p->type; /* acl_type_t */
1870 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1871 *n_args = 3;
1872 break;
1873 }
1874 /* __acl_set_fd */
1875 case 350: {
1876 struct __acl_set_fd_args *p = params;
1877 iarg[0] = p->filedes; /* int */
1878 iarg[1] = p->type; /* acl_type_t */
1879 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1880 *n_args = 3;
1881 break;
1882 }
1883 /* __acl_delete_file */
1884 case 351: {
1885 struct __acl_delete_file_args *p = params;
1886 uarg[0] = (intptr_t) p->path; /* const char * */
1887 iarg[1] = p->type; /* acl_type_t */
1888 *n_args = 2;
1889 break;
1890 }
1891 /* __acl_delete_fd */
1892 case 352: {
1893 struct __acl_delete_fd_args *p = params;
1894 iarg[0] = p->filedes; /* int */
1895 iarg[1] = p->type; /* acl_type_t */
1896 *n_args = 2;
1897 break;
1898 }
1899 /* __acl_aclcheck_file */
1900 case 353: {
1901 struct __acl_aclcheck_file_args *p = params;
1902 uarg[0] = (intptr_t) p->path; /* const char * */
1903 iarg[1] = p->type; /* acl_type_t */
1904 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1905 *n_args = 3;
1906 break;
1907 }
1908 /* __acl_aclcheck_fd */
1909 case 354: {
1910 struct __acl_aclcheck_fd_args *p = params;
1911 iarg[0] = p->filedes; /* int */
1912 iarg[1] = p->type; /* acl_type_t */
1913 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1914 *n_args = 3;
1915 break;
1916 }
1917 /* extattrctl */
1918 case 355: {
1919 struct extattrctl_args *p = params;
1920 uarg[0] = (intptr_t) p->path; /* const char * */
1921 iarg[1] = p->cmd; /* int */
1922 uarg[2] = (intptr_t) p->filename; /* const char * */
1923 iarg[3] = p->attrnamespace; /* int */
1924 uarg[4] = (intptr_t) p->attrname; /* const char * */
1925 *n_args = 5;
1926 break;
1927 }
1928 /* extattr_set_file */
1929 case 356: {
1930 struct extattr_set_file_args *p = params;
1931 uarg[0] = (intptr_t) p->path; /* const char * */
1932 iarg[1] = p->attrnamespace; /* int */
1933 uarg[2] = (intptr_t) p->attrname; /* const char * */
1934 uarg[3] = (intptr_t) p->data; /* void * */
1935 uarg[4] = p->nbytes; /* size_t */
1936 *n_args = 5;
1937 break;
1938 }
1939 /* extattr_get_file */
1940 case 357: {
1941 struct extattr_get_file_args *p = params;
1942 uarg[0] = (intptr_t) p->path; /* const char * */
1943 iarg[1] = p->attrnamespace; /* int */
1944 uarg[2] = (intptr_t) p->attrname; /* const char * */
1945 uarg[3] = (intptr_t) p->data; /* void * */
1946 uarg[4] = p->nbytes; /* size_t */
1947 *n_args = 5;
1948 break;
1949 }
1950 /* extattr_delete_file */
1951 case 358: {
1952 struct extattr_delete_file_args *p = params;
1953 uarg[0] = (intptr_t) p->path; /* const char * */
1954 iarg[1] = p->attrnamespace; /* int */
1955 uarg[2] = (intptr_t) p->attrname; /* const char * */
1956 *n_args = 3;
1957 break;
1958 }
1959 /* aio_waitcomplete */
1960 case 359: {
1961 struct aio_waitcomplete_args *p = params;
1962 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1963 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1964 *n_args = 2;
1965 break;
1966 }
1967 /* getresuid */
1968 case 360: {
1969 struct getresuid_args *p = params;
1970 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1971 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1972 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1973 *n_args = 3;
1974 break;
1975 }
1976 /* getresgid */
1977 case 361: {
1978 struct getresgid_args *p = params;
1979 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1980 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1981 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1982 *n_args = 3;
1983 break;
1984 }
1985 /* kqueue */
1986 case 362: {
1987 *n_args = 0;
1988 break;
1989 }
1990 /* kevent */
1991 case 363: {
1992 struct kevent_args *p = params;
1993 iarg[0] = p->fd; /* int */
1994 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
1995 iarg[2] = p->nchanges; /* int */
1996 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
1997 iarg[4] = p->nevents; /* int */
1998 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
1999 *n_args = 6;
2000 break;
2001 }
2002 /* lkmressys */
2003 case 370: {
2004 *n_args = 0;
2005 break;
2006 }
2007 /* extattr_set_fd */
2008 case 371: {
2009 struct extattr_set_fd_args *p = params;
2010 iarg[0] = p->fd; /* int */
2011 iarg[1] = p->attrnamespace; /* int */
2012 uarg[2] = (intptr_t) p->attrname; /* const char * */
2013 uarg[3] = (intptr_t) p->data; /* void * */
2014 uarg[4] = p->nbytes; /* size_t */
2015 *n_args = 5;
2016 break;
2017 }
2018 /* extattr_get_fd */
2019 case 372: {
2020 struct extattr_get_fd_args *p = params;
2021 iarg[0] = p->fd; /* int */
2022 iarg[1] = p->attrnamespace; /* int */
2023 uarg[2] = (intptr_t) p->attrname; /* const char * */
2024 uarg[3] = (intptr_t) p->data; /* void * */
2025 uarg[4] = p->nbytes; /* size_t */
2026 *n_args = 5;
2027 break;
2028 }
2029 /* extattr_delete_fd */
2030 case 373: {
2031 struct extattr_delete_fd_args *p = params;
2032 iarg[0] = p->fd; /* int */
2033 iarg[1] = p->attrnamespace; /* int */
2034 uarg[2] = (intptr_t) p->attrname; /* const char * */
2035 *n_args = 3;
2036 break;
2037 }
2038 /* __setugid */
2039 case 374: {
2040 struct __setugid_args *p = params;
2041 iarg[0] = p->flag; /* int */
2042 *n_args = 1;
2043 break;
2044 }
2045 /* nfsclnt */
2046 case 375: {
2047 struct nfsclnt_args *p = params;
2048 iarg[0] = p->flag; /* int */
2049 uarg[1] = (intptr_t) p->argp; /* caddr_t */
2050 *n_args = 2;
2051 break;
2052 }
2053 /* eaccess */
2054 case 376: {
2055 struct eaccess_args *p = params;
2056 uarg[0] = (intptr_t) p->path; /* char * */
2057 iarg[1] = p->flags; /* int */
2058 *n_args = 2;
2059 break;
2060 }
2061 /* nmount */
2062 case 378: {
2063 struct nmount_args *p = params;
2064 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2065 uarg[1] = p->iovcnt; /* unsigned int */
2066 iarg[2] = p->flags; /* int */
2067 *n_args = 3;
2068 break;
2069 }
2070 /* kse_exit */
2071 case 379: {
2072 *n_args = 0;
2073 break;
2074 }
2075 /* kse_wakeup */
2076 case 380: {
2077 struct kse_wakeup_args *p = params;
2078 uarg[0] = (intptr_t) p->mbx; /* struct kse_mailbox * */
2079 *n_args = 1;
2080 break;
2081 }
2082 /* kse_create */
2083 case 381: {
2084 struct kse_create_args *p = params;
2085 uarg[0] = (intptr_t) p->mbx; /* struct kse_mailbox * */
2086 iarg[1] = p->newgroup; /* int */
2087 *n_args = 2;
2088 break;
2089 }
2090 /* kse_thr_interrupt */
2091 case 382: {
2092 struct kse_thr_interrupt_args *p = params;
2093 uarg[0] = (intptr_t) p->tmbx; /* struct kse_thr_mailbox * */
2094 iarg[1] = p->cmd; /* int */
2095 iarg[2] = p->data; /* long */
2096 *n_args = 3;
2097 break;
2098 }
2099 /* kse_release */
2100 case 383: {
2101 struct kse_release_args *p = params;
2102 uarg[0] = (intptr_t) p->timeout; /* struct timespec * */
2103 *n_args = 1;
2104 break;
2105 }
2106 /* __mac_get_proc */
2107 case 384: {
2108 struct __mac_get_proc_args *p = params;
2109 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2110 *n_args = 1;
2111 break;
2112 }
2113 /* __mac_set_proc */
2114 case 385: {
2115 struct __mac_set_proc_args *p = params;
2116 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2117 *n_args = 1;
2118 break;
2119 }
2120 /* __mac_get_fd */
2121 case 386: {
2122 struct __mac_get_fd_args *p = params;
2123 iarg[0] = p->fd; /* int */
2124 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2125 *n_args = 2;
2126 break;
2127 }
2128 /* __mac_get_file */
2129 case 387: {
2130 struct __mac_get_file_args *p = params;
2131 uarg[0] = (intptr_t) p->path_p; /* const char * */
2132 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2133 *n_args = 2;
2134 break;
2135 }
2136 /* __mac_set_fd */
2137 case 388: {
2138 struct __mac_set_fd_args *p = params;
2139 iarg[0] = p->fd; /* int */
2140 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2141 *n_args = 2;
2142 break;
2143 }
2144 /* __mac_set_file */
2145 case 389: {
2146 struct __mac_set_file_args *p = params;
2147 uarg[0] = (intptr_t) p->path_p; /* const char * */
2148 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2149 *n_args = 2;
2150 break;
2151 }
2152 /* kenv */
2153 case 390: {
2154 struct kenv_args *p = params;
2155 iarg[0] = p->what; /* int */
2156 uarg[1] = (intptr_t) p->name; /* const char * */
2157 uarg[2] = (intptr_t) p->value; /* char * */
2158 iarg[3] = p->len; /* int */
2159 *n_args = 4;
2160 break;
2161 }
2162 /* lchflags */
2163 case 391: {
2164 struct lchflags_args *p = params;
2165 uarg[0] = (intptr_t) p->path; /* const char * */
2166 iarg[1] = p->flags; /* int */
2167 *n_args = 2;
2168 break;
2169 }
2170 /* uuidgen */
2171 case 392: {
2172 struct uuidgen_args *p = params;
2173 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2174 iarg[1] = p->count; /* int */
2175 *n_args = 2;
2176 break;
2177 }
2178 /* sendfile */
2179 case 393: {
2180 struct sendfile_args *p = params;
2181 iarg[0] = p->fd; /* int */
2182 iarg[1] = p->s; /* int */
2183 iarg[2] = p->offset; /* off_t */
2184 uarg[3] = p->nbytes; /* size_t */
2185 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2186 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2187 iarg[6] = p->flags; /* int */
2188 *n_args = 7;
2189 break;
2190 }
2191 /* mac_syscall */
2192 case 394: {
2193 struct mac_syscall_args *p = params;
2194 uarg[0] = (intptr_t) p->policy; /* const char * */
2195 iarg[1] = p->call; /* int */
2196 uarg[2] = (intptr_t) p->arg; /* void * */
2197 *n_args = 3;
2198 break;
2199 }
2200 /* getfsstat */
2201 case 395: {
2202 struct getfsstat_args *p = params;
2203 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2204 iarg[1] = p->bufsize; /* long */
2205 iarg[2] = p->flags; /* int */
2206 *n_args = 3;
2207 break;
2208 }
2209 /* statfs */
2210 case 396: {
2211 struct statfs_args *p = params;
2212 uarg[0] = (intptr_t) p->path; /* char * */
2213 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2214 *n_args = 2;
2215 break;
2216 }
2217 /* fstatfs */
2218 case 397: {
2219 struct fstatfs_args *p = params;
2220 iarg[0] = p->fd; /* int */
2221 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2222 *n_args = 2;
2223 break;
2224 }
2225 /* fhstatfs */
2226 case 398: {
2227 struct fhstatfs_args *p = params;
2228 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2229 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2230 *n_args = 2;
2231 break;
2232 }
2233 /* ksem_close */
2234 case 400: {
2235 struct ksem_close_args *p = params;
2236 iarg[0] = p->id; /* semid_t */
2237 *n_args = 1;
2238 break;
2239 }
2240 /* ksem_post */
2241 case 401: {
2242 struct ksem_post_args *p = params;
2243 iarg[0] = p->id; /* semid_t */
2244 *n_args = 1;
2245 break;
2246 }
2247 /* ksem_wait */
2248 case 402: {
2249 struct ksem_wait_args *p = params;
2250 iarg[0] = p->id; /* semid_t */
2251 *n_args = 1;
2252 break;
2253 }
2254 /* ksem_trywait */
2255 case 403: {
2256 struct ksem_trywait_args *p = params;
2257 iarg[0] = p->id; /* semid_t */
2258 *n_args = 1;
2259 break;
2260 }
2261 /* ksem_init */
2262 case 404: {
2263 struct ksem_init_args *p = params;
2264 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2265 uarg[1] = p->value; /* unsigned int */
2266 *n_args = 2;
2267 break;
2268 }
2269 /* ksem_open */
2270 case 405: {
2271 struct ksem_open_args *p = params;
2272 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2273 uarg[1] = (intptr_t) p->name; /* const char * */
2274 iarg[2] = p->oflag; /* int */
2275 iarg[3] = p->mode; /* mode_t */
2276 uarg[4] = p->value; /* unsigned int */
2277 *n_args = 5;
2278 break;
2279 }
2280 /* ksem_unlink */
2281 case 406: {
2282 struct ksem_unlink_args *p = params;
2283 uarg[0] = (intptr_t) p->name; /* const char * */
2284 *n_args = 1;
2285 break;
2286 }
2287 /* ksem_getvalue */
2288 case 407: {
2289 struct ksem_getvalue_args *p = params;
2290 iarg[0] = p->id; /* semid_t */
2291 uarg[1] = (intptr_t) p->val; /* int * */
2292 *n_args = 2;
2293 break;
2294 }
2295 /* ksem_destroy */
2296 case 408: {
2297 struct ksem_destroy_args *p = params;
2298 iarg[0] = p->id; /* semid_t */
2299 *n_args = 1;
2300 break;
2301 }
2302 /* __mac_get_pid */
2303 case 409: {
2304 struct __mac_get_pid_args *p = params;
2305 iarg[0] = p->pid; /* pid_t */
2306 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2307 *n_args = 2;
2308 break;
2309 }
2310 /* __mac_get_link */
2311 case 410: {
2312 struct __mac_get_link_args *p = params;
2313 uarg[0] = (intptr_t) p->path_p; /* const char * */
2314 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2315 *n_args = 2;
2316 break;
2317 }
2318 /* __mac_set_link */
2319 case 411: {
2320 struct __mac_set_link_args *p = params;
2321 uarg[0] = (intptr_t) p->path_p; /* const char * */
2322 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2323 *n_args = 2;
2324 break;
2325 }
2326 /* extattr_set_link */
2327 case 412: {
2328 struct extattr_set_link_args *p = params;
2329 uarg[0] = (intptr_t) p->path; /* const char * */
2330 iarg[1] = p->attrnamespace; /* int */
2331 uarg[2] = (intptr_t) p->attrname; /* const char * */
2332 uarg[3] = (intptr_t) p->data; /* void * */
2333 uarg[4] = p->nbytes; /* size_t */
2334 *n_args = 5;
2335 break;
2336 }
2337 /* extattr_get_link */
2338 case 413: {
2339 struct extattr_get_link_args *p = params;
2340 uarg[0] = (intptr_t) p->path; /* const char * */
2341 iarg[1] = p->attrnamespace; /* int */
2342 uarg[2] = (intptr_t) p->attrname; /* const char * */
2343 uarg[3] = (intptr_t) p->data; /* void * */
2344 uarg[4] = p->nbytes; /* size_t */
2345 *n_args = 5;
2346 break;
2347 }
2348 /* extattr_delete_link */
2349 case 414: {
2350 struct extattr_delete_link_args *p = params;
2351 uarg[0] = (intptr_t) p->path; /* const char * */
2352 iarg[1] = p->attrnamespace; /* int */
2353 uarg[2] = (intptr_t) p->attrname; /* const char * */
2354 *n_args = 3;
2355 break;
2356 }
2357 /* __mac_execve */
2358 case 415: {
2359 struct __mac_execve_args *p = params;
2360 uarg[0] = (intptr_t) p->fname; /* char * */
2361 uarg[1] = (intptr_t) p->argv; /* char ** */
2362 uarg[2] = (intptr_t) p->envv; /* char ** */
2363 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2364 *n_args = 4;
2365 break;
2366 }
2367 /* sigaction */
2368 case 416: {
2369 struct sigaction_args *p = params;
2370 iarg[0] = p->sig; /* int */
2371 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2372 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2373 *n_args = 3;
2374 break;
2375 }
2376 /* sigreturn */
2377 case 417: {
2378 struct sigreturn_args *p = params;
2379 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2380 *n_args = 1;
2381 break;
2382 }
2383 /* getcontext */
2384 case 421: {
2385 struct getcontext_args *p = params;
2386 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2387 *n_args = 1;
2388 break;
2389 }
2390 /* setcontext */
2391 case 422: {
2392 struct setcontext_args *p = params;
2393 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2394 *n_args = 1;
2395 break;
2396 }
2397 /* swapcontext */
2398 case 423: {
2399 struct swapcontext_args *p = params;
2400 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2401 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2402 *n_args = 2;
2403 break;
2404 }
2405 /* swapoff */
2406 case 424: {
2407 struct swapoff_args *p = params;
2408 uarg[0] = (intptr_t) p->name; /* const char * */
2409 *n_args = 1;
2410 break;
2411 }
2412 /* __acl_get_link */
2413 case 425: {
2414 struct __acl_get_link_args *p = params;
2415 uarg[0] = (intptr_t) p->path; /* const char * */
2416 iarg[1] = p->type; /* acl_type_t */
2417 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2418 *n_args = 3;
2419 break;
2420 }
2421 /* __acl_set_link */
2422 case 426: {
2423 struct __acl_set_link_args *p = params;
2424 uarg[0] = (intptr_t) p->path; /* const char * */
2425 iarg[1] = p->type; /* acl_type_t */
2426 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2427 *n_args = 3;
2428 break;
2429 }
2430 /* __acl_delete_link */
2431 case 427: {
2432 struct __acl_delete_link_args *p = params;
2433 uarg[0] = (intptr_t) p->path; /* const char * */
2434 iarg[1] = p->type; /* acl_type_t */
2435 *n_args = 2;
2436 break;
2437 }
2438 /* __acl_aclcheck_link */
2439 case 428: {
2440 struct __acl_aclcheck_link_args *p = params;
2441 uarg[0] = (intptr_t) p->path; /* const char * */
2442 iarg[1] = p->type; /* acl_type_t */
2443 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2444 *n_args = 3;
2445 break;
2446 }
2447 /* sigwait */
2448 case 429: {
2449 struct sigwait_args *p = params;
2450 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2451 uarg[1] = (intptr_t) p->sig; /* int * */
2452 *n_args = 2;
2453 break;
2454 }
2455 /* thr_create */
2456 case 430: {
2457 struct thr_create_args *p = params;
2458 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2459 uarg[1] = (intptr_t) p->id; /* long * */
2460 iarg[2] = p->flags; /* int */
2461 *n_args = 3;
2462 break;
2463 }
2464 /* thr_exit */
2465 case 431: {
2466 struct thr_exit_args *p = params;
2467 uarg[0] = (intptr_t) p->state; /* long * */
2468 *n_args = 1;
2469 break;
2470 }
2471 /* thr_self */
2472 case 432: {
2473 struct thr_self_args *p = params;
2474 uarg[0] = (intptr_t) p->id; /* long * */
2475 *n_args = 1;
2476 break;
2477 }
2478 /* thr_kill */
2479 case 433: {
2480 struct thr_kill_args *p = params;
2481 iarg[0] = p->id; /* long */
2482 iarg[1] = p->sig; /* int */
2483 *n_args = 2;
2484 break;
2485 }
2486 /* _umtx_lock */
2487 case 434: {
2488 struct _umtx_lock_args *p = params;
2489 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2490 *n_args = 1;
2491 break;
2492 }
2493 /* _umtx_unlock */
2494 case 435: {
2495 struct _umtx_unlock_args *p = params;
2496 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2497 *n_args = 1;
2498 break;
2499 }
2500 /* jail_attach */
2501 case 436: {
2502 struct jail_attach_args *p = params;
2503 iarg[0] = p->jid; /* int */
2504 *n_args = 1;
2505 break;
2506 }
2507 /* extattr_list_fd */
2508 case 437: {
2509 struct extattr_list_fd_args *p = params;
2510 iarg[0] = p->fd; /* int */
2511 iarg[1] = p->attrnamespace; /* int */
2512 uarg[2] = (intptr_t) p->data; /* void * */
2513 uarg[3] = p->nbytes; /* size_t */
2514 *n_args = 4;
2515 break;
2516 }
2517 /* extattr_list_file */
2518 case 438: {
2519 struct extattr_list_file_args *p = params;
2520 uarg[0] = (intptr_t) p->path; /* const char * */
2521 iarg[1] = p->attrnamespace; /* int */
2522 uarg[2] = (intptr_t) p->data; /* void * */
2523 uarg[3] = p->nbytes; /* size_t */
2524 *n_args = 4;
2525 break;
2526 }
2527 /* extattr_list_link */
2528 case 439: {
2529 struct extattr_list_link_args *p = params;
2530 uarg[0] = (intptr_t) p->path; /* const char * */
2531 iarg[1] = p->attrnamespace; /* int */
2532 uarg[2] = (intptr_t) p->data; /* void * */
2533 uarg[3] = p->nbytes; /* size_t */
2534 *n_args = 4;
2535 break;
2536 }
2537 /* kse_switchin */
2538 case 440: {
2539 struct kse_switchin_args *p = params;
2540 uarg[0] = (intptr_t) p->tmbx; /* struct kse_thr_mailbox * */
2541 iarg[1] = p->flags; /* int */
2542 *n_args = 2;
2543 break;
2544 }
2545 /* ksem_timedwait */
2546 case 441: {
2547 struct ksem_timedwait_args *p = params;
2548 iarg[0] = p->id; /* semid_t */
2549 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2550 *n_args = 2;
2551 break;
2552 }
2553 /* thr_suspend */
2554 case 442: {
2555 struct thr_suspend_args *p = params;
2556 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2557 *n_args = 1;
2558 break;
2559 }
2560 /* thr_wake */
2561 case 443: {
2562 struct thr_wake_args *p = params;
2563 iarg[0] = p->id; /* long */
2564 *n_args = 1;
2565 break;
2566 }
2567 /* kldunloadf */
2568 case 444: {
2569 struct kldunloadf_args *p = params;
2570 iarg[0] = p->fileid; /* int */
2571 iarg[1] = p->flags; /* int */
2572 *n_args = 2;
2573 break;
2574 }
2575 /* audit */
2576 case 445: {
2577 struct audit_args *p = params;
2578 uarg[0] = (intptr_t) p->record; /* const void * */
2579 uarg[1] = p->length; /* u_int */
2580 *n_args = 2;
2581 break;
2582 }
2583 /* auditon */
2584 case 446: {
2585 struct auditon_args *p = params;
2586 iarg[0] = p->cmd; /* int */
2587 uarg[1] = (intptr_t) p->data; /* void * */
2588 uarg[2] = p->length; /* u_int */
2589 *n_args = 3;
2590 break;
2591 }
2592 /* getauid */
2593 case 447: {
2594 struct getauid_args *p = params;
2595 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2596 *n_args = 1;
2597 break;
2598 }
2599 /* setauid */
2600 case 448: {
2601 struct setauid_args *p = params;
2602 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2603 *n_args = 1;
2604 break;
2605 }
2606 /* getaudit */
2607 case 449: {
2608 struct getaudit_args *p = params;
2609 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2610 *n_args = 1;
2611 break;
2612 }
2613 /* setaudit */
2614 case 450: {
2615 struct setaudit_args *p = params;
2616 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2617 *n_args = 1;
2618 break;
2619 }
2620 /* getaudit_addr */
2621 case 451: {
2622 struct getaudit_addr_args *p = params;
2623 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2624 uarg[1] = p->length; /* u_int */
2625 *n_args = 2;
2626 break;
2627 }
2628 /* setaudit_addr */
2629 case 452: {
2630 struct setaudit_addr_args *p = params;
2631 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2632 uarg[1] = p->length; /* u_int */
2633 *n_args = 2;
2634 break;
2635 }
2636 /* auditctl */
2637 case 453: {
2638 struct auditctl_args *p = params;
2639 uarg[0] = (intptr_t) p->path; /* char * */
2640 *n_args = 1;
2641 break;
2642 }
2643 /* _umtx_op */
2644 case 454: {
2645 struct _umtx_op_args *p = params;
2646 uarg[0] = (intptr_t) p->obj; /* void * */
2647 iarg[1] = p->op; /* int */
2648 uarg[2] = p->val; /* u_long */
2649 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2650 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2651 *n_args = 5;
2652 break;
2653 }
2654 /* thr_new */
2655 case 455: {
2656 struct thr_new_args *p = params;
2657 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2658 iarg[1] = p->param_size; /* int */
2659 *n_args = 2;
2660 break;
2661 }
2662 /* sigqueue */
2663 case 456: {
2664 struct sigqueue_args *p = params;
2665 iarg[0] = p->pid; /* pid_t */
2666 iarg[1] = p->signum; /* int */
2667 uarg[2] = (intptr_t) p->value; /* void * */
2668 *n_args = 3;
2669 break;
2670 }
2671 /* kmq_open */
2672 case 457: {
2673 struct kmq_open_args *p = params;
2674 uarg[0] = (intptr_t) p->path; /* const char * */
2675 iarg[1] = p->flags; /* int */
2676 iarg[2] = p->mode; /* mode_t */
2677 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2678 *n_args = 4;
2679 break;
2680 }
2681 /* kmq_setattr */
2682 case 458: {
2683 struct kmq_setattr_args *p = params;
2684 iarg[0] = p->mqd; /* int */
2685 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2686 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2687 *n_args = 3;
2688 break;
2689 }
2690 /* kmq_timedreceive */
2691 case 459: {
2692 struct kmq_timedreceive_args *p = params;
2693 iarg[0] = p->mqd; /* int */
2694 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2695 uarg[2] = p->msg_len; /* size_t */
2696 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2697 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2698 *n_args = 5;
2699 break;
2700 }
2701 /* kmq_timedsend */
2702 case 460: {
2703 struct kmq_timedsend_args *p = params;
2704 iarg[0] = p->mqd; /* int */
2705 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2706 uarg[2] = p->msg_len; /* size_t */
2707 uarg[3] = p->msg_prio; /* unsigned */
2708 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2709 *n_args = 5;
2710 break;
2711 }
2712 /* kmq_notify */
2713 case 461: {
2714 struct kmq_notify_args *p = params;
2715 iarg[0] = p->mqd; /* int */
2716 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2717 *n_args = 2;
2718 break;
2719 }
2720 /* kmq_unlink */
2721 case 462: {
2722 struct kmq_unlink_args *p = params;
2723 uarg[0] = (intptr_t) p->path; /* const char * */
2724 *n_args = 1;
2725 break;
2726 }
2727 /* abort2 */
2728 case 463: {
2729 struct abort2_args *p = params;
2730 uarg[0] = (intptr_t) p->why; /* const char * */
2731 iarg[1] = p->nargs; /* int */
2732 uarg[2] = (intptr_t) p->args; /* void ** */
2733 *n_args = 3;
2734 break;
2735 }
2736 /* thr_set_name */
2737 case 464: {
2738 struct thr_set_name_args *p = params;
2739 iarg[0] = p->id; /* long */
2740 uarg[1] = (intptr_t) p->name; /* const char * */
2741 *n_args = 2;
2742 break;
2743 }
2744 /* aio_fsync */
2745 case 465: {
2746 struct aio_fsync_args *p = params;
2747 iarg[0] = p->op; /* int */
2748 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2749 *n_args = 2;
2750 break;
2751 }
2752 /* rtprio_thread */
2753 case 466: {
2754 struct rtprio_thread_args *p = params;
2755 iarg[0] = p->function; /* int */
2756 iarg[1] = p->lwpid; /* lwpid_t */
2757 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2758 *n_args = 3;
2759 break;
2760 }
2761 default:
2762 *n_args = 0;
2763 break;
2764 };
2765}