Home
last modified time | relevance | path

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

/system/memory/libmemunreachable/
DAllocator.cpp61 static constexpr size_t kMinBucketAllocationSize = 8; variable
63 const_log2(kMaxBucketAllocationSize) - const_log2(kMinBucketAllocationSize) + 1;
111 if (size < kMinBucketAllocationSize) return kMinBucketAllocationSize; in size_to_bucket()
112 return log2(size - 1) + 1 - const_log2(kMinBucketAllocationSize); in size_to_bucket()
116 return kMinBucketAllocationSize << bucket; in bucket_to_size()
201 uint32_t free_bitmap_[kUsableChunkSize / kMinBucketAllocationSize / 32];