linux_systrace_args.c (255673) | linux_systrace_args.c (255676) |
---|---|
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 255673 2013-09-18 17:58:03Z rdivacky $ | 5 * $FreeBSD: head/sys/i386/linux/linux_systrace_args.c 255676 2013-09-18 18:49:26Z rdivacky $ |
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) { --- 1724 unchanged lines hidden (view full) --- 1738 } 1739 /* linux_lookup_dcookie */ 1740 case 253: { 1741 *n_args = 0; 1742 break; 1743 } 1744 /* linux_epoll_create */ 1745 case 254: { | 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) { --- 1724 unchanged lines hidden (view full) --- 1738 } 1739 /* linux_lookup_dcookie */ 1740 case 253: { 1741 *n_args = 0; 1742 break; 1743 } 1744 /* linux_epoll_create */ 1745 case 254: { |
1746 struct linux_epoll_create_args *p = params; 1747 iarg[0] = p->size; /* l_int */ 1748 *n_args = 1; | 1746 *n_args = 0; |
1749 break; 1750 } 1751 /* linux_epoll_ctl */ 1752 case 255: { | 1747 break; 1748 } 1749 /* linux_epoll_ctl */ 1750 case 255: { |
1753 struct linux_epoll_ctl_args *p = params; 1754 iarg[0] = p->epfd; /* l_int */ 1755 iarg[1] = p->op; /* l_int */ 1756 iarg[2] = p->fd; /* l_int */ 1757 uarg[3] = (intptr_t) p->event; /* struct linux_epoll_event * */ 1758 *n_args = 4; | 1751 *n_args = 0; |
1759 break; 1760 } 1761 /* linux_epoll_wait */ 1762 case 256: { | 1752 break; 1753 } 1754 /* linux_epoll_wait */ 1755 case 256: { |
1763 struct linux_epoll_wait_args *p = params; 1764 iarg[0] = p->epfd; /* l_int */ 1765 uarg[1] = (intptr_t) p->events; /* struct linux_epoll_event * */ 1766 iarg[2] = p->maxevents; /* l_int */ 1767 iarg[3] = p->timeout; /* l_int */ 1768 *n_args = 4; | 1756 *n_args = 0; |
1769 break; 1770 } 1771 /* linux_remap_file_pages */ 1772 case 257: { 1773 *n_args = 0; 1774 break; 1775 } 1776 /* linux_set_tid_address */ --- 480 unchanged lines hidden (view full) --- 2257 } 2258 /* linux_eventfd2 */ 2259 case 328: { 2260 *n_args = 0; 2261 break; 2262 } 2263 /* linux_epoll_create1 */ 2264 case 329: { | 1757 break; 1758 } 1759 /* linux_remap_file_pages */ 1760 case 257: { 1761 *n_args = 0; 1762 break; 1763 } 1764 /* linux_set_tid_address */ --- 480 unchanged lines hidden (view full) --- 2245 } 2246 /* linux_eventfd2 */ 2247 case 328: { 2248 *n_args = 0; 2249 break; 2250 } 2251 /* linux_epoll_create1 */ 2252 case 329: { |
2265 struct linux_epoll_create1_args *p = params; 2266 iarg[0] = p->flags; /* l_int */ 2267 *n_args = 1; | 2253 *n_args = 0; |
2268 break; 2269 } 2270 /* linux_dup3 */ 2271 case 330: { 2272 *n_args = 0; 2273 break; 2274 } 2275 /* linux_pipe2 */ --- 2702 unchanged lines hidden (view full) --- 4978 break; 4979 }; 4980 break; 4981 /* linux_lookup_dcookie */ 4982 case 253: 4983 break; 4984 /* linux_epoll_create */ 4985 case 254: | 2254 break; 2255 } 2256 /* linux_dup3 */ 2257 case 330: { 2258 *n_args = 0; 2259 break; 2260 } 2261 /* linux_pipe2 */ --- 2702 unchanged lines hidden (view full) --- 4964 break; 4965 }; 4966 break; 4967 /* linux_lookup_dcookie */ 4968 case 253: 4969 break; 4970 /* linux_epoll_create */ 4971 case 254: |
4986 switch(ndx) { 4987 case 0: 4988 p = "l_int"; 4989 break; 4990 default: 4991 break; 4992 }; | |
4993 break; 4994 /* linux_epoll_ctl */ 4995 case 255: | 4972 break; 4973 /* linux_epoll_ctl */ 4974 case 255: |
4996 switch(ndx) { 4997 case 0: 4998 p = "l_int"; 4999 break; 5000 case 1: 5001 p = "l_int"; 5002 break; 5003 case 2: 5004 p = "l_int"; 5005 break; 5006 case 3: 5007 p = "struct linux_epoll_event *"; 5008 break; 5009 default: 5010 break; 5011 }; | |
5012 break; 5013 /* linux_epoll_wait */ 5014 case 256: | 4975 break; 4976 /* linux_epoll_wait */ 4977 case 256: |
5015 switch(ndx) { 5016 case 0: 5017 p = "l_int"; 5018 break; 5019 case 1: 5020 p = "struct linux_epoll_event *"; 5021 break; 5022 case 2: 5023 p = "l_int"; 5024 break; 5025 case 3: 5026 p = "l_int"; 5027 break; 5028 default: 5029 break; 5030 }; | |
5031 break; 5032 /* linux_remap_file_pages */ 5033 case 257: 5034 break; 5035 /* linux_set_tid_address */ 5036 case 258: 5037 switch(ndx) { 5038 case 0: --- 658 unchanged lines hidden (view full) --- 5697 /* linux_signalfd4 */ 5698 case 327: 5699 break; 5700 /* linux_eventfd2 */ 5701 case 328: 5702 break; 5703 /* linux_epoll_create1 */ 5704 case 329: | 4978 break; 4979 /* linux_remap_file_pages */ 4980 case 257: 4981 break; 4982 /* linux_set_tid_address */ 4983 case 258: 4984 switch(ndx) { 4985 case 0: --- 658 unchanged lines hidden (view full) --- 5644 /* linux_signalfd4 */ 5645 case 327: 5646 break; 5647 /* linux_eventfd2 */ 5648 case 328: 5649 break; 5650 /* linux_epoll_create1 */ 5651 case 329: |
5705 switch(ndx) { 5706 case 0: 5707 p = "l_int"; 5708 break; 5709 default: 5710 break; 5711 }; | |
5712 break; 5713 /* linux_dup3 */ 5714 case 330: 5715 break; 5716 /* linux_pipe2 */ 5717 case 331: 5718 switch(ndx) { 5719 case 0: --- 1060 unchanged lines hidden (view full) --- 6780 case 252: 6781 if (ndx == 0 || ndx == 1) 6782 p = "int"; 6783 break; 6784 /* linux_lookup_dcookie */ 6785 case 253: 6786 /* linux_epoll_create */ 6787 case 254: | 5652 break; 5653 /* linux_dup3 */ 5654 case 330: 5655 break; 5656 /* linux_pipe2 */ 5657 case 331: 5658 switch(ndx) { 5659 case 0: --- 1060 unchanged lines hidden (view full) --- 6720 case 252: 6721 if (ndx == 0 || ndx == 1) 6722 p = "int"; 6723 break; 6724 /* linux_lookup_dcookie */ 6725 case 253: 6726 /* linux_epoll_create */ 6727 case 254: |
6788 if (ndx == 0 || ndx == 1) 6789 p = "int"; 6790 break; | |
6791 /* linux_epoll_ctl */ 6792 case 255: | 6728 /* linux_epoll_ctl */ 6729 case 255: |
6793 if (ndx == 0 || ndx == 1) 6794 p = "int"; 6795 break; | |
6796 /* linux_epoll_wait */ 6797 case 256: | 6730 /* linux_epoll_wait */ 6731 case 256: |
6798 if (ndx == 0 || ndx == 1) 6799 p = "int"; 6800 break; | |
6801 /* linux_remap_file_pages */ 6802 case 257: 6803 /* linux_set_tid_address */ 6804 case 258: 6805 if (ndx == 0 || ndx == 1) 6806 p = "int"; 6807 break; 6808 /* linux_timer_create */ --- 231 unchanged lines hidden (view full) --- 7040 /* linux_timerfd_gettime */ 7041 case 326: 7042 /* linux_signalfd4 */ 7043 case 327: 7044 /* linux_eventfd2 */ 7045 case 328: 7046 /* linux_epoll_create1 */ 7047 case 329: | 6732 /* linux_remap_file_pages */ 6733 case 257: 6734 /* linux_set_tid_address */ 6735 case 258: 6736 if (ndx == 0 || ndx == 1) 6737 p = "int"; 6738 break; 6739 /* linux_timer_create */ --- 231 unchanged lines hidden (view full) --- 6971 /* linux_timerfd_gettime */ 6972 case 326: 6973 /* linux_signalfd4 */ 6974 case 327: 6975 /* linux_eventfd2 */ 6976 case 328: 6977 /* linux_epoll_create1 */ 6978 case 329: |
7048 if (ndx == 0 || ndx == 1) 7049 p = "int"; 7050 break; | |
7051 /* linux_dup3 */ 7052 case 330: 7053 /* linux_pipe2 */ 7054 case 331: 7055 if (ndx == 0 || ndx == 1) 7056 p = "int"; 7057 break; 7058 /* linux_inotify_init1 */ --- 39 unchanged lines hidden --- | 6979 /* linux_dup3 */ 6980 case 330: 6981 /* linux_pipe2 */ 6982 case 331: 6983 if (ndx == 0 || ndx == 1) 6984 p = "int"; 6985 break; 6986 /* linux_inotify_init1 */ --- 39 unchanged lines hidden --- |