Lines Matching refs:MapEntry
111 InsertMap(kernel_maps_, MapEntry(start_addr, len, pgoff, dso, true)); in AddKernelMap()
131 InsertMap(*thread->maps, MapEntry(start_addr, len, pgoff, dso, false, flags)); in AddThreadMap()
147 const MapEntry* ThreadTree::AllocateMap(const MapEntry& entry) { in AllocateMap()
148 map_storage_.emplace_back(new MapEntry(entry)); in AllocateMap()
152 static MapEntry RemoveFirstPartOfMapEntry(const MapEntry* entry, uint64_t new_start_addr) { in RemoveFirstPartOfMapEntry()
153 MapEntry result = *entry; in RemoveFirstPartOfMapEntry()
160 static MapEntry RemoveSecondPartOfMapEntry(const MapEntry* entry, uint64_t new_len) { in RemoveSecondPartOfMapEntry()
161 MapEntry result = *entry; in RemoveSecondPartOfMapEntry()
168 void ThreadTree::InsertMap(MapSet& maps, const MapEntry& entry) { in InsertMap()
169 std::map<uint64_t, const MapEntry*>& map = maps.maps; in InsertMap()
198 const MapEntry* MapSet::FindMapByAddr(uint64_t addr) const { in FindMapByAddr()
209 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel) { in FindMap()
210 const MapEntry* result = nullptr; in FindMap()
219 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip) { in FindMap()
220 const MapEntry* result = thread->maps->FindMapByAddr(ip); in FindMap()
228 const Symbol* ThreadTree::FindSymbol(const MapEntry* map, uint64_t ip, in FindSymbol()
269 const MapEntry* map = FindMap(nullptr, ip, true); in FindKernelSymbol()