Searched refs:in_use_ (Results 1 – 8 of 8) sorted by relevance
60 in_use_.emplace(std::make_pair(ptr, chunk)); in AllocateRaw()89 auto itr = in_use_.find(ptr); in DeallocateRaw()90 if (itr != in_use_.end()) { in DeallocateRaw()93 in_use_.erase(itr); in DeallocateRaw()119 auto it = in_use_.find(ptr); in RequestedSize()120 if (it != in_use_.end()) { in RequestedSize()132 auto it = in_use_.find(ptr); in AllocatedSize()133 if (it != in_use_.end()) { in AllocatedSize()145 auto it = in_use_.find(ptr); in AllocationId()146 if (it != in_use_.end()) { in AllocationId()
126 std::unordered_map<const void*, Chunk> in_use_ TF_GUARDED_BY(mu_);
138 if (buffer->in_use_) { in ~BufferPool()168 if (!buffer->in_use_) { in GetFreeBuffer()169 buffer->in_use_ = true; in GetFreeBuffer()183 buffer->in_use_ = true; in GetFreeBuffer()202 if (buffer->in_use_) { in Abort()210 assert(buffer->in_use_); in ReturnUnusedBuffer()211 buffer->in_use_ = false; in ReturnUnusedBuffer()
289 bool in_use_ = false; // Only used by BufferPool. variable
205 LRUHandle in_use_ TF_GUARDED_BY(mutex_);214 in_use_.next = &in_use_; in LRUCache()215 in_use_.prev = &in_use_; in LRUCache()219 assert(in_use_.next == &in_use_); // Error if caller has an unreleased handle in ~LRUCache()233 LRU_Append(&in_use_, e); in Ref()299 LRU_Append(&in_use_, e); in Insert()
62 bool in_use() const { return in_use_; } in in_use()63 void set_in_use(bool in_use = true) { in_use_ = in_use; }102 bool in_use_ = false; variable
173 in_use_(true), in TrackedDeviceBuffer()193 CHECK(in_use_); in AddUsageEvent()209 CHECK(in_use_); in LockUseAndTransferUsageEvents()210 in_use_ = false; in LockUseAndTransferUsageEvents()
206 TrackedDeviceBuffer() : in_use_(true) {} in TrackedDeviceBuffer()234 bool in_use_; variable