Lines Matching refs:MapEntry
137 InsertMap(kernel_maps_, MapEntry(start_addr, len, pgoff, dso, true)); in AddKernelMap()
162 InsertMap(*thread->maps, MapEntry(start_addr, len, pgoff, dso, false, flags)); in AddThreadMap()
180 InsertMap(*maps, MapEntry(map_start, map_end - map_start, map_start, dso, false, 0)); in AddThreadMapsForDsoSymbols()
190 InsertMap(*maps, MapEntry(map_start, map_end - map_start, map_start, dso, false, 0)); in AddThreadMapsForDsoSymbols()
217 const MapEntry* ThreadTree::AllocateMap(const MapEntry& entry) { in AllocateMap()
218 map_storage_.emplace_back(new MapEntry(entry)); in AllocateMap()
222 static MapEntry RemoveFirstPartOfMapEntry(const MapEntry* entry, uint64_t new_start_addr) { in RemoveFirstPartOfMapEntry()
223 MapEntry result = *entry; in RemoveFirstPartOfMapEntry()
230 static MapEntry RemoveSecondPartOfMapEntry(const MapEntry* entry, uint64_t new_len) { in RemoveSecondPartOfMapEntry()
231 MapEntry result = *entry; in RemoveSecondPartOfMapEntry()
238 void ThreadTree::InsertMap(MapSet& maps, const MapEntry& entry) { in InsertMap()
239 std::map<uint64_t, const MapEntry*>& map = maps.maps; in InsertMap()
268 const MapEntry* MapSet::FindMapByAddr(uint64_t addr) const { in FindMapByAddr()
279 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel) { in FindMap()
280 const MapEntry* result = nullptr; in FindMap()
289 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip) { in FindMap()
290 const MapEntry* result = thread->maps->FindMapByAddr(ip); in FindMap()
298 const Symbol* ThreadTree::FindSymbol(const MapEntry* map, uint64_t ip, uint64_t* pvaddr_in_file, in FindSymbol()
339 const MapEntry* map = FindMap(nullptr, ip, true); in FindKernelSymbol()