Lines Matching defs:name

2325 	const char	*name;
2337 static bool kern_sym_name_match(const char *kname, const char *name)
2339 size_t n = strlen(name);
2341 return !strcmp(kname, name) ||
2342 (!strncmp(kname, name, n) && kname[n] == '\t');
2345 static bool kern_sym_match(struct sym_args *args, const char *name, char type)
2347 /* A function with the same name, and global or the n'th found or any */
2349 kern_sym_name_match(name, args->name) &&
2355 static int find_kern_sym_cb(void *arg, const char *name, char type, u64 start)
2365 } else if (kern_sym_match(args, name, type)) {
2369 } else if (kern_sym_match(args, name, type)) {
2377 static int print_kern_sym_cb(void *arg, const char *name, char type, u64 start)
2381 if (kern_sym_match(args, name, type)) {
2383 ++args->cnt, start, type, name);
2387 pr_err("\t\twhich is near\t\t%s\n", name);
2411 .name = sym_name,
2428 pr_err("Multiple kernel symbols with name '%s'\n", sym_name);
2431 pr_err("Disambiguate symbol name by inserting #n after the name e.g. %s #2\n",
2448 static int find_entire_kern_cb(void *arg, const char *name __maybe_unused,
2551 static struct dso *load_dso(const char *name)
2556 map = dso__new_map(name);
2561 pr_err("File '%s' not found or has no symbols.\n", name);
2570 static bool dso_sym_match(struct symbol *sym, const char *name, int *cnt,
2573 /* Same name, and global or the n'th found or any */
2574 return !arch__compare_symbol_names(name, sym->name) &&
2586 pr_err("Multiple symbols with name '%s'\n", sym_name);
2595 sym->name);
2599 pr_err("\t\twhich is near\t\t%s\n", sym->name);
2604 pr_err("Disambiguate symbol name by inserting #n after the name e.g. %s #2\n",
2779 pr_err("Filter format is: filter|start|stop|tracestop <start symbol or address> [/ <end symbol or size>] [@<file name>]\n");