Searched refs:e_phnum (Results 1 – 21 of 21) sorted by relevance
/arch/x86/um/ |
D | elfcore.c | 12 return vsyscall_ehdr ? (((struct elfhdr *)vsyscall_ehdr)->e_phnum) : 0; in elf_core_extra_phdrs() 25 for (i = 0; i < ehdrp->e_phnum; ++i) { in elf_core_write_extra_phdrs() 51 for (i = 0; i < ehdrp->e_phnum; ++i) { in elf_core_write_extra_data() 72 for (i = 0; i < ehdrp->e_phnum; ++i) in elf_core_extra_data_size()
|
/arch/ia64/kernel/ |
D | elfcore.c | 12 return GATE_EHDR->e_phnum; in elf_core_extra_phdrs() 22 for (i = 0; i < GATE_EHDR->e_phnum; ++i) { in elf_core_write_extra_phdrs() 50 for (i = 0; i < GATE_EHDR->e_phnum; ++i) { in elf_core_write_extra_data() 70 for (i = 0; i < GATE_EHDR->e_phnum; ++i) { in elf_core_extra_data_size()
|
D | unwind.c | 2196 for (i = 0; i < GATE_EHDR->e_phnum; ++i, ++phdr) in create_gate_table()
|
/arch/powerpc/boot/ |
D | elf_util.c | 37 for (i = 0; i < (unsigned int)elf64->e_phnum; i++, elf64ph++) in parse_elf64() 40 if (i >= (unsigned int)elf64->e_phnum) in parse_elf64() 68 for (i = 0; i < elf32->e_phnum; i++, elf32ph++) in parse_elf32() 71 if (i >= elf32->e_phnum) in parse_elf32()
|
D | elf.h | 66 Elf32_Half e_phnum; member 83 Elf64_Half e_phnum; member
|
/arch/s390/kernel/ |
D | kexec_elf.c | 35 for (i = 0; i < ehdr->e_phnum; i++, phdr++) { in kexec_file_add_kernel_elf() 84 if (!ehdr->e_phnum || ehdr->e_phentsize != sizeof(Elf_Phdr)) in s390_elf_load() 88 size += ehdr->e_phentsize * ehdr->e_phnum; in s390_elf_load() 94 for (i = 0; i < ehdr->e_phnum; i++, phdr++) { in s390_elf_load()
|
D | crash_dump.c | 526 ehdr->e_phnum = mem_chunk_cnt + 1; in ehdr_init()
|
/arch/mips/boot/ |
D | elf2ecoff.c | 180 e->e_phnum = swab16(e->e_phnum); in convert_elf_hdr() 330 ex.e_phnum * sizeof(Elf32_Phdr), in main() 333 convert_elf_phdrs(ph, ex.e_phnum); in main() 347 qsort(ph, ex.e_phnum, sizeof(Elf32_Phdr), phcmp); in main() 349 for (i = 0; i < ex.e_phnum; i++) { in main() 388 ex.e_phnum, ph[i].p_type); in main() 564 for (i = 0; i < ex.e_phnum; i++) { in main()
|
/arch/parisc/boot/compressed/ |
D | misc.c | 258 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 262 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 264 for (i = 0; i < ehdr.e_phnum; i++) { in parse_elf()
|
/arch/x86/boot/compressed/ |
D | misc.c | 293 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 297 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 299 for (i = 0; i < ehdr.e_phnum; i++) { in parse_elf()
|
/arch/alpha/boot/tools/ |
D | objstrip.c | 162 if (elf->e_phnum != 1) { in main() 165 prog_name, elf->e_phnum); in main()
|
/arch/sparc/vdso/ |
D | vdso2c.h | 28 for (i = 0; i < GET_BE(&hdr->e_phnum); i++) { in BITSFUNC()
|
/arch/x86/entry/vdso/ |
D | vdso2c.h | 30 for (i = 0; i < GET_LE(&hdr->e_phnum); i++) { in BITSFUNC()
|
/arch/powerpc/oprofile/cell/ |
D | vma_map.c | 153 for (i = 0; i < ehdr.e_phnum; i++) { in create_vma_map()
|
/arch/powerpc/kernel/ |
D | fadump.c | 951 elf->e_phnum = 0; in fadump_init_elfcore_header() 1069 (elf->e_phnum)++; in fadump_create_elfcore_headers() 1084 (elf->e_phnum)++; in fadump_create_elfcore_headers() 1124 (elf->e_phnum)++; in fadump_create_elfcore_headers()
|
D | prom_init.c | 1118 .e_phnum = 2
|
/arch/powerpc/platforms/powernv/ |
D | opal-core.c | 372 elf->e_phnum = 0; in create_opalcore() 416 elf->e_phnum = cpu_to_be16(count); in create_opalcore()
|
/arch/mips/boot/tools/ |
D | relocs.c | 233 ehdr.e_phnum = elf_half_to_cpu(ehdr.e_phnum); in read_ehdr()
|
/arch/x86/kernel/ |
D | crash.c | 279 for (i = 0; i < ehdr->e_phnum; phdr++, i++) in prepare_elf_headers()
|
/arch/x86/tools/ |
D | relocs.c | 367 ehdr.e_phnum = elf_half_to_cpu(ehdr.e_phnum); in read_ehdr()
|
/arch/mips/kernel/ |
D | vpe.c | 701 for (i = 0; i < hdr->e_phnum; i++) { in vpe_elfload()
|