Home
last modified time | relevance | path

Searched refs:PageSizeLog (Results 1 – 2 of 2) sorted by relevance

/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Drelease.h190 : Recorder(Recorder), PageSizeLog(getLog2(getPageSizeCached())) {} in FreePagesRangeTracker()
214 Recorder.releasePageRangeToOS((CurrentRangeStatePage << PageSizeLog), in closeOpenedRange()
215 (CurrentPage << PageSizeLog)); in closeOpenedRange()
221 const uptr PageSizeLog; variable
264 PageSizeLog = getLog2(PageSize); in PageReleaseContext()
265 RoundedRegionSize = PagesCount << PageSizeLog; in PageReleaseContext()
297 PageMap.inc(RegionIndex, PInRegion >> PageSizeLog); in markFreeBlocks()
312 PageMap.incRange(RegionIndex, PInRegion >> PageSizeLog, in markFreeBlocks()
313 (PInRegion + BlockSize - 1) >> PageSizeLog); in markFreeBlocks()
319 PageMap.incRange(RegionIndex, PInRegion >> PageSizeLog, in markFreeBlocks()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Drelease_test.cpp155 const scudo::uptr PageSizeLog = scudo::getLog2(PageSize); in testReleaseFreeMemoryToOS() local
234 PageMap.isAllCounted(0, (J * PageSize) >> PageSizeLog)); in testReleaseFreeMemoryToOS()
246 EXPECT_EQ(true, PageMap.isAllCounted(0, P >> PageSizeLog)); in testReleaseFreeMemoryToOS()
264 EXPECT_EQ(true, PageMap.isAllCounted(0, P >> PageSizeLog)); in testReleaseFreeMemoryToOS()