Lines Matching defs:phnum
502 getphdr(Word phnum, Word *type_arr, Word type_cnt, const char *file, Elf *elf)
512 for (cnt = 0; cnt < phnum; phdr++, cnt++) {
859 unwind(Cache *cache, Word shnum, Word phnum, Ehdr *ehdr, uchar_t osabi,
891 if (phnum)
892 uphdr = getphdr(phnum, phdr_types,
1688 cap(const char *file, Cache *cache, Word shnum, Word phnum, Ehdr *ehdr,
1700 if (phnum) {
1708 for (cnt = 0; cnt < phnum; phdr++, cnt++) {
1771 interp(const char *file, Cache *cache, Word shnum, Word phnum, Elf *elf)
1785 if (phnum) {
1788 phdr = getphdr(phnum, phdr_types,
4812 size_t ndx, shstrndx, shnum, phnum;
4834 if (elf_getphdrnum(elf, &phnum) == -1) {
4843 if ((phnum == 0) && (flags & FLG_CTL_FAKESHDR)) {
4954 if ((flags & FLG_SHOW_PHDR) && (phnum != 0)) {
4962 for (ndx = 0; ndx < phnum; phdr++, ndx++) {
5150 interp(file, cache, shnum, phnum, elf);
5218 cap(file, cache, shnum, phnum, ehdr, osabi, elf, flags);
5222 unwind(cache, shnum, phnum, ehdr, osabi, file, elf, flags);