reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
121 const size_t NumPages = (NumBytes+PageSize-1)/PageSize; 121 const size_t NumPages = (NumBytes+PageSize-1)/PageSize; 123 if (Start && Start % PageSize) 124 Start += PageSize - Start % PageSize; 124 Start += PageSize - Start % PageSize; 127 void *Addr = ::mmap(reinterpret_cast<void *>(Start), PageSize*NumPages, Protect, 150 Result.AllocatedSize = PageSize*NumPages;