Lines Matching defs:pPhys

2109     PPGMPHYSHANDLER pPhys = NULL;
2115 pPhys = pgmHandlerPhysicalLookup(pVM, GCPhys);
2116 AssertReleaseMsg(pPhys, ("GCPhys=%RGp cb=%#x\n", GCPhys, cb));
2117 Assert(GCPhys >= pPhys->Core.Key && GCPhys <= pPhys->Core.KeyLast);
2118 Assert((pPhys->Core.Key & PAGE_OFFSET_MASK) == 0);
2119 Assert((pPhys->Core.KeyLast & PAGE_OFFSET_MASK) == PAGE_OFFSET_MASK);
2120 Assert(pPhys->CTX_SUFF(pfnHandler));
2122 PFNPGMR3PHYSHANDLER pfnHandler = pPhys->CTX_SUFF(pfnHandler);
2123 void *pvUser = pPhys->CTX_SUFF(pvUser);
2125 Log5(("pgmPhysReadHandler: GCPhys=%RGp cb=%#x pPage=%R[pgmpage] phys %s\n", GCPhys, cb, pPage, R3STRING(pPhys->pszDesc) ));
2126 STAM_PROFILE_START(&pPhys->Stat, h);
2133 pPhys = pgmHandlerPhysicalLookup(pVM, GCPhys);
2134 if (pPhys)
2135 STAM_PROFILE_STOP(&pPhys->Stat, h);
2137 pPhys = NULL; /* might not be valid anymore. */
2165 if (!pPhys)
2168 Log(("pgmPhysReadHandler: GCPhys=%RGp cb=%#x pPage=%R[pgmpage] phys/virt %s/%s\n", GCPhys, cb, pPage, R3STRING(pVirt->pszDesc), R3STRING(pPhys->pszDesc) ));
2502 PPGMPHYSHANDLER pPhys = NULL;
2547 if (fMorePhys && !pPhys)
2549 pPhys = pgmHandlerPhysicalLookup(pVM, GCPhys);
2550 if (pPhys)
2553 offPhysLast = pPhys->Core.KeyLast - GCPhys; /* ASSUMES < 4GB handlers... */
2557 pPhys = (PPGMPHYSHANDLER)RTAvlroGCPhysGetBestFit(&pVM->pgm.s.CTX_SUFF(pTrees)->PhysHandlers,
2559 if ( pPhys
2560 && pPhys->Core.Key <= GCPhys + (cbWrite - 1))
2562 offPhys = pPhys->Core.Key - GCPhys;
2563 offPhysLast = pPhys->Core.KeyLast - GCPhys; /* ASSUMES < 4GB handlers... */
2567 pPhys = NULL;
2597 PFNPGMR3PHYSHANDLER pfnHandler = pPhys->CTX_SUFF(pfnHandler);
2598 void *pvUser = pPhys->CTX_SUFF(pvUser);
2600 Log5(("pgmPhysWriteHandler: GCPhys=%RGp cbRange=%#x pPage=%R[pgmpage] phys %s\n", GCPhys, cbRange, pPage, R3STRING(pPhys->pszDesc) ));
2601 STAM_PROFILE_START(&pPhys->Stat, h);
2608 pPhys = pgmHandlerPhysicalLookup(pVM, GCPhys);
2609 if (pPhys)
2610 STAM_PROFILE_STOP(&pPhys->Stat, h);
2612 pPhys = NULL; /* might not be valid anymore. */
2614 AssertLogRelMsg(rc == VINF_SUCCESS || rc == VINF_PGM_HANDLER_DO_DEFAULT, ("rc=%Rrc GCPhys=%RGp pPage=%R[pgmpage] %s\n", rc, GCPhys, pPage, (pPhys) ? pPhys->pszDesc : ""));
2667 Log5(("pgmPhysWriteHandler: GCPhys=%RGp cbRange=%#x pPage=%R[pgmpage] phys/virt %s/%s\n", GCPhys, cbRange, pPage, R3STRING(pPhys->pszDesc), R3STRING(pVirt->pszDesc) ));
2669 PFNPGMR3PHYSHANDLER pfnHandler = pPhys->CTX_SUFF(pfnHandler);
2670 void *pvUser = pPhys->CTX_SUFF(pvUser);
2672 STAM_PROFILE_START(&pPhys->Stat, h);
2679 pPhys = pgmHandlerPhysicalLookup(pVM, GCPhys);
2680 if (pPhys)
2681 STAM_PROFILE_STOP(&pPhys->Stat, h);
2683 pPhys = NULL; /* might not be valid anymore. */
2685 AssertLogRelMsg(rc == VINF_SUCCESS || rc == VINF_PGM_HANDLER_DO_DEFAULT, ("rc=%Rrc GCPhys=%RGp pPage=%R[pgmpage] %s\n", rc, GCPhys, pPage, (pPhys) ? pPhys->pszDesc : ""));
2700 pPhys = NULL;