Home
last modified time | relevance | path

Searched refs:shnum (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/tools/
H A Drelocs.c15 static unsigned long shnum; variable
248 if (shndx < shnum) { in sec_name()
276 for (i = 0; i < shnum; i++) { in sym_lookup()
371 shnum = ehdr.e_shnum; in read_ehdr()
388 if (shnum == SHN_UNDEF || shstrndx == SHN_XINDEX) { in read_ehdr()
397 if (shnum == SHN_UNDEF) in read_ehdr()
398 shnum = elf_xword_to_cpu(shdr.sh_size); in read_ehdr()
404 if (shstrndx >= shnum) in read_ehdr()
413 secs = calloc(shnum, sizeof(struct section)); in read_shdrs()
416 shnum); in read_shdrs()
[all...]
/kernel/linux/linux-6.6/arch/x86/tools/
H A 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...]
/kernel/linux/linux-5.10/scripts/
H A Dsorttable.h218 unsigned int shnum; in do_sort() local
231 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()
/kernel/linux/linux-6.6/scripts/
H 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()
/kernel/linux/linux-6.6/drivers/remoteproc/
H 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()
H 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) {
H 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()
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Dremoteproc_elf_loader.c245 u16 shnum = elf_hdr_get_e_shnum(class, ehdr); local
257 for (i = 0; i < shnum; i++, shdr += elf_shdr_get_size) {
/kernel/linux/linux-6.6/kernel/module/
H A Dkallsyms.c79 unsigned int shnum, unsigned int pcpundx) in is_core_symbol()
85 src->st_shndx >= shnum || in is_core_symbol()
78 is_core_symbol(const Elf_Sym *src, const Elf_Shdr *sechdrs, unsigned int shnum, unsigned int pcpundx) is_core_symbol() argument
/kernel/linux/linux-5.10/kernel/
H A Dmodule.c2730 unsigned int shnum, unsigned int pcpundx) in is_core_symbol()
2735 || src->st_shndx >= shnum in is_core_symbol()
2729 is_core_symbol(const Elf_Sym *src, const Elf_Shdr *sechdrs, unsigned int shnum, unsigned int pcpundx) is_core_symbol() argument

Completed in 24 milliseconds