Lines Matching refs:phnum
134 size_t phnum;
135 if (unlikely (elf_getphdrnum (file->elf, &phnum) != 0))
139 for (size_t i = 0; i < phnum; ++i)
367 uint_fast16_t phnum;
374 phnum = ehdr.e32.e_phnum;
382 phnum = ehdr.e64.e_phnum;
390 + phnum * phentsize
422 src.d_size = phnum * phentsize;
428 Elf32_Phdr p32[phnum];
429 Elf64_Phdr p64[phnum];
438 for (uint_fast16_t i = 0; i < phnum; ++i)
447 for (uint_fast16_t i = 0; i < phnum; ++i)
627 find_offsets (Elf *elf, size_t phnum, size_t n,
631 for (size_t i = 0; i < phnum; ++i)
655 size_t phnum;
656 if (unlikely (elf_getphdrnum (mod->main.elf, &phnum) != 0))
659 for (size_t i = 0; i < phnum; ++i)
726 find_offsets (mod->main.elf, phnum, i_max, addrs, offs);