Home
last modified time | relevance | path

Searched refs:AllocateAligned (Results 1 – 25 of 26) sorted by relevance

12

/rocksdb-6.9/memory/
Darena_test.cc96 arena.AllocateAligned(kAlignUnit); in ApproximateMemoryUsageTest()
98 arena.AllocateAligned(Arena::kInlineSize / 2 - (2 * kAlignUnit)); in ApproximateMemoryUsageTest()
100 arena.AllocateAligned(Arena::kInlineSize / 2); in ApproximateMemoryUsageTest()
109 arena.AllocateAligned(kEntrySize); in ApproximateMemoryUsageTest()
123 arena.AllocateAligned(kEntrySize); in ApproximateMemoryUsageTest()
158 r = arena.AllocateAligned(s); in SimpleTest()
Dconcurrent_arena.h55 char* AllocateAligned(size_t bytes, size_t huge_page_size = 0,
62 return arena_.AllocateAligned(rounded_up, huge_page_size, logger);
185 s->free_begin_ = arena_.AllocateAligned(avail); in AllocateImpl()
Dallocator.h27 virtual char* AllocateAligned(size_t bytes, size_t huge_page_size = 0,
Darena.h59 char* AllocateAligned(size_t bytes, size_t huge_page_size = 0,
Darena.cc156 char* Arena::AllocateAligned(size_t bytes, size_t huge_page_size, in AllocateAligned() function in ROCKSDB_NAMESPACE::Arena
/rocksdb-6.9/memtable/
Dhash_skiplist_rep.cc243 auto mem = allocator->AllocateAligned( in HashSkipListRep()
260 auto addr = allocator_->AllocateAligned(sizeof(Bucket)); in GetInitializedBucket()
318 auto mem = arena->AllocateAligned(sizeof(Iterator)); in GetIterator()
327 auto mem = arena->AllocateAligned(sizeof(DynamicIterator)); in GetDynamicPrefixIterator()
Dhash_linklist_rep.cc509 char* mem = allocator_->AllocateAligned(sizeof(Pointer) * bucket_size, in HashLinkListRep()
523 char* mem = allocator_->AllocateAligned(sizeof(Node) + len); in Allocate()
599 auto* mem = allocator_->AllocateAligned(sizeof(BucketHeader)); in Insert()
633 auto mem = allocator_->AllocateAligned(sizeof(SkipListBucketHeader)); in Insert()
781 auto mem = alloc_arena->AllocateAligned(sizeof(FullListIterator)); in GetIterator()
791 auto mem = alloc_arena->AllocateAligned(sizeof(DynamicIterator)); in GetDynamicPrefixIterator()
Dskiplistrep.cc261 arena ? arena->AllocateAligned(sizeof(SkipListRep::LookaheadIterator)) in GetIterator()
266 arena ? arena->AllocateAligned(sizeof(SkipListRep::Iterator)) in GetIterator()
Dskiplist.h206 char* mem = allocator_->AllocateAligned(
427 allocator_->AllocateAligned(sizeof(Node*) * kMaxHeight_));
Dvectorrep.cc272 mem = arena->AllocateAligned(sizeof(Iterator)); in GetIterator()
Dinlineskiplist.h627 char* raw = allocator_->AllocateAligned(prefix + sizeof(Node) + key_size);
646 char* raw = allocator_->AllocateAligned(sizeof(Splice) + array_size * 2);
/rocksdb-6.9/table/
Diterator.cc181 auto mem = arena->AllocateAligned(sizeof(EmptyInternalIterator<TValue>)); in NewErrorInternalIterator()
202 auto mem = arena->AllocateAligned(sizeof(EmptyInternalIterator<TValue>)); in NewEmptyInternalIterator()
Dmerging_iterator.cc420 auto mem = arena->AllocateAligned(sizeof(MergingIterator)); in NewMergingIterator()
429 auto mem = arena->AllocateAligned(sizeof(MergingIterator)); in MergeIteratorBuilder()
/rocksdb-6.9/db/
Dfile_indexer.cc89 char* mem = arena->AllocateAligned(num_levels_ * sizeof(int32_t)); in UpdateIndex()
106 mem = arena->AllocateAligned(upper_size * sizeof(IndexUnit)); in UpdateIndex()
Darena_wrapped_db_iter.cc42 auto mem = arena_.AllocateAligned(sizeof(DBIter)); in Init()
Dversion_set_test.cc427 char* mem = arena_.AllocateAligned(num * sizeof(FdWithKeyRange)); in LevelFileInit()
441 char* mem = arena_.AllocateAligned( in Add()
Dmemtable.cc421 auto mem = arena->AllocateAligned(sizeof(MemTableIterator)); in NewIterator()
Dversion_set.cc776 char* mem = arena->AllocateAligned(num * sizeof(FdWithKeyRange)); in DoGenerateLevelFilesBrief()
786 mem = arena->AllocateAligned(smallest_size + largest_size); in DoGenerateLevelFilesBrief()
1589 auto* mem = arena->AllocateAligned(sizeof(LevelIterator)); in AddIteratorsForLevel()
1640 auto mem = arena.AllocateAligned(sizeof(LevelIterator)); in OverlapWithLevelIterator()
/rocksdb-6.9/util/
Ddynamic_bloom.cc58 char* raw = allocator->AllocateAligned(sz, huge_page_tlb_size, logger); in DynamicBloom()
/rocksdb-6.9/table/plain/
Dplain_table_bloom.cc59 char* raw = allocator->AllocateAligned(sz, huge_page_tlb_size, logger); in SetTotalBits()
Dplain_table_index.cc160 char* allocated = arena_->AllocateAligned( in FillIndexes()
Dplain_table_reader.cc214 auto mem = arena->AllocateAligned(sizeof(PlainTableIterator)); in NewIterator()
/rocksdb-6.9/logging/
Dlog_buffer.cc24 char* alloc_mem = arena_.AllocateAligned(max_log_size); in AddLogToBuffer()
/rocksdb-6.9/table/block_based/
Dblock_prefix_index.cc77 arena_.AllocateAligned(sizeof(PrefixRecord))); in Add()
/rocksdb-6.9/table/cuckoo/
Dcuckoo_table_reader.cc392 auto iter_mem = arena->AllocateAligned(sizeof(CuckooTableIterator)); in NewIterator()

12