Home
last modified time | relevance | path

Searched refs:btf_type_name (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/bpf/
H A Dlog.c430 static const char *btf_type_name(const struct btf *btf, u32 id) in btf_type_name() function
515 return btf_type_name(btf, btf_id) + sizeof(ITER_PREFIX) - 1; in iter_type_str()
707 verbose(env, "%s", btf_type_name(reg->btf, reg->btf_id)); in print_reg_state()
H A Dverifier.c348 static const char *btf_type_name(const struct btf *btf, u32 id) in btf_type_name() function
438 return btf_type_name(env->prog->aux->btf, info->type_id); in subprog_name()
5420 const char *targ_name = btf_type_name(kptr_field->kptr.btf, kptr_field->kptr.btf_id); in map_kptr_match_type()
5440 reg_name = btf_type_name(reg->btf, reg->btf_id); in map_kptr_match_type()
8751 regno, btf_type_name(reg->btf, reg->btf_id), in check_reg_type()
8752 btf_type_name(btf_vmlinux, *arg_btf_id)); in check_reg_type()
/linux/tools/lib/bpf/
H A Dlibbpf.c9905 char btf_type_name[BTF_MAX_NAME_SIZE]; in find_btf_by_prefix_kind() local
9908 ret = snprintf(btf_type_name, sizeof(btf_type_name), in find_btf_by_prefix_kind()
9914 if (ret < 0 || ret >= sizeof(btf_type_name)) in find_btf_by_prefix_kind()
9916 return btf__find_by_name_kind(btf, btf_type_name, kind); in find_btf_by_prefix_kind()