Lines Matching refs:syms
411 bool (*fn)(const struct symsearch *syms, in each_symbol_in_section() argument
460 { mod->syms, mod->syms + mod->num_syms, mod->crcs, in each_symbol_section()
503 static bool check_exported_symbol(const struct symsearch *syms, in check_exported_symbol() argument
510 if (syms->license == GPL_ONLY) in check_exported_symbol()
512 if (syms->license == WILL_BE_GPL_ONLY && fsa->warn) { in check_exported_symbol()
520 if (syms->unused && fsa->warn) { in check_exported_symbol()
532 fsa->crc = symversion(syms->crcs, symnum); in check_exported_symbol()
533 fsa->sym = &syms->start[symnum]; in check_exported_symbol()
534 fsa->license = syms->license; in check_exported_symbol()
572 static bool find_exported_symbol_in_section(const struct symsearch *syms, in find_exported_symbol_in_section() argument
579 sym = bsearch(fsa->name, syms->start, syms->stop - syms->start, in find_exported_symbol_in_section()
582 if (sym != NULL && check_exported_symbol(syms, owner, in find_exported_symbol_in_section()
583 sym - syms->start, data)) in find_exported_symbol_in_section()
2296 { mod->syms, mod->num_syms }, in verify_exported_symbols()
2639 ks = lookup_exported_symbol(name, mod->syms, mod->syms + mod->num_syms); in is_exported()
3195 mod->syms = section_objs(info, "__ksymtab", in find_module_sections()
3196 sizeof(*mod->syms), &mod->num_syms); in find_module_sections()