Lines Matching refs:allocation_granularity
63 DCHECK(bits::IsPowerOfTwo(allocation_granularity())); in VirtualAddressSpace()
64 DCHECK_GE(allocation_granularity(), page_size()); in VirtualAddressSpace()
65 DCHECK(IsAligned(allocation_granularity(), page_size())); in VirtualAddressSpace()
79 DCHECK(IsAligned(alignment, allocation_granularity())); in AllocatePages()
81 DCHECK(IsAligned(size, allocation_granularity())); in AllocatePages()
89 DCHECK(IsAligned(address, allocation_granularity())); in FreePages()
90 DCHECK(IsAligned(size, allocation_granularity())); in FreePages()
105 DCHECK(IsAligned(address, allocation_granularity())); in AllocateGuardRegion()
106 DCHECK(IsAligned(size, allocation_granularity())); in AllocateGuardRegion()
109 void* result = OS::Allocate(hint, size, allocation_granularity(), in AllocateGuardRegion()
118 DCHECK(IsAligned(address, allocation_granularity())); in FreeGuardRegion()
119 DCHECK(IsAligned(size, allocation_granularity())); in FreeGuardRegion()
131 DCHECK(IsAligned(hint, allocation_granularity())); in AllocateSharedPages()
132 DCHECK(IsAligned(size, allocation_granularity())); in AllocateSharedPages()
133 DCHECK(IsAligned(offset, allocation_granularity())); in AllocateSharedPages()
141 DCHECK(IsAligned(address, allocation_granularity())); in FreeSharedPages()
142 DCHECK(IsAligned(size, allocation_granularity())); in FreeSharedPages()
150 DCHECK(IsAligned(alignment, allocation_granularity())); in AllocateSubspace()
152 DCHECK(IsAligned(size, allocation_granularity())); in AllocateSubspace()
186 parent_space->allocation_granularity(), in VirtualAddressSubspace()
192 parent_space->allocation_granularity()), in VirtualAddressSubspace()
198 DCHECK(IsAligned(start, allocation_granularity())); in VirtualAddressSubspace()
202 DCHECK(IsAligned(start, allocation_granularity())); in VirtualAddressSubspace()
222 return RoundDown(addr, allocation_granularity()); in RandomPageAddress()
228 DCHECK(IsAligned(alignment, allocation_granularity())); in AllocatePages()
230 DCHECK(IsAligned(size, allocation_granularity())); in AllocatePages()
249 DCHECK(IsAligned(address, allocation_granularity())); in FreePages()
250 DCHECK(IsAligned(size, allocation_granularity())); in FreePages()
272 DCHECK(IsAligned(address, allocation_granularity())); in AllocateGuardRegion()
273 DCHECK(IsAligned(size, allocation_granularity())); in AllocateGuardRegion()
283 DCHECK(IsAligned(address, allocation_granularity())); in FreeGuardRegion()
284 DCHECK(IsAligned(size, allocation_granularity())); in FreeGuardRegion()
293 DCHECK(IsAligned(hint, allocation_granularity())); in AllocateSharedPages()
294 DCHECK(IsAligned(size, allocation_granularity())); in AllocateSharedPages()
295 DCHECK(IsAligned(offset, allocation_granularity())); in AllocateSharedPages()
300 region_allocator_.AllocateRegion(hint, size, allocation_granularity()); in AllocateSharedPages()
314 DCHECK(IsAligned(address, allocation_granularity())); in FreeSharedPages()
315 DCHECK(IsAligned(size, allocation_granularity())); in FreeSharedPages()
329 DCHECK(IsAligned(alignment, allocation_granularity())); in AllocateSubspace()
331 DCHECK(IsAligned(size, allocation_granularity())); in AllocateSubspace()