Lines Matching refs:curr_map

762 	struct map *curr_map;  in maps__split_kallsyms_for_kcore()  local
786 curr_map = maps__find(kmaps, pos->start); in maps__split_kallsyms_for_kcore()
788 if (!curr_map) { in maps__split_kallsyms_for_kcore()
793 pos->start -= curr_map->start - curr_map->pgoff; in maps__split_kallsyms_for_kcore()
794 if (pos->end > curr_map->end) in maps__split_kallsyms_for_kcore()
795 pos->end = curr_map->end; in maps__split_kallsyms_for_kcore()
797 pos->end -= curr_map->start - curr_map->pgoff; in maps__split_kallsyms_for_kcore()
798 symbols__insert(&curr_map->dso->symbols, pos); in maps__split_kallsyms_for_kcore()
817 struct map *curr_map = initial_map; in maps__split_kallsyms() local
845 if (strcmp(curr_map->dso->short_name, module)) { in maps__split_kallsyms()
846 if (curr_map != initial_map && in maps__split_kallsyms()
856 dso__set_loaded(curr_map->dso); in maps__split_kallsyms()
859 curr_map = maps__find_by_name(kmaps, module); in maps__split_kallsyms()
860 if (curr_map == NULL) { in maps__split_kallsyms()
865 curr_map = initial_map; in maps__split_kallsyms()
869 if (curr_map->dso->loaded && in maps__split_kallsyms()
877 pos->start = curr_map->map_ip(curr_map, pos->start); in maps__split_kallsyms()
878 pos->end = curr_map->map_ip(curr_map, pos->end); in maps__split_kallsyms()
889 } else if (curr_map != initial_map) { in maps__split_kallsyms()
900 curr_map = initial_map; in maps__split_kallsyms()
919 curr_map = map__new2(pos->start, ndso); in maps__split_kallsyms()
920 if (curr_map == NULL) { in maps__split_kallsyms()
925 curr_map->map_ip = curr_map->unmap_ip = identity__map_ip; in maps__split_kallsyms()
926 maps__insert(kmaps, curr_map); in maps__split_kallsyms()
934 if (curr_map != initial_map) { in maps__split_kallsyms()
936 symbols__insert(&curr_map->dso->symbols, pos); in maps__split_kallsyms()
947 if (curr_map != initial_map && in maps__split_kallsyms()
950 dso__set_loaded(curr_map->dso); in maps__split_kallsyms()