Home
last modified time | relevance | path

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

/Linux-v6.1/tools/lib/bpf/
Dlinker.c1481 const struct btf *main_btf, in map_defs_match() argument
1506 main_btf, main_def->key_type_id, in map_defs_match()
1523 main_btf, main_def->value_type_id, in map_defs_match()
1557 main_btf, main_inner_def, NULL, in map_defs_match()
Dlibbpf.c5457 const struct btf *main_btf; in bpf_core_find_cands() local
5479 main_btf = obj->btf_vmlinux_override ?: obj->btf_vmlinux; in bpf_core_find_cands()
5480 err = bpf_core_add_cands(&local_cand, local_essent_len, main_btf, "vmlinux", 1, cands); in bpf_core_find_cands()
/Linux-v6.1/kernel/bpf/
Dbtf.c7881 const struct btf *main_btf; in bpf_core_find_cands() local
7887 main_btf = bpf_get_btf_vmlinux(); in bpf_core_find_cands()
7888 if (IS_ERR(main_btf)) in bpf_core_find_cands()
7889 return ERR_CAST(main_btf); in bpf_core_find_cands()
7890 if (!main_btf) in bpf_core_find_cands()
7916 cands = bpf_core_add_cands(cands, main_btf, 1); in bpf_core_find_cands()
7948 cands = bpf_core_add_cands(cands, mod_btf, btf_nr_types(main_btf)); in bpf_core_find_cands()