Lines Matching refs:start_addr
91 void ThreadTree::AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff, in AddKernelMap() argument
98 InsertMap(kernel_maps_, MapEntry(start_addr, len, pgoff, dso, true)); in AddKernelMap()
114 void ThreadTree::AddThreadMap(int pid, int tid, uint64_t start_addr, uint64_t len, in AddThreadMap() argument
117 Dso* dso = FindUserDsoOrNew(filename, start_addr); in AddThreadMap()
118 InsertMap(*thread->maps, MapEntry(start_addr, len, pgoff, dso, false, flags)); in AddThreadMap()
121 Dso* ThreadTree::FindUserDsoOrNew(const std::string& filename, uint64_t start_addr, in FindUserDsoOrNew() argument
125 bool force_64bit = start_addr > UINT_MAX; in FindUserDsoOrNew()
141 result.start_addr = new_start_addr; in RemoveFirstPartOfMapEntry()
142 result.len -= result.start_addr - entry->start_addr; in RemoveFirstPartOfMapEntry()
143 result.pgoff += result.start_addr - entry->start_addr; in RemoveFirstPartOfMapEntry()
157 auto it = map.lower_bound(entry.start_addr); in InsertMap()
166 if (it2->second->get_end_addr() > entry.start_addr) { in InsertMap()
168 AllocateMap(RemoveSecondPartOfMapEntry(it2->second, entry.start_addr - it2->first)); in InsertMap()
175 if (it != map.end() && it->second->start_addr < entry.get_end_addr()) { in InsertMap()
181 map.emplace(entry.start_addr, AllocateMap(entry)); in InsertMap()
223 vaddr_in_file = dso->IpToVaddrInFile(ip, map->start_addr, map->pgoff); in FindSymbol()