Lines Matching defs:phnum
508 getphdr(Word phnum, Word *type_arr, Word type_cnt, const char *file, Elf *elf)
518 for (cnt = 0; cnt < phnum; phdr++, cnt++) {
865 unwind(Cache *cache, Word shnum, Word phnum, Ehdr *ehdr, uchar_t osabi,
897 if (phnum)
898 uphdr = getphdr(phnum, phdr_types,
1695 cap(const char *file, Cache *cache, Word shnum, Word phnum, Ehdr *ehdr,
1707 if (phnum) {
1715 for (cnt = 0; cnt < phnum; phdr++, cnt++) {
1778 interp(const char *file, Cache *cache, Word shnum, Word phnum, Elf *elf)
1792 if (phnum) {
1795 phdr = getphdr(phnum, phdr_types,
4893 size_t ndx, shstrndx, shnum, phnum;
4915 if (elf_getphdrnum(elf, &phnum) == -1) {
4924 if ((phnum == 0) && (flags & FLG_CTL_FAKESHDR)) {
5035 if ((flags & FLG_SHOW_PHDR) && (phnum != 0)) {
5043 for (ndx = 0; ndx < phnum; phdr++, ndx++) {
5231 interp(file, cache, shnum, phnum, elf);
5299 cap(file, cache, shnum, phnum, ehdr, osabi, elf, flags);
5303 unwind(cache, shnum, phnum, ehdr, osabi, file, elf, flags);