shndx 91 arch/mips/boot/tools/relocs.c static const char *sec_name(unsigned shndx) shndx 97 arch/mips/boot/tools/relocs.c if (shndx < ehdr.e_shnum) shndx 98 arch/mips/boot/tools/relocs.c name = sec_strtab + secs[shndx].shdr.sh_name; shndx 99 arch/mips/boot/tools/relocs.c else if (shndx == SHN_ABS) shndx 101 arch/mips/boot/tools/relocs.c else if (shndx == SHN_COMMON) shndx 242 arch/x86/tools/relocs.c static const char *sec_name(unsigned shndx) shndx 248 arch/x86/tools/relocs.c if (shndx < shnum) { shndx 249 arch/x86/tools/relocs.c name = sec_strtab + secs[shndx].shdr.sh_name; shndx 251 arch/x86/tools/relocs.c else if (shndx == SHN_ABS) { shndx 254 arch/x86/tools/relocs.c else if (shndx == SHN_COMMON) { shndx 184 scripts/sortextable.c static inline unsigned int get_secindex(unsigned int shndx, shndx 188 scripts/sortextable.c if (is_shndx_special(shndx)) shndx 189 scripts/sortextable.c return SPECIAL(shndx); shndx 190 scripts/sortextable.c if (shndx != SHN_XINDEX) shndx 191 scripts/sortextable.c return shndx; shndx 1690 tools/lib/bpf/libbpf.c int shndx) shndx 1692 tools/lib/bpf/libbpf.c return shndx == obj->efile.data_shndx || shndx 1693 tools/lib/bpf/libbpf.c shndx == obj->efile.bss_shndx || shndx 1694 tools/lib/bpf/libbpf.c shndx == obj->efile.rodata_shndx; shndx 1698 tools/lib/bpf/libbpf.c int shndx) shndx 1700 tools/lib/bpf/libbpf.c return shndx == obj->efile.maps_shndx || shndx 1701 tools/lib/bpf/libbpf.c shndx == obj->efile.btf_maps_shndx; shndx 1705 tools/lib/bpf/libbpf.c int shndx) shndx 1707 tools/lib/bpf/libbpf.c return shndx == obj->efile.text_shndx || shndx 1708 tools/lib/bpf/libbpf.c bpf_object__shndx_is_maps(obj, shndx) || shndx 1709 tools/lib/bpf/libbpf.c bpf_object__shndx_is_data(obj, shndx); shndx 1713 tools/lib/bpf/libbpf.c bpf_object__section_to_libbpf_map_type(const struct bpf_object *obj, int shndx) shndx 1715 tools/lib/bpf/libbpf.c if (shndx == obj->efile.data_shndx) shndx 1717 tools/lib/bpf/libbpf.c else if (shndx == obj->efile.bss_shndx) shndx 1719 tools/lib/bpf/libbpf.c else if (shndx == obj->efile.rodata_shndx) shndx 1547 tools/perf/util/probe-finder.c Elf32_Word shndx; shndx 1563 tools/perf/util/probe-finder.c p = dwfl_module_relocation_info(dbg->mod, i, &shndx); shndx 1566 tools/perf/util/probe-finder.c scn = elf_getscn(elf, shndx);