Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/kernel/
Dmodule.c2652 unsigned int shnum, unsigned int pcpundx) in is_core_symbol() argument
2657 || src->st_shndx >= shnum in is_core_symbol()