Home
last modified time | relevance | path

Searched refs:real_addr (Results 1 – 2 of 2) sorted by relevance

/system/extras/perfprofd/quipper/
Daddress_mapper.h28 bool Map(const uint64_t real_addr,
42 bool MapWithID(const uint64_t real_addr,
49 bool GetMappedAddress(const uint64_t real_addr, uint64_t* mapped_addr) const;
53 bool GetMappedIDAndOffset(const uint64_t real_addr,
78 uint64_t real_addr; member
90 return (real_addr <= range.real_addr + range.size - 1) && in Intersects()
91 (real_addr + size - 1 >= range.real_addr); in Intersects()
96 return (real_addr <= range.real_addr) && in Covers()
97 (real_addr + size - 1 >= range.real_addr + range.size - 1); in Covers()
103 return (real_addr < range.real_addr) && in Contains()
[all …]
Daddress_mapper.cc15 bool AddressMapper::Map(const uint64_t real_addr, in Map() argument
18 return MapWithID(real_addr, size, kuint64max, 0, remove_existing_mappings); in Map()
21 bool AddressMapper::MapWithID(const uint64_t real_addr, in MapWithID() argument
27 range.real_addr = real_addr; in MapWithID()
38 if (real_addr + size - 1 != kuint64max && in MapWithID()
39 !(real_addr + size > real_addr)) { in MapWithID()
41 LOG(ERROR) << "Address mapping at " << std::hex << real_addr in MapWithID()
77 uint64_t gap_before = range.real_addr - old_range.real_addr; in MapWithID()
78 uint64_t gap_after = (old_range.real_addr + old_range.size) - in MapWithID()
79 (range.real_addr + range.size); in MapWithID()
[all …]