linux_systrace_args.c (283452) | linux_systrace_args.c (283466) |
---|---|
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/amd64/linux/linux_systrace_args.c 283452 2015-05-24 17:00:43Z dchagin $ | 5 * $FreeBSD: head/sys/amd64/linux/linux_systrace_args.c 283466 2015-05-24 17:35:42Z 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) { --- 2066 unchanged lines hidden (view full) --- 2080 case 284: { 2081 struct linux_eventfd_args *p = params; 2082 iarg[0] = p->initval; /* l_uint */ 2083 *n_args = 1; 2084 break; 2085 } 2086 /* linux_fallocate */ 2087 case 285: { | 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) { --- 2066 unchanged lines hidden (view full) --- 2080 case 284: { 2081 struct linux_eventfd_args *p = params; 2082 iarg[0] = p->initval; /* l_uint */ 2083 *n_args = 1; 2084 break; 2085 } 2086 /* linux_fallocate */ 2087 case 285: { |
2088 *n_args = 0; | 2088 struct linux_fallocate_args *p = params; 2089 iarg[0] = p->fd; /* l_int */ 2090 iarg[1] = p->mode; /* l_int */ 2091 iarg[2] = p->offset; /* l_loff_t */ 2092 iarg[3] = p->len; /* l_loff_t */ 2093 *n_args = 4; |
2089 break; 2090 } 2091 /* linux_timerfd_settime */ 2092 case 286: { 2093 *n_args = 0; 2094 break; 2095 } 2096 /* linux_timerfd_gettime */ --- 3289 unchanged lines hidden (view full) --- 5386 p = "l_uint"; 5387 break; 5388 default: 5389 break; 5390 }; 5391 break; 5392 /* linux_fallocate */ 5393 case 285: | 2094 break; 2095 } 2096 /* linux_timerfd_settime */ 2097 case 286: { 2098 *n_args = 0; 2099 break; 2100 } 2101 /* linux_timerfd_gettime */ --- 3289 unchanged lines hidden (view full) --- 5391 p = "l_uint"; 5392 break; 5393 default: 5394 break; 5395 }; 5396 break; 5397 /* linux_fallocate */ 5398 case 285: |
5399 switch(ndx) { 5400 case 0: 5401 p = "l_int"; 5402 break; 5403 case 1: 5404 p = "l_int"; 5405 break; 5406 case 2: 5407 p = "l_loff_t"; 5408 break; 5409 case 3: 5410 p = "l_loff_t"; 5411 break; 5412 default: 5413 break; 5414 }; |
|
5394 break; 5395 /* linux_timerfd_settime */ 5396 case 286: 5397 break; 5398 /* linux_timerfd_gettime */ 5399 case 287: 5400 break; 5401 /* linux_accept4 */ --- 1286 unchanged lines hidden (view full) --- 6688 case 283: 6689 /* linux_eventfd */ 6690 case 284: 6691 if (ndx == 0 || ndx == 1) 6692 p = "int"; 6693 break; 6694 /* linux_fallocate */ 6695 case 285: | 5415 break; 5416 /* linux_timerfd_settime */ 5417 case 286: 5418 break; 5419 /* linux_timerfd_gettime */ 5420 case 287: 5421 break; 5422 /* linux_accept4 */ --- 1286 unchanged lines hidden (view full) --- 6709 case 283: 6710 /* linux_eventfd */ 6711 case 284: 6712 if (ndx == 0 || ndx == 1) 6713 p = "int"; 6714 break; 6715 /* linux_fallocate */ 6716 case 285: |
6717 if (ndx == 0 || ndx == 1) 6718 p = "int"; 6719 break; |
|
6696 /* linux_timerfd_settime */ 6697 case 286: 6698 /* linux_timerfd_gettime */ 6699 case 287: 6700 /* linux_accept4 */ 6701 case 288: 6702 if (ndx == 0 || ndx == 1) 6703 p = "int"; --- 70 unchanged lines hidden --- | 6720 /* linux_timerfd_settime */ 6721 case 286: 6722 /* linux_timerfd_gettime */ 6723 case 287: 6724 /* linux_accept4 */ 6725 case 288: 6726 if (ndx == 0 || ndx == 1) 6727 p = "int"; --- 70 unchanged lines hidden --- |