Searched refs:shnum (Results 1 – 6 of 6) sorted by relevance
15 static unsigned long shnum; variable251 if (shndx < shnum) { in sec_name()279 for (i = 0; i < shnum; i++) { in sym_lookup()374 shnum = ehdr.e_shnum; in read_ehdr()391 if (shnum == SHN_UNDEF || shstrndx == SHN_XINDEX) { in read_ehdr()400 if (shnum == SHN_UNDEF) in read_ehdr()401 shnum = elf_xword_to_cpu(shdr.sh_size); in read_ehdr()407 if (shstrndx >= shnum) in read_ehdr()416 secs = calloc(shnum, sizeof(struct section)); in read_shdrs()419 shnum); in read_shdrs()[all …]
218 unsigned int shnum; in do_sort() local231 shnum = r2(&ehdr->e_shnum); in do_sort()232 if (shnum == SHN_UNDEF) in do_sort()233 shnum = _r(&shdr[0].sh_size); in do_sort()235 for (i = 0, s = shdr; s < shdr + shnum; i++, s++) { in do_sort()
354 int shnum; in rproc_coredump_using_sections() local374 shnum = 2; in rproc_coredump_using_sections()384 shnum++; in rproc_coredump_using_sections()405 elf_hdr_set_e_shnum(class, ehdr, shnum); in rproc_coredump_using_sections()
258 u16 shnum = elf_hdr_get_e_shnum(class, ehdr); local270 for (i = 0; i < shnum; i++, shdr += elf_shdr_get_size) {
654 u16 shnum = ehdr->e_shnum; in pru_rproc_find_interrupt_map() local665 for (i = 0; i < shnum; i++, shdr++) { in pru_rproc_find_interrupt_map()
2666 unsigned int shnum, unsigned int pcpundx) in is_core_symbol() argument2671 || src->st_shndx >= shnum in is_core_symbol()