Lines Matching refs:phnum
123 size_t phnum; in open_elf() local
124 if (unlikely (elf_getphdrnum (file->elf, &phnum) != 0)) in open_elf()
128 for (size_t i = 0; i < phnum; ++i) in open_elf()
312 uint_fast16_t phnum; in find_prelink_address_sync() local
319 phnum = ehdr.e32.e_phnum; in find_prelink_address_sync()
327 phnum = ehdr.e64.e_phnum; in find_prelink_address_sync()
335 + phnum * phentsize in find_prelink_address_sync()
367 src.d_size = phnum * phentsize; in find_prelink_address_sync()
373 Elf32_Phdr p32[phnum]; in find_prelink_address_sync()
374 Elf64_Phdr p64[phnum]; in find_prelink_address_sync()
383 for (uint_fast16_t i = 0; i < phnum; ++i) in find_prelink_address_sync()
392 for (uint_fast16_t i = 0; i < phnum; ++i) in find_prelink_address_sync()
628 find_offsets (Elf *elf, GElf_Addr main_bias, size_t phnum, size_t n, in find_offsets() argument
632 for (size_t i = 0; i < phnum; ++i) in find_offsets()
656 size_t phnum; in find_dynsym() local
657 if (unlikely (elf_getphdrnum (mod->main.elf, &phnum) != 0)) in find_dynsym()
660 for (size_t i = 0; i < phnum; ++i) in find_dynsym()
730 find_offsets (mod->main.elf, adjust, phnum, i_max, addrs, offs); in find_dynsym()