Lines Matching defs:RegionSize
103 RegionSize);
121 unmap(reinterpret_cast<void *>(I * RegionSize), RegionSize);
293 const uptr From = I * RegionSize;
294 const uptr To = From + (RegionSize / BlockSize) * BlockSize;
379 static const uptr RegionSize = 1UL << Config::getRegionSizeLog();
420 uptr MapSize = 2 * RegionSize;
427 if (isAligned(Region, RegionSize)) {
430 RegionsStash[NumberOfStashedRegions++] = MapBase + RegionSize;
432 MapSize = RegionSize;
434 Region = roundUp(MapBase, RegionSize);
436 MapSize = RegionSize;
442 DCHECK_EQ(Region % RegionSize, 0U);
791 // for that region (up to RegionSize). Otherwise, create a new region, where
802 C->getStats().add(StatMapped, RegionSize);
817 static_cast<u32>((RegionSize - Offset) / Size));
862 DCHECK_LE(Sci->CurrentRegionAllocated + AllocatedUser, RegionSize);
866 if (RegionSize - (Sci->CurrentRegionAllocated + AllocatedUser) < Size) {
906 const uptr Base = First * RegionSize;
930 AllocatedPagesCount += RegionSize / PageSize;
980 const uptr Base = First * RegionSize;
1085 /*ReleaseSize=*/RegionSize);
1131 const uptr RegionIndex = (GroupBase - Base) / RegionSize;