• Home
  • Raw
  • Download

Lines Matching refs:args

353 	void (*showfn)(struct btf_show *show, const char *fmt, va_list args);
997 va_list args; in btf_show() local
1000 va_start(args, fmt); in btf_show()
1001 show->showfn(show, fmt, args); in btf_show()
1002 va_end(args); in btf_show()
1265 va_list args; in __btf_verifier_log() local
1267 va_start(args, fmt); in __btf_verifier_log()
1268 bpf_verifier_vlog(log, fmt, args); in __btf_verifier_log()
1269 va_end(args); in __btf_verifier_log()
1276 va_list args; in btf_verifier_log() local
1281 va_start(args, fmt); in btf_verifier_log()
1282 bpf_verifier_vlog(log, fmt, args); in btf_verifier_log()
1283 va_end(args); in btf_verifier_log()
1294 va_list args; in __btf_verifier_log_type() local
1323 va_start(args, fmt); in __btf_verifier_log_type()
1324 bpf_verifier_vlog(log, fmt, args); in __btf_verifier_log_type()
1325 va_end(args); in __btf_verifier_log_type()
1344 va_list args; in btf_verifier_log_member() local
1381 va_start(args, fmt); in btf_verifier_log_member()
1382 bpf_verifier_vlog(log, fmt, args); in btf_verifier_log_member()
1383 va_end(args); in btf_verifier_log_member()
1396 va_list args; in btf_verifier_log_vsi() local
1409 va_start(args, fmt); in btf_verifier_log_vsi()
1410 bpf_verifier_vlog(log, fmt, args); in btf_verifier_log_vsi()
1411 va_end(args); in btf_verifier_log_vsi()
3434 const struct btf_param *args = (const struct btf_param *)(t + 1); in btf_func_proto_log() local
3443 if (nr_args == 1 && !args[0].type) { in btf_func_proto_log()
3449 btf_verifier_log(env, "%u %s", args[0].type, in btf_func_proto_log()
3451 args[0].name_off)); in btf_func_proto_log()
3453 btf_verifier_log(env, ", %u %s", args[i].type, in btf_func_proto_log()
3455 args[i].name_off)); in btf_func_proto_log()
3458 const struct btf_param *last_arg = &args[nr_args - 1]; in btf_func_proto_log()
3819 const struct btf_param *args; in btf_func_proto_check() local
3825 args = (const struct btf_param *)(t + 1); in btf_func_proto_check()
3856 if (!args[nr_args - 1].type) { in btf_func_proto_check()
3857 if (args[nr_args - 1].name_off) { in btf_func_proto_check()
3870 arg_type_id = args[i].type; in btf_func_proto_check()
3883 if (args[i].name_off && in btf_func_proto_check()
3884 (!btf_name_offset_valid(btf, args[i].name_off) || in btf_func_proto_check()
3885 !btf_name_valid_identifier(btf, args[i].name_off))) { in btf_func_proto_check()
3913 const struct btf_param *args; in btf_func_check() local
3925 args = (const struct btf_param *)(proto_type + 1); in btf_func_check()
3928 if (!args[i].name_off && args[i].type) { in btf_func_check()
4735 const struct btf_param *args; in btf_ctx_access() local
4745 args = (const struct btf_param *)(t + 1); in btf_ctx_access()
4752 args++; in btf_ctx_access()
4807 t = btf_type_by_id(btf, args[arg].type); in btf_ctx_access()
5256 const struct btf_param *args; in btf_distill_func_proto() local
5271 args = (const struct btf_param *)(func + 1); in btf_distill_func_proto()
5289 if (i == nargs - 1 && args[i].type == 0) { in btf_distill_func_proto()
5295 ret = __get_type_size(btf, args[i].type, &t); in btf_distill_func_proto()
5474 const struct btf_param *args; in btf_check_func_arg_match() local
5493 args = (const struct btf_param *)(t + 1); in btf_check_func_arg_match()
5508 t = btf_type_skip_modifiers(btf, args[i].type, NULL); in btf_check_func_arg_match()
5657 const struct btf_param *args; in btf_prepare_func_args() local
5701 args = (const struct btf_param *)(t + 1); in btf_prepare_func_args()
5724 t = btf_type_by_id(btf, args[i].type); in btf_prepare_func_args()
5773 va_list args) in btf_seq_show() argument
5775 seq_vprintf((struct seq_file *)show->target, fmt, args); in btf_seq_show()
5807 va_list args) in btf_snprintf_show() argument
5812 len = vsnprintf(show->target, ssnprintf->len_left, fmt, args); in btf_snprintf_show()