Lines Matching refs:phnum
349 static unsigned int phnum; variable
469 phnum = ehdr->e_phnum; in check_elf_header()
483 phnum = shdr->sh_info; in check_elf_header()
501 else if (ehdr->e_phoff + phnum * ehdr->e_phentsize > size) in check_elf_header()
518 else if (ehdr->e_phoff + phnum * ehdr->e_phentsize > size) in check_elf_header()
828 for (pcnt = 0; pcnt < phnum; ++pcnt) in check_symtab()
835 if (pcnt == phnum) in check_symtab()
983 for (unsigned int pcnt = 0; pcnt < phnum; ++pcnt) in check_symtab()
1240 for (unsigned int i = 0; i < phnum; ++i) in check_reloc_shdr()
1714 for (n = 0; n < phnum; ++n) in check_dynamic()
1723 if (unlikely (n >= phnum)) in check_dynamic()
2797 for (i = 0; i < phnum; ++i) in unknown_dependency_p()
2802 if (i == phnum) in unknown_dependency_p()
3441 int *segment_flags = xcalloc (phnum, sizeof segment_flags[0]); in check_sections()
3712 for (pcnt = 0; pcnt < phnum; ++pcnt) in check_sections()
3773 if (pcnt == phnum) in check_sections()
3865 for (unsigned int pcnt = 0; pcnt < phnum; ++pcnt) in check_sections()
4092 for (unsigned int cnt = 0; cnt < phnum; ++cnt) in check_program_header()
4168 for (inner = 0; inner < phnum; ++inner) in check_program_header()
4193 if (inner >= phnum) in check_program_header()
4202 for (inner = 0; inner < phnum; ++inner) in check_program_header()
4216 if (inner >= phnum) in check_program_header()