Lines Matching refs:curr_map
634 struct map *curr_map; in dso__split_kallsyms_for_kcore() local
653 curr_map = map_groups__find(kmaps, map->type, pos->start); in dso__split_kallsyms_for_kcore()
655 if (!curr_map || (filter && filter(curr_map, pos))) { in dso__split_kallsyms_for_kcore()
659 pos->start -= curr_map->start - curr_map->pgoff; in dso__split_kallsyms_for_kcore()
661 pos->end -= curr_map->start - curr_map->pgoff; in dso__split_kallsyms_for_kcore()
662 if (curr_map != map) { in dso__split_kallsyms_for_kcore()
665 &curr_map->dso->symbols[curr_map->type], in dso__split_kallsyms_for_kcore()
690 struct map *curr_map = map; in dso__split_kallsyms() local
715 if (strcmp(curr_map->dso->short_name, module)) { in dso__split_kallsyms()
716 if (curr_map != map && in dso__split_kallsyms()
726 dso__set_loaded(curr_map->dso, in dso__split_kallsyms()
727 curr_map->type); in dso__split_kallsyms()
730 curr_map = map_groups__find_by_name(kmaps, in dso__split_kallsyms()
732 if (curr_map == NULL) { in dso__split_kallsyms()
737 curr_map = map; in dso__split_kallsyms()
741 if (curr_map->dso->loaded && in dso__split_kallsyms()
749 pos->start = curr_map->map_ip(curr_map, pos->start); in dso__split_kallsyms()
750 pos->end = curr_map->map_ip(curr_map, pos->end); in dso__split_kallsyms()
751 } else if (curr_map != map) { in dso__split_kallsyms()
762 curr_map = map; in dso__split_kallsyms()
781 curr_map = map__new2(pos->start, ndso, map->type); in dso__split_kallsyms()
782 if (curr_map == NULL) { in dso__split_kallsyms()
787 curr_map->map_ip = curr_map->unmap_ip = identity__map_ip; in dso__split_kallsyms()
788 map_groups__insert(kmaps, curr_map); in dso__split_kallsyms()
796 if (filter && filter(curr_map, pos)) { in dso__split_kallsyms()
800 if (curr_map != map) { in dso__split_kallsyms()
802 symbols__insert(&curr_map->dso->symbols[curr_map->type], pos); in dso__split_kallsyms()
809 if (curr_map != map && in dso__split_kallsyms()
812 dso__set_loaded(curr_map->dso, curr_map->type); in dso__split_kallsyms()