systrace_args.c (db06a6f4ef6cbe2fecc10a453cfa70611fc4ac27) | systrace_args.c (66db16fc49105889c51252e2e6480c13c683a549) |
---|---|
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 --- 3121 unchanged lines hidden (view full) --- 3130 } 3131 /* setloginclass */ 3132 case 524: { 3133 struct setloginclass_args *p = params; 3134 uarg[0] = (intptr_t) p->namebuf; /* const char * */ 3135 *n_args = 1; 3136 break; 3137 } | 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 --- 3121 unchanged lines hidden (view full) --- 3130 } 3131 /* setloginclass */ 3132 case 524: { 3133 struct setloginclass_args *p = params; 3134 uarg[0] = (intptr_t) p->namebuf; /* const char * */ 3135 *n_args = 1; 3136 break; 3137 } |
3138 /* rctl_get_racct */ 3139 case 525: { 3140 struct rctl_get_racct_args *p = params; 3141 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3142 uarg[1] = p->inbuflen; /* size_t */ 3143 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3144 uarg[3] = p->outbuflen; /* size_t */ 3145 *n_args = 4; 3146 break; 3147 } 3148 /* rctl_get_rules */ 3149 case 526: { 3150 struct rctl_get_rules_args *p = params; 3151 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3152 uarg[1] = p->inbuflen; /* size_t */ 3153 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3154 uarg[3] = p->outbuflen; /* size_t */ 3155 *n_args = 4; 3156 break; 3157 } 3158 /* rctl_get_limits */ 3159 case 527: { 3160 struct rctl_get_limits_args *p = params; 3161 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3162 uarg[1] = p->inbuflen; /* size_t */ 3163 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3164 uarg[3] = p->outbuflen; /* size_t */ 3165 *n_args = 4; 3166 break; 3167 } 3168 /* rctl_add_rule */ 3169 case 528: { 3170 struct rctl_add_rule_args *p = params; 3171 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3172 uarg[1] = p->inbuflen; /* size_t */ 3173 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3174 uarg[3] = p->outbuflen; /* size_t */ 3175 *n_args = 4; 3176 break; 3177 } 3178 /* rctl_remove_rule */ 3179 case 529: { 3180 struct rctl_remove_rule_args *p = params; 3181 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3182 uarg[1] = p->inbuflen; /* size_t */ 3183 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3184 uarg[3] = p->outbuflen; /* size_t */ 3185 *n_args = 4; 3186 break; 3187 } |
|
3138 default: 3139 *n_args = 0; 3140 break; 3141 }; 3142} 3143static void 3144systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3145{ --- 5177 unchanged lines hidden (view full) --- 8323 switch(ndx) { 8324 case 0: 8325 p = "const char *"; 8326 break; 8327 default: 8328 break; 8329 }; 8330 break; | 3188 default: 3189 *n_args = 0; 3190 break; 3191 }; 3192} 3193static void 3194systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3195{ --- 5177 unchanged lines hidden (view full) --- 8373 switch(ndx) { 8374 case 0: 8375 p = "const char *"; 8376 break; 8377 default: 8378 break; 8379 }; 8380 break; |
8381 /* rctl_get_racct */ 8382 case 525: 8383 switch(ndx) { 8384 case 0: 8385 p = "const void *"; 8386 break; 8387 case 1: 8388 p = "size_t"; 8389 break; 8390 case 2: 8391 p = "void *"; 8392 break; 8393 case 3: 8394 p = "size_t"; 8395 break; 8396 default: 8397 break; 8398 }; 8399 break; 8400 /* rctl_get_rules */ 8401 case 526: 8402 switch(ndx) { 8403 case 0: 8404 p = "const void *"; 8405 break; 8406 case 1: 8407 p = "size_t"; 8408 break; 8409 case 2: 8410 p = "void *"; 8411 break; 8412 case 3: 8413 p = "size_t"; 8414 break; 8415 default: 8416 break; 8417 }; 8418 break; 8419 /* rctl_get_limits */ 8420 case 527: 8421 switch(ndx) { 8422 case 0: 8423 p = "const void *"; 8424 break; 8425 case 1: 8426 p = "size_t"; 8427 break; 8428 case 2: 8429 p = "void *"; 8430 break; 8431 case 3: 8432 p = "size_t"; 8433 break; 8434 default: 8435 break; 8436 }; 8437 break; 8438 /* rctl_add_rule */ 8439 case 528: 8440 switch(ndx) { 8441 case 0: 8442 p = "const void *"; 8443 break; 8444 case 1: 8445 p = "size_t"; 8446 break; 8447 case 2: 8448 p = "void *"; 8449 break; 8450 case 3: 8451 p = "size_t"; 8452 break; 8453 default: 8454 break; 8455 }; 8456 break; 8457 /* rctl_remove_rule */ 8458 case 529: 8459 switch(ndx) { 8460 case 0: 8461 p = "const void *"; 8462 break; 8463 case 1: 8464 p = "size_t"; 8465 break; 8466 case 2: 8467 p = "void *"; 8468 break; 8469 case 3: 8470 p = "size_t"; 8471 break; 8472 default: 8473 break; 8474 }; 8475 break; |
|
8331 default: 8332 break; 8333 }; 8334 if (p != NULL) 8335 strlcpy(desc, p, descsz); 8336} | 8476 default: 8477 break; 8478 }; 8479 if (p != NULL) 8480 strlcpy(desc, p, descsz); 8481} |