Searched refs:PtrRecord (Results 1 – 2 of 2) sorted by relevance
103 struct PtrRecord { struct106 PtrRecord* prev; argument107 PtrRecord* next; argument111 void RemoveFromList(PtrRecord* pr) EXCLUSIVE_LOCKS_REQUIRED(mutex_);114 void AddToList(PtrRecord* pr) EXCLUSIVE_LOCKS_REQUIRED(mutex_);126 std::multimap<const size_t, PtrRecord*> pool_ GUARDED_BY(mutex_);127 PtrRecord* lru_head_ GUARDED_BY(mutex_) = nullptr;128 PtrRecord* lru_tail_ GUARDED_BY(mutex_) = nullptr;
106 PtrRecord* pr = nullptr; in AllocateRaw()147 PtrRecord* pr = new PtrRecord; in DeallocateRaw()159 PtrRecord* pr = iter.second; in Clear()173 void PoolAllocator::RemoveFromList(PtrRecord* pr) { in RemoveFromList()191 void PoolAllocator::AddToList(PtrRecord* pr) { in AddToList()206 PtrRecord* prec = lru_tail_; in EvictOne()