Searched refs:rec_size (Results 1 – 6 of 6) sorted by relevance
/tools/lib/bpf/ |
D | bpf_prog_linfo.c | 18 __u32 rec_size; member 125 prog_linfo->rec_size = info->line_info_rec_size; in bpf_prog_linfo__new() 126 data_sz = (__u64)nr_linfo * prog_linfo->rec_size; in bpf_prog_linfo__new() 184 __u32 jited_rec_size, rec_size, nr_linfo, start, i; in bpf_prog_linfo__lfind_addr_func() local 204 rec_size = prog_linfo->rec_size; in bpf_prog_linfo__lfind_addr_func() 205 raw_linfo = prog_linfo->raw_linfo + (start * rec_size); in bpf_prog_linfo__lfind_addr_func() 210 raw_linfo += rec_size; in bpf_prog_linfo__lfind_addr_func() 215 return raw_linfo - rec_size; in bpf_prog_linfo__lfind_addr_func() 223 __u32 rec_size, nr_linfo, i; in bpf_prog_linfo__lfind() local 230 rec_size = prog_linfo->rec_size; in bpf_prog_linfo__lfind() [all …]
|
D | libbpf_internal.h | 397 __u32 rec_size; member 412 (seg)->rec_size * sec->num_info) 417 i++, rec = (void *)rec + (seg)->rec_size)
|
D | linker.c | 2450 rec_sz = obj->btf_ext->func_info.rec_size; in linker_append_btf_ext() 2479 rec_sz = obj->btf_ext->line_info.rec_size; in linker_append_btf_ext() 2521 rec_sz = obj->btf_ext->core_relo_info.rec_size; in linker_append_btf_ext()
|
D | libbpf.c | 6085 copy_end = rec + ext_info->rec_size; in adjust_prog_btf_ext_info() 6094 old_sz = (size_t)(*prog_rec_cnt) * ext_info->rec_size; in adjust_prog_btf_ext_info() 6100 *prog_rec_cnt = new_sz / ext_info->rec_size; in adjust_prog_btf_ext_info() 6112 for (; rec < rec_end; rec += ext_info->rec_size) { in adjust_prog_btf_ext_info() 6117 *prog_rec_sz = ext_info->rec_size; in adjust_prog_btf_ext_info()
|
D | btf.c | 2739 ext_info->rec_size = record_size; in btf_ext_setup_info()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | btf.c | 4759 __u32 info_len, rec_size; in do_test_file() local 4834 rec_size = info.func_info_rec_size; in do_test_file() 4835 if (CHECK(rec_size != sizeof(struct bpf_func_info), in do_test_file() 4836 "incorrect info.func_info_rec_size (1st) %d\n", rec_size)) { in do_test_file() 4841 func_info = malloc(info.nr_func_info * rec_size); in do_test_file() 4850 info.func_info_rec_size = rec_size; in do_test_file() 4866 if (CHECK(info.func_info_rec_size != rec_size, in do_test_file() 4903 finfo = (void *)finfo + rec_size; in do_test_file() 6465 __u32 info_len, rec_size, i; in test_get_finfo() local 6484 rec_size = info.func_info_rec_size; in test_get_finfo() [all …]
|