Home
last modified time | relevance | path

Searched refs:e_phoff (Results 1 – 29 of 29) sorted by relevance

/linux-4.4.14/arch/ia64/hp/sim/boot/
Dbootloader.c65 unsigned long e_entry, e_phoff, e_phnum; in start_bootloader() local
129 e_phoff = elf->e_phoff; in start_bootloader()
138 ssc(fd, 1, (long) &req, e_phoff, SSC_READ); in start_bootloader()
144 e_phoff += sizeof(*elf_phdr); in start_bootloader()
/linux-4.4.14/arch/ia64/kernel/
Delfcore.c17 (const struct elf_phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); in elf_core_write_extra_phdrs()
46 (const struct elf_phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); in elf_core_write_extra_data()
65 (const struct elf_phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); in elf_core_extra_data_size()
Dunwind.c2192 Elf64_Phdr *punw = NULL, *phdr = (Elf64_Phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); in create_gate_table()
/linux-4.4.14/arch/x86/um/
Delfcore.c20 (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); in elf_core_write_extra_phdrs()
47 (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); in elf_core_write_extra_data()
68 (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); in elf_core_extra_data_size()
/linux-4.4.14/tools/perf/util/
Dsymbol-minimal.c116 ehdr.e_phoff = bswap_32(ehdr.e_phoff); in filename__read_build_id()
126 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id()
167 ehdr.e_phoff = bswap_64(ehdr.e_phoff); in filename__read_build_id()
177 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id()
Dsymbol-elf.c1326 ehdr->e_phoff = sizeof(Elf32_Ehdr); in kcore__copy_hdr()
1330 ehdr->e_phoff = sizeof(Elf64_Ehdr); in kcore__copy_hdr()
/linux-4.4.14/arch/powerpc/boot/
Delf_util.c40 (unsigned long)elf64->e_phoff); in parse_elf64()
71 elf32ph = (Elf32_Phdr *) ((unsigned long)elf32 + elf32->e_phoff); in parse_elf32()
Delf.h60 Elf32_Off e_phoff; member
77 Elf64_Off e_phoff; /* Program header table file offset */ member
/linux-4.4.14/drivers/remoteproc/
Dremoteproc_elf_loader.c94 if (ehdr->e_phoff > fw->size) {
155 phdr = (struct elf32_phdr *)(elf_data + ehdr->e_phoff);
/linux-4.4.14/include/uapi/linux/
Delf.h209 Elf32_Off e_phoff; member
226 Elf64_Off e_phoff; /* Program header table file offset */ member
/linux-4.4.14/sound/pci/mixart/
Dmixart_hwdep.c80 u32 e_phoff; member
113 if( elf_header->e_phoff != 0 ) { in mixart_load_elf()
117 u32 pos = be32_to_cpu(elf_header->e_phoff) + (u32)(i * be16_to_cpu(elf_header->e_phentsize)); in mixart_load_elf()
/linux-4.4.14/arch/mips/boot/
Delf2ecoff.c173 e->e_phoff = swab32(e->e_phoff); in convert_elf_hdr()
327 ph = (Elf32_Phdr *) saveRead(infile, ex.e_phoff, in main()
/linux-4.4.14/arch/powerpc/oprofile/cell/
Dvma_map.c153 phdr_start = spu_elf_start + ehdr.e_phoff; in create_vma_map()
/linux-4.4.14/arch/alpha/boot/tools/
Dobjstrip.c169 lseek(fd, elf->e_phoff, SEEK_SET); in main()
/linux-4.4.14/Documentation/vDSO/
Dparse_vdso.c109 ELF(Phdr) *pt = (ELF(Phdr)*)(vdso_info.load_addr + hdr->e_phoff); in vdso_init_from_sysinfo_ehdr()
/linux-4.4.14/arch/x86/entry/vdso/
Dvdso2c.h23 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); in BITSFUNC()
/linux-4.4.14/arch/x86/boot/compressed/
Dmisc.c362 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
/linux-4.4.14/fs/
Dbinfmt_elf_fdpic.c158 retval = kernel_read(file, params->hdr.e_phoff, in elf_fdpic_fetch_phdrs()
826 stop = params->hdr.e_phoff; in elf_fdpic_map_file()
834 if (phdr->p_offset > params->hdr.e_phoff || in elf_fdpic_map_file()
846 params->hdr.e_phoff - phdr->p_offset; in elf_fdpic_map_file()
1327 elf->e_phoff = sizeof(struct elfhdr); in fill_elf_fdpic_header()
Dbinfmt_elf.c238 NEW_AUX_ENT(AT_PHDR, load_addr + exec->e_phoff); in create_elf_tables()
428 retval = kernel_read(elf_file, elf_ex->e_phoff, in load_elf_phdrs()
1141 retval = kernel_read(file, elf_ex.e_phoff, (char *)eppnt, j); in load_elf_library()
1367 elf->e_phoff = sizeof(struct elfhdr); in fill_elf_header()
/linux-4.4.14/arch/x86/tools/
Drelocs.c356 ehdr.e_phoff = elf_off_to_cpu(ehdr.e_phoff); in read_ehdr()
/linux-4.4.14/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-core.c1028 if (ehdr->e_phoff > fw->size) { in c8sectpfe_elf_sanity_check()
1106 phdr = (Elf32_Phdr *)(fw->data + ehdr->e_phoff); in load_slim_core_fw()
/linux-4.4.14/fs/proc/
Dkcore.c343 elf->e_phoff = sizeof(struct elfhdr); in elf_kcore_store_hdr()
/linux-4.4.14/arch/x86/kernel/
Dcrash.c447 ehdr->e_phoff = sizeof(Elf64_Ehdr); in prepare_elf64_headers()
/linux-4.4.14/arch/s390/kernel/
Dcrash_dump.c478 ehdr->e_phoff = sizeof(Elf64_Ehdr); in ehdr_init()
/linux-4.4.14/arch/mips/kernel/
Dvpe.c699 ((char *)hdr + hdr->e_phoff); in vpe_elfload()
/linux-4.4.14/arch/powerpc/kernel/
Dfadump.c779 elf->e_phoff = sizeof(struct elfhdr); in fadump_init_elfcore_header()
Dprom_init.c780 .e_phoff = offsetof(struct fake_elf, phdr),
/linux-4.4.14/scripts/mod/
Dmodpost.c443 hdr->e_phoff = TO_NATIVE(hdr->e_phoff); in parse_elf()
/linux-4.4.14/tools/lguest/
Dlguest.c452 if (lseek(elf_fd, ehdr->e_phoff, SEEK_SET) < 0) in map_elf()