Lines Matching refs:sym_name
2403 static int sym_not_found_error(const char *sym_name, int idx) in sym_not_found_error() argument
2407 idx, sym_name); in sym_not_found_error()
2409 pr_err("Global symbol '%s' not found.\n", sym_name); in sym_not_found_error()
2411 pr_err("Symbol '%s' not found.\n", sym_name); in sym_not_found_error()
2418 static int find_kern_sym(const char *sym_name, u64 *start, u64 *size, int idx) in find_kern_sym() argument
2421 .name = sym_name, in find_kern_sym()
2438 pr_err("Multiple kernel symbols with name '%s'\n", sym_name); in find_kern_sym()
2442 sym_name); in find_kern_sym()
2449 return sym_not_found_error(sym_name, idx); in find_kern_sym()
2590 static void print_duplicate_syms(struct dso *dso, const char *sym_name) in print_duplicate_syms() argument
2596 pr_err("Multiple symbols with name '%s'\n", sym_name); in print_duplicate_syms()
2600 if (dso_sym_match(sym, sym_name, &cnt, -1)) { in print_duplicate_syms()
2615 sym_name); in print_duplicate_syms()
2619 static int find_dso_sym(struct dso *dso, const char *sym_name, u64 *start, in find_dso_sym() argument
2636 } else if (dso_sym_match(sym, sym_name, &cnt, idx)) { in find_dso_sym()
2637 print_duplicate_syms(dso, sym_name); in find_dso_sym()
2640 } else if (dso_sym_match(sym, sym_name, &cnt, idx)) { in find_dso_sym()
2648 return sym_not_found_error(sym_name, idx); in find_dso_sym()