Home
last modified time | relevance | path

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

/third_party/libbpf/src/
Dlinker.c73 size_t rec_cnt; member
2414 tmp = libbpf_reallocarray(ext_data->recs, ext_data->rec_cnt + 1, ext_data->rec_sz); in add_btf_ext_rec()
2419 tmp += ext_data->rec_cnt * ext_data->rec_sz; in add_btf_ext_rec()
2422 ext_data->rec_cnt++; in add_btf_ext_rec()
2733 if (!sec_data->rec_cnt) in emit_btf_ext_data()
2742 sec_info->num_info = sec_data->rec_cnt; in emit_btf_ext_data()
2745 sz = sec_data->rec_cnt * sec_data->rec_sz; in emit_btf_ext_data()
2767 if (sec->func_info.rec_cnt) { in finalize_btf_ext()
2776 funcs_sz += sizeof(struct btf_ext_info_sec) + func_rec_sz * sec->func_info.rec_cnt; in finalize_btf_ext()
2778 if (sec->line_info.rec_cnt) { in finalize_btf_ext()
[all …]