linux32_systrace_args.c (293593) | linux32_systrace_args.c (293897) |
---|---|
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: stable/10/sys/amd64/linux32/linux32_systrace_args.c 293593 2016-01-09 17:56:04Z dchagin $ | 5 * $FreeBSD: stable/10/sys/amd64/linux32/linux32_systrace_args.c 293897 2016-01-14 09:11:42Z glebius $ |
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) { --- 2103 unchanged lines hidden (view full) --- 2117 iarg[1] = p->len; /* l_size_t */ 2118 *n_args = 2; 2119 break; 2120 } 2121 /* linux_get_robust_list */ 2122 case 312: { 2123 struct linux_get_robust_list_args *p = params; 2124 iarg[0] = p->pid; /* l_int */ | 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) { --- 2103 unchanged lines hidden (view full) --- 2117 iarg[1] = p->len; /* l_size_t */ 2118 *n_args = 2; 2119 break; 2120 } 2121 /* linux_get_robust_list */ 2122 case 312: { 2123 struct linux_get_robust_list_args *p = params; 2124 iarg[0] = p->pid; /* l_int */ |
2125 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head * */ | 2125 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */ |
2126 uarg[2] = (intptr_t) p->len; /* l_size_t * */ 2127 *n_args = 3; 2128 break; 2129 } 2130 /* linux_splice */ 2131 case 313: { 2132 *n_args = 0; 2133 break; --- 3412 unchanged lines hidden (view full) --- 5546 break; 5547 /* linux_get_robust_list */ 5548 case 312: 5549 switch(ndx) { 5550 case 0: 5551 p = "l_int"; 5552 break; 5553 case 1: | 2126 uarg[2] = (intptr_t) p->len; /* l_size_t * */ 2127 *n_args = 3; 2128 break; 2129 } 2130 /* linux_splice */ 2131 case 313: { 2132 *n_args = 0; 2133 break; --- 3412 unchanged lines hidden (view full) --- 5546 break; 5547 /* linux_get_robust_list */ 5548 case 312: 5549 switch(ndx) { 5550 case 0: 5551 p = "l_int"; 5552 break; 5553 case 1: |
5554 p = "struct linux_robust_list_head *"; | 5554 p = "struct linux_robust_list_head **"; |
5555 break; 5556 case 2: 5557 p = "l_size_t *"; 5558 break; 5559 default: 5560 break; 5561 }; 5562 break; --- 1577 unchanged lines hidden --- | 5555 break; 5556 case 2: 5557 p = "l_size_t *"; 5558 break; 5559 default: 5560 break; 5561 }; 5562 break; --- 1577 unchanged lines hidden --- |