Searched refs:InCache (Results 1 – 3 of 3) sorted by relevance
298 static bool InCache(uint32_t flags) { return flags & kInCacheBit; } in InCache() function in ROCKSDB_NAMESPACE::__anon9da5ff120111::ClockCacheShard389 if (InCache(flags) || CountRefs(flags) > 0) { in ~ClockCacheShard()415 if (InCache(flags)) { in ApplyToAllCacheEntries()427 assert(!InCache(handle->flags) && CountRefs(handle->flags) == 0); in RecycleHandle()453 while (InCache(flags)) { in Ref()485 if (!InCache(flags)) { in Unref()502 if (InCache(flags) && CountRefs(flags) == 0) { in UnsetInCache()
125 assert(old->InCache() && !old->HasRefs()); in EraseUnRefEntries()240 assert(old->InCache() && !old->HasRefs()); in EvictFromLRU()275 assert(e->InCache()); in Lookup()311 if (last_reference && e->InCache()) { in Release()388 assert(old->InCache()); in Insert()424 assert(e->InCache()); in Erase()
96 bool InCache() const { return flags & IN_CACHE; } in InCache() function171 assert(h->InCache()); in ApplyToAllCacheEntries()