Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.c1308 ehdr->e_phoff = sizeof(Elf32_Ehdr); in kcore__copy_hdr()
1312 ehdr->e_phoff = sizeof(Elf64_Ehdr); in kcore__copy_hdr()
/linux-4.1.27/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.1.27/drivers/remoteproc/
Dremoteproc_elf_loader.c94 if (ehdr->e_phoff > fw->size) {
155 phdr = (struct elf32_phdr *)(elf_data + ehdr->e_phoff);
/linux-4.1.27/include/uapi/linux/
Delf.h209 Elf32_Off e_phoff; member
226 Elf64_Off e_phoff; /* Program header table file offset */ member
/linux-4.1.27/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.1.27/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.1.27/arch/powerpc/oprofile/cell/
Dvma_map.c153 phdr_start = spu_elf_start + ehdr.e_phoff; in create_vma_map()
/linux-4.1.27/arch/alpha/boot/tools/
Dobjstrip.c169 lseek(fd, elf->e_phoff, SEEK_SET); in main()
/linux-4.1.27/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.1.27/arch/x86/vdso/
Dvdso2c.h23 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); in BITSFUNC()
/linux-4.1.27/arch/x86/boot/compressed/
Dmisc.c345 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
/linux-4.1.27/fs/
Dbinfmt_elf_fdpic.c140 retval = kernel_read(file, params->hdr.e_phoff, in elf_fdpic_fetch_phdrs()
800 stop = params->hdr.e_phoff; in elf_fdpic_map_file()
808 if (phdr->p_offset > params->hdr.e_phoff || in elf_fdpic_map_file()
820 params->hdr.e_phoff - phdr->p_offset; in elf_fdpic_map_file()
1287 elf->e_phoff = sizeof(struct elfhdr); in fill_elf_fdpic_header()
Dbinfmt_elf.c237 NEW_AUX_ENT(AT_PHDR, load_addr + exec->e_phoff); in create_elf_tables()
427 retval = kernel_read(elf_file, elf_ex->e_phoff, in load_elf_phdrs()
1140 retval = kernel_read(file, elf_ex.e_phoff, (char *)eppnt, j); in load_elf_library()
1357 elf->e_phoff = sizeof(struct elfhdr); in fill_elf_header()
/linux-4.1.27/arch/x86/tools/
Drelocs.c356 ehdr.e_phoff = elf_off_to_cpu(ehdr.e_phoff); in read_ehdr()
/linux-4.1.27/fs/proc/
Dkcore.c343 elf->e_phoff = sizeof(struct elfhdr); in elf_kcore_store_hdr()
/linux-4.1.27/arch/x86/kernel/
Dcrash.c449 ehdr->e_phoff = sizeof(Elf64_Ehdr); in prepare_elf64_headers()
/linux-4.1.27/arch/s390/kernel/
Dcrash_dump.c512 ehdr->e_phoff = sizeof(Elf64_Ehdr); in ehdr_init()
/linux-4.1.27/arch/mips/kernel/
Dvpe.c699 ((char *)hdr + hdr->e_phoff); in vpe_elfload()
/linux-4.1.27/arch/powerpc/kernel/
Dfadump.c779 elf->e_phoff = sizeof(struct elfhdr); in fadump_init_elfcore_header()
Dprom_init.c772 .e_phoff = offsetof(struct fake_elf, phdr),
/linux-4.1.27/scripts/mod/
Dmodpost.c442 hdr->e_phoff = TO_NATIVE(hdr->e_phoff); in parse_elf()
/linux-4.1.27/tools/lguest/
Dlguest.c448 if (lseek(elf_fd, ehdr->e_phoff, SEEK_SET) < 0) in map_elf()