Home
last modified time | relevance | path

Searched refs:shnum (Results 1 – 7 of 7) sorted by relevance

/linux/arch/s390/tools/
A Drelocs.c42 static unsigned long shnum; variable
146 shnum = ehdr.e_shnum; in read_ehdr()
171 if (shnum == SHN_UNDEF) in read_ehdr()
172 shnum = elf_xword_to_cpu(shdr.sh_size); in read_ehdr()
178 if (shstrndx >= shnum) in read_ehdr()
187 secs = calloc(shnum, sizeof(struct section)); in read_shdrs()
194 for (i = 0; i < shnum; i++) { in read_shdrs()
199 i, shnum, strerror(errno)); in read_shdrs()
213 if (sec->shdr.sh_link < shnum) in read_shdrs()
223 for (i = 0; i < shnum; i++) { in read_relocs()
[all …]
/linux/arch/x86/tools/
A Drelocs.c15 static unsigned long shnum; variable
264 if (shndx < shnum) in sec_name()
291 for (i = 0; i < shnum; i++) { in sym_lookup()
399 shnum = ehdr.e_shnum; in read_ehdr()
425 if (shnum == SHN_UNDEF) in read_ehdr()
432 if (shstrndx >= shnum) in read_ehdr()
448 for (i = 0; i < shnum; i++) { in read_shdrs()
474 for (i = 0; i < shnum; i++) { in read_strtabs()
496 for (i = 0; i < shnum; i++) { in read_symtabs()
550 for (i = 0; i < shnum; i++) { in read_relocs()
[all …]
/linux/scripts/
A Dsorttable.h284 unsigned int shnum; in do_sort() local
302 shnum = r2(&ehdr->e_shnum); in do_sort()
303 if (shnum == SHN_UNDEF) in do_sort()
304 shnum = _r(&shdr[0].sh_size); in do_sort()
306 for (i = 0, s = shdr; s < shdr + shnum; i++, s++) { in do_sort()
/linux/drivers/remoteproc/
A Dremoteproc_coredump.c356 int shnum; in rproc_coredump_using_sections() local
376 shnum = 2; in rproc_coredump_using_sections()
386 shnum++; in rproc_coredump_using_sections()
407 elf_hdr_set_e_shnum(class, ehdr, shnum); in rproc_coredump_using_sections()
A Dremoteproc_elf_loader.c258 u16 shnum = elf_hdr_get_e_shnum(class, ehdr); local
270 for (i = 0; i < shnum; i++, shdr += elf_shdr_get_size) {
A Dpru_rproc.c876 u16 shnum = ehdr->e_shnum; in pru_rproc_find_interrupt_map() local
887 for (i = 0; i < shnum; i++, shdr++) { in pru_rproc_find_interrupt_map()
/linux/kernel/module/
A Dkallsyms.c79 unsigned int shnum, unsigned int pcpundx) in is_core_symbol() argument
85 src->st_shndx >= shnum || in is_core_symbol()

Completed in 24 milliseconds