Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/tools/
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 …]
/Linux-v5.10/scripts/
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()
/Linux-v5.10/drivers/remoteproc/
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) {
/Linux-v5.10/kernel/
Dmodule.c2686 unsigned int shnum, unsigned int pcpundx) in is_core_symbol() argument
2691 || src->st_shndx >= shnum in is_core_symbol()