Home | History | Annotate | Download | only in libelf

Lines Matching full:shnum

127 __elfw2(LIBELFBITS,updatemmap) (Elf *elf, int change_bo, size_t shnum)
213 if (shnum > 0)
216 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *));
234 for (size_t cnt = 0; cnt < shnum; ++cnt)
283 for (size_t cnt = 0; cnt < shnum; ++cnt)
382 for (size_t cnt = 0; cnt < shnum; ++cnt)
417 + ehdr->e_shentsize * shnum);
469 __elfw2(LIBELFBITS,updatefile) (Elf *elf, int change_bo, size_t shnum)
593 if (shnum > 0)
606 alloca (shnum * sizeof (ElfW2(LIBELFBITS,Shdr)));
613 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *));
616 for (size_t cnt = 0; cnt < shnum; ++cnt)
726 * shnum, shdr_offset)
727 != sizeof (ElfW2(LIBELFBITS,Shdr)) * shnum))