Lines Matching refs:sym_name
2314 static int sym_not_found_error(const char *sym_name, int idx) in sym_not_found_error() argument
2318 idx, sym_name); in sym_not_found_error()
2320 pr_err("Global symbol '%s' not found.\n", sym_name); in sym_not_found_error()
2322 pr_err("Symbol '%s' not found.\n", sym_name); in sym_not_found_error()
2329 static int find_kern_sym(const char *sym_name, u64 *start, u64 *size, int idx) in find_kern_sym() argument
2332 .name = sym_name, in find_kern_sym()
2349 pr_err("Multiple kernel symbols with name '%s'\n", sym_name); in find_kern_sym()
2353 sym_name); in find_kern_sym()
2360 return sym_not_found_error(sym_name, idx); in find_kern_sym()
2498 static void print_duplicate_syms(struct dso *dso, const char *sym_name) in print_duplicate_syms() argument
2504 pr_err("Multiple symbols with name '%s'\n", sym_name); in print_duplicate_syms()
2508 if (dso_sym_match(sym, sym_name, &cnt, -1)) { in print_duplicate_syms()
2523 sym_name); in print_duplicate_syms()
2527 static int find_dso_sym(struct dso *dso, const char *sym_name, u64 *start, in find_dso_sym() argument
2544 } else if (dso_sym_match(sym, sym_name, &cnt, idx)) { in find_dso_sym()
2545 print_duplicate_syms(dso, sym_name); in find_dso_sym()
2548 } else if (dso_sym_match(sym, sym_name, &cnt, idx)) { in find_dso_sym()
2556 return sym_not_found_error(sym_name, idx); in find_dso_sym()