Lines Matching refs:get_context
223 GetContext* get_context, in UpdateCacheHitMetrics() argument
231 if (get_context) { in UpdateCacheHitMetrics()
232 ++get_context->get_context_stats_.num_cache_hit; in UpdateCacheHitMetrics()
233 get_context->get_context_stats_.num_cache_bytes_read += usage; in UpdateCacheHitMetrics()
243 if (get_context) { in UpdateCacheHitMetrics()
244 ++get_context->get_context_stats_.num_cache_filter_hit; in UpdateCacheHitMetrics()
252 if (get_context) { in UpdateCacheHitMetrics()
253 ++get_context->get_context_stats_.num_cache_compression_dict_hit; in UpdateCacheHitMetrics()
262 if (get_context) { in UpdateCacheHitMetrics()
263 ++get_context->get_context_stats_.num_cache_index_hit; in UpdateCacheHitMetrics()
272 if (get_context) { in UpdateCacheHitMetrics()
273 ++get_context->get_context_stats_.num_cache_data_hit; in UpdateCacheHitMetrics()
282 GetContext* get_context) const { in UpdateCacheMissMetrics()
289 if (get_context) { in UpdateCacheMissMetrics()
290 ++get_context->get_context_stats_.num_cache_miss; in UpdateCacheMissMetrics()
298 if (get_context) { in UpdateCacheMissMetrics()
299 ++get_context->get_context_stats_.num_cache_filter_miss; in UpdateCacheMissMetrics()
306 if (get_context) { in UpdateCacheMissMetrics()
307 ++get_context->get_context_stats_.num_cache_compression_dict_miss; in UpdateCacheMissMetrics()
314 if (get_context) { in UpdateCacheMissMetrics()
315 ++get_context->get_context_stats_.num_cache_index_miss; in UpdateCacheMissMetrics()
324 if (get_context) { in UpdateCacheMissMetrics()
325 ++get_context->get_context_stats_.num_cache_data_miss; in UpdateCacheMissMetrics()
334 GetContext* get_context, in UpdateCacheInsertionMetrics() argument
339 if (get_context) { in UpdateCacheInsertionMetrics()
340 ++get_context->get_context_stats_.num_cache_add; in UpdateCacheInsertionMetrics()
341 get_context->get_context_stats_.num_cache_bytes_write += usage; in UpdateCacheInsertionMetrics()
349 if (get_context) { in UpdateCacheInsertionMetrics()
350 ++get_context->get_context_stats_.num_cache_filter_add; in UpdateCacheInsertionMetrics()
351 get_context->get_context_stats_.num_cache_filter_bytes_insert += usage; in UpdateCacheInsertionMetrics()
359 if (get_context) { in UpdateCacheInsertionMetrics()
360 ++get_context->get_context_stats_.num_cache_compression_dict_add; in UpdateCacheInsertionMetrics()
361 get_context->get_context_stats_ in UpdateCacheInsertionMetrics()
371 if (get_context) { in UpdateCacheInsertionMetrics()
372 ++get_context->get_context_stats_.num_cache_index_add; in UpdateCacheInsertionMetrics()
373 get_context->get_context_stats_.num_cache_index_bytes_insert += usage; in UpdateCacheInsertionMetrics()
383 if (get_context) { in UpdateCacheInsertionMetrics()
384 ++get_context->get_context_stats_.num_cache_data_add; in UpdateCacheInsertionMetrics()
385 get_context->get_context_stats_.num_cache_data_bytes_insert += usage; in UpdateCacheInsertionMetrics()
396 GetContext* get_context) const { in GetEntryFromCache()
400 UpdateCacheHitMetrics(block_type, get_context, in GetEntryFromCache()
403 UpdateCacheMissMetrics(block_type, get_context); in GetEntryFromCache()
1096 GetContext* get_context) const { in GetDataBlockFromCache()
1111 block_type, get_context); in GetDataBlockFromCache()
1176 UpdateCacheInsertionMetrics(block_type, get_context, charge); in GetDataBlockFromCache()
1198 GetContext* get_context) const { in PutDataBlockToCache()
1281 UpdateCacheInsertionMetrics(block_type, get_context, charge); in PutDataBlockToCache()
1328 IndexBlockIter* input_iter, GetContext* get_context, in NewIndexIterator() argument
1336 input_iter, get_context, in NewIndexIterator()
1374 GetContext* get_context, BlockCacheLookupContext* lookup_context, in MaybeReadBlockAndLoadToCache() argument
1409 get_context); in MaybeReadBlockAndLoadToCache()
1450 GetMemoryAllocator(rep_->table_options), block_type, get_context); in MaybeReadBlockAndLoadToCache()
1564 mget_iter->get_context, &lookup_data_block_context, in RetrieveMultipleBlocks()
1732 BlockType::kData, mget_iter->get_context, in RetrieveMultipleBlocks()
1775 GetContext* get_context, BlockCacheLookupContext* lookup_context, in RetrieveBlock() argument
1784 block_type, get_context, lookup_context, in RetrieveBlock()
1842 GetContext* get_context, BlockCacheLookupContext* lookup_context,
1849 GetContext* get_context, BlockCacheLookupContext* lookup_context,
1856 GetContext* get_context, BlockCacheLookupContext* lookup_context,
1863 GetContext* get_context, BlockCacheLookupContext* lookup_context,
2065 const SliceTransform* prefix_extractor, GetContext* get_context, in FullFilterKeyMayMatch() argument
2079 no_io, const_ikey_ptr, get_context, lookup_context); in FullFilterKeyMayMatch()
2086 const_ikey_ptr, get_context, in FullFilterKeyMayMatch()
2117 GetContext* get_context, in Get() argument
2121 assert(get_context != nullptr); in Get()
2130 uint64_t tracing_get_id = get_context->get_tracing_get_id(); in Get()
2142 get_context, &lookup_context); in Get()
2157 get_context, &lookup_context); in Get()
2174 /*const_ikey_ptr=*/nullptr, get_context, in Get()
2203 read_options, v.handle, &biter, BlockType::kData, get_context, in Get()
2211 get_context->MarkKeyMayExist(); in Get()
2236 if (!get_context->SaveValue( in Get()
2239 if (get_context->State() == GetContext::GetState::kFound) { in Get()
2309 if (!sst_file_range.empty() && sst_file_range.begin()->get_context) { in MultiGet()
2310 tracing_mget_id = sst_file_range.begin()->get_context->get_tracing_get_id(); in MultiGet()
2329 sst_file_range.begin()->get_context, &lookup_context); in MultiGet()
2351 sst_file_range.begin()->get_context, &lookup_context, in MultiGet()
2409 miter->get_context, &lookup_data_block_context, in MultiGet()
2455 GetContext* get_context = miter->get_context; in MultiGet() local
2494 BlockType::kData, get_context, &lookup_data_block_context, in MultiGet()
2505 get_context->MarkKeyMayExist(); in MultiGet()
2542 if (!get_context->SaveValue(parsed_key, biter->value(), &matched, in MultiGet()
2544 if (get_context->State() == GetContext::GetState::kFound) { in MultiGet()