Searched refs:in_use_ (Results 1 – 10 of 10) 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()
130 std::unordered_map<const void*, Chunk> in_use_ TF_GUARDED_BY(mu_);
138 if (buffer->in_use_) { in ~BufferPool()161 if (!buffer->in_use_) { in GetFreeBuffer()162 buffer->in_use_ = true; in GetFreeBuffer()179 buffer->in_use_ = true; in GetFreeBuffer()198 if (buffer->in_use_) { in Abort()206 assert(buffer->in_use_); in ReturnUnusedBuffer()207 buffer->in_use_ = false; in ReturnUnusedBuffer()
323 bool in_use_ = false; // Only used by BufferPool. variable
193 LRUHandle in_use_ GUARDED_BY(mutex_);202 in_use_.next = &in_use_; in LRUCache()203 in_use_.prev = &in_use_; in LRUCache()207 assert(in_use_.next == &in_use_); // Error if caller has an unreleased handle in ~LRUCache()221 LRU_Append(&in_use_, e); in Ref()287 LRU_Append(&in_use_, e); in Insert()
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; }97 bool in_use_ = false; variable
61 bool in_use() const { return in_use_; } in in_use()62 void set_in_use(bool in_use = true) { in_use_ = in_use; }96 bool in_use_ = false; variable
175 in_use_(true), in TrackedDeviceBuffer()195 CHECK(in_use_); in AddUsageEvent()211 CHECK(in_use_); in LockUseAndTransferUsageEvents()212 in_use_ = false; in LockUseAndTransferUsageEvents()
211 TrackedDeviceBuffer() : in_use_(true) {} in TrackedDeviceBuffer()239 bool in_use_; variable