Home
last modified time | relevance | path

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

/external/stressapptest/src/
Ddisk_blocks.cc93 addr_to_block_[address] = sd; in InsertOnStructure()
103 AddrToBlockMap::iterator it = addr_to_block_.find(address); in RemoveBlock()
105 if (it != addr_to_block_.end()) { in RemoveBlock()
108 AddrToBlockMap::iterator last_it = addr_to_block_.find( in RemoveBlock()
111 sat_assert(last_it != addr_to_block_.end()); in RemoveBlock()
117 addr_to_block_.erase(it); in RemoveBlock()
166 AddrToBlockMap::const_iterator it = addr_to_block_.find(address); in GetRandomBlock()
167 sat_assert(it != addr_to_block_.end()); in GetRandomBlock()
237 if (addr_to_block_.find(sector) != addr_to_block_.end()) { in GetUnusedBlock()
Ddisk_blocks.h146 const AddrToBlockMap& addr_to_block() const { return addr_to_block_; } in addr_to_block()
159 AddrToBlockMap addr_to_block_; variable