Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/tools/
Drelocs.c15 static unsigned long shnum; variable
259 if (shndx < shnum) { in sec_name()
287 for (i = 0; i < shnum; i++) { in sym_lookup()
399 shnum = ehdr.e_shnum; in read_ehdr()
416 if (shnum == SHN_UNDEF || shstrndx == SHN_XINDEX) { in read_ehdr()
425 if (shnum == SHN_UNDEF) in read_ehdr()
426 shnum = elf_xword_to_cpu(shdr.sh_size); in read_ehdr()
432 if (shstrndx >= shnum) in read_ehdr()
441 secs = calloc(shnum, sizeof(struct section)); in read_shdrs()
444 shnum); in read_shdrs()
[all …]
/linux-6.1.9/scripts/
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-6.1.9/drivers/remoteproc/
Dremoteproc_coredump.c354 int shnum; in rproc_coredump_using_sections() local
374 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()
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) {
Dpru_rproc.c654 u16 shnum = ehdr->e_shnum; in pru_rproc_find_interrupt_map() local
665 for (i = 0; i < shnum; i++, shdr++) { in pru_rproc_find_interrupt_map()
/linux-6.1.9/kernel/module/
Dkallsyms.c78 unsigned int shnum, unsigned int pcpundx) in is_core_symbol() argument
83 src->st_shndx >= shnum || in is_core_symbol()