Lines Matching refs:start_addr
104 void ThreadTree::AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff, in AddKernelMap() argument
111 InsertMap(kernel_maps_, MapEntry(start_addr, len, pgoff, dso, true)); in AddKernelMap()
127 void ThreadTree::AddThreadMap(int pid, int tid, uint64_t start_addr, uint64_t len, in AddThreadMap() argument
130 Dso* dso = FindUserDsoOrNew(filename, start_addr); in AddThreadMap()
131 InsertMap(*thread->maps, MapEntry(start_addr, len, pgoff, dso, false, flags)); in AddThreadMap()
134 Dso* ThreadTree::FindUserDsoOrNew(const std::string& filename, uint64_t start_addr, in FindUserDsoOrNew() argument
138 bool force_64bit = start_addr > UINT_MAX; in FindUserDsoOrNew()
154 result.start_addr = new_start_addr; in RemoveFirstPartOfMapEntry()
155 result.len -= result.start_addr - entry->start_addr; in RemoveFirstPartOfMapEntry()
156 result.pgoff += result.start_addr - entry->start_addr; in RemoveFirstPartOfMapEntry()
170 auto it = map.lower_bound(entry.start_addr); in InsertMap()
179 if (it2->second->get_end_addr() > entry.start_addr) { in InsertMap()
181 AllocateMap(RemoveSecondPartOfMapEntry(it2->second, entry.start_addr - it2->first)); in InsertMap()
188 if (it != map.end() && it->second->start_addr < entry.get_end_addr()) { in InsertMap()
194 map.emplace(entry.start_addr, AllocateMap(entry)); in InsertMap()
236 vaddr_in_file = dso->IpToVaddrInFile(ip, map->start_addr, map->pgoff); in FindSymbol()