linux_systrace_args.c (283400) | linux_systrace_args.c (283402) |
---|---|
1/* 2 * System call argument to DTrace register array converstion. 3 * 4 * DO NOT EDIT-- this file is automatically generated. | 1/* 2 * System call argument to DTrace register array converstion. 3 * 4 * DO NOT EDIT-- this file is automatically generated. |
5 * $FreeBSD: head/sys/i386/linux/linux_systrace_args.c 283400 2015-05-24 15:15:46Z dchagin $ | 5 * $FreeBSD: head/sys/i386/linux/linux_systrace_args.c 283402 2015-05-24 15:19:44Z dchagin $ |
6 * This file is part of the DTrace syscall provider. 7 */ 8 9static void 10systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) 11{ 12 int64_t *iarg = (int64_t *) uarg; 13 switch (sysnum) { --- 2304 unchanged lines hidden (view full) --- 2318 } 2319 /* linux_fanotify_mark */ 2320 case 339: { 2321 *n_args = 0; 2322 break; 2323 } 2324 /* linux_prlimit64 */ 2325 case 340: { | 6 * This file is part of the DTrace syscall provider. 7 */ 8 9static void 10systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) 11{ 12 int64_t *iarg = (int64_t *) uarg; 13 switch (sysnum) { --- 2304 unchanged lines hidden (view full) --- 2318 } 2319 /* linux_fanotify_mark */ 2320 case 339: { 2321 *n_args = 0; 2322 break; 2323 } 2324 /* linux_prlimit64 */ 2325 case 340: { |
2326 *n_args = 0; | 2326 struct linux_prlimit64_args *p = params; 2327 iarg[0] = p->pid; /* l_pid_t */ 2328 iarg[1] = p->resource; /* l_uint */ 2329 uarg[2] = (intptr_t) p->new; /* struct rlimit * */ 2330 uarg[3] = (intptr_t) p->old; /* struct rlimit * */ 2331 *n_args = 4; |
2327 break; 2328 } 2329 /* linux_name_to_handle_at */ 2330 case 341: { 2331 *n_args = 0; 2332 break; 2333 } 2334 /* linux_open_by_handle_at */ --- 3415 unchanged lines hidden (view full) --- 5750 /* linux_fanotify_init */ 5751 case 338: 5752 break; 5753 /* linux_fanotify_mark */ 5754 case 339: 5755 break; 5756 /* linux_prlimit64 */ 5757 case 340: | 2332 break; 2333 } 2334 /* linux_name_to_handle_at */ 2335 case 341: { 2336 *n_args = 0; 2337 break; 2338 } 2339 /* linux_open_by_handle_at */ --- 3415 unchanged lines hidden (view full) --- 5755 /* linux_fanotify_init */ 5756 case 338: 5757 break; 5758 /* linux_fanotify_mark */ 5759 case 339: 5760 break; 5761 /* linux_prlimit64 */ 5762 case 340: |
5763 switch(ndx) { 5764 case 0: 5765 p = "l_pid_t"; 5766 break; 5767 case 1: 5768 p = "l_uint"; 5769 break; 5770 case 2: 5771 p = "struct rlimit *"; 5772 break; 5773 case 3: 5774 p = "struct rlimit *"; 5775 break; 5776 default: 5777 break; 5778 }; |
|
5758 break; 5759 /* linux_name_to_handle_at */ 5760 case 341: 5761 break; 5762 /* linux_open_by_handle_at */ 5763 case 342: 5764 break; 5765 /* linux_clock_adjtime */ --- 1302 unchanged lines hidden (view full) --- 7068 /* linux_recvmmsg */ 7069 case 337: 7070 /* linux_fanotify_init */ 7071 case 338: 7072 /* linux_fanotify_mark */ 7073 case 339: 7074 /* linux_prlimit64 */ 7075 case 340: | 5779 break; 5780 /* linux_name_to_handle_at */ 5781 case 341: 5782 break; 5783 /* linux_open_by_handle_at */ 5784 case 342: 5785 break; 5786 /* linux_clock_adjtime */ --- 1302 unchanged lines hidden (view full) --- 7089 /* linux_recvmmsg */ 7090 case 337: 7091 /* linux_fanotify_init */ 7092 case 338: 7093 /* linux_fanotify_mark */ 7094 case 339: 7095 /* linux_prlimit64 */ 7096 case 340: |
7097 if (ndx == 0 || ndx == 1) 7098 p = "int"; 7099 break; |
|
7076 /* linux_name_to_handle_at */ 7077 case 341: 7078 /* linux_open_by_handle_at */ 7079 case 342: 7080 /* linux_clock_adjtime */ 7081 case 343: 7082 /* linux_syncfs */ 7083 case 344: --- 14 unchanged lines hidden --- | 7100 /* linux_name_to_handle_at */ 7101 case 341: 7102 /* linux_open_by_handle_at */ 7103 case 342: 7104 /* linux_clock_adjtime */ 7105 case 343: 7106 /* linux_syncfs */ 7107 case 344: --- 14 unchanged lines hidden --- |