Home
last modified time | relevance | path

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

/Linux-v6.6/tools/lib/bpf/
Dlinker.c1493 const struct btf *main_btf, in map_defs_match() argument
1518 main_btf, main_def->key_type_id, in map_defs_match()
1535 main_btf, main_def->value_type_id, in map_defs_match()
1569 main_btf, main_inner_def, NULL, in map_defs_match()
Dlibbpf.c5602 const struct btf *main_btf; in bpf_core_find_cands() local
5624 main_btf = obj->btf_vmlinux_override ?: obj->btf_vmlinux; in bpf_core_find_cands()
5625 err = bpf_core_add_cands(&local_cand, local_essent_len, main_btf, "vmlinux", 1, cands); in bpf_core_find_cands()
/Linux-v6.6/kernel/bpf/
Dbtf.c8334 const struct btf *main_btf; in bpf_core_find_cands() local
8340 main_btf = bpf_get_btf_vmlinux(); in bpf_core_find_cands()
8341 if (IS_ERR(main_btf)) in bpf_core_find_cands()
8342 return ERR_CAST(main_btf); in bpf_core_find_cands()
8343 if (!main_btf) in bpf_core_find_cands()
8369 cands = bpf_core_add_cands(cands, main_btf, 1); in bpf_core_find_cands()
8401 cands = bpf_core_add_cands(cands, mod_btf, btf_nr_types(main_btf)); in bpf_core_find_cands()