Lines Matching refs:pcnt
799 int pcnt; in check_symtab() local
801 for (pcnt = 0; pcnt < ehdr->e_phnum; ++pcnt) in check_symtab()
803 phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem); in check_symtab()
808 if (pcnt == ehdr->e_phnum) in check_symtab()
956 for (int pcnt = 0; pcnt < ehdr->e_phnum; ++pcnt) in check_symtab() local
959 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem); in check_symtab()
3666 int pcnt; in check_sections() local
3670 for (pcnt = 0; pcnt < ehdr->e_phnum; ++pcnt) in check_sections()
3671 if ((phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem)) != NULL in check_sections()
3686 cnt, section_name (ebl, cnt), pcnt); in check_sections()
3694 cnt, section_name (ebl, cnt), pcnt); in check_sections()
3703 cnt, section_name (ebl, cnt), pcnt); in check_sections()
3710 segment_flags[pcnt] |= PF_X; in check_sections()
3714 cnt, section_name (ebl, cnt), pcnt); in check_sections()
3719 segment_flags[pcnt] |= PF_W; in check_sections()
3724 cnt, section_name (ebl, cnt), pcnt); in check_sections()
3731 if (pcnt == ehdr->e_phnum) in check_sections()
3823 for (int pcnt = 0; pcnt < ehdr->e_phnum; ++pcnt) in check_sections() local
3826 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem); in check_sections()
3830 && (segment_flags[pcnt] & PF_X) == 0) in check_sections()
3833 pcnt); in check_sections()
3836 && (segment_flags[pcnt] & PF_W) == 0) in check_sections()
3839 pcnt); in check_sections()