Lines Matching refs:curr_map

655 	struct map *curr_map;  in dso__split_kallsyms_for_kcore()  local
679 curr_map = map_groups__find(kmaps, map->type, pos->start); in dso__split_kallsyms_for_kcore()
681 if (!curr_map || (filter && filter(curr_map, pos))) { in dso__split_kallsyms_for_kcore()
686 pos->start -= curr_map->start - curr_map->pgoff; in dso__split_kallsyms_for_kcore()
688 pos->end -= curr_map->start - curr_map->pgoff; in dso__split_kallsyms_for_kcore()
689 symbols__insert(&curr_map->dso->symbols[curr_map->type], pos); in dso__split_kallsyms_for_kcore()
709 struct map *curr_map = map; in dso__split_kallsyms() local
734 if (strcmp(curr_map->dso->short_name, module)) { in dso__split_kallsyms()
735 if (curr_map != map && in dso__split_kallsyms()
745 dso__set_loaded(curr_map->dso, in dso__split_kallsyms()
746 curr_map->type); in dso__split_kallsyms()
749 curr_map = map_groups__find_by_name(kmaps, in dso__split_kallsyms()
751 if (curr_map == NULL) { in dso__split_kallsyms()
756 curr_map = map; in dso__split_kallsyms()
760 if (curr_map->dso->loaded && in dso__split_kallsyms()
768 pos->start = curr_map->map_ip(curr_map, pos->start); in dso__split_kallsyms()
769 pos->end = curr_map->map_ip(curr_map, pos->end); in dso__split_kallsyms()
770 } else if (curr_map != map) { in dso__split_kallsyms()
781 curr_map = map; in dso__split_kallsyms()
800 curr_map = map__new2(pos->start, ndso, map->type); in dso__split_kallsyms()
801 if (curr_map == NULL) { in dso__split_kallsyms()
806 curr_map->map_ip = curr_map->unmap_ip = identity__map_ip; in dso__split_kallsyms()
807 map_groups__insert(kmaps, curr_map); in dso__split_kallsyms()
815 if (filter && filter(curr_map, pos)) { in dso__split_kallsyms()
819 if (curr_map != map) { in dso__split_kallsyms()
821 symbols__insert(&curr_map->dso->symbols[curr_map->type], pos); in dso__split_kallsyms()
828 if (curr_map != map && in dso__split_kallsyms()
831 dso__set_loaded(curr_map->dso, curr_map->type); in dso__split_kallsyms()