Lines Matching refs:pcnt
851 unsigned int pcnt; in check_symtab() local
853 for (pcnt = 0; pcnt < phnum; ++pcnt) in check_symtab()
855 phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem); in check_symtab()
860 if (pcnt == phnum) in check_symtab()
1014 for (unsigned int pcnt = 0; pcnt < phnum; ++pcnt) in check_symtab() local
1017 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem); in check_symtab()
3994 unsigned int pcnt; in check_sections() local
3998 for (pcnt = 0; pcnt < phnum; ++pcnt) in check_sections()
3999 if ((phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem)) != NULL in check_sections()
4016 cnt, section_name (ebl, cnt), pcnt); in check_sections()
4026 cnt, section_name (ebl, cnt), pcnt); in check_sections()
4052 cnt, section_name (ebl, cnt), pcnt); in check_sections()
4063 cnt, section_name (ebl, cnt), pcnt); in check_sections()
4070 segment_flags[pcnt] |= PF_X; in check_sections()
4074 cnt, section_name (ebl, cnt), pcnt); in check_sections()
4079 segment_flags[pcnt] |= PF_W; in check_sections()
4084 cnt, section_name (ebl, cnt), pcnt); in check_sections()
4091 if (pcnt == phnum) in check_sections()
4183 for (unsigned int pcnt = 0; pcnt < phnum; ++pcnt) in check_sections() local
4186 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem); in check_sections()
4190 && (segment_flags[pcnt] & PF_X) == 0) in check_sections()
4193 pcnt); in check_sections()
4196 && (segment_flags[pcnt] & PF_W) == 0) in check_sections()
4199 pcnt); in check_sections()