Lines Matching refs:curr_map
799 struct map *curr_map;
812 curr_map = maps__find(kmaps, pos->start);
814 if (!curr_map) {
818 curr_map_dso = map__dso(curr_map);
819 pos->start -= map__start(curr_map) - map__pgoff(curr_map);
820 if (pos->end > map__end(curr_map))
821 pos->end = map__end(curr_map);
823 pos->end -= map__start(curr_map) - map__pgoff(curr_map);
826 map__put(curr_map);
844 struct map *curr_map = map__get(initial_map);
873 curr_map_dso = map__dso(curr_map);
875 if (!RC_CHK_EQUAL(curr_map, initial_map) &&
880 * continuous in * kallsyms, so curr_map
888 map__zput(curr_map);
889 curr_map = maps__find_by_name(kmaps, module);
890 if (curr_map == NULL) {
895 curr_map = map__get(initial_map);
898 curr_map_dso = map__dso(curr_map);
907 pos->start = map__map_ip(curr_map, pos->start);
908 pos->end = map__map_ip(curr_map, pos->end);
919 } else if (!RC_CHK_EQUAL(curr_map, initial_map)) {
930 map__zput(curr_map);
931 curr_map = map__get(initial_map);
945 map__zput(curr_map);
951 curr_map = map__new2(pos->start, ndso);
952 if (curr_map == NULL) {
957 map__set_mapping_type(curr_map, MAPPING_TYPE__IDENTITY);
958 if (maps__insert(kmaps, curr_map)) {
959 map__zput(curr_map);
970 if (!RC_CHK_EQUAL(curr_map, initial_map)) {
971 struct dso *curr_map_dso = map__dso(curr_map);
985 if (!RC_CHK_EQUAL(curr_map, initial_map) &&
988 dso__set_loaded(map__dso(curr_map));
990 map__put(curr_map);