Home
last modified time | relevance | path

Searched refs:phnum (Results 1 – 8 of 8) sorted by relevance

/glibc-2.36/dlfcn/
Dtst-dlinfo-phdr.c36 int phnum; /* Expected program header count. */ member
51 TEST_COMPARE (args->phnum, dlpi->dlpi_phnum); in dlip_callback()
75 int phnum = dlinfo (l, RTLD_DI_PHDR, &phdr); in do_test() local
76 TEST_VERIFY (phnum >= 0); in do_test()
81 TEST_COMPARE (phnum, l->l_phnum); in do_test()
86 for (int i = 0; i < phnum; ++i) in do_test()
102 .phnum = phnum, in do_test()
115 TEST_COMPARE (phnum, getauxval (AT_PHNUM)); in do_test()
/glibc-2.36/elf/
Dpldd-xx.c82 unsigned int phnum = 0; in E() local
93 phnum = auxvXX[i].a_un.a_val; in E()
102 if (phdr == 0 || phnum == 0 || phent == 0) in E()
105 EW(Phdr) *p = xmalloc (phnum * phent); in E()
106 if (pread (memfd, p, phnum * phent, phdr) != phnum * phent) in E()
114 for (unsigned int i = 0; i < phnum; ++i) in E()
123 for (unsigned int i = 0; i < phnum; ++i) in E()
Ddl-reloc-static-pie.c47 size_t phnum = GL(dl_phnum); in _dl_relocate_static_pie() local
48 for (ph = phdr; ph < &phdr[phnum]; ++ph) in _dl_relocate_static_pie()
Ddl-machine-reject-phdr.h27 elf_machine_reject_phdr_p (const ElfW(Phdr) *phdr, unsigned int phnum, in elf_machine_reject_phdr_p() argument
Drtld.c386 static void dl_main (const ElfW(Phdr) *phdr, ElfW(Word) phnum,
1122 ElfW(Word) phnum = main_map->l_phnum; in rtld_setup_main_map()
1150 for (const ElfW(Phdr) *ph = phdr; ph < &phdr[phnum]; ++ph) in rtld_setup_main_map()
1262 for (const ElfW(Phdr) *ph = &phdr[phnum]; ph != phdr; --ph) in rtld_setup_main_map()
1354 ElfW(Word) phnum, in dl_main()
1561 for (const ElfW(Phdr) *ph = phdr; ph < &phdr[phnum]; ++ph) in dl_main()
1609 phnum = main_map->l_phnum; in dl_main()
1630 av->a_un.a_val = phnum; in dl_main()
1656 main_map->l_phnum = phnum; in dl_main()
/glibc-2.36/sysdeps/unix/sysv/linux/
Ddl-sysdep.c69 ElfW(Word) phnum;
94 args->phnum = auxv_values[AT_PHNUM]; in _dl_sysdep_parse_arguments()
100 void (*dl_main) (const ElfW(Phdr) *phdr, ElfW(Word) phnum, in _dl_sysdep_start()
140 (*dl_main) (dl_main_args.phdr, dl_main_args.phnum, in _dl_sysdep_start()
/glibc-2.36/sysdeps/mips/
Ddl-machine-reject-phdr.h42 find_mips_abiflags (const ElfW(Phdr) *phdr, ElfW(Half) phnum) in ElfW()
46 for (ph = phdr; ph < &phdr[phnum]; ++ph) in ElfW()
155 elf_machine_reject_phdr_p (const ElfW(Phdr) *phdr, unsigned int phnum, in elf_machine_reject_phdr_p() argument
159 const ElfW(Phdr) *ph = find_mips_abiflags (phdr, phnum); in elf_machine_reject_phdr_p()
/glibc-2.36/sysdeps/generic/
Dldsodefs.h1136 ElfW(Word) phnum,