Searched refs:elf_sec_by_idx (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/tools/lib/bpf/ |
D | libbpf.c | 691 static Elf_Scn *elf_sec_by_idx(const struct bpf_object *obj, size_t idx); 1713 sec_name = elf_sec_name(obj, elf_sec_by_idx(obj, sec_idx)); in bpf_object__init_global_data_maps() 1721 sec_name = elf_sec_name(obj, elf_sec_by_idx(obj, sec_idx)); in bpf_object__init_global_data_maps() 1728 sec_name = elf_sec_name(obj, elf_sec_by_idx(obj, sec_idx)); in bpf_object__init_global_data_maps() 2627 scn = elf_sec_by_idx(obj, obj->efile.btf_maps_shndx); in bpf_object__init_user_btf_maps() 2688 sh = elf_sec_hdr(obj, elf_sec_by_idx(obj, idx)); in section_have_execinstr() 3228 static Elf_Scn *elf_sec_by_idx(const struct bpf_object *obj, size_t idx) in elf_sec_by_idx() function 3533 elf_sec_name(obj, elf_sec_by_idx(obj, targ_sec_idx)) ?: "<?>"); in bpf_object__elf_collect() 3785 scn = elf_sec_by_idx(obj, obj->efile.symbols_shndx); in bpf_object__collect_externs() 4100 sym_sec_name = elf_sec_name(obj, elf_sec_by_idx(obj, shdr_idx)); in bpf_program__record_reloc() [all …]
|