Home
last modified time | relevance | path

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

/Linux-v5.4/samples/bpf/
Dbpf_load.c400 Elf *elf, Elf_Data *symbols, int strtabidx) in load_elf_maps_section() argument
475 map_name = elf_strptr(elf, strtabidx, sym[i].st_name); in load_elf_maps_section()
510 int fd, i, ret, maps_shndx = -1, strtabidx = -1; in do_load_bpf_file() local
571 strtabidx = shdr.sh_link; in do_load_bpf_file()
585 elf, symbols, strtabidx); in do_load_bpf_file()
/Linux-v5.4/tools/lib/bpf/
Dlibbpf.c266 size_t strtabidx; member
465 obj->efile.strtabidx, in bpf_object__init_prog_names()
762 sname = elf_strptr(obj->efile.elf, obj->efile.strtabidx, in bpf_object__variable_offset()
959 map_name = elf_strptr(obj->efile.elf, obj->efile.strtabidx, in bpf_object__init_user_maps()
1591 obj->efile.strtabidx = sh.sh_link; in bpf_object__elf_collect()
1648 if (!obj->efile.strtabidx || obj->efile.strtabidx >= idx) { in bpf_object__elf_collect()
1765 name = elf_strptr(obj->efile.elf, obj->efile.strtabidx, in bpf_program__collect_reloc()