Home
last modified time | relevance | path

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

/oneTBB/src/tbbmalloc_proxy/
H A Dproxy.cpp120 static long memoryPageSize; variable
124 memoryPageSize = sysconf(_SC_PAGESIZE); in initPageSize()
220 if (! memoryPageSize) initPageSize(); in PREFIX()
222 return scalable_aligned_malloc(size, memoryPageSize); in PREFIX()
250 if (! memoryPageSize) initPageSize(); in pvalloc()
253 size = size? ((size-1) | (memoryPageSize-1)) + 1 : memoryPageSize; in pvalloc()
255 return scalable_aligned_malloc(size, memoryPageSize); in pvalloc()
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_overload.cpp250 const long memoryPageSize = sysconf(_SC_PAGESIZE); in CheckPvalloc() local
256 scalableMallocCheckSize(ptr, sz? alignUp(sz, memoryPageSize) : memoryPageSize); in CheckPvalloc()
257 REQUIRE(tbb::detail::is_aligned(ptr, memoryPageSize)); in CheckPvalloc()