Lines Matching refs:e_phnum
246 NEW_AUX_ENT(AT_PHNUM, exec->e_phnum); in create_elf_tables()
522 size = sizeof(struct elf_phdr) * elf_ex->e_phnum; in load_elf_phdrs()
654 interp_elf_ex->e_phnum); in load_elf_interp()
661 for (i = 0; i < interp_elf_ex->e_phnum; i++, eppnt++) { in load_elf_interp()
860 for (i = 0; i < elf_ex->e_phnum; i++, elf_ppnt++) { in load_elf_binary()
925 for (i = 0; i < elf_ex->e_phnum; i++, elf_ppnt++) in load_elf_binary()
963 for (i = 0; i < interp_elf_ex->e_phnum; i++, elf_ppnt++) in load_elf_binary()
1029 i < elf_ex->e_phnum; i++, elf_ppnt++) { in load_elf_binary()
1086 elf_ex->e_phnum); in load_elf_binary()
1093 alignment = maximum_alignment(elf_phdata, elf_ex->e_phnum); in load_elf_binary()
1376 if (elf_ex.e_type != ET_EXEC || elf_ex.e_phnum > 2 || in load_elf_library()
1384 j = sizeof(struct elf_phdr) * elf_ex.e_phnum; in load_elf_library()
1398 for (j = 0, i = 0; i<elf_ex.e_phnum; i++) in load_elf_library()
1484 elf->e_phnum = segs; in fill_elf_header()
2014 Elf_Half e_phnum; in elf_core_dump() local
2029 e_phnum = segs > PN_XNUM ? PN_XNUM : segs; in elf_core_dump()
2035 if (!fill_note_info(&elf, e_phnum, &info, cprm)) in elf_core_dump()
2064 if (e_phnum == PN_XNUM) { in elf_core_dump()
2128 if (e_phnum == PN_XNUM) { in elf_core_dump()