systrace_args.c (1dc31587bf980dbeab3db2d647675e44a290cd83) | systrace_args.c (378a73d1bd1b9ae3e762511ac6a69f31b2e34e1c) |
---|---|
1/* 2 * System call argument to DTrace register array converstion. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD$ 6 * This file is part of the DTrace syscall provider. 7 */ 8 --- 3314 unchanged lines hidden (view full) --- 3323 /* cap_fcntls_get */ 3324 case 537: { 3325 struct cap_fcntls_get_args *p = params; 3326 iarg[0] = p->fd; /* int */ 3327 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */ 3328 *n_args = 2; 3329 break; 3330 } | 1/* 2 * System call argument to DTrace register array converstion. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD$ 6 * This file is part of the DTrace syscall provider. 7 */ 8 --- 3314 unchanged lines hidden (view full) --- 3323 /* cap_fcntls_get */ 3324 case 537: { 3325 struct cap_fcntls_get_args *p = params; 3326 iarg[0] = p->fd; /* int */ 3327 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */ 3328 *n_args = 2; 3329 break; 3330 } |
3331 /* bindat */ 3332 case 538: { 3333 struct bindat_args *p = params; 3334 iarg[0] = p->fd; /* int */ 3335 iarg[1] = p->s; /* int */ 3336 uarg[2] = (intptr_t) p->name; /* caddr_t */ 3337 iarg[3] = p->namelen; /* int */ 3338 *n_args = 4; 3339 break; 3340 } 3341 /* connectat */ 3342 case 539: { 3343 struct connectat_args *p = params; 3344 iarg[0] = p->fd; /* int */ 3345 iarg[1] = p->s; /* int */ 3346 uarg[2] = (intptr_t) p->name; /* caddr_t */ 3347 iarg[3] = p->namelen; /* int */ 3348 *n_args = 4; 3349 break; 3350 } |
|
3331 default: 3332 *n_args = 0; 3333 break; 3334 }; 3335} 3336static void 3337systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3338{ --- 5514 unchanged lines hidden (view full) --- 8853 break; 8854 case 1: 8855 p = "uint32_t *"; 8856 break; 8857 default: 8858 break; 8859 }; 8860 break; | 3351 default: 3352 *n_args = 0; 3353 break; 3354 }; 3355} 3356static void 3357systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3358{ --- 5514 unchanged lines hidden (view full) --- 8873 break; 8874 case 1: 8875 p = "uint32_t *"; 8876 break; 8877 default: 8878 break; 8879 }; 8880 break; |
8881 /* bindat */ 8882 case 538: 8883 switch(ndx) { 8884 case 0: 8885 p = "int"; 8886 break; 8887 case 1: 8888 p = "int"; 8889 break; 8890 case 2: 8891 p = "caddr_t"; 8892 break; 8893 case 3: 8894 p = "int"; 8895 break; 8896 default: 8897 break; 8898 }; 8899 break; 8900 /* connectat */ 8901 case 539: 8902 switch(ndx) { 8903 case 0: 8904 p = "int"; 8905 break; 8906 case 1: 8907 p = "int"; 8908 break; 8909 case 2: 8910 p = "caddr_t"; 8911 break; 8912 case 3: 8913 p = "int"; 8914 break; 8915 default: 8916 break; 8917 }; 8918 break; |
|
8861 default: 8862 break; 8863 }; 8864 if (p != NULL) 8865 strlcpy(desc, p, descsz); 8866} 8867static void 8868systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) --- 1902 unchanged lines hidden (view full) --- 10771 if (ndx == 0 || ndx == 1) 10772 p = "int"; 10773 break; 10774 /* cap_fcntls_get */ 10775 case 537: 10776 if (ndx == 0 || ndx == 1) 10777 p = "int"; 10778 break; | 8919 default: 8920 break; 8921 }; 8922 if (p != NULL) 8923 strlcpy(desc, p, descsz); 8924} 8925static void 8926systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) --- 1902 unchanged lines hidden (view full) --- 10829 if (ndx == 0 || ndx == 1) 10830 p = "int"; 10831 break; 10832 /* cap_fcntls_get */ 10833 case 537: 10834 if (ndx == 0 || ndx == 1) 10835 p = "int"; 10836 break; |
10837 /* bindat */ 10838 case 538: 10839 if (ndx == 0 || ndx == 1) 10840 p = "int"; 10841 break; 10842 /* connectat */ 10843 case 539: 10844 if (ndx == 0 || ndx == 1) 10845 p = "int"; 10846 break; |
|
10779 default: 10780 break; 10781 }; 10782 if (p != NULL) 10783 strlcpy(desc, p, descsz); 10784} | 10847 default: 10848 break; 10849 }; 10850 if (p != NULL) 10851 strlcpy(desc, p, descsz); 10852} |