/linux-4.4.14/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()
|
/linux-4.4.14/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()
|
/linux-4.4.14/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
|
/linux-4.4.14/tools/perf/util/ |
D | symbol-minimal.c | 118 ehdr.e_phnum = bswap_16(ehdr.e_phnum); in filename__read_build_id() 121 buf_size = ehdr.e_phentsize * ehdr.e_phnum; in filename__read_build_id() 130 for (i = 0, phdr = buf; i < ehdr.e_phnum; i++, phdr++) { in filename__read_build_id() 169 ehdr.e_phnum = bswap_16(ehdr.e_phnum); in filename__read_build_id() 172 buf_size = ehdr.e_phentsize * ehdr.e_phnum; in filename__read_build_id() 181 for (i = 0, phdr = buf; i < ehdr.e_phnum; i++, phdr++) { in filename__read_build_id()
|
D | symbol-elf.c | 50 *dst = ehdr->e_phnum; in elf_getphdrnum() 1320 ehdr->e_phnum = count; in kcore__copy_hdr()
|
/linux-4.4.14/fs/proc/ |
D | vmcore.c | 531 for (i = 0; i < ehdr_ptr->e_phnum; i++, phdr_ptr++) { in update_note_header_size_elf64() 596 for (i = 0; i < ehdr_ptr->e_phnum; i++, phdr_ptr++) { in get_note_number_and_size_elf64() 629 for (i = 0; i < ehdr_ptr->e_phnum; i++, phdr_ptr++) { in copy_notes_elf64() 677 (ehdr_ptr->e_phnum - nr_ptnote +1) * sizeof(Elf64_Phdr); in merge_note_headers_elf64() 696 ehdr_ptr->e_phnum = ehdr_ptr->e_phnum - nr_ptnote + 1; in merge_note_headers_elf64() 717 for (i = 0; i < ehdr_ptr->e_phnum; i++, phdr_ptr++) { in update_note_header_size_elf32() 782 for (i = 0; i < ehdr_ptr->e_phnum; i++, phdr_ptr++) { in get_note_number_and_size_elf32() 815 for (i = 0; i < ehdr_ptr->e_phnum; i++, phdr_ptr++) { in copy_notes_elf32() 863 (ehdr_ptr->e_phnum - nr_ptnote +1) * sizeof(Elf32_Phdr); in merge_note_headers_elf32() 882 ehdr_ptr->e_phnum = ehdr_ptr->e_phnum - nr_ptnote + 1; in merge_note_headers_elf32() [all …]
|
D | kcore.c | 348 elf->e_phnum = nphdr; in elf_kcore_store_hdr()
|
/linux-4.4.14/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()
|
/linux-4.4.14/fs/ |
D | binfmt_elf_fdpic.c | 150 if (params->hdr.e_phnum > 65536U / sizeof(struct elf_phdr)) in elf_fdpic_fetch_phdrs() 153 size = params->hdr.e_phnum * sizeof(struct elf_phdr); in elf_fdpic_fetch_phdrs() 165 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_fetch_phdrs() 233 for (i = 0; i < exec_params.hdr.e_phnum; i++, phdr++) { in load_elf_fdpic_binary() 643 NEW_AUX_ENT(AT_PHNUM, exec_params->hdr.e_phnum); in create_elf_fdpic_tables() 774 for (loop = 0; loop < params->hdr.e_phnum; loop++) in elf_fdpic_map_file() 827 stop += params->hdr.e_phnum * sizeof (struct elf_phdr); in elf_fdpic_map_file() 830 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_map_file() 855 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_map_file() 955 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_map_file_constdisp_on_uclinux() [all …]
|
D | binfmt_elf.c | 240 NEW_AUX_ENT(AT_PHNUM, exec->e_phnum); in create_elf_tables() 414 if (elf_ex->e_phnum < 1 || in load_elf_phdrs() 415 elf_ex->e_phnum > 65536U / sizeof(struct elf_phdr)) in load_elf_phdrs() 419 size = sizeof(struct elf_phdr) * elf_ex->e_phnum; in load_elf_phdrs() 540 interp_elf_ex->e_phnum); in load_elf_interp() 547 for (i = 0; i < interp_elf_ex->e_phnum; i++, eppnt++) { in load_elf_interp() 721 for (i = 0; i < loc->elf_ex.e_phnum; i++) { in load_elf_binary() 779 for (i = 0; i < loc->elf_ex.e_phnum; i++, elf_ppnt++) in load_elf_binary() 815 for (i = 0; i < loc->interp_elf_ex.e_phnum; i++, elf_ppnt++) in load_elf_binary() 864 i < loc->elf_ex.e_phnum; i++, elf_ppnt++) { in load_elf_binary() [all …]
|
/linux-4.4.14/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()
|
/linux-4.4.14/arch/x86/boot/compressed/ |
D | misc.c | 358 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 362 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 364 for (i = 0; i < ehdr.e_phnum; i++) { in parse_elf()
|
/linux-4.4.14/arch/x86/kernel/ |
D | crash.c | 395 ehdr->e_phnum++; in prepare_elf64_ram_headers_callback() 398 ehdr->e_phnum, phdr->p_offset); in prepare_elf64_ram_headers_callback() 459 (ehdr->e_phnum)++; in prepare_elf64_headers() 468 (ehdr->e_phnum)++; in prepare_elf64_headers() 479 (ehdr->e_phnum)++; in prepare_elf64_headers()
|
/linux-4.4.14/arch/alpha/boot/tools/ |
D | objstrip.c | 161 if (elf->e_phnum != 1) { in main() 164 prog_name, elf->e_phnum); in main()
|
/linux-4.4.14/drivers/remoteproc/ |
D | remoteproc_elf_loader.c | 89 if (ehdr->e_phnum == 0) { 158 for (i = 0; i < ehdr->e_phnum; i++, phdr++) {
|
/linux-4.4.14/include/uapi/linux/ |
D | elf.h | 214 Elf32_Half e_phnum; member 231 Elf64_Half e_phnum; member
|
/linux-4.4.14/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 | 782 .e_phnum = 2
|
/linux-4.4.14/sound/pci/mixart/ |
D | mixart_hwdep.c | 85 u16 e_phnum; member 116 for( i=0; i < be16_to_cpu(elf_header->e_phnum); i++ ) { in mixart_load_elf()
|
/linux-4.4.14/arch/powerpc/oprofile/cell/ |
D | vma_map.c | 157 for (i = 0; i < ehdr.e_phnum; i++) { in create_vma_map()
|
/linux-4.4.14/Documentation/vDSO/ |
D | parse_vdso.c | 116 for (i = 0; i < hdr->e_phnum; i++) in vdso_init_from_sysinfo_ehdr()
|
/linux-4.4.14/arch/x86/entry/vdso/ |
D | vdso2c.h | 26 for (i = 0; i < GET_LE(&hdr->e_phnum); i++) { in BITSFUNC()
|
/linux-4.4.14/arch/x86/tools/ |
D | relocs.c | 361 ehdr.e_phnum = elf_half_to_cpu(ehdr.e_phnum); in read_ehdr()
|
/linux-4.4.14/tools/lguest/ |
D | lguest.c | 432 Elf32_Phdr phdr[ehdr->e_phnum]; in map_elf() 442 || ehdr->e_phnum < 1 || ehdr->e_phnum > 65536U/sizeof(Elf32_Phdr)) in map_elf() 461 for (i = 0; i < ehdr->e_phnum; i++) { in map_elf()
|
/linux-4.4.14/arch/s390/kernel/ |
D | crash_dump.c | 481 ehdr->e_phnum = mem_chunk_cnt + 1; in ehdr_init()
|
/linux-4.4.14/arch/mips/kernel/ |
D | vpe.c | 701 for (i = 0; i < hdr->e_phnum; i++) { in vpe_elfload()
|
/linux-4.4.14/scripts/mod/ |
D | modpost.c | 448 hdr->e_phnum = TO_NATIVE(hdr->e_phnum); in parse_elf()
|
/linux-4.4.14/drivers/media/platform/sti/c8sectpfe/ |
D | c8sectpfe-core.c | 1109 for (i = 0; i < ehdr->e_phnum; i++, phdr++) { in load_slim_core_fw()
|