| /linux/scripts/ |
| H A D | insert-sys-cert.c | 73 x = (void *)hdr + hdr->e_shoff; in get_offset_from_address() 141 x = (void *)hdr + hdr->e_shoff; in find_elf_symbol() 165 x = (void *)hdr + hdr->e_shoff; in get_symbol_from_table() 189 x = (void *)hdr + hdr->e_shoff; in get_symbol_table() 341 if (hdr->e_shoff > vmlinux_size) { in main()
|
| H A D | recordmcount.h | 272 uint_t const old_shoff = _w(ehdr->e_shoff); in append_func() 342 ehdr->e_shoff = _w(new_e_shoff); in append_func() 378 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in get_sym_str_and_relp() 455 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in nop_mcount() 609 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in do_func()
|
| H A D | elf-parse.h | 62 return elf_parser.r8(&ehdr->e64.e_shoff); in ehdr64_shoff() 67 return elf_parser.r(&ehdr->e32.e_shoff); in ehdr32_shoff()
|
| /linux/arch/powerpc/boot/ |
| H A D | elf.h | 62 Elf32_Off e_shoff; member 79 Elf64_Off e_shoff; /* Section header table file offset */ member
|
| /linux/arch/mips/vdso/ |
| H A D | genvdso.h | 15 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC() 69 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
| H A D | gh100.c | 199 const struct elf32_shdr *shdr = elf + ehdr->e_shoff; in elf_validate_sections() 202 Elf32_Off section_begin = ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize; in elf_validate_sections() 249 const struct elf32_shdr *shdr = elf + ehdr->e_shoff; in elf_section()
|
| /linux/arch/mips/boot/tools/ |
| H A D | relocs.c | 230 ehdr.e_shoff = elf_off_to_cpu(ehdr.e_shoff); in read_ehdr() 270 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) in read_shdrs() 271 die("Seek to %d failed: %s\n", ehdr.e_shoff, strerror(errno)); in read_shdrs()
|
| /linux/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | fw.h | 32 __le32 e_shoff; member
|
| H A D | fw.c | 46 ehdr->e_shoff = le32_to_cpu(p->e_shoff); in mm81x_fw_get_header() 79 (void *)(data + ehdr->e_shoff + (i * ehdr->e_shentsize)); in mm81x_fw_get_section_header()
|
| /linux/fs/ |
| H A D | binfmt_elf_fdpic.c | 1265 elf->e_shoff = 0; in fill_elf_fdpic_header() 1440 elf_addr_t e_shoff, int segs) in fill_extnum_info() argument 1442 elf->e_shoff = e_shoff; in fill_extnum_info() 1495 elf_addr_t e_shoff; in elf_fdpic_core_dump() local 1573 e_shoff = offset; in elf_fdpic_core_dump() 1579 fill_extnum_info(elf, shdr4extnum, e_shoff, segs); in elf_fdpic_core_dump()
|
| /linux/arch/arm64/kernel/pi/ |
| H A D | relacheck.c | 73 shdr = (void *)ehdr + swab_elfxword(ehdr->e_shoff); in main()
|
| /linux/arch/s390/kernel/ |
| H A D | vdso.c | 150 shdr = (void *)hdr + hdr->e_shoff; in vdso_apply_alternatives()
|
| /linux/arch/mips/boot/ |
| H A D | elf2ecoff.c | 176 e->e_shoff = swab32(e->e_shoff); in convert_elf_hdr() 335 sh = (Elf32_Shdr *) saveRead(infile, ex.e_shoff, in main()
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_elf_helpers.h | 61 ELF_GEN_FIELD_GET_SET(hdr, e_shoff, u64) in ELF_GEN_FIELD_GET_SET()
|
| /linux/arch/arm/kernel/ |
| H A D | vdso.c | 97 sechdrs = (void *)ehdr + ehdr->e_shoff; in find_section()
|
| /linux/arch/mips/tools/ |
| H A D | loongson3-llsc-check.c | 286 sh = vmlinux + le64toh(eh->e_shoff) + (i * le16toh(eh->e_shentsize)); in main()
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-pid-vm.c | 92 uint64_t e_shoff; member 182 h.e_shoff = 0; in make_exe()
|
| /linux/arch/arm64/kernel/ |
| H A D | alternative.c | 214 shdr = (void *)hdr + hdr->e_shoff; in apply_alternatives_vdso()
|
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | gen-hyprel.c | 295 elf.sh_table = section_by_off(elf64toh(elf.ehdr->e_shoff)); in init_elf()
|
| /linux/arch/mips/kernel/ |
| H A D | vpe.c | 605 if (len < hdr->e_shoff + hdr->e_shnum * sizeof(Elf_Shdr)) { in vpe_elfload() 612 sechdrs = (void *)hdr + hdr->e_shoff; in vpe_elfload()
|
| /linux/scripts/mod/ |
| H A D | modpost.c | 465 hdr->e_shoff = TO_NATIVE(hdr->e_shoff); in parse_elf() 473 sechdrs = (void *)hdr + hdr->e_shoff; in parse_elf() 481 if (hdr->e_shoff > info->size) in parse_elf() 483 (unsigned long)hdr->e_shoff, filename, info->size); in parse_elf()
|
| /linux/tools/testing/selftests/sgx/ |
| H A D | load.c | 147 sections = encl->bin + ehdr->e_shoff; in encl_get_entry()
|
| /linux/sound/pci/mixart/ |
| H A D | mixart_hwdep.c | 69 __be32 e_shoff; member
|
| /linux/kernel/module/ |
| H A D | main.c | 1962 if (info->hdr->e_shoff >= info->len in elf_validity_cache_sechdrs() 1964 info->len - info->hdr->e_shoff)) { in elf_validity_cache_sechdrs() 1969 sechdrs = (void *)info->hdr + info->hdr->e_shoff; in elf_validity_cache_sechdrs()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ |
| H A D | gsp.c | 1854 const struct elf64_shdr *shdr = (const struct elf64_shdr *)&img[ehdr->e_shoff]; in r535_gsp_elf_section()
|