Searched refs:syms (Results 1 – 2 of 2) sorted by relevance
/kernel/ |
D | kexec_file.c | 900 Elf_Sym *syms; in kexec_purgatory_find_symbol() local 920 syms = (Elf_Sym *)sechdrs[i].sh_offset; in kexec_purgatory_find_symbol() 924 if (ELF_ST_BIND(syms[k].st_info) != STB_GLOBAL) in kexec_purgatory_find_symbol() 927 if (strcmp(strtab + syms[k].st_name, name) != 0) in kexec_purgatory_find_symbol() 930 if (syms[k].st_shndx == SHN_UNDEF || in kexec_purgatory_find_symbol() 931 syms[k].st_shndx >= ehdr->e_shnum) { in kexec_purgatory_find_symbol() 933 name, syms[k].st_shndx); in kexec_purgatory_find_symbol() 938 return &syms[k]; in kexec_purgatory_find_symbol()
|
D | module.c | 410 bool (*fn)(const struct symsearch *syms, in each_symbol_in_section() argument 458 { mod->syms, mod->syms + mod->num_syms, mod->crcs, in each_symbol_section() 501 static bool check_symbol(const struct symsearch *syms, in check_symbol() argument 508 if (syms->licence == GPL_ONLY) in check_symbol() 510 if (syms->licence == WILL_BE_GPL_ONLY && fsa->warn) { in check_symbol() 518 if (syms->unused && fsa->warn) { in check_symbol() 530 fsa->crc = symversion(syms->crcs, symnum); in check_symbol() 531 fsa->sym = &syms->start[symnum]; in check_symbol() 543 static bool find_symbol_in_section(const struct symsearch *syms, in find_symbol_in_section() argument 550 sym = bsearch(fsa->name, syms->start, syms->stop - syms->start, in find_symbol_in_section() [all …]
|