Lines Matching refs:Shared

51  *   - Shared  - Readonly page that is used by one or more VMs and treated
73 * a few pages in each. Shared pages cannot easily be reallocated because
245 } Shared;
290 } Shared;
512 GMMCHUNKFREESET Shared;
514 /** Shared module tree (global).
1784 cErrors += gmmR0SanityCheckSet(pGMM, &pGMM->Shared, "shared", pszFunction, uLineNo);
1961 pSet = &pGMM->Shared;
2594 * Shared mode is trickier as we should try archive the same locality as
2619 iPage = gmmR0AllocatePagesFromEmptyChunksOnSameNode(&pGMM->Shared, pGVM, iPage, cPages, paPages);
2642 && pGMM->PrivateX.cFreePages + pGMM->Shared.cFreePages >= cPages - iPage)
2646 iPage = gmmR0AllocatePagesIndiscriminately(&pGMM->Shared, pGVM, iPage, cPages, paPages);
2839 Assert(pPage->Shared.cRefs);
2843 Log(("GMMR0AllocateHandyPages: free shared page %x cRefs=%d\n", paPages[iPage].idSharedPage, pPage->Shared.cRefs));
2846 if (!--pPage->Shared.cRefs)
3378 Assert(!pPage->Shared.cRefs);
3486 Assert(pPage->Shared.cRefs);
3488 if (pPage->Shared.u14Checksum)
3492 AssertMsg(!uChecksum || uChecksum == pPage->Shared.u14Checksum,
3493 ("%#x vs %#x - idPage=%#x\n", uChecksum, pPage->Shared.u14Checksum, idPage));
3497 if (!--pPage->Shared.cRefs)
4782 pPage->Shared.cRefs++;
4814 pPage->Shared.pfn = (uint32_t)(uint64_t)(HCPhys >> PAGE_SHIFT);
4815 pPage->Shared.cRefs = 1;
4818 pPage->Shared.u14Checksum = pPageDesc->u32StrictChecksum;
4820 pPage->Shared.u14Checksum = 0;
4822 pPage->Shared.u2State = GMM_PAGE_STATE_SHARED;
4937 Log(("Replace existing page guest host %RHp -> %RHp\n", pPageDesc->HCPhys, ((uint64_t)pPage->Shared.pfn) << PAGE_SHIFT));
4973 AssertMsg(!uChecksum || uChecksum == pPage->Shared.u14Checksum || !pPage->Shared.u14Checksum,
4974 ("%#x vs %#x - idPage=%# - %s %s\n", uChecksum, pPage->Shared.u14Checksum,
5000 pPageDesc->HCPhys = ((uint64_t)pPage->Shared.pfn) << PAGE_SHIFT;