Home
last modified time | relevance | path

Searched refs:Allocate (Results 1 – 25 of 33) sorted by relevance

12

/rocksdb-6.9/memory/
Darena_test.cc44 arena.Allocate(req_sz); in MemoryAllocatedBytesTest()
50 arena.Allocate(Arena::kInlineSize - 1); in MemoryAllocatedBytesTest()
58 arena.Allocate(req_sz); in MemoryAllocatedBytesTest()
77 arena.Allocate(req_sz); in MemoryAllocatedBytesTest()
160 r = arena.Allocate(s); in SimpleTest()
Darena.cc63 tracker_->Allocate(kInlineSize); in Arena()
147 tracker_->Allocate(bytes); in AllocateFromHugePage()
227 tracker_->Allocate(allocated_size); in AllocateNewBlock()
Dallocator.h26 virtual char* Allocate(size_t bytes) = 0;
41 void Allocate(size_t bytes);
Darena.h45 char* Allocate(size_t bytes) override;
123 inline char* Arena::Allocate(size_t bytes) { in Allocate() function
Dconcurrent_arena.h50 char* Allocate(size_t bytes) override { in Allocate() function
52 [=]() { return arena_.Allocate(bytes); }); in Allocate()
Dmemory_allocator.h32 auto block = reinterpret_cast<char*>(allocator->Allocate(size)); in AllocateBlock()
Djemalloc_nodump_allocator.h33 void* Allocate(size_t size) override;
Djemalloc_nodump_allocator.cc54 void* JemallocNodumpAllocator::Allocate(size_t size) { in Allocate() function in ROCKSDB_NAMESPACE::JemallocNodumpAllocator
/rocksdb-6.9/db/
Ddb_test_util.h129 virtual KeyHandle Allocate(const size_t len, char** buf) override { in Allocate() function
130 return memtable_->Allocate(len, buf); in Allocate()
294 Status Allocate(uint64_t offset, uint64_t len) override { in NewWritableFile()
295 return base_->Allocate(offset, len); in NewWritableFile()
321 Status Allocate(uint64_t offset, uint64_t len) override { in NewWritableFile()
322 return base_->Allocate(offset, len); in NewWritableFile()
377 Status Allocate(uint64_t offset, uint64_t len) override { in NewWritableFile()
378 return base_->Allocate(offset, len); in NewWritableFile()
Ddb_memtable_test.cc28 KeyHandle Allocate(const size_t len, char** buf) override { in Allocate() function in ROCKSDB_NAMESPACE::MockMemTableRep
29 return rep_->Allocate(len, buf); in Allocate()
Dmemtable.cc263 KeyHandle MemTableRep::Allocate(const size_t len, char** buf) { in Allocate() function in ROCKSDB_NAMESPACE::MemTableRep
264 *buf = allocator_->Allocate(len); in Allocate()
489 KeyHandle handle = table->Allocate(encoded_len, &buf); in Add()
/rocksdb-6.9/utilities/
Denv_mirror.cc181 Status Allocate(uint64_t offset, uint64_t length) override { in Allocate() function in ROCKSDB_NAMESPACE::WritableFileMirror
182 Status as = a_->Allocate(offset, length); in Allocate()
183 Status bs = b_->Allocate(offset, length); in Allocate()
/rocksdb-6.9/include/rocksdb/
Dmemory_allocator.h26 virtual void* Allocate(size_t size) = 0;
Dfile_system.h863 Allocate(block_size * last_preallocated_block_, in PrepareWrite()
870 virtual IOStatus Allocate(uint64_t /*offset*/, uint64_t /*len*/, in Allocate() function
1338 IOStatus Allocate(uint64_t offset, uint64_t len, const IOOptions& options, in Allocate() function
1340 return target_->Allocate(offset, len, options, dbg); in Allocate()
Denv.h879 Allocate(block_size * last_preallocated_block_, in PrepareWrite()
886 virtual Status Allocate(uint64_t /*offset*/, uint64_t /*len*/) { in Allocate() function
1522 Status Allocate(uint64_t offset, uint64_t len) override { in Allocate() function
1523 return target_->Allocate(offset, len); in Allocate()
Dmemtablerep.h88 virtual KeyHandle Allocate(const size_t len, char** buf);
/rocksdb-6.9/memtable/
Dalloc_tracker.cc25 void AllocTracker::Allocate(size_t bytes) { in Allocate() function in ROCKSDB_NAMESPACE::AllocTracker
Dhash_linklist_rep.cc171 KeyHandle Allocate(const size_t len, char** buf) override;
522 KeyHandle HashLinkListRep::Allocate(const size_t len, char** buf) { in Allocate() function in ROCKSDB_NAMESPACE::__anoncfd1c5190111::HashLinkListRep
Dskiplistrep.cc30 KeyHandle Allocate(const size_t len, char** buf) override { in Allocate() function in ROCKSDB_NAMESPACE::__anon1cbf76c00111::SkipListRep
/rocksdb-6.9/port/win/
Dio_win.h226 virtual Status Allocate(uint64_t offset, uint64_t len) override;
375 virtual Status Allocate(uint64_t offset, uint64_t len) override;
Dio_win.cc281 status = Allocate(file_offset_, view_size_); in MapNewRegion()
535 Status WinMmapFile::Allocate(uint64_t offset, uint64_t len) { in Allocate() function in ROCKSDB_NAMESPACE::port::WinMmapFile
980 Status WinWritableFile::Allocate(uint64_t offset, uint64_t len) { in Allocate() function in ROCKSDB_NAMESPACE::port::WinWritableFile
/rocksdb-6.9/env/
Dio_posix.h261 virtual IOStatus Allocate(uint64_t offset, uint64_t len,
341 virtual IOStatus Allocate(uint64_t offset, uint64_t len,
Dcomposite_env_wrapper.h199 Status Allocate(uint64_t offset, uint64_t len) override { in Allocate() function
202 return target_->Allocate(offset, len, io_opts, &dbg); in Allocate()
787 IOStatus Allocate(uint64_t offset, uint64_t len, const IOOptions& /*options*/, in Allocate() function
789 return status_to_io_status(target_->Allocate(offset, len)); in Allocate()
Denv_encryption.cc301 Status Allocate(uint64_t offset, uint64_t len) override { in Allocate() function in ROCKSDB_NAMESPACE::EncryptedWritableFile
302 return file_->Allocate(offset + prefixLength_, len); in Allocate()
/rocksdb-6.9/utilities/persistent_cache/
Dblock_cache_tier_file_buffer.h88 CacheWriteBuffer* Allocate() { in Allocate() function

12