Lines Matching refs:fsa

451 	struct find_symbol_arg *fsa = data;  in check_exported_symbol()  local
453 if (!fsa->gplok && syms->license == GPL_ONLY) in check_exported_symbol()
455 fsa->owner = owner; in check_exported_symbol()
456 fsa->crc = symversion(syms->crcs, symnum); in check_exported_symbol()
457 fsa->sym = &syms->start[symnum]; in check_exported_symbol()
458 fsa->license = syms->license; in check_exported_symbol()
500 struct find_symbol_arg *fsa = data; in find_exported_symbol_in_section() local
503 sym = bsearch(fsa->name, syms->start, syms->stop - syms->start, in find_exported_symbol_in_section()
517 static bool find_symbol(struct find_symbol_arg *fsa) in find_symbol() argument
532 if (find_exported_symbol_in_section(&arr[i], NULL, fsa)) in find_symbol()
549 if (find_exported_symbol_in_section(&arr[i], mod, fsa)) in find_symbol()
553 pr_debug("Failed to find symbol %s\n", fsa->name); in find_symbol()
1016 struct find_symbol_arg fsa = { in __symbol_put() local
1022 BUG_ON(!find_symbol(&fsa)); in __symbol_put()
1023 module_put(fsa.owner); in __symbol_put()
1292 struct find_symbol_arg fsa = { in check_modstruct_version() local
1302 if (!find_symbol(&fsa)) { in check_modstruct_version()
1307 return check_version(info, "module_layout", mod, fsa.crc); in check_modstruct_version()
1401 struct find_symbol_arg fsa = { in resolve_symbol() local
1415 if (!find_symbol(&fsa)) in resolve_symbol()
1418 if (fsa.license == GPL_ONLY) in resolve_symbol()
1421 if (!inherit_taint(mod, fsa.owner)) { in resolve_symbol()
1422 fsa.sym = NULL; in resolve_symbol()
1426 if (!check_version(info, name, mod, fsa.crc)) { in resolve_symbol()
1427 fsa.sym = ERR_PTR(-EINVAL); in resolve_symbol()
1431 err = verify_namespace_is_imported(info, fsa.sym, mod); in resolve_symbol()
1433 fsa.sym = ERR_PTR(err); in resolve_symbol()
1437 err = ref_module(mod, fsa.owner); in resolve_symbol()
1439 fsa.sym = ERR_PTR(err); in resolve_symbol()
1445 strncpy(ownername, module_name(fsa.owner), MODULE_NAME_LEN); in resolve_symbol()
1448 return fsa.sym; in resolve_symbol()
2216 struct find_symbol_arg fsa = { in __symbol_get() local
2223 if (!find_symbol(&fsa) || strong_try_module_get(fsa.owner)) { in __symbol_get()
2228 return (void *)kernel_symbol_value(fsa.sym); in __symbol_get()
2252 struct find_symbol_arg fsa = { in verify_exported_symbols() local
2256 if (find_symbol(&fsa)) { in verify_exported_symbols()
2260 module_name(fsa.owner)); in verify_exported_symbols()