Lines Matching refs:core_relo_info
130 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()
2836 core_relo_rec_sz = sec->core_relo_info.rec_sz; in finalize_btf_ext()
2837 if (core_relo_rec_sz != sec->core_relo_info.rec_sz) { in finalize_btf_ext()
2839 core_relo_rec_sz, sec->core_relo_info.rec_sz); in finalize_btf_ext()
2843 … core_relos_sz += sizeof(struct btf_ext_info_sec) + core_relo_rec_sz * sec->core_relo_info.rec_cnt; in finalize_btf_ext()
2924 sz = emit_btf_ext_data(linker, cur, sec->sec_name, &sec->core_relo_info); in finalize_btf_ext()