Lines Matching refs:kRegionSize
33 capacity = RoundUp(capacity, kRegionSize); in Create()
52 CHECK_ALIGNED(mem_map_size, kRegionSize); in RegionSpace()
53 CHECK_ALIGNED(mem_map->Begin(), kRegionSize); in RegionSpace()
54 num_regions_ = mem_map_size / kRegionSize; in RegionSpace()
59 for (size_t i = 0; i < num_regions_; ++i, region_addr += kRegionSize) { in RegionSpace()
60 regions_[i] = Region(i, region_addr, region_addr + kRegionSize); in RegionSpace()
66 CHECK_EQ(static_cast<size_t>(regions_[i].End() - regions_[i].Begin()), kRegionSize); in RegionSpace()
91 return num_regions * kRegionSize; in FromSpaceSize()
103 return num_regions * kRegionSize; in UnevacFromSpaceSize()
115 return num_regions * kRegionSize; in ToSpaceSize()
178 num_expected_large_tails = RoundUp(r->BytesAllocated(), kRegionSize) / kRegionSize - 1; in SetFromSpace()
263 max_contiguous_free_regions * kRegionSize); in LogFragmentationAllocFailure()
290 DCHECK_ALIGNED(large_obj, kRegionSize); in FreeLarge()
293 uint8_t* end_addr = AlignUp(reinterpret_cast<uint8_t*>(large_obj) + bytes_allocated, kRegionSize); in FreeLarge()
295 for (uint8_t* addr = begin_addr; addr < end_addr; addr += kRegionSize) { in FreeLarge()
369 DCHECK_ALIGNED(tlab_start, kRegionSize); in RevokeThreadLocalBuffersLocked()
372 DCHECK_EQ(thread->GetThreadLocalBytesAllocated(), kRegionSize); in RevokeThreadLocalBuffersLocked()