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()
325 deUintptr pageAllocSize = elementSize << ELEMENTS_PER_PAGE_LOG2; in reserve() local334 if (oldPageTableSize < pageAllocSize+alignPadding) in reserve()341 oldPageTable = (void*)((deUint8*)newPage + pageAllocSize); in reserve()342 oldPageTableSize -= pageAllocSize+alignPadding; in reserve()349 m_pageTable[pageTableNdx] = m_pool->alignedAlloc(pageAllocSize, Alignment); in reserve()