Searched refs:pageAllocSize (Results 1 – 2 of 2) sorted by relevance
100 int pageAllocSize = arr->elementSize << DE_ARRAY_ELEMENTS_PER_PAGE_LOG2; in dePoolArray_reserve() local104 while (oldPageTableSize >= pageAllocSize) in dePoolArray_reserve()111 oldPageTable = (void*)((deUint8*)oldPageTable + pageAllocSize); in dePoolArray_reserve()112 oldPageTableSize -= pageAllocSize; in dePoolArray_reserve()118 void* newPage = deMemPool_alloc(arr->pool, (size_t)pageAllocSize); in dePoolArray_reserve()
316 deUintptr pageAllocSize = elementSize << ELEMENTS_PER_PAGE_LOG2; in reserve() local325 if (oldPageTableSize < pageAllocSize+alignPadding) in reserve()332 oldPageTable = (void*)((deUint8*)newPage + pageAllocSize); in reserve()333 oldPageTableSize -= pageAllocSize+alignPadding; in reserve()340 m_pageTable[pageTableNdx] = m_pool->alignedAlloc(pageAllocSize, Alignment); in reserve()