Searched refs:PtrRecord (Results 1 – 2 of 2) sorted by relevance
104 struct PtrRecord { struct107 PtrRecord* prev; argument108 PtrRecord* next; argument112 void RemoveFromList(PtrRecord* pr) TF_EXCLUSIVE_LOCKS_REQUIRED(mutex_);115 void AddToList(PtrRecord* pr) TF_EXCLUSIVE_LOCKS_REQUIRED(mutex_);127 std::multimap<const size_t, PtrRecord*> pool_ TF_GUARDED_BY(mutex_);128 PtrRecord* lru_head_ TF_GUARDED_BY(mutex_) = nullptr;129 PtrRecord* lru_tail_ TF_GUARDED_BY(mutex_) = nullptr;
106 PtrRecord* pr = nullptr; in AllocateRaw()148 PtrRecord* pr = new PtrRecord; in DeallocateRaw()160 PtrRecord* pr = iter.second; in Clear()174 void PoolAllocator::RemoveFromList(PtrRecord* pr) { in RemoveFromList()192 void PoolAllocator::AddToList(PtrRecord* pr) { in AddToList()207 PtrRecord* prec = lru_tail_; in EvictOne()