/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
H A D | r535.c | 2152 const struct elf64_shdr *shdr = (const struct elf64_shdr *)&img[ehdr->e_shoff];
|
/linux-master/scripts/mod/ |
H A D | modpost.c | 453 hdr->e_shoff = TO_NATIVE(hdr->e_shoff); 461 sechdrs = (void *)hdr + hdr->e_shoff; 469 if (hdr->e_shoff > info->size) 471 (unsigned long)hdr->e_shoff, filename, info->size);
|
/linux-master/fs/ |
H A D | binfmt_elf_fdpic.c | 1251 elf->e_shoff = 0; 1425 elf_addr_t e_shoff, int segs) 1427 elf->e_shoff = e_shoff; 1480 elf_addr_t e_shoff; local 1558 e_shoff = offset; 1564 fill_extnum_info(elf, shdr4extnum, e_shoff, segs); 1424 fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, elf_addr_t e_shoff, int segs) argument
|
H A D | binfmt_elf.c | 1939 elf_addr_t e_shoff, int segs) 1941 elf->e_shoff = e_shoff; 1971 elf_addr_t e_shoff; local 2018 e_shoff = offset; 2024 fill_extnum_info(&elf, shdr4extnum, e_shoff, segs); 1938 fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, elf_addr_t e_shoff, int segs) argument
|
/linux-master/arch/riscv/kernel/ |
H A D | alternative.c | 180 shdr = (void *)hdr + hdr->e_shoff;
|
H A D | elf_kexec.c | 382 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff;
|
/linux-master/arch/sparc/vdso/ |
H A D | vma.c | 75 shdrs = (void *)e->hdr + e->hdr->e_shoff; 143 shdrs = (void *)e->hdr + e->hdr->e_shoff;
|
/linux-master/tools/perf/util/ |
H A D | symbol-elf.c | 2070 ehdr->e_shoff = 0;
|
/linux-master/kernel/module/ |
H A D | main.c | 1712 if (info->hdr->e_shoff >= info->len 1714 info->len - info->hdr->e_shoff)) { 1719 info->sechdrs = (void *)info->hdr + info->hdr->e_shoff;
|
/linux-master/kernel/ |
H A D | kexec_file.c | 838 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff; 907 memcpy(sechdrs, (void *)pi->ehdr + pi->ehdr->e_shoff, sechdrs_size); 968 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff; 1085 sechdrs = (void *)ehdr + ehdr->e_shoff;
|
/linux-master/include/uapi/linux/ |
H A D | elf.h | 216 Elf32_Off e_shoff; member in struct:elf32_hdr 233 Elf64_Off e_shoff; /* Section header table file offset */ member in struct:elf64_hdr
|
/linux-master/arch/x86/kernel/ |
H A D | machine_kexec_64.c | 397 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff;
|
/linux-master/arch/s390/kernel/ |
H A D | machine_kexec_file.c | 321 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff;
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-core.c | 370 elf->e_shoff = 0;
|
/linux-master/arch/arm64/kernel/pi/ |
H A D | relacheck.c | 73 shdr = (void *)ehdr + swab_elfxword(ehdr->e_shoff);
|
/linux-master/arch/x86/tools/ |
H A D | relocs.c | 390 ehdr.e_shoff = elf_off_to_cpu(ehdr.e_shoff); 419 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) 420 die("Seek to %" FMT " failed: %s\n", ehdr.e_shoff, strerror(errno)); 446 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) { 448 ehdr.e_shoff, strerror(errno));
|
/linux-master/arch/s390/tools/ |
H A D | relocs.c | 137 ehdr.e_shoff = elf_off_to_cpu(ehdr.e_shoff); 165 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) 166 die("Seek to %" FMT " failed: %s\n", ehdr.e_shoff, strerror(errno)); 191 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) 192 die("Seek to %" FMT " failed: %s\n", ehdr.e_shoff, strerror(errno));
|
/linux-master/arch/arm/kernel/ |
H A D | vdso.c | 108 sechdrs = (void *)ehdr + ehdr->e_shoff;
|
/linux-master/tools/testing/selftests/sgx/ |
H A D | load.c | 147 sections = encl->bin + ehdr->e_shoff;
|
/linux-master/arch/mips/kernel/ |
H A D | vpe.c | 604 if (len < hdr->e_shoff + hdr->e_shnum * sizeof(Elf_Shdr)) { 611 sechdrs = (void *)hdr + hdr->e_shoff;
|
/linux-master/arch/mips/boot/ |
H A D | elf2ecoff.c | 176 e->e_shoff = swab32(e->e_shoff); 335 sh = (Elf32_Shdr *) saveRead(infile, ex.e_shoff,
|
/linux-master/drivers/remoteproc/ |
H A D | mtk_scp.c | 351 shdr = (struct elf32_shdr *)(elf_data + ehdr->e_shoff);
|
H A D | pru_rproc.c | 881 shdr = (struct elf32_shdr *)(elf_data + ehdr->e_shoff);
|
/linux-master/drivers/media/platform/st/sti/c8sectpfe/ |
H A D | c8sectpfe-core.c | 956 if (fw->size < ehdr->e_shoff + sizeof(struct elf32_shdr)) {
|
/linux-master/arch/powerpc/kernel/ |
H A D | fadump.c | 981 elf->e_shoff = 0;
|