| /Linux-v5.15/arch/powerpc/boot/ |
| D | elf.h | 69 Elf32_Half e_shstrndx; member 86 Elf64_Half e_shstrndx; member
|
| /Linux-v5.15/include/uapi/linux/ |
| D | elf.h | 219 Elf32_Half e_shstrndx; member 236 Elf64_Half e_shstrndx; member
|
| /Linux-v5.15/arch/mips/boot/tools/ |
| D | relocs.c | 96 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-v5.15/arch/powerpc/kernel/ |
| D | module.c | 29 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
|
| /Linux-v5.15/tools/testing/selftests/proc/ |
| D | proc-pid-vm.c | 92 uint16_t e_shstrndx; member 182 h.e_shstrndx = 0; in make_exe()
|
| /Linux-v5.15/kernel/ |
| D | kexec_elf.c | 158 ehdr->e_shstrndx = elf16_to_cpu(ehdr, buf_ehdr->e_shstrndx); in elf_read_ehdr()
|
| /Linux-v5.15/arch/arm/kernel/ |
| D | module.c | 353 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_mod_section() 370 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
|
| D | vdso.c | 113 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section()
|
| /Linux-v5.15/arch/sparc/vdso/ |
| D | vma.c | 76 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-v5.15/lib/ |
| D | bug.c | 98 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize()
|
| /Linux-v5.15/arch/mips/vdso/ |
| D | genvdso.h | 19 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in FUNC()
|
| /Linux-v5.15/drivers/remoteproc/ |
| D | remoteproc_elf_helpers.h | 62 ELF_GEN_FIELD_GET_SET(hdr, e_shstrndx, u16) in ELF_GEN_FIELD_GET_SET()
|
| /Linux-v5.15/arch/sparc/kernel/ |
| D | module.c | 188 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in do_patch_sections()
|
| /Linux-v5.15/arch/x86/tools/ |
| 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-v5.15/arch/x86/kernel/ |
| D | module.c | 255 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
|
| /Linux-v5.15/arch/x86/entry/vdso/ |
| D | vdso2c.h | 104 GET_LE(&hdr->e_shentsize)*GET_LE(&hdr->e_shstrndx); in BITSFUNC()
|
| /Linux-v5.15/arch/arm64/kvm/hyp/nvhe/ |
| D | gen-hyprel.c | 293 elf.sh_string = section_begin(section_by_idx(elf16toh(elf.ehdr->e_shstrndx))); in init_elf()
|
| /Linux-v5.15/arch/mips/boot/ |
| D | elf2ecoff.c | 183 e->e_shstrndx = swab16(e->e_shstrndx); in convert_elf_hdr()
|
| /Linux-v5.15/scripts/ |
| D | recordmcount.h | 230 if (ehdr->e_shstrndx != SHN_XINDEX) in get_shstrndx() 231 return w2(ehdr->e_shstrndx); in get_shstrndx()
|
| D | sorttable.h | 226 shstrndx = r2(&ehdr->e_shstrndx); in do_sort()
|
| /Linux-v5.15/tools/perf/util/ |
| D | symbol-elf.c | 217 if (!elf_rawdata(elf_getscn(elf, ep->e_shstrndx), NULL)) in elf_section_by_name() 224 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name() 1131 sec_strndx = elf_getscn(runtime_ss->elf, runtime_ss->ehdr.e_shstrndx); in dso__load_sym_internal() 1139 sec_strndx = elf_getscn(elf, ehdr.e_shstrndx); in dso__load_sym_internal() 1565 ehdr->e_shstrndx = 0; in kcore__copy_hdr()
|
| D | genelf.c | 282 ehdr->e_shstrndx= unwinding ? 4 : 2; /* shdr index for section name */ in jit_write_elf()
|
| /Linux-v5.15/arch/mips/kernel/ |
| D | module.c | 429 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
|
| /Linux-v5.15/arch/arm64/kernel/ |
| D | module.c | 483 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
|
| /Linux-v5.15/fs/ |
| D | binfmt_elf_fdpic.c | 1258 elf->e_shstrndx = 0; in fill_elf_fdpic_header() 1430 elf->e_shstrndx = SHN_UNDEF; in fill_extnum_info() 1436 shdr4extnum->sh_link = elf->e_shstrndx; in fill_extnum_info()
|