/vbox/src/VBox/Runtime/common/misc/ |
H A D | reqpool.cpp | 98 struct RTREQPOOLINT *pPool; member in struct:RTREQPOOLTHREAD 221 * @param pPool The pool. cMsCurPushBack will be changed. 223 static void rtReqPoolRecalcPushBack(PRTREQPOOLINT pPool) argument 225 uint32_t const cMsRange = pPool->cMsMaxPushBack - pPool->cMsMinPushBack; 226 uint32_t const cSteps = pPool->cMaxThreads - pPool->cThreadsPushBackThreshold; 227 uint32_t const iStep = pPool->cCurThreads - pPool->cThreadsPushBackThreshold; 234 cMsCurPushBack += pPool 250 rtReqPoolThreadExit(PRTREQPOOLINT pPool, PRTREQPOOLTHREAD pThread, bool fLocked) argument 298 rtReqPoolThreadProcessRequest(PRTREQPOOLINT pPool, PRTREQPOOLTHREAD pThread, PRTREQINT pReq) argument 337 PRTREQPOOLINT pPool = pThread->pPool; local 447 rtReqPoolCreateNewWorker(RTREQPOOL pPool) argument 485 rtReqPoolPushBack(PRTREQPOOLINT pPool, PRTREQINT pReq) argument 525 rtReqPoolSubmit(PRTREQPOOLINT pPool, PRTREQINT pReq) argument 599 rtReqPoolRecycle(PRTREQPOOLINT pPool, PRTREQINT pReq) argument 654 PRTREQPOOLINT pPool = (PRTREQPOOLINT)RTMemAlloc(sizeof(*pPool)); local 713 PRTREQPOOLINT pPool = hPool; local [all...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PGMPool.cpp | 231 PPGMPOOL pPool; local 232 rc = MMR3HyperAllocOnceNoRel(pVM, cb, 0, MM_TAG_PGM_POOL, (void **)&pPool); 235 pVM->pgm.s.pPoolR3 = pPool; 236 pVM->pgm.s.pPoolR0 = MMHyperR3ToR0(pVM, pPool); 237 pVM->pgm.s.pPoolRC = MMHyperR3ToRC(pVM, pPool); 242 pPool->pVMR3 = pVM; 243 pPool->pVMR0 = pVM->pVMR0; 244 pPool->pVMRC = pVM->pVMRC; 245 pPool->cMaxPages = cMaxPages; 246 pPool 439 PPGMPOOL pPool = pVM->pgm.s.pPoolR3; local 505 pgmR3PoolFlushReusedPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage) argument 536 PPGMPOOL pPool = pVM->pgm.s.pPoolR3; local 627 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 886 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 961 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local [all...] |
H A D | MMPagePool.cpp | 45 static void * mmR3PagePoolAlloc(PMMPAGEPOOL pPool); 46 static void mmR3PagePoolFree(PMMPAGEPOOL pPool, void *pv); 163 * @param pPool Pointer to the page pool. 166 DECLINLINE(void *) mmR3PagePoolAlloc(PMMPAGEPOOL pPool) argument 168 VM_ASSERT_EMT(pPool->pVM); 169 STAM_COUNTER_INC(&pPool->cAllocCalls); 174 if (pPool->pHeadFree) 176 PMMPAGESUBPOOL pSub = pPool->pHeadFree; 179 pPool->pHeadFree = pSub->pNextFree; 181 pPool 337 mmR3PagePoolFree(PMMPAGEPOOL pPool, void *pv) argument [all...] |
H A D | PGMBth.h | 145 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 151 pgmPoolUnlockPage(pPool, pVCpu->pgm.s.CTX_SUFF(pShwPageCR3)); 158 pgmPoolFreeByPage(pPool, pVCpu->pgm.s.pShwPageCR3R3, NIL_PGMPOOL_IDX, UINT32_MAX); 179 pgmPoolLockPage(pPool, pVCpu->pgm.s.pShwPageCR3R3);
|
H A D | PGMShw.h | 242 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 251 /* pgmPoolUnlockPage(pPool, pVCpu->pgm.s.CTX_SUFF(pShwPageCR3)); */ 253 pgmPoolFreeByPage(pPool, pVCpu->pgm.s.CTX_SUFF(pShwPageCR3), NIL_PGMPOOL_IDX, UINT32_MAX);
|
H A D | PGMDbg.cpp | 1064 PPGMPOOLPAGE pPage = pgmPoolQueryPageForDbg(pState->pVM->pgm.s.CTX_SUFF(pPool), HCPhys);
|
/vbox/src/VBox/VMM/VMMAll/ |
H A D | PGMAllPool.cpp | 49 static void pgmPoolTrackClearPageUsers(PPGMPOOL pPool, PPGMPOOLPAGE pPage); 50 static void pgmPoolTrackDeref(PPGMPOOL pPool, PPGMPOOLPAGE pPage); 51 static int pgmPoolTrackAddUser(PPGMPOOL pPool, PPGMPOOLPAGE pPage, uint16_t iUser, uint32_t iUserTable); 52 static void pgmPoolMonitorModifiedRemove(PPGMPOOL pPool, PPGMPOOLPAGE pPage); 60 static void pgmPoolTrackCheckPTPaePae(PPGMPOOL pPool, PPGMPOOLPAGE pPage, PPGMSHWPTPAE pShwPT, PCX86PTPAE pGstPT); 95 * @param pPool The pool. 99 int pgmPoolMonitorChainFlush(PPGMPOOL pPool, PPGMPOOLPAGE pPage) argument 113 pPage = &pPool->aPages[idx]; 127 int rc2 = pgmPoolFlushPage(pPool, pPage); 133 pPage = &pPool 178 pgmPoolMonitorChainChanging(PVMCPU pVCpu, PPGMPOOL pPool, PPGMPOOLPAGE pPage, RTGCPHYS GCPhysFault, CTXTYPE(RTGCPTR, RTHCPTR, RTGCPTR) pvAddress, unsigned cbWrite) argument 698 pgmPoolMonitorIsForking(PPGMPOOL pPool, PDISCPUSTATE pDis, unsigned offFault) argument 825 pgmPoolAccessHandlerFlush(PVM pVM, PVMCPU pVCpu, PPGMPOOL pPool, PPGMPOOLPAGE pPage, PDISCPUSTATE pDis, PCPUMCTXCORE pRegFrame, RTGCPHYS GCPhysFault, RTGCPTR pvFault) argument 891 pgmPoolAccessHandlerSTOSD(PVM pVM, PPGMPOOL pPool, PPGMPOOLPAGE pPage, PDISCPUSTATE pDis, PCPUMCTXCORE pRegFrame, RTGCPHYS GCPhysFault, RTGCPTR pvFault) argument 964 pgmPoolAccessHandlerSimple(PVM pVM, PVMCPU pVCpu, PPGMPOOL pPool, PPGMPOOLPAGE pPage, PDISCPUSTATE pDis, PCPUMCTXCORE pRegFrame, RTGCPHYS GCPhysFault, RTGCPTR pvFault, bool *pfReused) argument 1064 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 1370 pgmPoolTrackCheckPTPaePae(PPGMPOOL pPool, PPGMPOOLPAGE pPage, PPGMSHWPTPAE pShwPT, PCX86PTPAE pGstPT) argument 1436 pgmPoolTrackCheckPTPae32Bit(PPGMPOOL pPool, PPGMPOOLPAGE pPage, PPGMSHWPTPAE pShwPT, PCX86PT pGstPT) argument 1507 pgmPoolTrackFlushPTPaePae(PPGMPOOL pPool, PPGMPOOLPAGE pPage, PPGMSHWPTPAE pShwPT, PCX86PTPAE pGstPT, PCX86PTPAE pOldGstPT, bool fAllowRemoval, bool *pfFlush) argument 1575 pgmPoolTrackFlushPTPae32Bit(PPGMPOOL pPool, PPGMPOOLPAGE pPage, PPGMSHWPTPAE pShwPT, PCX86PT pGstPT, PCX86PT pOldGstPT, bool fAllowRemoval, bool *pfFlush) argument 1639 pgmPoolFlushDirtyPage(PVM pVM, PPGMPOOL pPool, unsigned idxSlot, bool fAllowRemoval = false) argument 1737 pgmPoolAddDirtyPage(PVM pVM, PPGMPOOL pPool, PPGMPOOLPAGE pPage) argument 1819 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 1849 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 1889 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 1911 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 1964 pgmPoolHashInsert(PPGMPOOL pPool, PPGMPOOLPAGE pPage) argument 1980 pgmPoolHashRemove(PPGMPOOL pPool, PPGMPOOLPAGE pPage) argument 2017 pgmPoolCacheFreeOne(PPGMPOOL pPool, uint16_t iUser) argument [all...] |
H A D | MMAllPagePool.cpp | 49 * @param pPool Pointer to the page pool. 53 void *mmPagePoolPhys2Ptr(PMMPAGEPOOL pPool, RTHCPHYS HCPhys) argument 57 VM_ASSERT_EMT(pPool->pVM); 64 PMMPPLOOKUPHCPHYS pLookup = (PMMPPLOOKUPHCPHYS)RTAvlHCPhysGet(&pPool->pLookupPhys, HCPhys & X86_PTE_PAE_PG_MASK); 67 STAM_COUNTER_INC(&pPool->cToVirtCalls); 165 * @param pPool Pointer to the page pool. 169 RTHCPHYS mmPagePoolPtr2Phys(PMMPAGEPOOL pPool, void *pv) argument 172 VM_ASSERT_EMT(pPool->pVM); 177 PMMPPLOOKUPHCPTR pLookup = (PMMPPLOOKUPHCPTR)RTAvlPVGetBestFit(&pPool->pLookupVirt, pv, false); 186 STAM_COUNTER_INC(&pPool [all...] |
H A D | PGMAllBth.h | 250 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 259 if (pfnHandler != pPool->CTX_SUFF(pfnAccessHandler)) 1189 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 1261 PPGMPOOLPAGE pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPdpt].u & SHW_PDPE_PG_MASK); 1347 PPGMPOOLPAGE pShwPage = pgmPoolGetPage(pPool, PdeDst.u & SHW_PDE_PG_MASK); 1397 PPGMPOOLPAGE pShwPage = pgmPoolGetPage(pPool, PdeDst.u & SHW_PDE_PG_MASK); 1483 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 1520 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 1681 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local [all...] |
H A D | PGMAllMap.cpp | 287 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 355 PPGMPOOLPAGE pPoolPagePd = pgmPoolGetPage(pPool, pShwPdpt->a[iPdPt].u & X86_PDPE_PG_MASK); 358 pgmPoolLockPage(pPool, pPoolPagePd); 445 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 528 PPGMPOOLPAGE pPoolPagePd = pgmPoolGetPage(pPool, pShwPdpt->a[iPdpt].u & X86_PDPE_PG_MASK); 531 pgmPoolUnlockPage(pPool, pPoolPagePd); 563 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local [all...] |
H A D | PGMAll.cpp | 985 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 1053 pShwPage = pgmPoolGetPage(pPool, pPdpe->u & X86_PDPE_PG_MASK); 1057 pgmPoolCacheUsed(pPool, pShwPage); 1089 PPGMPOOLPAGE pShwPde = pgmPoolGetPage(pVM->pgm.s.CTX_SUFF(pPool), pPdpt->a[iPdPt].u & X86_PDPE_PG_MASK); 1116 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 1154 pShwPage = pgmPoolGetPage(pPool, pPml4e->u & X86_PML4E_PG_MASK); 1157 pgmPoolCacheUsed(pPool, pShwPage); 1193 pShwPage = pgmPoolGetPage(pPool, pPdp 1232 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 1264 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local 2000 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); local [all...] |
/vbox/src/VBox/Devices/Graphics/ |
H A D | DevVGA-SVGA3d-cocoa.m | 631 NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init]; 660 [pPool release]; 668 NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init]; 670 [pPool release]; 677 NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init]; 690 [pPool release]; 699 NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init]; 705 [pPool release]; 712 NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init]; 716 [pPool releas [all...] |
/vbox/src/VBox/Runtime/include/internal/ |
H A D | req.h | 160 DECLHIDDEN(void) rtReqPoolSubmit(PRTREQPOOLINT pPool, PRTREQINT pReq); 162 DECLHIDDEN(bool) rtReqPoolRecycle(PRTREQPOOLINT pPool, PRTREQINT pReq);
|
/vbox/src/VBox/Frontends/VirtualBox/src/globals/ |
H A D | UIThreadPool.cpp | 51 UIThreadWorker(UIThreadPool *pPool, int iIndex); 277 UIThreadWorker::UIThreadWorker(UIThreadPool *pPool, int iIndex) argument 278 : m_pPool(pPool)
|
/vbox/src/VBox/VMM/include/ |
H A D | PGMInline.h | 408 Assert(pPage->idx < pVM->pgm.s.CTX_SUFF(pPool)->cCurPages); 429 Assert(pPage->idx < pVM->pgm.s.CTX_SUFF(pPool)->cCurPages); 1055 PPGMPOOLPAGE pShwPde = pgmPoolGetPage(pVM->pgm.s.CTX_SUFF(pPool), pPdpt->a[iPdpt].u & X86_PDPE_PG_MASK); 1078 PPGMPOOLPAGE pShwPde = pgmPoolGetPage(pVM->pgm.s.CTX_SUFF(pPool), pPdpt->a[iPdpt].u & X86_PDPE_PG_MASK); 1354 * @param pPool The pool. 1357 DECLINLINE(PPGMPOOLPAGE) pgmPoolGetPageByIdx(PPGMPOOL pPool, unsigned idx) argument 1359 AssertFatalMsg(idx >= PGMPOOL_IDX_FIRST && idx < pPool->cCurPages, ("idx=%d\n", idx)); 1360 return &pPool->aPages[idx]; 1367 * @param pPool The pool. 1372 DECLINLINE(void) pgmTrackDerefGCPhys(PPGMPOOL pPool, PPGMPOOLPAG argument 1405 pgmPoolCacheUsed(PPGMPOOL pPool, PPGMPOOLPAGE pPage) argument 1437 pgmPoolLockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage) argument 1450 pgmPoolUnlockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage) argument [all...] |
H A D | MMInternal.h | 822 * @param pPool Pointer to the page pool. 826 RTHCPHYS mmPagePoolPtr2Phys(PMMPAGEPOOL pPool, void *pv); 834 * @param pPool Pointer to the page pool. 838 void *mmPagePoolPhys2Ptr(PMMPAGEPOOL pPool, RTHCPHYS HCPhys);
|
H A D | PGMInternal.h | 4092 void pgmPoolFreeByPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage, uint16_t iUser, uint32_t iUserTable); 4093 int pgmPoolFlushPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage, bool fFlush = true /* DO NOT USE false UNLESS YOU KNOWN WHAT YOU'RE DOING!! */); 4095 PPGMPOOLPAGE pgmPoolGetPage(PPGMPOOL pPool, RTHCPHYS HCPhys); 4096 PPGMPOOLPAGE pgmPoolQueryPageForDbg(PPGMPOOL pPool, RTHCPHYS HCPhys); 4101 void pgmPoolTracDerefGCPhysHint(PPGMPOOL pPool, PPGMPOOLPAGE pPage, RTHCPHYS HCPhys, RTGCPHYS GCPhysHint, uint16_t iPte); 4103 void pgmPoolTrackPhysExtDerefGCPhys(PPGMPOOL pPool, PPGMPOOLPAGE pPoolPage, PPGMPAGE pPhysPage, uint16_t iPte); 4104 void pgmPoolMonitorChainChanging(PVMCPU pVCpu, PPGMPOOL pPool, PPGMPOOLPAGE pPage, RTGCPHYS GCPhysFault, CTXTYPE(RTGCPTR, RTHCPTR, RTGCPTR) pvAddress, unsigned cbWrite); 4105 int pgmPoolMonitorChainFlush(PPGMPOOL pPool, PPGMPOOLPAGE pPage); 4106 void pgmPoolMonitorModifiedInsert(PPGMPOOL pPool, PPGMPOOLPAGE pPage); 4108 void pgmPoolAddDirtyPage(PVM pVM, PPGMPOOL pPool, PPGMPOOLPAG [all...] |
/vbox/src/VBox/HostServices/SharedOpenGL/render/ |
H A D | renderspu_cocoa_helper.m | 2756 NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init]; 2856 [pPool release]; 2863 NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init]; 2868 [pPool release]; 2924 NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init]; 2961 [pPool release]; 2969 NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init]; 2975 [pPool release]; 2983 NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init]; 2988 [pPool releas [all...] |
/vbox/src/VBox/HostDrivers/VBoxNetFlt/win/drv/ |
H A D | VBoxNetFltRt-win.h | 55 Assert(pPacketInfo->pPool); 64 Assert(pPacketInfo->pPool); 86 Assert(pInfo->pPool); 98 Assert(pInfo->pPool); 137 DECLINLINE(PVBOXNETFLT_PACKET_INFO) vboxNetFltWinPpAllocPacketInfo(PVBOXNETFLT_PACKET_INFO_POOL pPool) argument 139 return vboxNetFltWinQuInterlockedDequeueHead(&pPool->Queue); 147 PVBOXNETFLT_PACKET_INFO_POOL pPool = pInfo->pPool; local 148 vboxNetFltWinQuInterlockedEnqueueHead(&pPool->Queue, pInfo);
|
H A D | VBoxNetFltRt-win.cpp | 190 static NDIS_STATUS vboxNetFltWinPpAllocatePacketInfoPool(PVBOXNETFLT_PACKET_INFO_POOL pPool, UINT cSize) argument 199 INIT_INTERLOCKED_PACKET_QUEUE(&pPool->Queue); 206 pPool->pBuffer = pPacketInfos; 211 vboxNetFltWinQuEnqueueTail(&pPool->Queue.Queue, pInfo); 212 pInfo->pPool = pPool; 224 VOID vboxNetFltWinPpFreePacketInfoPool(PVBOXNETFLT_PACKET_INFO_POOL pPool) argument 226 vboxNetFltWinMemFree(pPool->pBuffer); 228 FINI_INTERLOCKED_PACKET_QUEUE(&pPool->Queue) 1181 Assert(pInfo->pPool); [all...] |
H A D | VBoxNetFltCmn-win.h | 216 struct VBOXNETFLT_PACKET_INFO_POOL *pPool; member in struct:VBOXNETFLT_PACKET_INFO
|