Lines Matching defs:curr_map
751 struct map *curr_map;
775 curr_map = maps__find(kmaps, pos->start);
777 if (!curr_map) {
782 pos->start -= curr_map->start - curr_map->pgoff;
783 if (pos->end > curr_map->end)
784 pos->end = curr_map->end;
786 pos->end -= curr_map->start - curr_map->pgoff;
787 symbols__insert(&curr_map->dso->symbols, pos);
806 struct map *curr_map = initial_map;
834 if (strcmp(curr_map->dso->short_name, module)) {
835 if (curr_map != initial_map &&
840 * continuous in * kallsyms, so curr_map
845 dso__set_loaded(curr_map->dso);
848 curr_map = maps__find_by_name(kmaps, module);
849 if (curr_map == NULL) {
854 curr_map = initial_map;
858 if (curr_map->dso->loaded &&
866 pos->start = curr_map->map_ip(curr_map, pos->start);
867 pos->end = curr_map->map_ip(curr_map, pos->end);
878 } else if (curr_map != initial_map) {
889 curr_map = initial_map;
908 curr_map = map__new2(pos->start, ndso);
909 if (curr_map == NULL) {
914 curr_map->map_ip = curr_map->unmap_ip = identity__map_ip;
915 maps__insert(kmaps, curr_map);
923 if (curr_map != initial_map) {
925 symbols__insert(&curr_map->dso->symbols, pos);
936 if (curr_map != initial_map &&
939 dso__set_loaded(curr_map->dso);