Lines Matching refs:PageSize
116 static const size_t PageSize = Process::getPageSizeEstimate();
117 const size_t NumPages = (NumBytes+PageSize-1)/PageSize;
119 if (Start && Start % PageSize)
120 Start += PageSize - Start % PageSize;
123 void *Addr = ::mmap(reinterpret_cast<void *>(Start), PageSize*NumPages, Protect,
146 Result.AllocatedSize = PageSize*NumPages;
175 static const Align PageSize = Align(Process::getPageSizeEstimate());
183 uintptr_t Start = alignAddr((const uint8_t *)M.Address - PageSize.value() + 1, PageSize);
184 uintptr_t End = alignAddr((const uint8_t *)M.Address + M.AllocatedSize, PageSize);