Lines Matching refs:phnum
536 size_t phnum; in consider_executable() local
537 if (elf_getphdrnum (mod->main.elf, &phnum) != 0) in consider_executable()
540 for (size_t i = 0; i < phnum; ++i) in consider_executable()
705 GElf_Xword phnum = 0; in dwfl_link_map_report() local
721 phnum = val; \ in dwfl_link_map_report()
780 if (phdr != 0 && phnum != 0) in dwfl_link_map_report()
788 .d_size = phnum * phent, in dwfl_link_map_report()
792 &in.d_size, phdr, phnum * phent, in dwfl_link_map_report()
828 if (e_phnum != phnum || ehdr->e_phentsize != phent) in dwfl_link_map_report()
837 assert (in.d_size == phnum * phent); in dwfl_link_map_report()
863 char data[phnum * phent]; in dwfl_link_map_report()
869 .d_size = phnum * phent, in dwfl_link_map_report()
880 Elf32_Phdr p32[phnum]; in dwfl_link_map_report()
881 Elf64_Phdr p64[phnum]; in dwfl_link_map_report()
885 for (size_t i = 0; i < phnum; ++i) in dwfl_link_map_report()
893 for (size_t i = 0; i < phnum; ++i) in dwfl_link_map_report()