Home
last modified time | relevance | path

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

/Linux-v6.6/tools/lib/bpf/
Dlinker.c2759 size_t funcs_sz = 0, lines_sz = 0, core_relos_sz = 0, total_sz = 0; in finalize_btf_ext() local
2781 funcs_sz += sizeof(struct btf_ext_info_sec) + func_rec_sz * sec->func_info.rec_cnt; in finalize_btf_ext()
2807 if (!funcs_sz && !lines_sz && !core_relos_sz) in finalize_btf_ext()
2811 if (funcs_sz) { in finalize_btf_ext()
2812 funcs_sz += sizeof(__u32); /* record size prefix */ in finalize_btf_ext()
2813 total_sz += funcs_sz; in finalize_btf_ext()
2837 hdr->func_info_len = funcs_sz; in finalize_btf_ext()
2838 hdr->line_info_off = funcs_sz; in finalize_btf_ext()
2840 hdr->core_relo_off = funcs_sz + lines_sz; in finalize_btf_ext()
2843 if (funcs_sz) { in finalize_btf_ext()