| /linux/arch/powerpc/boot/ |
| H A D | elf.h | 69 Elf32_Half e_shstrndx; member 86 Elf64_Half e_shstrndx; member
|
| /linux/arch/s390/include/asm/ |
| H A D | module.h | 45 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
|
| /linux/arch/s390/tools/ |
| H A D | relocs.c | 144 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr() 147 shstrndx = ehdr.e_shstrndx; in read_ehdr()
|
| /linux/arch/arm64/include/asm/ |
| H A D | module.h | 59 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
|
| /linux/arch/mips/boot/tools/ |
| H A D | relocs.c | 97 sec_strtab = secs[ehdr.e_shstrndx].strtab; in sec_name() 237 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr() 257 if (ehdr.e_shstrndx >= ehdr.e_shnum) in read_ehdr()
|
| /linux/kernel/module/ |
| H A D | livepatch.c | 41 size = info->sechdrs[info->hdr->e_shstrndx].sh_size; in copy_module_elf()
|
| /linux/arch/powerpc/kernel/ |
| H A D | module.c | 26 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
|
| /linux/kernel/ |
| H A D | cfi.c | 74 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_cfi_finalize()
|
| /linux/arch/riscv/include/asm/ |
| H A D | module.h | 120 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
| H A D | gh100.c | 209 if (i == ehdr->e_shstrndx) { in elf_validate_sections() 250 const char *names = elf + shdr[ehdr->e_shstrndx].sh_offset; in elf_section()
|
| /linux/arch/arm64/kernel/pi/ |
| H A D | relacheck.c | 75 swab_elfxword(shdr[swab_elfhword(ehdr->e_shstrndx)].sh_offset); in main()
|
| /linux/arch/mips/vdso/ |
| H A D | genvdso.h | 19 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in FUNC()
|
| /linux/arch/arm/kernel/ |
| H A D | module.c | 402 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_mod_section() 419 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
|
| H A D | vdso.c | 98 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section()
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_elf_helpers.h | 62 ELF_GEN_FIELD_GET_SET(hdr, e_shstrndx, u16) in ELF_GEN_FIELD_GET_SET()
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-pid-vm.c | 99 uint16_t e_shstrndx; member 189 h.e_shstrndx = 0; in make_exe()
|
| /linux/lib/ |
| H A D | bug.c | 94 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize()
|
| /linux/arch/x86/tools/ |
| H A D | relocs.c | 372 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr() 375 shstrndx = ehdr.e_shstrndx; in read_ehdr()
|
| /linux/tools/perf/util/ |
| H A D | symbol-elf.c | 193 if (!elf_rawdata(elf_getscn(elf, ep->e_shstrndx), NULL)) in elf_section_by_name() 200 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name() 1281 if (!elf_rawdata(elf_getscn(elf, ehdr->e_shstrndx), NULL)) in max_text_section() 1294 sec_name = elf_strptr(elf, ehdr->e_shstrndx, shdr.sh_name); in max_text_section() 1527 sec_strndx = elf_getscn(runtime_ss->elf, runtime_ss->ehdr.e_shstrndx); in dso__load_sym_internal() 1535 sec_strndx = elf_getscn(elf, ehdr.e_shstrndx); in dso__load_sym_internal() 2025 ehdr->e_shstrndx = 0; in kcore__copy_hdr()
|
| /linux/scripts/ |
| H A D | recordmcount.h | 230 if (ehdr->e_shstrndx != SHN_XINDEX) in get_shstrndx() 231 return w2(ehdr->e_shstrndx); in get_shstrndx()
|
| /linux/arch/mips/boot/ |
| H A D | elf2ecoff.c | 183 e->e_shstrndx = swab16(e->e_shstrndx); in convert_elf_hdr()
|
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | gen-hyprel.c | 296 elf.sh_string = section_begin(section_by_idx(elf16toh(elf.ehdr->e_shstrndx))); in init_elf()
|
| /linux/scripts/mod/ |
| H A D | modpost.c | 467 hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx); in parse_elf() 490 if (hdr->e_shstrndx == SHN_XINDEX) { in parse_elf() 494 info->secindex_strings = hdr->e_shstrndx; in parse_elf()
|
| /linux/arch/riscv/kernel/ |
| H A D | machine_kexec_file.c | 158 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset; in arch_kexec_apply_relocations_add()
|
| /linux/arch/mips/kernel/ |
| H A D | module.c | 419 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
|