Home
last modified time | relevance | path

Searched refs:ext_sec (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/lib/bpf/
Dbtf.c2897 struct btf_ext_sec_setup_param *ext_sec) in btf_ext_setup_info() argument
2906 if (ext_sec->len == 0) in btf_ext_setup_info()
2909 if (ext_sec->off & 0x03) { in btf_ext_setup_info()
2911 ext_sec->desc); in btf_ext_setup_info()
2915 info = btf_ext->data + btf_ext->hdr->hdr_len + ext_sec->off; in btf_ext_setup_info()
2916 info_left = ext_sec->len; in btf_ext_setup_info()
2918 if (btf_ext->data + btf_ext->data_size < info + ext_sec->len) { in btf_ext_setup_info()
2920 ext_sec->desc, ext_sec->off, ext_sec->len); in btf_ext_setup_info()
2926 pr_debug(".BTF.ext %s record size not found\n", ext_sec->desc); in btf_ext_setup_info()
2932 if (record_size < ext_sec->min_rec_size || in btf_ext_setup_info()
[all …]
Dlinker.c2474 const struct btf_ext_info_sec *ext_sec; in linker_append_btf_ext() local
2484 for_each_btf_ext_sec(&obj->btf_ext->func_info, ext_sec) { in linker_append_btf_ext()
2487 sec_name = btf__name_by_offset(obj->btf, ext_sec->sec_name_off); in linker_append_btf_ext()
2502 for_each_btf_ext_rec(&obj->btf_ext->func_info, ext_sec, i, src_rec) { in linker_append_btf_ext()
2513 for_each_btf_ext_sec(&obj->btf_ext->line_info, ext_sec) { in linker_append_btf_ext()
2516 sec_name = btf__name_by_offset(obj->btf, ext_sec->sec_name_off); in linker_append_btf_ext()
2531 for_each_btf_ext_rec(&obj->btf_ext->line_info, ext_sec, i, src_rec) { in linker_append_btf_ext()
2555 for_each_btf_ext_sec(&obj->btf_ext->core_relo_info, ext_sec) { in linker_append_btf_ext()
2558 sec_name = btf__name_by_offset(obj->btf, ext_sec->sec_name_off); 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()