Lines Matching defs:pv
46 static void mmR3PagePoolFree(PMMPAGEPOOL pPool, void *pv);
333 * @param pv Pointer to the page to free.
337 DECLINLINE(void) mmR3PagePoolFree(PMMPAGEPOOL pPool, void *pv)
345 PMMPPLOOKUPHCPTR pLookup = (PMMPPLOOKUPHCPTR)RTAvlPVGetBestFit(&pPool->pLookupVirt, pv, false);
347 || (uint8_t *)pv >= (uint8_t *)pLookup->pSubPool->pvPages + (pLookup->pSubPool->cPages << PAGE_SHIFT)
351 AssertMsgFailed(("invalid pointer %p\n", pv));
360 const unsigned iPage = ((uint8_t *)pv - (uint8_t *)pSubPool->pvPages) >> PAGE_SHIFT;
417 void *pv = mmR3PagePoolAlloc(pVM->mm.s.pPagePoolR3);
418 if (pv)
419 return mmPagePoolPtr2Phys(pVM->mm.s.pPagePoolR3, pv);