Lines Matching refs:shnum
127 __elfw2(LIBELFBITS,updatemmap) (Elf *elf, int change_bo, size_t shnum) in __elfw2()
224 if (shnum > 0) in __elfw2()
227 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *)); in __elfw2()
245 for (size_t cnt = 0; cnt < shnum; ++cnt) in __elfw2()
294 for (size_t cnt = 0; cnt < shnum; ++cnt) in __elfw2()
423 for (size_t cnt = 0; cnt < shnum; ++cnt) in __elfw2()
458 + ehdr->e_shentsize * shnum); in __elfw2()
510 __elfw2(LIBELFBITS,updatefile) (Elf *elf, int change_bo, size_t shnum) in __elfw2()
646 if (shnum > 0) in __elfw2()
659 alloca (shnum * sizeof (ElfW2(LIBELFBITS,Shdr))); in __elfw2()
666 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *)); in __elfw2()
669 for (size_t cnt = 0; cnt < shnum; ++cnt) in __elfw2()
808 * shnum, shdr_offset) in __elfw2()
809 != sizeof (ElfW2(LIBELFBITS,Shdr)) * shnum)) in __elfw2()