Lines Matching defs:e_phnum
261 NEW_AUX_ENT(AT_PHNUM, exec->e_phnum);
473 size = sizeof(struct elf_phdr) * elf_ex->e_phnum;
613 interp_elf_ex->e_phnum);
620 for (i = 0; i < interp_elf_ex->e_phnum; i++, eppnt++) {
862 for (i = 0; i < elf_ex->e_phnum; i++, elf_ppnt++) {
927 for (i = 0; i < elf_ex->e_phnum; i++, elf_ppnt++)
965 for (i = 0; i < interp_elf_ex->e_phnum; i++, elf_ppnt++)
1031 i < elf_ex->e_phnum; i++, elf_ppnt++) {
1138 alignment = maximum_alignment(elf_phdata, elf_ex->e_phnum);
1155 elf_ex->e_phnum);
1384 if (elf_ex.e_type != ET_EXEC || elf_ex.e_phnum > 2 ||
1392 j = sizeof(struct elf_phdr) * elf_ex.e_phnum;
1393 /* j < ELF_MIN_ALIGN because elf_ex.e_phnum <= 2 */
1406 for (j = 0, i = 0; i<elf_ex.e_phnum; i++)
1507 elf->e_phnum = segs;
2200 Elf_Half e_phnum;
2212 /* If segs > PN_XNUM(0xffff), then e_phnum overflows. To avoid
2215 e_phnum = segs > PN_XNUM ? PN_XNUM : segs;
2221 if (!fill_note_info(&elf, e_phnum, &info, cprm))
2249 if (e_phnum == PN_XNUM) {
2314 if (e_phnum == PN_XNUM) {