linux32_systrace_args.c (283402) | linux32_systrace_args.c (283405) |
---|---|
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/linux32/linux32_systrace_args.c 283402 2015-05-24 15:19:44Z dchagin $ | 5 * $FreeBSD: head/sys/amd64/linux32/linux32_systrace_args.c 283405 2015-05-24 15:22:33Z 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) { --- 2054 unchanged lines hidden (view full) --- 2068 uarg[1] = (intptr_t) p->filename; /* const char * */ 2069 iarg[2] = p->amode; /* l_int */ 2070 iarg[3] = p->flag; /* int */ 2071 *n_args = 4; 2072 break; 2073 } 2074 /* linux_pselect6 */ 2075 case 308: { | 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) { --- 2054 unchanged lines hidden (view full) --- 2068 uarg[1] = (intptr_t) p->filename; /* const char * */ 2069 iarg[2] = p->amode; /* l_int */ 2070 iarg[3] = p->flag; /* int */ 2071 *n_args = 4; 2072 break; 2073 } 2074 /* linux_pselect6 */ 2075 case 308: { |
2076 *n_args = 0; | 2076 struct linux_pselect6_args *p = params; 2077 iarg[0] = p->nfds; /* l_int */ 2078 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */ 2079 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */ 2080 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */ 2081 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */ 2082 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */ 2083 *n_args = 6; |
2077 break; 2078 } 2079 /* linux_ppoll */ 2080 case 309: { 2081 *n_args = 0; 2082 break; 2083 } 2084 /* linux_unshare */ --- 3297 unchanged lines hidden (view full) --- 5382 p = "int"; 5383 break; 5384 default: 5385 break; 5386 }; 5387 break; 5388 /* linux_pselect6 */ 5389 case 308: | 2084 break; 2085 } 2086 /* linux_ppoll */ 2087 case 309: { 2088 *n_args = 0; 2089 break; 2090 } 2091 /* linux_unshare */ --- 3297 unchanged lines hidden (view full) --- 5389 p = "int"; 5390 break; 5391 default: 5392 break; 5393 }; 5394 break; 5395 /* linux_pselect6 */ 5396 case 308: |
5397 switch(ndx) { 5398 case 0: 5399 p = "l_int"; 5400 break; 5401 case 1: 5402 p = "l_fd_set *"; 5403 break; 5404 case 2: 5405 p = "l_fd_set *"; 5406 break; 5407 case 3: 5408 p = "l_fd_set *"; 5409 break; 5410 case 4: 5411 p = "struct l_timespec *"; 5412 break; 5413 case 5: 5414 p = "l_uintptr_t *"; 5415 break; 5416 default: 5417 break; 5418 }; |
|
5390 break; 5391 /* linux_ppoll */ 5392 case 309: 5393 break; 5394 /* linux_unshare */ 5395 case 310: 5396 break; 5397 /* linux_set_robust_list */ --- 1337 unchanged lines hidden (view full) --- 6735 break; 6736 /* linux_faccessat */ 6737 case 307: 6738 if (ndx == 0 || ndx == 1) 6739 p = "int"; 6740 break; 6741 /* linux_pselect6 */ 6742 case 308: | 5419 break; 5420 /* linux_ppoll */ 5421 case 309: 5422 break; 5423 /* linux_unshare */ 5424 case 310: 5425 break; 5426 /* linux_set_robust_list */ --- 1337 unchanged lines hidden (view full) --- 6764 break; 6765 /* linux_faccessat */ 6766 case 307: 6767 if (ndx == 0 || ndx == 1) 6768 p = "int"; 6769 break; 6770 /* linux_pselect6 */ 6771 case 308: |
6772 if (ndx == 0 || ndx == 1) 6773 p = "int"; 6774 break; |
|
6743 /* linux_ppoll */ 6744 case 309: 6745 /* linux_unshare */ 6746 case 310: 6747 /* linux_set_robust_list */ 6748 case 311: 6749 if (ndx == 0 || ndx == 1) 6750 p = "int"; --- 93 unchanged lines hidden --- | 6775 /* linux_ppoll */ 6776 case 309: 6777 /* linux_unshare */ 6778 case 310: 6779 /* linux_set_robust_list */ 6780 case 311: 6781 if (ndx == 0 || ndx == 1) 6782 p = "int"; --- 93 unchanged lines hidden --- |