Lines Matching refs:sym
316 struct symbol *sym; in build_alloc_func_list() local
338 map__for_each_symbol(kernel_map, sym, node) { in build_alloc_func_list()
339 if (regexec(&alloc_func_regex, sym->name, 0, NULL, 0)) in build_alloc_func_list()
347 pr_debug("alloc func: %s\n", sym->name); in build_alloc_func_list()
348 func[nr_alloc_funcs].start = sym->start; in build_alloc_func_list()
349 func[nr_alloc_funcs].end = sym->end; in build_alloc_func_list()
350 func[nr_alloc_funcs].name = sym->name; in build_alloc_func_list()
964 struct symbol *sym = NULL; in __print_slab_result() local
972 sym = machine__find_kernel_function(machine, addr, &map, NULL); in __print_slab_result()
976 if (sym != NULL) in __print_slab_result()
977 snprintf(buf, sizeof(buf), "%s+%" PRIx64 "", sym->name, in __print_slab_result()
978 addr - map->unmap_ip(map, sym->start)); in __print_slab_result()
1030 struct symbol *sym; in __print_page_alloc_result() local
1036 sym = machine__find_kernel_function(machine, data->callsite, in __print_page_alloc_result()
1038 if (sym && sym->name) in __print_page_alloc_result()
1039 caller = sym->name; in __print_page_alloc_result()
1073 struct symbol *sym; in __print_page_caller_result() local
1079 sym = machine__find_kernel_function(machine, data->callsite, in __print_page_caller_result()
1081 if (sym && sym->name) in __print_page_caller_result()
1082 caller = sym->name; in __print_page_caller_result()