Lines Matching refs:maps
63 *child->maps = *parent->maps; in ForkThread()
83 MapSet* maps = nullptr; in CreateThread() local
85 maps = new MapSet; in CreateThread()
86 map_set_storage_.push_back(std::unique_ptr<MapSet>(maps)); in CreateThread()
90 maps = process->maps; in CreateThread()
95 maps, in CreateThread()
136 FixOverlappedMap(thread->maps, map); in AddThreadMap()
137 auto pair = thread->maps->insert(map); in AddThreadMap()
156 void ThreadTree::FixOverlappedMap(MapSet* maps, const MapEntry* map) { in FixOverlappedMap() argument
157 for (auto it = maps->begin(); it != maps->end();) { in FixOverlappedMap()
170 maps->insert(before); in FixOverlappedMap()
177 maps->insert(after); in FixOverlappedMap()
180 it = maps->erase(it); in FixOverlappedMap()
189 static MapEntry* FindMapByAddr(const MapSet& maps, uint64_t addr) { in FindMapByAddr() argument
194 auto it = maps.upper_bound(&find_map); in FindMapByAddr()
195 if (it != maps.begin() && IsAddrInMap(addr, *--it)) { in FindMapByAddr()
205 result = FindMapByAddr(*thread->maps, ip); in FindMap()
213 MapEntry* result = FindMapByAddr(*thread->maps, ip); in FindMap()