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

/linux-master/tools/lib/bpf/
H A Dlinker.c1512 const struct btf *main_btf,
1537 main_btf, main_def->key_type_id,
1554 main_btf, main_def->value_type_id,
1588 main_btf, main_inner_def, NULL,
1511 map_defs_match(const char *sym_name, const struct btf *main_btf, const struct btf_map_def *main_def, const struct btf_map_def *main_inner_def, const struct btf *extra_btf, const struct btf_map_def *extra_def, const struct btf_map_def *extra_inner_def) argument
H A Dlibbpf.c5593 const struct btf *main_btf; local
5615 main_btf = obj->btf_vmlinux_override ?: obj->btf_vmlinux;
5616 err = bpf_core_add_cands(&local_cand, local_essent_len, main_btf, "vmlinux", 1, cands);
/linux-master/kernel/bpf/
H A Dbtf.c8604 const struct btf *main_btf; local
8610 main_btf = bpf_get_btf_vmlinux();
8611 if (IS_ERR(main_btf))
8612 return ERR_CAST(main_btf);
8613 if (!main_btf)
8639 cands = bpf_core_add_cands(cands, main_btf, 1);
8671 cands = bpf_core_add_cands(cands, mod_btf, btf_nr_types(main_btf));

Completed in 336 milliseconds