Lines Matching refs:host_machine
75 static struct machine *host_machine; variable
90 if (host_machine || user_only) /* already initialized */ in init_symbol_maps()
96 host_machine = machine__new_host(); in init_symbol_maps()
97 if (!host_machine) { in init_symbol_maps()
110 if (host_machine) { in exit_symbol_maps()
111 machine__delete(host_machine); in exit_symbol_maps()
112 host_machine = NULL; in exit_symbol_maps()
120 return machine__find_kernel_function_by_name(host_machine, name, mapp, in __find_kernel_function_by_name()
126 return machine__find_kernel_function(host_machine, addr, mapp, NULL); in __find_kernel_function()
134 if (map__load(host_machine->vmlinux_maps[MAP__FUNCTION], NULL) < 0) in kernel_get_ref_reloc_sym()
137 kmap = map__kmap(host_machine->vmlinux_maps[MAP__FUNCTION]); in kernel_get_ref_reloc_sym()
165 struct map_groups *grp = &host_machine->kmaps; in kernel_get_module_map()
169 return machine__new_module(host_machine, 0, module); in kernel_get_module_map()
210 list_for_each_entry(dso, &host_machine->kernel_dsos.head, in kernel_get_module_dso()
220 map = host_machine->vmlinux_maps[MAP__FUNCTION]; in kernel_get_module_dso()