Searched refs:e_phnum (Results 1 – 17 of 17) sorted by relevance
/arch/ia64/kernel/ |
D | elfcore.c | 11 return GATE_EHDR->e_phnum; in elf_core_extra_phdrs() 21 for (i = 0; i < GATE_EHDR->e_phnum; ++i) { in elf_core_write_extra_phdrs() 49 for (i = 0; i < GATE_EHDR->e_phnum; ++i) { in elf_core_write_extra_data() 69 for (i = 0; i < GATE_EHDR->e_phnum; ++i) { in elf_core_extra_data_size()
|
D | unwind.c | 2195 for (i = 0; i < GATE_EHDR->e_phnum; ++i, ++phdr) in create_gate_table()
|
/arch/x86/um/ |
D | elfcore.c | 11 return vsyscall_ehdr ? (((struct elfhdr *)vsyscall_ehdr)->e_phnum) : 0; in elf_core_extra_phdrs() 24 for (i = 0; i < ehdrp->e_phnum; ++i) { in elf_core_write_extra_phdrs() 50 for (i = 0; i < ehdrp->e_phnum; ++i) { in elf_core_write_extra_data() 71 for (i = 0; i < ehdrp->e_phnum; ++i) in elf_core_extra_data_size()
|
/arch/powerpc/boot/ |
D | elf_util.c | 41 for (i = 0; i < (unsigned int)elf64->e_phnum; i++, elf64ph++) in parse_elf64() 44 if (i >= (unsigned int)elf64->e_phnum) in parse_elf64() 72 for (i = 0; i < elf32->e_phnum; i++, elf32ph++) in parse_elf32() 75 if (i >= elf32->e_phnum) in parse_elf32()
|
D | elf.h | 65 Elf32_Half e_phnum; member 82 Elf64_Half e_phnum; member
|
/arch/ia64/hp/sim/boot/ |
D | bootloader.c | 65 unsigned long e_entry, e_phoff, e_phnum; in start_bootloader() local 128 e_phnum = elf->e_phnum; in start_bootloader() 135 for (i = 0; i < e_phnum; ++i) { in start_bootloader()
|
/arch/mips/boot/ |
D | elf2ecoff.c | 178 e->e_phnum = swab16(e->e_phnum); in convert_elf_hdr() 328 ex.e_phnum * sizeof(Elf32_Phdr), in main() 331 convert_elf_phdrs(ph, ex.e_phnum); in main() 345 qsort(ph, ex.e_phnum, sizeof(Elf32_Phdr), phcmp); in main() 347 for (i = 0; i < ex.e_phnum; i++) { in main() 386 ex.e_phnum, ph[i].p_type); in main() 562 for (i = 0; i < ex.e_phnum; i++) { in main()
|
/arch/x86/boot/compressed/ |
D | misc.c | 341 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 345 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 347 for (i = 0; i < ehdr.e_phnum; i++) { in parse_elf()
|
/arch/x86/kernel/ |
D | crash.c | 396 ehdr->e_phnum++; in prepare_elf64_ram_headers_callback() 399 ehdr->e_phnum, phdr->p_offset); in prepare_elf64_ram_headers_callback() 460 (ehdr->e_phnum)++; in prepare_elf64_headers() 469 (ehdr->e_phnum)++; in prepare_elf64_headers() 480 (ehdr->e_phnum)++; in prepare_elf64_headers()
|
/arch/alpha/boot/tools/ |
D | objstrip.c | 158 if (elf->e_phnum != 1) { in main() 161 prog_name, elf->e_phnum); in main()
|
/arch/powerpc/kernel/ |
D | fadump.c | 784 elf->e_phnum = 0; in fadump_init_elfcore_header() 865 (elf->e_phnum)++; in fadump_create_elfcore_headers() 881 (elf->e_phnum)++; in fadump_create_elfcore_headers() 915 (elf->e_phnum)++; in fadump_create_elfcore_headers()
|
D | prom_init.c | 773 .e_phnum = 2
|
/arch/powerpc/oprofile/cell/ |
D | vma_map.c | 157 for (i = 0; i < ehdr.e_phnum; i++) { in create_vma_map()
|
/arch/x86/vdso/ |
D | vdso2c.h | 26 for (i = 0; i < GET_LE(&hdr->e_phnum); i++) { in BITSFUNC()
|
/arch/x86/tools/ |
D | relocs.c | 361 ehdr.e_phnum = elf_half_to_cpu(ehdr.e_phnum); in read_ehdr()
|
/arch/s390/kernel/ |
D | crash_dump.c | 515 ehdr->e_phnum = mem_chunk_cnt + 1; in ehdr_init()
|
/arch/mips/kernel/ |
D | vpe.c | 701 for (i = 0; i < hdr->e_phnum; i++) { in vpe_elfload()
|