Home
last modified time | relevance | path

Searched refs:core_relo_info (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/tools/lib/bpf/
Dlinker.c130 struct btf_ext_sec_data core_relo_info; member
209 free(sec->core_relo_info.recs); in bpf_linker__free()
2554 rec_sz = obj->btf_ext->core_relo_info.rec_size; in linker_append_btf_ext()
2555 for_each_btf_ext_sec(&obj->btf_ext->core_relo_info, ext_sec) { in linker_append_btf_ext()
2566 if (dst_sec->core_relo_info.rec_sz == 0) in linker_append_btf_ext()
2567 dst_sec->core_relo_info.rec_sz = rec_sz; in linker_append_btf_ext()
2568 if (dst_sec->core_relo_info.rec_sz != rec_sz) { in linker_append_btf_ext()
2573 for_each_btf_ext_rec(&obj->btf_ext->core_relo_info, ext_sec, i, src_rec) { in linker_append_btf_ext()
2574 dst_rec = add_btf_ext_rec(&dst_sec->core_relo_info, src_rec); in linker_append_btf_ext()
2834 if (sec->core_relo_info.rec_cnt) { in finalize_btf_ext()
[all …]
Dlibbpf_internal.h489 struct btf_ext_info core_relo_info; member
Dbtf.c3019 .ext_info = &btf_ext->core_relo_info, in btf_ext_setup_core_relos()
3068 free(btf_ext->core_relo_info.sec_idxs); in btf_ext__free()
5114 seg = &btf_ext->core_relo_info; in btf_ext_visit_type_ids()
5159 seg = &btf_ext->core_relo_info; in btf_ext_visit_str_offs()
Dlibbpf.c3242 ext_segs[2] = &obj->btf_ext->core_relo_info; in bpf_object__init_btf()
3440 if (obj->btf_ext && obj->btf_ext->core_relo_info.len && !obj->btf_custom_path) in obj_needs_vmlinux_btf()
5866 if (obj->btf_ext->core_relo_info.len == 0) in bpf_object__relocate_core()
5884 seg = &obj->btf_ext->core_relo_info; in bpf_object__relocate_core()
/linux-6.12.1/tools/bpf/bpftool/
Dgen.c2371 if (btf_ext->core_relo_info.len == 0) { in btfgen_record_obj()
2382 seg = &btf_ext->core_relo_info; in btfgen_record_obj()