HomeSort by relevance Sort by last modified time
    Searched refs:shnum (Results 1 - 19 of 19) sorted by null

  /external/elfutils/0.153/libelf/
elf_update.c 64 write_file (Elf *elf, off_t size, int change_bo, size_t shnum)
107 ? __elf32_updatemmap (elf, change_bo, shnum)
108 : __elf64_updatemmap (elf, change_bo, shnum)) != 0)
116 ? __elf32_updatefile (elf, change_bo, shnum)
117 : __elf64_updatefile (elf, change_bo, shnum)) != 0)
156 size_t shnum; local
188 shnum = (elf->state.elf.scns_last->cnt == 0
196 ? __elf32_updatenull_wrlock (elf, &change_bo, shnum)
197 : __elf64_updatenull_wrlock (elf, &change_bo, shnum));
217 size = write_file (elf, size, change_bo, shnum);
    [all...]
elf32_updatenull.c 73 size_t shnum, int *change_bop)
115 if (unlikely (shnum >= SHN_LORESERVE))
121 update_if_changed (ehdr->e_shnum, shnum,
136 __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
145 if (ELFW(default_ehdr,LIBELFBITS) (elf, ehdr, shnum, change_bop) != 0)
190 if (shnum > 0)
197 if (shnum >= SHN_LORESERVE)
204 shnum, scn0->shdr_flags);
413 + (elf_typesize (LIBELFBITS, ELF_T_SHDR, shnum))));
431 size += elf_typesize (LIBELFBITS, ELF_T_SHDR, shnum);
    [all...]
elf32_getshdr.c 83 size_t shnum;
84 if (__elf_getshdrnum_rdlock (elf, &shnum) != 0)
86 size_t size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr));
135 for (size_t cnt = 0; cnt < shnum; ++cnt)
153 && shdr[cnt].sh_link < shnum)
181 for (size_t cnt = 0; cnt < shnum; ++cnt)
210 for (size_t cnt = 0; cnt < shnum; ++cnt)
elf32_updatefile.c 127 __elfw2(LIBELFBITS,updatemmap) (Elf *elf, int change_bo, size_t shnum)
224 if (shnum > 0)
227 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *));
245 for (size_t cnt = 0; cnt < shnum; ++cnt)
294 for (size_t cnt = 0; cnt < shnum; ++cnt)
423 for (size_t cnt = 0; cnt < shnum; ++cnt)
458 + ehdr->e_shentsize * shnum);
510 __elfw2(LIBELFBITS,updatefile) (Elf *elf, int change_bo, size_t shnum)
646 if (shnum > 0)
659 alloca (shnum * sizeof (ElfW2(LIBELFBITS,Shdr)))
    [all...]
libelfP.h 498 size_t shnum) internal_function;
500 size_t shnum) internal_function;
502 extern int __elf32_updatemmap (Elf *elf, int change_bo, size_t shnum)
504 extern int __elf64_updatemmap (Elf *elf, int change_bo, size_t shnum)
506 extern int __elf32_updatefile (Elf *elf, int change_bo, size_t shnum)
508 extern int __elf64_updatefile (Elf *elf, int change_bo, size_t shnum)
  /external/elfutils/0.153/libebl/
eblsectionname.c 60 ebl_section_name (ebl, section, xsection, buf, len, scnnames, shnum)
67 size_t shnum;
85 && (size_t) section < shnum)
libebl.h 132 const char *scnnames[], size_t shnum);