/vbox/src/VBox/HostDrivers/Support/testcase/ |
H A D | tstLow.cpp | 60 for (unsigned iPage = 0; iPage < RT_ELEMENTS(aPages0); iPage++) 62 RTPrintf("%-4d: Phys=%RHp Reserved=%p\n", iPage, aPages0[iPage].Phys, aPages0[iPage].uReserved); 63 if (aPages0[iPage].uReserved != 0) 66 RTPrintf("tstLow: error: aPages0[%d].uReserved=%#x expected 0!\n", iPage, aPages0[iPage].uReserved); 68 if ( aPages0[iPage] [all...] |
/vbox/src/VBox/Runtime/r0drv/linux/ |
H A D | alloc-r0drv-linux.c | 166 size_t iPage; local 181 for (iPage = 0; iPage < cPages; iPage++) 183 papPages[iPage] = alloc_page(GFP_KERNEL | __GFP_HIGHMEM | __GFP_NOWARN); 184 if (!papPages[iPage]) 187 if (iPage == cPages) 222 while (iPage-- > 0) 223 __free_page(papPages[iPage]); 335 size_t iPage local 416 unsigned iPage; local 457 unsigned iPage; local [all...] |
H A D | memobj-r0drv-linux.c | 289 size_t iPage; local 330 for (iPage = 0; iPage < cPages; iPage++) 331 pMemLnx->apPages[iPage] = &paPages[iPage]; 342 for (iPage = 0; iPage < cPages; iPage++) 344 pMemLnx->apPages[iPage] 418 size_t iPage = pMemLnx->cPages; local 476 size_t iPage = pMemLnx->cPages; local 570 size_t iPage; local 727 size_t iPage = pMemLnx->cPages; local 773 size_t iPage = pMemLnx->cPages; local 1082 size_t iPage; local 1180 size_t iPage = cPages; local 1437 size_t iPage; local [all...] |
/vbox/src/VBox/VMM/VMMRZ/ |
H A D | PGMRZDynMap.cpp | 143 (pEntry)->iPage = UINT16_MAX; \ 181 uint16_t iPage; member in struct:PGMR0DYNMAPSEG 326 static void pgmRZDynMapReleasePage(PPGMRZDYNMAP pThis, uint32_t iPage, uint32_t cRefs); 563 uint32_t iPage = pSet->aEntries[j].iPage; local 564 LogRel(("PGMR0DynMapTermVM: %d dangling refs to %#x\n", cRefs, iPage)); 565 if (iPage < pThis->cPages && cRefs > 0) 566 pgmRZDynMapReleasePage(pThis, iPage, cRefs); 568 AssertLogRelMsgFailed(("cRefs=%d iPage=%#x cPages=%u\n", cRefs, iPage, pThi 615 uint32_t iPage = pThis->cPages; local 633 uint32_t iPage = pThis->cPages; local 1027 uint32_t iPage = pSeg->iPage; local 1178 uint32_t iPage = pThis->cPages; local 1308 pgmRZDynMapReleasePageLocked(PPGMRZDYNMAP pThis, uint32_t iPage, int32_t cRefs) argument 1331 pgmRZDynMapReleasePage(PPGMRZDYNMAP pThis, uint32_t iPage, uint32_t cRefs) argument 1350 pgmR0DynMapPageSlow(PPGMRZDYNMAP pThis, RTHCPHYS HCPhys, uint32_t iPage, PVMCPU pVCpu, bool *pfNew) argument 1472 uint32_t iPage = (HCPhys >> PAGE_SHIFT) % cPages; local 1600 uint32_t iPage = pThis->cPages; local 1643 uint32_t iPage = pThis->cPages; local 1728 uint16_t const iPage = pSet->aEntries[i].iPage; local 1909 uint32_t iPage = pSet->aEntries[i].iPage; local 2025 uint32_t iPage = pSet->aEntries[i].iPage; local 2074 uint32_t iPage = pSet->aEntries[i].iPage; local 2292 uint32_t iPage = pgmR0DynMapPage(pThis, HCPhys, pSet->iCpu, pVCpu, &pvPage); local [all...] |
/vbox/src/VBox/VMM/testcase/ |
H A D | tstCompressionBenchmark.cpp | 168 for (uint32_t iPage = 0; iPage < cPages; iPage++) 169 RTCrc32(&pabSrc[iPage * PAGE_SIZE], PAGE_SIZE); 176 for (uint32_t iPage = 0; iPage < cPages; iPage++) 177 RTCrc64(&pabSrc[iPage * PAGE_SIZE], PAGE_SIZE); 183 for (uint32_t iPage = 0; iPage < cPage [all...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PGMSavedState.cpp | 245 for (uint32_t iPage = 0; iPage < cPages; iPage++) 247 pRom->aPages[iPage].LiveSave.u8Prot = (uint8_t)PGMROMPROT_INVALID; 248 pRom->aPages[iPage].LiveSave.fWrittenTo = false; 249 pRom->aPages[iPage].LiveSave.fDirty = true; 250 pRom->aPages[iPage].LiveSave.fDirtiedRecently = true; 253 if (PGMROMPROT_IS_ROM(pRom->aPages[iPage].enmProt)) 254 pRom->aPages[iPage].LiveSave.fWrittenTo = !PGM_PAGE_IS_ZERO(&pRom->aPages[iPage] 1108 uint32_t iPage = cPages; local 1265 pgmR3StateCalcCrc32ForRamPage(PVM pVM, PPGMRAMRANGE pCur, PPGMLIVESAVERAMPAGE paLSPages, uint32_t iPage) argument 1290 pgmR3StateVerifyCrc32ForPage(void const *pvPage, PPGMRAMRANGE pCur, PPGMLIVESAVERAMPAGE paLSPages, uint32_t iPage, const char *pszWhere) argument 1314 pgmR3StateVerifyCrc32ForRamPage(PVM pVM, PPGMRAMRANGE pCur, PPGMLIVESAVERAMPAGE paLSPages, uint32_t iPage, const char *pszWhere) argument 1356 uint32_t iPage = GCPhysCur <= pCur->GCPhys ? 0 : (GCPhysCur - pCur->GCPhys) >> PAGE_SHIFT; local 1571 uint32_t iPage = GCPhysCur <= pCur->GCPhys ? 0 : (GCPhysCur - pCur->GCPhys) >> PAGE_SHIFT; local 1799 uint32_t iPage = pCur->cb >> PAGE_SHIFT; local 2646 uint32_t iPage = UINT32_MAX - 10; local [all...] |
H A D | PGMPhys.cpp | 139 unsigned iPage = off >> PAGE_SHIFT; local 140 PPGMPAGE pPage = &pRam->aPages[iPage]; 274 RTGCPTR iPage = off >> PAGE_SHIFT; local 275 PPGMPAGE pPage = &pRam->aPages[iPage]; 1159 for (uint32_t iPage = 0; iPage < cPages; iPage++) 1161 PPGMPAGE pPage = &pRam->aPages[iPage]; 1182 pgmPhysPageWriteMonitor(pVM, pPage, pRam->GCPhys + ((RTGCPHYS)iPage << PAGE_SHIFT)); 1238 for (uint32_t iPage 1487 RTGCPHYS iPage = cPages; local 1850 uint32_t iPage = pRam->cb >> PAGE_SHIFT; local 1948 uint32_t iPage = pRam->cb >> PAGE_SHIFT; local 2118 uint32_t iPage = pRam->cb >> PAGE_SHIFT; local 2292 uint32_t iPage = cPages; local 2370 uint32_t iPage = 0; local 2417 uint32_t iPage = (GCPhys - pRam->GCPhys) >> PAGE_SHIFT; local 2590 uint32_t iPage = cPages; local 3528 const uint32_t iPage = (GCPhys - pRom->GCPhys) >> PAGE_SHIFT; local 4644 uint32_t iPage = *pcPendingPages; local [all...] |
H A D | GMM.cpp | 111 for (uint32_t iPage = 0; iPage < pReq->cPages; iPage++) 113 pReq->aPages[iPage].idPage, pReq->aPages[iPage].HCPhysGCPhys)); 261 uint32_t iPage = pAllocReq->cPages; local 262 while (iPage-- > 0) 264 Assert(pAllocReq->aPages[iPage].idPage != NIL_GMM_PAGEID); 265 pReq->aPages[iPage].idPage = pAllocReq->aPages[iPage] [all...] |
H A D | MMPagePool.cpp | 186 const int iPage = ASMBitFirstClear(pSub->auBitmap, pSub->cPages); local 187 if (iPage >= 0) 189 Assert(!ASMBitTest(pSub->auBitmap, iPage)); 190 ASMBitSet(pSub->auBitmap, iPage); 191 return (uint8_t *)pSub->pvPages + PAGE_SIZE * iPage; 360 const unsigned iPage = ((uint8_t *)pv - (uint8_t *)pSubPool->pvPages) >> PAGE_SHIFT; local 362 Assert(ASMBitTest(pSubPool->auBitmap, iPage)); 363 ASMBitClear(pSubPool->auBitmap, iPage); 365 unsigned iBit = iPage % (sizeof(pSubPool->auBitmap[0]) * 8); 366 unsigned iIndex = iPage / (sizeo [all...] |
/vbox/src/VBox/VMM/VMMAll/ |
H A D | MMAllPagePool.cpp | 70 unsigned iPage = pPhysPage - pSubPool->paPhysPages; local 71 return (char *)pSubPool->pvPages + (HCPhys & PAGE_OFFSET_MASK) + (iPage << PAGE_SHIFT); 180 unsigned iPage = ((char *)pv - (char *)pLookup->pSubPool->pvPages) >> PAGE_SHIFT; local 181 if (iPage < pLookup->pSubPool->cPages) 187 AssertMsg( pLookup->pSubPool->paPhysPages[iPage].Phys 188 && !(pLookup->pSubPool->paPhysPages[iPage].Phys & PAGE_OFFSET_MASK), 189 ("Phys=%#x\n", pLookup->pSubPool->paPhysPages[iPage].Phys)); 190 AssertMsg((uintptr_t)pLookup->pSubPool == pLookup->pSubPool->paPhysPages[iPage].uReserved, 191 ("pSubPool=%p uReserved=%p\n", pLookup->pSubPool, pLookup->pSubPool->paPhysPages[iPage].uReserved)); 192 return pLookup->pSubPool->paPhysPages[iPage] [all...] |
H A D | PGMAllGst.h | 482 unsigned iPage = 0; local 483 while (iPage < pCur->cPages) 512 iPTE < RT_ELEMENTS(pPT->a) && iPage < pCur->cPages; 513 iPTE++, iPage++, GCPtr += PAGE_SIZE, offPage = 0) 521 if (pCur->aPhysToVirt[iPage].Core.Key != GCPhysNew) 523 if (pCur->aPhysToVirt[iPage].Core.Key != NIL_RTGCPHYS) 524 pgmHandlerVirtualClearPage(pVM, pCur, iPage); 526 AssertReleaseMsg(!pCur->aPhysToVirt[iPage].offNextAlias, 528 pCur->aPhysToVirt[iPage].Core.Key, pCur->aPhysToVirt[iPage] [all...] |
/vbox/src/VBox/VMM/VMMR0/ |
H A D | GMMR0.cpp | 37 * idPage = (idChunk << GMM_CHUNK_SHIFT) | iPage; 39 * Where iPage is the index of the page within the chunk. This ID scheme 1422 unsigned iPage = (GMM_CHUNK_SIZE >> PAGE_SHIFT); local 1423 while (iPage-- > 0) 1424 if (GMM_PAGE_IS_PRIVATE(&pChunk->aPages[iPage])) 1426 if (pChunk->aPages[iPage].Private.hGVM == hGVM) 1435 pChunk->aPages[iPage].u = 0; 1436 pChunk->aPages[iPage].Free.iNext = pChunk->iFreeHead; 1437 pChunk->aPages[iPage].Free.u2State = GMM_PAGE_STATE_FREE; 1438 pChunk->iFreeHead = iPage; [all...] |
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | rtmempage-exec-mmap-heap-posix.cpp | 240 * @param iPage The page to start allocating at. 245 DECLINLINE(int) rtHeapPageAllocFromBlockSuccess(PRTHEAPPAGEBLOCK pBlock, uint32_t iPage, size_t cPages, bool fZero, void **ppv) argument 249 ASMBitSet(&pBlock->bmFirst[0], iPage); 256 void *pv = (uint8_t *)pBlock->Core.Key + (iPage << PAGE_SHIFT); 300 int iPage = ASMBitFirstClear(&pBlock->bmAlloc[0], RTMEMPAGEPOSIX_BLOCK_PAGE_COUNT); local 301 Assert(iPage >= 0); 306 ASMBitSet(&pBlock->bmAlloc[0], iPage); 307 return rtHeapPageAllocFromBlockSuccess(pBlock, iPage, cPages, fZero, ppv); 310 while ( iPage >= 0 311 && (unsigned)iPage < 536 uint32_t const iPage = (uint32_t)(((uintptr_t)pv - (uintptr_t)pBlock->Core.Key) >> PAGE_SHIFT); local [all...] |
/vbox/src/VBox/Runtime/r0drv/solaris/ |
H A D | memobj-r0drv-solaris.c | 295 for (size_t iPage = 0; iPage < cPages; iPage++) 296 rtR0MemObjSolPageDestroy(ppPages[iPage]); 360 for (size_t iPage = 0; iPage < cPages; iPage++) 364 AssertMsg(page_pptonum(pPage) == iPage + page_pptonum(pRootPage), 365 ("%p:%lx %lx+%lx\n", pPage, page_pptonum(pPage), iPage, page_pptonum(pRootPage))); local 382 ppPages[iPage] [all...] |
H A D | memobj-r0drv-solaris.h | 94 for (pgcnt_t iPage = 0; iPage < cPages; ++iPage, virtAddr += cbPageSize) 96 hat_devload(pAddrSpace->a_hat, virtAddr, cbPageSize, pArgs->paPhysAddrs[iPage] >> uPageShift, 220 size_t iPage = seg_page(pSeg, virtAddr + cb) - seg_page(pSeg, virtAddr) + 1; local 221 if (iPage) 225 iPage--; 226 pafPageAccess[iPage] = pData->fPageAccess; 227 } while (iPage);
|
/vbox/src/VBox/ValidationKit/testmanager/webui/ |
H A D | wuiadminsystemlog.py | 44 def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp): 45 WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, 'System Log',
|
H A D | wuifailurecategory.py | 81 def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp): 82 WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
|
H A D | wuiadminbuildcategory.py | 44 def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp): 45 WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
|
H A D | wuiadminfailurereason.py | 98 def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp): 99 WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
|
H A D | wuiadminglobalrsrc.py | 90 def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp): 91 WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
|
H A D | wuiadminuseraccount.py | 69 def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp): 70 WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
|
/vbox/src/VBox/Runtime/r0drv/nt/ |
H A D | memobj-r0drv-nt.cpp | 271 size_t iPage = cb >> PAGE_SHIFT; local 272 while (iPage-- > 0) 273 if (rtR0MemObjNativeGetPagePhysAddr(*ppMem, iPage) >= _4G) 436 size_t iPage; local 437 for (iPage = 1; iPage < cPages; iPage++, Pfn++) 438 if (paPfns[iPage] != Pfn) 440 if (iPage >= cPages) 830 DECLHIDDEN(RTHCPHYS) rtR0MemObjNativeGetPagePhysAddr(PRTR0MEMOBJINTERNAL pMem, size_t iPage) argument [all...] |
/vbox/src/VBox/Runtime/r0drv/haiku/ |
H A D | memobj-r0drv-haiku.c | 537 for (uint32_t iPage = 0; iPage < cPages; iPage++) 539 vm_page_t pPage = pMemToMapHaiku->u.Phys.apPages[iPage]; 550 for (uint32_t iPage = 0; iPage < cPages; iPage++) 592 RTHCPHYS rtR0MemObjNativeGetPagePhysAddr(PRTR0MEMOBJINTERNAL pMem, size_t iPage) argument 599 LogFlow(("rtR0MemObjNativeGetPagePhysAddr: pMem=%p enmType=%x iPage=%u\n", pMem, pMemHaiku->Core.enmType,(unsigned)iPage)); [all...] |
/vbox/src/VBox/Devices/VMMDev/ |
H A D | VMMDevHGCM.cpp | 280 uint32_t iPage = 0; local 285 while (iPage < cPages) 292 Log(("vmmdevHGCMSaveLinPtr: Page %d: %RGv -> %RGp. %Rrc\n", iPage, GCPtr, GCPhys, rc)); 300 pLinPtr->paPages[iPage++] = GCPhys; 327 uint32_t iPage = 0; local 329 while (iPage < pLinPtr->cPages) 332 uint32_t cbWrite = iPage == 0? 336 Log(("vmmdevHGCMWriteLinPtr: page %d: dst %RGp, src %p, cbWrite %d\n", iPage, GCPhysDst, pu8Src, cbWrite)); 338 iPage++; 358 GCPhysDst = pLinPtr->paPages[iPage]; 378 uint32_t iPage = 2; local 408 uint32_t iPage; local 446 uint32_t iPage; local 1170 logRelLoadStateBufferSizeMismatch(uint32_t size, uint32_t iPage, uint32_t cPages) argument 1432 uint32_t iPage; local 1612 uint32_t iPage; local 2479 uint32_t iPage; local 2634 uint32_t iPage; local [all...] |
/vbox/src/VBox/Additions/common/VBoxGuestLib/ |
H A D | VBoxGuestR0LibSharedFolders.c | 452 uint16_t iPage; local 476 for (iPage = 0; iPage < cPages; iPage++) 477 pPgLst->aPages[iPage] = paPages[iPage]; 532 uint32_t iPage; local 557 for (iPage = 0; iPage < cPages; iPage 580 uint16_t iPage; local [all...] |