Searched refs:pageTableNdx (Results 1 – 2 of 2) sorted by relevance
101 int pageTableNdx = arr->capacity >> DE_ARRAY_ELEMENTS_PER_PAGE_LOG2; in dePoolArray_reserve() local107 DE_ASSERT(arr->pageTableCapacity > pageTableNdx); /* \todo [petri] is this always true? */ in dePoolArray_reserve()108 DE_ASSERT(!arr->pageTable[pageTableNdx]); in dePoolArray_reserve()109 arr->pageTable[pageTableNdx++] = newPage; in dePoolArray_reserve()116 for (; pageTableNdx < reqPageTableCapacity; pageTableNdx++) in dePoolArray_reserve()122 DE_ASSERT(!arr->pageTable[pageTableNdx]); in dePoolArray_reserve()123 arr->pageTable[pageTableNdx] = newPage; in dePoolArray_reserve()126 arr->capacity = pageTableNdx << DE_ARRAY_ELEMENTS_PER_PAGE_LOG2; in dePoolArray_reserve()
326 deUintptr pageTableNdx = m_capacity >> ELEMENTS_PER_PAGE_LOG2; in reserve() local337 DE_ASSERT(m_pageTableCapacity > pageTableNdx); in reserve()338 DE_ASSERT(!m_pageTable[pageTableNdx]); in reserve()339 m_pageTable[pageTableNdx++] = newPage; in reserve()346 for (; pageTableNdx < reqPageTableCapacity; pageTableNdx++) in reserve()348 DE_ASSERT(!m_pageTable[pageTableNdx]); in reserve()349 m_pageTable[pageTableNdx] = m_pool->alignedAlloc(pageAllocSize, Alignment); in reserve()352 m_capacity = pageTableNdx << ELEMENTS_PER_PAGE_LOG2; in reserve()