Lines Matching defs:curr_map
793 struct map *curr_map;
818 curr_map = maps__find(kmaps, pos->start);
820 if (!curr_map) {
824 curr_map_dso = map__dso(curr_map);
825 pos->start -= map__start(curr_map) - map__pgoff(curr_map);
826 if (pos->end > map__end(curr_map))
827 pos->end = map__end(curr_map);
829 pos->end -= map__start(curr_map) - map__pgoff(curr_map);
849 struct map *curr_map = initial_map;
878 curr_map_dso = map__dso(curr_map);
880 if (RC_CHK_ACCESS(curr_map) != RC_CHK_ACCESS(initial_map) &&
885 * continuous in * kallsyms, so curr_map
893 curr_map = maps__find_by_name(kmaps, module);
894 if (curr_map == NULL) {
899 curr_map = initial_map;
902 curr_map_dso = map__dso(curr_map);
911 pos->start = map__map_ip(curr_map, pos->start);
912 pos->end = map__map_ip(curr_map, pos->end);
923 } else if (curr_map != initial_map) {
934 curr_map = initial_map;
953 curr_map = map__new2(pos->start, ndso);
954 if (curr_map == NULL) {
959 map__set_map_ip(curr_map, identity__map_ip);
960 map__set_unmap_ip(curr_map, identity__map_ip);
961 if (maps__insert(kmaps, curr_map)) {
972 if (curr_map != initial_map) {
973 struct dso *curr_map_dso = map__dso(curr_map);
987 if (curr_map != initial_map &&
990 dso__set_loaded(map__dso(curr_map));