Searched refs:cbPage (Results 1 - 12 of 12) sorted by relevance

/vbox/src/VBox/Devices/Storage/VSCSI/
H A DVSCSIVpdPagePool.cpp40 size_t cbPage; member in struct:VSCSIVPDPAGE
71 int vscsiVpdPagePoolAllocNewPage(PVSCSIVPDPOOL pVScsiVpdPool, uint8_t uPage, size_t cbPage, uint8_t **ppbPage) argument
83 pPage = (PVSCSIVPDPAGE)RTMemAllocZ(RT_OFFSETOF(VSCSIVPDPAGE, abPage[cbPage]));
86 pPage->cbPage = cbPage;
107 RTSgBufCopyFromBuf(&pVScsiReq->SgBuf, &pPage->abPage[0], pPage->cbPage);
H A DVSCSIInternal.h305 * @param cbPage Size of the page in bytes.
308 int vscsiVpdPagePoolAllocNewPage(PVSCSIVPDPOOL pVScsiVpdPool, uint8_t uPage, size_t cbPage, uint8_t **ppbPage);
/vbox/src/VBox/Runtime/r3/freebsd/
H A Dsystemmem-freebsd.cpp69 int cbPage = 0; local
88 cbParameter = sizeof(cbPage);
90 && sysctlbyname("hw.pagesize", &cbPage, &cbParameter, NULL, 0))
94 *pcb = (cPagesMemFree + cPagesMemInactive + cPagesMemCached ) * cbPage;
/vbox/src/VBox/Main/src-server/freebsd/
H A DPerformanceFreeBSD.cpp67 int cbPage = 0; local
86 cbParameter = sizeof(cbPage);
87 if (!sysctlbyname("hw.pagesize", &cbPage, &cbParameter, NULL, 0))
93 *used = cPagesMemUsed * (cbPage / _1K);
94 *available = (cPagesMemFree + cPagesMemInactive + cPagesMemCached ) * (cbPage / _1K);
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServiceBalloon.cpp285 * @param cbPage The page size.
287 uint32_t VBoxServiceBalloonQueryPages(uint32_t cbPage) argument
289 Assert(cbPage > 0);
290 return g_cMemBalloonChunks * (VMMDEV_MEMORY_BALLOON_CHUNK_SIZE / cbPage);
H A DVBoxServiceInternal.h214 extern uint32_t VBoxServiceBalloonQueryPages(uint32_t cbPage);
/vbox/src/VBox/VMM/VMMAll/
H A DPGMAllPhys.cpp2880 size_t cbPage = PAGE_SIZE - (GCPhysSrc & PAGE_OFFSET_MASK);
2881 if (RT_LIKELY(cb <= cbPage))
2889 memcpy(pvDst, pvSrc, cbPage);
2891 GCPhysSrc += cbPage;
2892 pvDst = (uint8_t *)pvDst + cbPage;
2893 cb -= cbPage;
2954 size_t cbPage = PAGE_SIZE - (GCPhysDst & PAGE_OFFSET_MASK);
2955 if (RT_LIKELY(cb <= cbPage))
2963 memcpy(pvDst, pvSrc, cbPage);
2965 GCPhysDst += cbPage;
3040 size_t cbPage = PAGE_SIZE - ((RTGCUINTPTR)GCPtrSrc & PAGE_OFFSET_MASK); local
[all...]
/vbox/src/libs/kStuff/iprt/
H A DkRdrFile-iprt.cpp342 const KSIZE cbPage = pRdr->pOps->pfnPageSize(pRdr); local
365 pPrep->cb = (pPrep->cb + (cbPage - 1)) & ~(cbPage- 1);
/vbox/include/VBox/vmm/
H A Dgmm.h406 GMMR0DECL(int) GMMR0AllocateLargePage(PVM pVM, VMCPUID idCpu, uint32_t cbPage, uint32_t *pIdPage, RTHCPHYS *pHCPhys);
784 GMMR3DECL(int) GMMR3AllocateLargePage(PVM pVM, uint32_t cbPage);
/vbox/src/VBox/Devices/Storage/
H A DDevLsiLogicSCSI.cpp2997 size_t cbPage = 0; local
3025 &pPageHeader, &pbPageData, &cbPage);
3034 &pPageHeader, &pbPageData, &cbPage);
3043 &pPageHeader, &pbPageData, &cbPage);
3053 &pPageHeader, &pbPageData, &cbPage);
3064 &pPageHeader, &pbPageData, &cbPage);
3072 &pPageHeader, &pbPageData, &cbPage);
3079 &pExtPageHeader, &pbPageData, &cbPage);
3142 PDMDevHlpPCIPhysWrite(pThis->CTX_SUFF(pDevIns), GCPhysAddrPageBuffer, pbPageData, RT_MIN(cbBuffer, cbPage));
3156 LogFlow(("cbBuffer=%u cbPage
[all...]
/vbox/src/VBox/VMM/VMMR3/
H A DPGMDbg.cpp1099 * @param cbPage The page size.
1101 static void pgmR3DumpHierarchyShwGuestPageInfo(PPGMR3DUMPHIERARCHYSTATE pState, RTHCPHYS HCPhys, uint32_t cbPage)
1127 NOREF(cbPage);
1782 * @param cbPage The page size.
1784 static void pgmR3DumpHierarchyGstPageInfo(PPGMR3DUMPHIERARCHYSTATE pState, RTGCPHYS GCPhys, uint32_t cbPage)
1795 NOREF(cbPage);
/vbox/src/VBox/VMM/VMMR0/
H A DGMMR0.cpp3018 * @param cbPage Large page size.
3020 GMMR0DECL(int) GMMR0AllocateLargePage(PVM pVM, VMCPUID idCpu, uint32_t cbPage, uint32_t *pIdPage, RTHCPHYS *pHCPhys)
3022 LogFlow(("GMMR0AllocateLargePage: pVM=%p cbPage=%x\n", pVM, cbPage));
3024 AssertReturn(cbPage == GMM_CHUNK_SIZE, VERR_INVALID_PARAMETER);

Completed in 193 milliseconds