Home
last modified time | relevance | path

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

/arch/ia64/hp/sim/boot/
Dbootloader.c66 unsigned long e_entry, e_phoff, e_phnum; in start_bootloader() local
130 e_phoff = elf->e_phoff; in start_bootloader()
139 ssc(fd, 1, (long) &req, e_phoff, SSC_READ); in start_bootloader()
145 e_phoff += sizeof(*elf_phdr); in start_bootloader()
/arch/x86/um/
Delfcore.c21 (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); in elf_core_write_extra_phdrs()
48 (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); in elf_core_write_extra_data()
69 (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); in elf_core_extra_data_size()
/arch/ia64/kernel/
Delfcore.c18 (const struct elf_phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); in elf_core_write_extra_phdrs()
47 (const struct elf_phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); in elf_core_write_extra_data()
66 (const struct elf_phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); in elf_core_extra_data_size()
Dunwind.c2193 Elf64_Phdr *punw = NULL, *phdr = (Elf64_Phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); in create_gate_table()
/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.h61 Elf32_Off e_phoff; member
78 Elf64_Off e_phoff; /* Program header table file offset */ member
/arch/powerpc/kernel/
Dkexec_elf_64.c108 if (ehdr->e_phoff > 0 && ehdr->e_phnum > 0) { in elf_is_ehdr_sane()
118 if (ehdr->e_phoff + phdr_size < ehdr->e_phoff) { in elf_is_ehdr_sane()
121 } else if (ehdr->e_phoff + phdr_size > buf_len) { in elf_is_ehdr_sane()
184 ehdr->e_phoff = elf_addr_to_cpu(ehdr, buf_ehdr->e_phoff); in elf_read_ehdr()
225 pbuf = buf + elf_info->ehdr->e_phoff + (idx * sizeof(*buf_phdr)); in elf_read_phdr()
433 if (ehdr->e_phoff > 0 && ehdr->e_phnum > 0) { in elf_read_from_buffer()
Dfadump.c954 elf->e_phoff = sizeof(struct elfhdr); in fadump_init_elfcore_header()
Dprom_init.c930 .e_phoff = offsetof(struct fake_elf, phdr),
/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()
/arch/powerpc/oprofile/cell/
Dvma_map.c153 phdr_start = spu_elf_start + ehdr.e_phoff; in create_vma_map()
/arch/alpha/boot/tools/
Dobjstrip.c170 lseek(fd, elf->e_phoff, SEEK_SET); in main()
/arch/x86/entry/vdso/
Dvdso2c.h24 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); in BITSFUNC()
/arch/x86/boot/compressed/
Dmisc.c306 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
/arch/mips/boot/tools/
Drelocs.c228 ehdr.e_phoff = elf_off_to_cpu(ehdr.e_phoff); in read_ehdr()
/arch/x86/tools/
Drelocs.c357 ehdr.e_phoff = elf_off_to_cpu(ehdr.e_phoff); in read_ehdr()
/arch/x86/kernel/
Dcrash.c440 ehdr->e_phoff = sizeof(Elf64_Ehdr); in prepare_elf64_headers()
/arch/s390/kernel/
Dcrash_dump.c467 ehdr->e_phoff = sizeof(Elf64_Ehdr); in ehdr_init()
/arch/mips/kernel/
Dvpe.c699 ((char *)hdr + hdr->e_phoff); in vpe_elfload()