systrace_args.c (8c1538224adf39b7486c5f4d0c0f18317f60f157) | systrace_args.c (fd52edaf708316543f61751ee7c3fdcf55f5283c) |
---|---|
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 --- 3252 unchanged lines hidden (view full) --- 3261 case 563: { 3262 struct getrandom_args *p = params; 3263 uarg[0] = (intptr_t) p->buf; /* void * */ 3264 uarg[1] = p->buflen; /* size_t */ 3265 uarg[2] = p->flags; /* unsigned int */ 3266 *n_args = 3; 3267 break; 3268 } | 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 --- 3252 unchanged lines hidden (view full) --- 3261 case 563: { 3262 struct getrandom_args *p = params; 3263 uarg[0] = (intptr_t) p->buf; /* void * */ 3264 uarg[1] = p->buflen; /* size_t */ 3265 uarg[2] = p->flags; /* unsigned int */ 3266 *n_args = 3; 3267 break; 3268 } |
3269 /* getfhat */ 3270 case 564: { 3271 struct getfhat_args *p = params; 3272 iarg[0] = p->fd; /* int */ 3273 uarg[1] = (intptr_t) p->path; /* char * */ 3274 uarg[2] = (intptr_t) p->fhp; /* struct fhandle * */ 3275 iarg[3] = p->flags; /* int */ 3276 *n_args = 4; 3277 break; 3278 } 3279 /* fhlink */ 3280 case 565: { 3281 struct fhlink_args *p = params; 3282 uarg[0] = (intptr_t) p->fhp; /* struct fhandle * */ 3283 uarg[1] = (intptr_t) p->to; /* const char * */ 3284 *n_args = 2; 3285 break; 3286 } 3287 /* fhlinkat */ 3288 case 566: { 3289 struct fhlinkat_args *p = params; 3290 uarg[0] = (intptr_t) p->fhp; /* struct fhandle * */ 3291 iarg[1] = p->tofd; /* int */ 3292 uarg[2] = (intptr_t) p->to; /* const char * */ 3293 *n_args = 3; 3294 break; 3295 } 3296 /* fhreadlink */ 3297 case 567: { 3298 struct fhreadlink_args *p = params; 3299 uarg[0] = (intptr_t) p->fhp; /* struct fhandle * */ 3300 uarg[1] = (intptr_t) p->buf; /* char * */ 3301 uarg[2] = p->bufsize; /* size_t */ 3302 *n_args = 3; 3303 break; 3304 } |
|
3269 default: 3270 *n_args = 0; 3271 break; 3272 }; 3273} 3274static void 3275systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3276{ --- 5428 unchanged lines hidden (view full) --- 8705 break; 8706 case 2: 8707 p = "unsigned int"; 8708 break; 8709 default: 8710 break; 8711 }; 8712 break; | 3305 default: 3306 *n_args = 0; 3307 break; 3308 }; 3309} 3310static void 3311systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3312{ --- 5428 unchanged lines hidden (view full) --- 8741 break; 8742 case 2: 8743 p = "unsigned int"; 8744 break; 8745 default: 8746 break; 8747 }; 8748 break; |
8749 /* getfhat */ 8750 case 564: 8751 switch(ndx) { 8752 case 0: 8753 p = "int"; 8754 break; 8755 case 1: 8756 p = "userland char *"; 8757 break; 8758 case 2: 8759 p = "userland struct fhandle *"; 8760 break; 8761 case 3: 8762 p = "int"; 8763 break; 8764 default: 8765 break; 8766 }; 8767 break; 8768 /* fhlink */ 8769 case 565: 8770 switch(ndx) { 8771 case 0: 8772 p = "userland struct fhandle *"; 8773 break; 8774 case 1: 8775 p = "userland const char *"; 8776 break; 8777 default: 8778 break; 8779 }; 8780 break; 8781 /* fhlinkat */ 8782 case 566: 8783 switch(ndx) { 8784 case 0: 8785 p = "userland struct fhandle *"; 8786 break; 8787 case 1: 8788 p = "int"; 8789 break; 8790 case 2: 8791 p = "userland const char *"; 8792 break; 8793 default: 8794 break; 8795 }; 8796 break; 8797 /* fhreadlink */ 8798 case 567: 8799 switch(ndx) { 8800 case 0: 8801 p = "userland struct fhandle *"; 8802 break; 8803 case 1: 8804 p = "userland char *"; 8805 break; 8806 case 2: 8807 p = "size_t"; 8808 break; 8809 default: 8810 break; 8811 }; 8812 break; |
|
8713 default: 8714 break; 8715 }; 8716 if (p != NULL) 8717 strlcpy(desc, p, descsz); 8718} 8719static void 8720systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) --- 1860 unchanged lines hidden (view full) --- 10581 if (ndx == 0 || ndx == 1) 10582 p = "int"; 10583 break; 10584 /* getrandom */ 10585 case 563: 10586 if (ndx == 0 || ndx == 1) 10587 p = "int"; 10588 break; | 8813 default: 8814 break; 8815 }; 8816 if (p != NULL) 8817 strlcpy(desc, p, descsz); 8818} 8819static void 8820systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) --- 1860 unchanged lines hidden (view full) --- 10681 if (ndx == 0 || ndx == 1) 10682 p = "int"; 10683 break; 10684 /* getrandom */ 10685 case 563: 10686 if (ndx == 0 || ndx == 1) 10687 p = "int"; 10688 break; |
10689 /* getfhat */ 10690 case 564: 10691 if (ndx == 0 || ndx == 1) 10692 p = "int"; 10693 break; 10694 /* fhlink */ 10695 case 565: 10696 if (ndx == 0 || ndx == 1) 10697 p = "int"; 10698 break; 10699 /* fhlinkat */ 10700 case 566: 10701 if (ndx == 0 || ndx == 1) 10702 p = "int"; 10703 break; 10704 /* fhreadlink */ 10705 case 567: 10706 if (ndx == 0 || ndx == 1) 10707 p = "int"; 10708 break; |
|
10589 default: 10590 break; 10591 }; 10592 if (p != NULL) 10593 strlcpy(desc, p, descsz); 10594} | 10709 default: 10710 break; 10711 }; 10712 if (p != NULL) 10713 strlcpy(desc, p, descsz); 10714} |