Home
last modified time | relevance | path

Searched refs:mPageSize (Results 1 – 4 of 4) sorted by relevance

/system/core/libutils/
DFileMap.cpp40 /*static*/ long FileMap::mPageSize = -1; member in FileMap
99 if (mPageSize == -1) { in create()
103 mPageSize = si.dwAllocationGranularity; in create()
116 adjust = offset % mPageSize; in create()
146 if (mPageSize == -1) { in create()
148 mPageSize = sysconf(_SC_PAGESIZE); in create()
149 if (mPageSize == -1) { in create()
155 mPageSize = 4096; in create()
159 adjust = offset % mPageSize; in create()
DLinearAllocator.cpp111 : mPageSize(INITIAL_PAGE_SIZE) in LinearAllocator()
127 RM_ALLOCATION(mPageSize); in ~LinearAllocator()
137 return ((char*)p) + mPageSize; in end()
147 if (mCurrentPage && mPageSize < MAX_PAGE_SIZE) { in ensureNext()
148 mPageSize = min(MAX_PAGE_SIZE, mPageSize * 2); in ensureNext()
149 mPageSize = ALIGN(mPageSize); in ensureNext()
151 mWastedSpace += mPageSize; in ensureNext()
152 Page* p = newPage(mPageSize); in ensureNext()
/system/core/include/utils/
DLinearAllocator.h82 size_t mPageSize; variable
DFileMap.h131 static long mPageSize; variable