Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dlinker.c1677 const struct btf *main_btf, in map_defs_match() argument
1702 main_btf, main_def->key_type_id, in map_defs_match()
1719 main_btf, main_def->value_type_id, in map_defs_match()
1753 main_btf, main_inner_def, NULL, in map_defs_match()
H A Dlibbpf.c5912 const struct btf *main_btf;
5934 main_btf = obj->btf_vmlinux_override ?: obj->btf_vmlinux; in bpf_core_types_match()
5935 err = bpf_core_add_cands(&local_cand, local_essent_len, main_btf, "vmlinux", 1, cands); in bpf_core_types_match()
5852 const struct btf *main_btf; bpf_core_find_cands() local
/linux/kernel/bpf/
H A Dbtf.c9570 const struct btf *main_btf; in bpf_core_apply()
9576 main_btf = bpf_get_btf_vmlinux(); in btf_nested_type_is_trusted()
9577 if (IS_ERR(main_btf)) in btf_nested_type_is_trusted()
9578 return ERR_CAST(main_btf); in btf_nested_type_is_trusted()
9579 if (!main_btf) in btf_nested_type_is_trusted()
9605 cands = bpf_core_add_cands(cands, main_btf, btf_named_start_id(main_btf, true)); in btf_nested_type_is_trusted()
9413 const struct btf *main_btf; bpf_core_find_cands() local