Home
last modified time | relevance | path

Searched refs:MemoryAllocator (Results 1 – 21 of 21) sorted by relevance

/rocksdb-6.9/include/rocksdb/
Dcache.h78 std::shared_ptr<MemoryAllocator> memory_allocator;
92 std::shared_ptr<MemoryAllocator> _memory_allocator = nullptr,
116 std::shared_ptr<MemoryAllocator> memory_allocator = nullptr,
146 Cache(std::shared_ptr<MemoryAllocator> allocator = nullptr)
279 MemoryAllocator* memory_allocator() const { return memory_allocator_.get(); } in memory_allocator()
282 std::shared_ptr<MemoryAllocator> memory_allocator_;
Dmemory_allocator.h18 class MemoryAllocator {
20 virtual ~MemoryAllocator() = default;
75 std::shared_ptr<MemoryAllocator>* memory_allocator);
/rocksdb-6.9/table/
Dblock_fetcher.h46 MemoryAllocator* memory_allocator = nullptr,
47 MemoryAllocator* memory_allocator_compressed = nullptr,
83 MemoryAllocator* memory_allocator_;
84 MemoryAllocator* memory_allocator_compressed_;
Dmeta_blocks.h109 MemoryAllocator* memory_allocator = nullptr);
124 MemoryAllocator* memory_allocator = nullptr);
138 MemoryAllocator* memory_allocator = nullptr);
150 MemoryAllocator* memory_allocator = nullptr);
Dmeta_blocks.cc201 MemoryAllocator* memory_allocator) { in ReadProperties()
361 MemoryAllocator* memory_allocator) { in ReadTableProperties()
432 MemoryAllocator* memory_allocator) { in FindMetaBlock()
473 MemoryAllocator* memory_allocator) { in ReadMetaBlock()
Dformat.h323 MemoryAllocator* allocator = nullptr);
331 const ImmutableCFOptions& ioptions, MemoryAllocator* allocator = nullptr);
Dformat.cc343 const ImmutableCFOptions& ioptions, MemoryAllocator* allocator) { in UncompressBlockContentsForCompressionType()
464 MemoryAllocator* allocator) { in UncompressBlockContents()
Dtable_test.cc3168 class CustomMemoryAllocator : public MemoryAllocator {
3189 TEST_P(BlockBasedTableTest, MemoryAllocator) { in TEST_P() argument
/rocksdb-6.9/memory/
Dmemory_allocator.h14 CustomDeleter(MemoryAllocator* a = nullptr) : allocator(a) {} in allocator()
24 MemoryAllocator* allocator;
30 MemoryAllocator* allocator) { in AllocateBlock()
Djemalloc_nodump_allocator.h25 class JemallocNodumpAllocator : public MemoryAllocator {
40 std::shared_ptr<MemoryAllocator>* memory_allocator);
Djemalloc_nodump_allocator.cc134 std::shared_ptr<MemoryAllocator>* memory_allocator) { in NewJemallocNodumpAllocator()
/rocksdb-6.9/table/block_based/
Dreader_common.h17 inline MemoryAllocator* GetMemoryAllocator( in GetMemoryAllocator()
24 inline MemoryAllocator* GetMemoryAllocatorForCompressedBlock( in GetMemoryAllocatorForCompressedBlock()
Dhash_index_reader.cc70 MemoryAllocator* const memory_allocator = in Create()
Dblock_based_table_reader.h361 MemoryAllocator* memory_allocator,
Dblock_based_table_reader.cc165 MemoryAllocator* memory_allocator, bool for_compaction, bool using_zstd, in ReadBlockFromFile()
214 CacheAllocationPtr CopyBufferToHeap(MemoryAllocator* allocator, Slice& buf) { in CopyBufferToHeap()
1197 MemoryAllocator* memory_allocator, BlockType block_type, in PutDataBlockToCache()
1548 MemoryAllocator* memory_allocator = GetMemoryAllocator(rep_->table_options); in RetrieveMultipleBlocks()
/rocksdb-6.9/util/
Dcompression.h761 MemoryAllocator* allocator = nullptr, int windowBits = -14) {
924 uint32_t compress_format_version, MemoryAllocator* allocator = nullptr) {
1081 MemoryAllocator* allocator = nullptr) {
1304 int* decompress_size, MemoryAllocator* allocator = nullptr) {
/rocksdb-6.9/cache/
Dsharded_cache.h59 std::shared_ptr<MemoryAllocator> memory_allocator = nullptr);
Dlru_cache.cc468 std::shared_ptr<MemoryAllocator> allocator, in LRUCache()
556 std::shared_ptr<MemoryAllocator> memory_allocator, bool use_adaptive_mutex, in NewLRUCache()
Dsharded_cache.cc20 std::shared_ptr<MemoryAllocator> allocator) in ShardedCache()
Dlru_cache.h316 std::shared_ptr<MemoryAllocator> memory_allocator = nullptr,
/rocksdb-6.9/
DHISTORY.md362 * Introduced `MemoryAllocator`, which lets the user specify custom memory allocator for block based…