Lines Matching refs:map
489 struct map *machine__new_module(struct machine *machine, u64 start, in machine__new_module()
492 struct map *map = NULL; in machine__new_module() local
499 map = map_groups__find_by_name(&machine->kmaps, MAP__FUNCTION, in machine__new_module()
501 if (map) in machine__new_module()
508 map = map__new2(start, dso, MAP__FUNCTION); in machine__new_module()
509 if (map == NULL) in machine__new_module()
512 map_groups__insert(&machine->kmaps, map); in machine__new_module()
516 return map; in machine__new_module()
798 struct map *map = machine->vmlinux_maps[type]; in machine__load_kallsyms() local
799 int ret = dso__load_kallsyms(map->dso, filename, map, filter); in machine__load_kallsyms()
802 dso__set_loaded(map->dso, type); in machine__load_kallsyms()
817 struct map *map = machine->vmlinux_maps[type]; in machine__load_vmlinux_path() local
818 int ret = dso__load_vmlinux_path(map->dso, map, filter); in machine__load_vmlinux_path()
821 dso__set_loaded(map->dso, type); in machine__load_vmlinux_path()
869 struct map *map; in map_groups__set_module_path() local
872 map = map_groups__find_by_name(mg, MAP__FUNCTION, m->name); in map_groups__set_module_path()
873 if (map == NULL) in map_groups__set_module_path()
880 dso__set_long_name(map->dso, long_name, true); in map_groups__set_module_path()
881 dso__kernel_module_get_build_id(map->dso, ""); in map_groups__set_module_path()
887 if (m->comp && is_kmod_dso(map->dso)) in map_groups__set_module_path()
888 map->dso->symtab_type++; in map_groups__set_module_path()
971 struct map *map; in machine__create_module() local
973 map = machine__new_module(machine, start, name); in machine__create_module()
974 if (map == NULL) in machine__create_module()
977 dso__kernel_module_get_build_id(map->dso, machine->root_dir); in machine__create_module()
1076 struct map *map; in machine__process_kernel_mmap_event() local
1096 map = machine__new_module(machine, event->mmap.start, in machine__process_kernel_mmap_event()
1098 if (map == NULL) in machine__process_kernel_mmap_event()
1101 map->end = map->start + event->mmap.len; in machine__process_kernel_mmap_event()
1165 struct map *map; in machine__process_mmap2_event() local
1190 map = map__new(machine, event->mmap2.start, in machine__process_mmap2_event()
1199 if (map == NULL) in machine__process_mmap2_event()
1202 thread__insert_map(thread, map); in machine__process_mmap2_event()
1215 struct map *map; in machine__process_mmap_event() local
1240 map = map__new(machine, event->mmap.start, in machine__process_mmap_event()
1246 if (map == NULL) in machine__process_mmap_event()
1249 thread__insert_map(thread, map); in machine__process_mmap_event()
1368 ams->map = al.map; in ip__resolve_ams()
1379 if (al.map == NULL) { in ip__resolve_data()
1391 ams->map = al.map; in ip__resolve_data()
1463 return callchain_cursor_append(&callchain_cursor, al.addr, al.map, al.sym); in add_callchain_ip()
1718 entry->map, entry->sym); in unwind_entry()
1829 struct map *map = machine__kernel_map(machine, MAP__FUNCTION); in machine__get_kernel_start() local
1841 if (map) { in machine__get_kernel_start()
1842 err = map__load(map, machine->symbol_filter); in machine__get_kernel_start()
1843 if (map->start) in machine__get_kernel_start()
1844 machine->kernel_start = map->start; in machine__get_kernel_start()