Searched refs:mMemoryBlockSize (Results 1 – 2 of 2) sorted by relevance
25 : mMemoryBlockSize(memoryBlockSize), in BuddyMemoryAllocator()29 ASSERT(IsPowerOfTwo(mMemoryBlockSize)); in BuddyMemoryAllocator()30 ASSERT(maxSystemSize % mMemoryBlockSize == 0); in BuddyMemoryAllocator()32 mTrackedSubAllocations.resize(maxSystemSize / mMemoryBlockSize); in BuddyMemoryAllocator()37 return offset / mMemoryBlockSize; in GetMemoryIndex()49 if (allocationSize > mMemoryBlockSize) { in Allocate()57 if (allocationSize > mMemoryBlockSize) { in Allocate()71 DAWN_TRY_ASSIGN(memory, mHeapAllocator->AllocateResourceHeap(mMemoryBlockSize)); in Allocate()82 const uint64_t memoryOffset = blockOffset % mMemoryBlockSize; in Allocate()107 return mMemoryBlockSize; in GetMemoryBlockSize()
59 uint64_t mMemoryBlockSize = 0; variable