Home
last modified time | relevance | path

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

/kernel/
Dkexec_file.c1066 const Elf_Sym *syms; in kexec_purgatory_find_symbol() local
1084 syms = (void *)ehdr + sechdrs[i].sh_offset; in kexec_purgatory_find_symbol()
1088 if (ELF_ST_BIND(syms[k].st_info) != STB_GLOBAL) in kexec_purgatory_find_symbol()
1091 if (strcmp(strtab + syms[k].st_name, name) != 0) in kexec_purgatory_find_symbol()
1094 if (syms[k].st_shndx == SHN_UNDEF || in kexec_purgatory_find_symbol()
1095 syms[k].st_shndx >= ehdr->e_shnum) { in kexec_purgatory_find_symbol()
1097 name, syms[k].st_shndx); in kexec_purgatory_find_symbol()
1102 return &syms[k]; in kexec_purgatory_find_symbol()
Dmodule.c405 bool (*fn)(const struct symsearch *syms, in each_symbol_in_section() argument
453 { mod->syms, mod->syms + mod->num_syms, mod->crcs, in each_symbol_section()
496 static bool check_exported_symbol(const struct symsearch *syms, in check_exported_symbol() argument
503 if (syms->licence == GPL_ONLY) in check_exported_symbol()
505 if (syms->licence == WILL_BE_GPL_ONLY && fsa->warn) { in check_exported_symbol()
513 if (syms->unused && fsa->warn) { in check_exported_symbol()
525 fsa->crc = symversion(syms->crcs, symnum); in check_exported_symbol()
526 fsa->sym = &syms->start[symnum]; in check_exported_symbol()
564 static bool find_exported_symbol_in_section(const struct symsearch *syms, in find_exported_symbol_in_section() argument
571 sym = bsearch(fsa->name, syms->start, syms->stop - syms->start, in find_exported_symbol_in_section()
[all …]