Lines Matching defs:e_phnum
246 NEW_AUX_ENT(AT_PHNUM, exec->e_phnum);
522 size = sizeof(struct elf_phdr) * elf_ex->e_phnum;
654 interp_elf_ex->e_phnum);
661 for (i = 0; i < interp_elf_ex->e_phnum; i++, eppnt++) {
860 for (i = 0; i < elf_ex->e_phnum; i++, elf_ppnt++) {
925 for (i = 0; i < elf_ex->e_phnum; i++, elf_ppnt++)
963 for (i = 0; i < interp_elf_ex->e_phnum; i++, elf_ppnt++)
1028 i < elf_ex->e_phnum; i++, elf_ppnt++) {
1090 alignment = maximum_alignment(elf_phdata, elf_ex->e_phnum);
1125 elf_ex->e_phnum);
1335 if (elf_ex.e_type != ET_EXEC || elf_ex.e_phnum > 2 ||
1343 j = sizeof(struct elf_phdr) * elf_ex.e_phnum;
1344 /* j < ELF_MIN_ALIGN because elf_ex.e_phnum <= 2 */
1357 for (j = 0, i = 0; i<elf_ex.e_phnum; i++)
1443 elf->e_phnum = segs;
1970 Elf_Half e_phnum;
1982 /* If segs > PN_XNUM(0xffff), then e_phnum overflows. To avoid
1985 e_phnum = segs > PN_XNUM ? PN_XNUM : segs;
1991 if (!fill_note_info(&elf, e_phnum, &info, cprm))
2020 if (e_phnum == PN_XNUM) {
2084 if (e_phnum == PN_XNUM) {