Lines Matching refs:table_options

414   if (rep->table_options.block_cache != nullptr) {  in SetupCacheKeyPrefix()
415 GenerateCachePrefix(rep->table_options.block_cache.get(), rep->file->file(), in SetupCacheKeyPrefix()
418 if (rep->table_options.persistent_cache != nullptr) { in SetupCacheKeyPrefix()
423 if (rep->table_options.block_cache_compressed != nullptr) { in SetupCacheKeyPrefix()
424 GenerateCachePrefix(rep->table_options.block_cache_compressed.get(), in SetupCacheKeyPrefix()
564 const BlockBasedTableOptions& table_options, in Open() argument
581 const bool preload_all = !table_options.cache_index_and_filter_blocks; in Open()
616 Rep* rep = new BlockBasedTable::Rep(ioptions, env_options, table_options, in Open()
621 rep->hash_index_allow_collision = table_options.hash_index_allow_collision; in Open()
634 PersistentCacheOptions(rep->table_options.persistent_cache, in Open()
667 prefetch_all, table_options, level, &lookup_context); in Open()
900 const BlockBasedTableOptions& table_options, const int level, in PrefetchIndexAndFilterBlocks() argument
943 const bool use_cache = table_options.cache_index_and_filter_blocks; in PrefetchIndexAndFilterBlocks()
947 rep_->table_options.pin_l0_filter_and_index_blocks_in_cache && level == 0; in PrefetchIndexAndFilterBlocks()
952 (table_options.pin_top_level_index_and_filter && in PrefetchIndexAndFilterBlocks()
956 pin_all || (table_options.pin_top_level_index_and_filter && in PrefetchIndexAndFilterBlocks()
979 (table_options.pin_top_level_index_and_filter && in PrefetchIndexAndFilterBlocks()
985 pin_all || (table_options.pin_top_level_index_and_filter && in PrefetchIndexAndFilterBlocks()
1070 0 /* read_amp_bytes_per_bit */, GetMemoryAllocator(rep_->table_options), in ReadMetaIndexBlock()
1099 ? rep_->table_options.read_amp_bytes_per_bit in GetDataBlockFromCache()
1153 &contents, rep_->table_options.format_version, rep_->ioptions, in GetDataBlockFromCache()
1154 GetMemoryAllocator(rep_->table_options)); in GetDataBlockFromCache()
1162 rep_->table_options.filter_policy.get())); // uncompressed block in GetDataBlockFromCache()
1200 const uint32_t format_version = rep_->table_options.format_version; in PutDataBlockToCache()
1203 ? rep_->table_options.read_amp_bytes_per_bit in PutDataBlockToCache()
1206 rep_->table_options.cache_index_and_filter_blocks_with_high_priority && in PutDataBlockToCache()
1235 rep_->table_options.filter_policy.get())); in PutDataBlockToCache()
1240 rep_->table_options.filter_policy.get())); in PutDataBlockToCache()
1378 Cache* block_cache = rep_->table_options.block_cache.get(); in MaybeReadBlockAndLoadToCache()
1382 : rep_->table_options.block_cache_compressed.get(); in MaybeReadBlockAndLoadToCache()
1435 GetMemoryAllocator(rep_->table_options), in MaybeReadBlockAndLoadToCache()
1436 GetMemoryAllocatorForCompressedBlock(rep_->table_options)); in MaybeReadBlockAndLoadToCache()
1450 GetMemoryAllocator(rep_->table_options), block_type, get_context); in MaybeReadBlockAndLoadToCache()
1463 rep_->table_options.block_restart_interval * in MaybeReadBlockAndLoadToCache()
1547 size_t read_amp_bytes_per_bit = rep_->table_options.read_amp_bytes_per_bit; in RetrieveMultipleBlocks()
1548 MemoryAllocator* memory_allocator = GetMemoryAllocator(rep_->table_options); in RetrieveMultipleBlocks()
1714 CopyBufferToHeap(GetMemoryAllocator(rep_->table_options), raw), in RetrieveMultipleBlocks()
1819 ? rep_->table_options.read_amp_bytes_per_bit in RetrieveBlock()
1821 GetMemoryAllocator(rep_->table_options), for_compaction, in RetrieveBlock()
1823 rep_->table_options.filter_policy.get()); in RetrieveBlock()
2435 if (rep_->table_options.block_cache_compressed == nullptr && in MultiGet()
2532 Cache* block_cache = rep_->table_options.block_cache.get(); in MultiGet()
2805 Cache* const cache = rep_->table_options.block_cache.get(); in TEST_BlockInCache()