Lines Matching refs:rec_sz
74 __u32 rec_sz; 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()
2420 memcpy(tmp, src_rec, ext_data->rec_sz); in add_btf_ext_rec()
2433 int rec_sz, str_off, i; in linker_append_btf_ext() local
2438 rec_sz = obj->btf_ext->func_info.rec_size; in linker_append_btf_ext()
2450 if (dst_sec->func_info.rec_sz == 0) in linker_append_btf_ext()
2451 dst_sec->func_info.rec_sz = rec_sz; in linker_append_btf_ext()
2452 if (dst_sec->func_info.rec_sz != rec_sz) { in linker_append_btf_ext()
2467 rec_sz = obj->btf_ext->line_info.rec_size; in linker_append_btf_ext()
2479 if (dst_sec->line_info.rec_sz == 0) in linker_append_btf_ext()
2480 dst_sec->line_info.rec_sz = rec_sz; in linker_append_btf_ext()
2481 if (dst_sec->line_info.rec_sz != rec_sz) { in linker_append_btf_ext()
2509 rec_sz = obj->btf_ext->core_relo_info.rec_size; in linker_append_btf_ext()
2521 if (dst_sec->core_relo_info.rec_sz == 0) in linker_append_btf_ext()
2522 dst_sec->core_relo_info.rec_sz = rec_sz; in linker_append_btf_ext()
2523 if (dst_sec->core_relo_info.rec_sz != rec_sz) { in linker_append_btf_ext()
2745 sz = sec_data->rec_cnt * sec_data->rec_sz; in emit_btf_ext_data()
2769 func_rec_sz = sec->func_info.rec_sz; in finalize_btf_ext()
2770 if (func_rec_sz != sec->func_info.rec_sz) { in finalize_btf_ext()
2772 func_rec_sz, sec->func_info.rec_sz); in finalize_btf_ext()
2780 line_rec_sz = sec->line_info.rec_sz; in finalize_btf_ext()
2781 if (line_rec_sz != sec->line_info.rec_sz) { in finalize_btf_ext()
2783 line_rec_sz, sec->line_info.rec_sz); in finalize_btf_ext()
2791 core_relo_rec_sz = sec->core_relo_info.rec_sz; in finalize_btf_ext()
2792 if (core_relo_rec_sz != sec->core_relo_info.rec_sz) { in finalize_btf_ext()
2794 core_relo_rec_sz, sec->core_relo_info.rec_sz); in finalize_btf_ext()