/linux-master/arch/x86/um/ |
H A D | elfcore.c | 21 (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); 48 (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); 69 (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff);
|
/linux-master/arch/powerpc/boot/ |
H A D | elf_util.c | 36 (unsigned long)elf64->e_phoff); 67 elf32ph = (Elf32_Phdr *) ((unsigned long)elf32 + elf32->e_phoff);
|
H A D | elf.h | 61 Elf32_Off e_phoff; member in struct:elf32_hdr 78 Elf64_Off e_phoff; /* Program header table file offset */ member in struct:elf64_hdr
|
/linux-master/kernel/ |
H A D | kexec_elf.c | 78 if (ehdr->e_phoff > 0 && ehdr->e_phnum > 0) { 88 if (ehdr->e_phoff + phdr_size < ehdr->e_phoff) { 91 } else if (ehdr->e_phoff + phdr_size > buf_len) { 163 ehdr->e_phoff = elf64_to_cpu(ehdr, buf_ehdr->e_phoff); 169 ehdr->e_phoff = elf32_to_cpu(ehdr, buf_ehdr->e_phoff); 212 pbuf = buf + elf_info->ehdr->e_phoff + (idx * sizeof(*buf_phdr)); 308 if (ehdr->e_phoff > [all...] |
/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | core-pkey.c | 210 FAIL_IF(ehdr->e_phoff == 0 || ehdr->e_phnum == 0); 219 FAIL_IF(ehdr->e_phoff + phdr_size < ehdr->e_phoff); 220 FAIL_IF(ehdr->e_phoff + phdr_size > core_size); 223 for (phdr = p + ehdr->e_phoff; 224 (void *) phdr < p + ehdr->e_phoff + phdr_size; 229 FAIL_IF((void *) phdr >= p + ehdr->e_phoff + phdr_size);
|
/linux-master/arch/s390/kernel/ |
H A D | kexec_elf.c | 34 phdr = (void *)ehdr + ehdr->e_phoff; 89 size = ehdr->e_ehsize + ehdr->e_phoff; 94 phdr = (void *)ehdr + ehdr->e_phoff;
|
/linux-master/tools/perf/util/ |
H A D | symbol-minimal.c | 123 ehdr.e_phoff = bswap_32(ehdr.e_phoff); 133 fseek(fp, ehdr.e_phoff, SEEK_SET); 175 ehdr.e_phoff = bswap_64(ehdr.e_phoff); 185 fseek(fp, ehdr.e_phoff, SEEK_SET);
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | elf.c | 133 * e_phoff - File offset to start of program headers 139 offset = hdr.e_phoff + (n1 * hdr.e_phentsize);
|
/linux-master/sound/pci/mixart/ |
H A D | mixart_hwdep.c | 68 __be32 e_phoff; member in struct:snd_mixart_elf32_ehdr 101 if( elf_header->e_phoff != 0 ) { 105 u32 pos = be32_to_cpu(elf_header->e_phoff) + (u32)(i * be16_to_cpu(elf_header->e_phentsize));
|
/linux-master/arch/sparc/vdso/ |
H A D | vdso2c.h | 25 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_BE(&hdr->e_phoff));
|
/linux-master/drivers/remoteproc/ |
H A D | remoteproc_elf_helpers.h | 60 ELF_GEN_FIELD_GET_SET(hdr, e_phoff, u64)
|
/linux-master/include/uapi/linux/ |
H A D | elf.h | 215 Elf32_Off e_phoff; member in struct:elf32_hdr 232 Elf64_Off e_phoff; /* Program header table file offset */ member in struct:elf64_hdr
|
/linux-master/arch/mips/boot/ |
H A D | elf2ecoff.c | 175 e->e_phoff = swab32(e->e_phoff); 329 ph = (Elf32_Phdr *) saveRead(infile, ex.e_phoff,
|
/linux-master/tools/testing/selftests/proc/ |
H A D | proc-pid-vm.c | 86 uint64_t e_phoff; member in struct:elf64_hdr 176 h.e_phoff = sizeof(struct elf64_hdr);
|
/linux-master/arch/s390/tools/ |
H A D | relocs.c | 136 ehdr.e_phoff = elf_off_to_cpu(ehdr.e_phoff);
|
/linux-master/tools/testing/selftests/vDSO/ |
H A D | parse_vdso.c | 87 ELF(Phdr) *pt = (ELF(Phdr)*)(vdso_info.load_addr + hdr->e_phoff);
|
/linux-master/arch/x86/entry/vdso/ |
H A D | vdso2c.h | 58 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff));
|
/linux-master/arch/alpha/boot/tools/ |
H A D | objstrip.c | 170 lseek(fd, elf->e_phoff, SEEK_SET);
|
/linux-master/arch/parisc/boot/compressed/ |
H A D | misc.c | 262 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum);
|
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_fw_mips.c | 38 struct elf32_phdr *program_header = (struct elf32_phdr *)(fw + header->e_phoff);
|
/linux-master/fs/ |
H A D | binfmt_elf.c | 531 retval = elf_read(elf_file, elf_phdata, size, elf_ex->e_phoff); 1153 if (elf_ppnt->p_offset <= elf_ex->e_phoff && 1154 elf_ex->e_phoff < elf_ppnt->p_offset + elf_ppnt->p_filesz) { 1155 phdr_addr = elf_ex->e_phoff - elf_ppnt->p_offset + 1353 retval = elf_read(file, eppnt, j, elf_ex.e_phoff); 1439 elf->e_phoff = sizeof(struct elfhdr);
|
H A D | binfmt_elf_fdpic.c | 144 loff_t pos = params->hdr.e_phoff; 803 stop = params->hdr.e_phoff; 811 if (phdr->p_offset > params->hdr.e_phoff || 823 params->hdr.e_phoff - phdr->p_offset; 1250 elf->e_phoff = sizeof(struct elfhdr);
|
/linux-master/arch/mips/boot/tools/ |
H A D | relocs.c | 228 ehdr.e_phoff = elf_off_to_cpu(ehdr.e_phoff);
|
/linux-master/tools/testing/selftests/sgx/ |
H A D | load.c | 230 phdr_tbl = encl->bin + ehdr->e_phoff;
|
/linux-master/arch/x86/boot/compressed/ |
H A D | misc.c | 319 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum);
|