Lines Matching refs:name
118 const u8 *name; in get_symbol_offset() local
125 name = &kallsyms_names[kallsyms_markers[pos >> 8]]; in get_symbol_offset()
134 len = *name; in get_symbol_offset()
141 len = ((len & 0x7F) | (name[1] << 7)) + 1; in get_symbol_offset()
143 name = name + len + 1; in get_symbol_offset()
146 return name - kallsyms_names; in get_symbol_offset()
189 static int compare_symbol_name(const char *name, char *namebuf) in compare_symbol_name() argument
197 return strcmp(name, namebuf); in compare_symbol_name()
210 static int kallsyms_lookup_names(const char *name, in kallsyms_lookup_names() argument
227 ret = compare_symbol_name(name, namebuf); in kallsyms_lookup_names()
244 if (compare_symbol_name(name, namebuf)) in kallsyms_lookup_names()
256 if (compare_symbol_name(name, namebuf)) in kallsyms_lookup_names()
267 unsigned long kallsyms_lookup_name(const char *name) in kallsyms_lookup_name() argument
273 if (!*name) in kallsyms_lookup_name()
276 ret = kallsyms_lookup_names(name, &i, NULL); in kallsyms_lookup_name()
280 return module_kallsyms_lookup_name(name); in kallsyms_lookup_name()
307 const char *name, void *data) in kallsyms_on_each_match_symbol() argument
312 ret = kallsyms_lookup_names(name, &start, &end); in kallsyms_on_each_match_symbol()
485 unsigned long *offset, char *modname, char *name) in lookup_symbol_attrs() argument
489 name[0] = '\0'; in lookup_symbol_attrs()
490 name[KSYM_NAME_LEN - 1] = '\0'; in lookup_symbol_attrs()
498 name, KSYM_NAME_LEN); in lookup_symbol_attrs()
503 res = lookup_module_symbol_attrs(addr, size, offset, modname, name); in lookup_symbol_attrs()
508 cleanup_symbol_name(name); in lookup_symbol_attrs()
518 const char *name; in __sprint_symbol() local
523 name = kallsyms_lookup_buildid(address, &size, &offset, &modname, &buildid, in __sprint_symbol()
525 if (!name) in __sprint_symbol()
528 if (name != buffer) in __sprint_symbol()
529 strcpy(buffer, name); in __sprint_symbol()
653 char name[KSYM_NAME_LEN]; member
660 char *type, char *name) in arch_get_kallsym() argument
669 iter->name); in get_ksymbol_arch()
683 iter->name, iter->module_name, in get_ksymbol_mod()
702 iter->name, iter->module_name, in get_ksymbol_ftrace_mod()
720 iter->name); in get_ksymbol_bpf()
740 iter->name) < 0 ? 0 : 1; in get_ksymbol_kprobe()
753 off = kallsyms_expand_symbol(off, iter->name, ARRAY_SIZE(iter->name)); in get_ksymbol_core()
760 iter->name[0] = '\0'; in reset_iter()
842 if (!iter->name[0]) in s_show()
857 type, iter->name, iter->module_name); in s_show()
860 iter->type, iter->name); in s_show()
1031 if (kdb_walk_kallsyms_iter.name[0]) in kdb_walk_kallsyms()
1032 return kdb_walk_kallsyms_iter.name; in kdb_walk_kallsyms()