Lines Matching refs:idxFree
1739 unsigned idxFree;
1745 idxFree = pPool->idxFreeDirtyPage;
1746 Assert(idxFree < RT_ELEMENTS(pPool->aDirtyPages));
1752 pgmPoolFlushDirtyPage(pVM, pPool, idxFree, true /* allow removal of reused page tables*/);
1755 AssertMsg(pPool->aDirtyPages[idxFree].uIdx == NIL_PGMPOOL_IDX, ("idxFree=%d cDirtyPages=%d\n", idxFree, pPool->cDirtyPages));
1757 Log(("Add dirty page %RGp (slot=%d)\n", pPage->GCPhys, idxFree));
1766 memcpy(&pPool->aDirtyPages[idxFree].aPage[0], pvGst, (pPage->enmKind == PGMPOOLKIND_PAE_PT_FOR_PAE_PT) ? PAGE_SIZE : PAGE_SIZE/2);
1779 pPage->idxDirtyEntry = (uint8_t)idxFree; Assert(pPage->idxDirtyEntry == idxFree);
1780 pPool->aDirtyPages[idxFree].uIdx = pPage->idx;
1790 idxFree = (pPool->idxFreeDirtyPage + i) & (RT_ELEMENTS(pPool->aDirtyPages) - 1);
1791 if (pPool->aDirtyPages[idxFree].uIdx == NIL_PGMPOOL_IDX)
1793 pPool->idxFreeDirtyPage = idxFree;