Home
last modified time | relevance | path

Searched refs:e_shstrndx (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.6.21/arch/powerpc/boot/
Delf.h69 Elf32_Half e_shstrndx; member
86 Elf64_Half e_shstrndx; member
/linux-6.6.21/arch/arm64/include/asm/
Dmodule.h59 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
/linux-6.6.21/kernel/module/
Dlivepatch.c41 size = info->sechdrs[info->hdr->e_shstrndx].sh_size; in copy_module_elf()
/linux-6.6.21/kernel/
Dcfi.c57 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_cfi_finalize()
Dkexec_elf.c158 ehdr->e_shstrndx = elf16_to_cpu(ehdr, buf_ehdr->e_shstrndx); in elf_read_ehdr()
/linux-6.6.21/arch/mips/boot/tools/
Drelocs.c96 sec_strtab = secs[ehdr.e_shstrndx].strtab; in sec_name()
236 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr()
256 if (ehdr.e_shstrndx >= ehdr.e_shnum) in read_ehdr()
/linux-6.6.21/include/uapi/linux/
Delf.h223 Elf32_Half e_shstrndx; member
240 Elf64_Half e_shstrndx; member
/linux-6.6.21/arch/riscv/include/asm/
Dmodule.h120 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
/linux-6.6.21/arch/powerpc/kernel/
Dmodule.c29 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
/linux-6.6.21/arch/sparc/vdso/
Dvma.c76 snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; in one_section64()
144 snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; in one_section32()
/linux-6.6.21/tools/testing/selftests/proc/
Dproc-pid-vm.c94 uint16_t e_shstrndx; member
184 h.e_shstrndx = 0; in make_exe()
/linux-6.6.21/arch/mips/vdso/
Dgenvdso.h19 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in FUNC()
/linux-6.6.21/drivers/remoteproc/
Dremoteproc_elf_helpers.h62 ELF_GEN_FIELD_GET_SET(hdr, e_shstrndx, u16) in ELF_GEN_FIELD_GET_SET()
/linux-6.6.21/lib/
Dbug.c98 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize()
/linux-6.6.21/arch/arm/kernel/
Dmodule.c441 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_mod_section()
458 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
Dvdso.c113 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section()
/linux-6.6.21/arch/sparc/kernel/
Dmodule.c188 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in do_patch_sections()
/linux-6.6.21/arch/x86/tools/
Drelocs.c397 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr()
400 shstrndx = ehdr.e_shstrndx; in read_ehdr()
/linux-6.6.21/arch/x86/entry/vdso/
Dvdso2c.h104 GET_LE(&hdr->e_shentsize)*GET_LE(&hdr->e_shstrndx); in BITSFUNC()
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/
Dgen-hyprel.c293 elf.sh_string = section_begin(section_by_idx(elf16toh(elf.ehdr->e_shstrndx))); in init_elf()
/linux-6.6.21/scripts/
Drecordmcount.h230 if (ehdr->e_shstrndx != SHN_XINDEX) in get_shstrndx()
231 return w2(ehdr->e_shstrndx); in get_shstrndx()
/linux-6.6.21/arch/mips/boot/
Delf2ecoff.c183 e->e_shstrndx = swab16(e->e_shstrndx); in convert_elf_hdr()
/linux-6.6.21/arch/x86/kernel/
Dmodule.c282 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
/linux-6.6.21/arch/mips/kernel/
Dmodule.c430 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
/linux-6.6.21/scripts/mod/
Dmodpost.c469 hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx); in parse_elf()
494 if (hdr->e_shstrndx == SHN_XINDEX) { in parse_elf()
498 info->secindex_strings = hdr->e_shstrndx; in parse_elf()

12