Searched refs:e_phoff (Results 1 – 19 of 19) sorted by relevance
/arch/ia64/hp/sim/boot/ |
D | bootloader.c | 66 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/ |
D | elfcore.c | 21 (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/ |
D | elfcore.c | 18 (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()
|
D | unwind.c | 2193 Elf64_Phdr *punw = NULL, *phdr = (Elf64_Phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); in create_gate_table()
|
/arch/powerpc/boot/ |
D | elf_util.c | 40 (unsigned long)elf64->e_phoff); in parse_elf64() 71 elf32ph = (Elf32_Phdr *) ((unsigned long)elf32 + elf32->e_phoff); in parse_elf32()
|
D | elf.h | 61 Elf32_Off e_phoff; member 78 Elf64_Off e_phoff; /* Program header table file offset */ member
|
/arch/powerpc/kernel/ |
D | kexec_elf_64.c | 108 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()
|
D | fadump.c | 954 elf->e_phoff = sizeof(struct elfhdr); in fadump_init_elfcore_header()
|
D | prom_init.c | 930 .e_phoff = offsetof(struct fake_elf, phdr),
|
/arch/mips/boot/ |
D | elf2ecoff.c | 173 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/ |
D | vma_map.c | 153 phdr_start = spu_elf_start + ehdr.e_phoff; in create_vma_map()
|
/arch/alpha/boot/tools/ |
D | objstrip.c | 170 lseek(fd, elf->e_phoff, SEEK_SET); in main()
|
/arch/x86/entry/vdso/ |
D | vdso2c.h | 24 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); in BITSFUNC()
|
/arch/x86/boot/compressed/ |
D | misc.c | 306 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
|
/arch/mips/boot/tools/ |
D | relocs.c | 228 ehdr.e_phoff = elf_off_to_cpu(ehdr.e_phoff); in read_ehdr()
|
/arch/x86/tools/ |
D | relocs.c | 357 ehdr.e_phoff = elf_off_to_cpu(ehdr.e_phoff); in read_ehdr()
|
/arch/x86/kernel/ |
D | crash.c | 440 ehdr->e_phoff = sizeof(Elf64_Ehdr); in prepare_elf64_headers()
|
/arch/s390/kernel/ |
D | crash_dump.c | 467 ehdr->e_phoff = sizeof(Elf64_Ehdr); in ehdr_init()
|
/arch/mips/kernel/ |
D | vpe.c | 699 ((char *)hdr + hdr->e_phoff); in vpe_elfload()
|