Lines Matching refs:cache_handle
397 auto cache_handle = block_cache->Lookup(key, rep_->ioptions.statistics); in GetEntryFromCache() local
399 if (cache_handle != nullptr) { in GetEntryFromCache()
401 block_cache->GetUsage(cache_handle)); in GetEntryFromCache()
406 return cache_handle; in GetEntryFromCache()
1110 auto cache_handle = GetEntryFromCache(block_cache, block_cache_key, in GetDataBlockFromCache() local
1112 if (cache_handle != nullptr) { in GetDataBlockFromCache()
1114 reinterpret_cast<TBlocklike*>(block_cache->Value(cache_handle)), in GetDataBlockFromCache()
1115 block_cache, cache_handle); in GetDataBlockFromCache()
1167 Cache::Handle* cache_handle = nullptr; in GetDataBlockFromCache() local
1170 &cache_handle); in GetDataBlockFromCache()
1172 assert(cache_handle != nullptr); in GetDataBlockFromCache()
1174 cache_handle); in GetDataBlockFromCache()
1272 Cache::Handle* cache_handle = nullptr; in PutDataBlockToCache() local
1275 &cache_handle, priority); in PutDataBlockToCache()
1277 assert(cache_handle != nullptr); in PutDataBlockToCache()
1279 cache_handle); in PutDataBlockToCache()
2533 assert(biter->cache_handle() != nullptr); in MultiGet()
2534 block_cache->Ref(biter->cache_handle()); in MultiGet()
2536 biter->cache_handle()); in MultiGet()
2815 Cache::Handle* const cache_handle = cache->Lookup(cache_key); in TEST_BlockInCache() local
2816 if (cache_handle == nullptr) { in TEST_BlockInCache()
2820 cache->Release(cache_handle); in TEST_BlockInCache()