/vbox/src/VBox/VMM/VMMR3/ |
H A D | PDMAsyncCompletion.cpp | 154 static void pdmR3AsyncCompletionPutTask(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, PPDMASYNCCOMPLETIONTASK pTask); 715 * @param pEndpoint The endpoint. 721 bool pdmacEpIsTransferAllowed(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint32_t cbTransfer, RTMSINTERVAL *pmsWhenNext) argument 724 PPDMACBWMGR pBwMgr = ASMAtomicReadPtrT(&pEndpoint->pBwMgr, PPDMACBWMGR); 726 LogFlowFunc(("pEndpoint=%p pBwMgr=%p cbTransfer=%u\n", pEndpoint, pBwMgr, cbTransfer)); 785 PPDMASYNCCOMPLETIONTEMPLATE pTemplate = pTask->pEndpoint->pTemplate; 810 pdmR3AsyncCompletionPutTask(pTask->pEndpoint, pTask); 964 * @param pEndpoint The endpoint to register the request size for. 967 static void pdmR3AsyncCompletionStatisticsRecordSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, size_ argument 1010 pdmR3AsyncCompletionStatisticsRecordCompletionTime(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t cNsRun) argument 1044 pdmR3AsyncCompletionStatisticsRegister(PPDMASYNCCOMPLETIONENDPOINT pEndpoint) argument 1222 pdmR3AsyncCompletionStatisticsDeregister(PPDMASYNCCOMPLETIONENDPOINT pEndpoint) argument 1336 pdmR3AsyncCompletionGetTask(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, void *pvUser) argument 1363 pdmR3AsyncCompletionPutTask(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, PPDMASYNCCOMPLETIONTASK pTask) argument 1381 PPDMASYNCCOMPLETIONENDPOINT pEndpoint = pEndpointClass->pEndpointsHead; local 1424 PPDMASYNCCOMPLETIONENDPOINT pEndpoint = NULL; local 1507 PDMR3AsyncCompletionEpClose(PPDMASYNCCOMPLETIONENDPOINT pEndpoint) argument 1568 PDMR3AsyncCompletionEpRead(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, PCRTSGSEG paSegments, unsigned cSegments, size_t cbRead, void *pvUser, PPPDMASYNCCOMPLETIONTASK ppTask) argument 1615 PDMR3AsyncCompletionEpWrite(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, PCRTSGSEG paSegments, unsigned cSegments, size_t cbWrite, void *pvUser, PPPDMASYNCCOMPLETIONTASK ppTask) argument 1661 PDMR3AsyncCompletionEpFlush(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, void *pvUser, PPPDMASYNCCOMPLETIONTASK ppTask) argument 1693 PDMR3AsyncCompletionEpGetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t *pcbSize) argument 1718 PDMR3AsyncCompletionEpSetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t cbSize) argument 1736 PDMR3AsyncCompletionEpSetBwMgr(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, const char *pszBwMgr) argument [all...] |
H A D | PDMAsyncCompletionFileNormal.cpp | 43 PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint); 46 PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, 457 DECLINLINE(void) pdmacFileAioMgrEpAddTaskList(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, PPDMACTASKFILE pTaskHead) argument 460 if (!pEndpoint->AioMgr.pReqsPendingHead) 462 Assert(!pEndpoint->AioMgr.pReqsPendingTail); 463 pEndpoint->AioMgr.pReqsPendingHead = pTaskHead; 467 Assert(pEndpoint->AioMgr.pReqsPendingTail); 468 pEndpoint->AioMgr.pReqsPendingTail->pNext = pTaskHead; 475 pEndpoint->AioMgr.pReqsPendingTail = pTaskHead; 482 DECLINLINE(void) pdmacFileAioMgrEpAddTask(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, PPDMACTASKFIL argument 545 pdmacFileAioMgrNormalReqsEnqueue(PPDMACEPFILEMGR pAioMgr, PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, PRTFILEAIOREQ pahReqs, unsigned cReqs) argument 638 pdmacFileAioMgrNormalIsRangeLocked(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, RTFOFF offStart, size_t cbRange, PPDMACTASKFILE pTask, bool fAlignedReq) argument 691 pdmacFileAioMgrNormalRangeLock(PPDMACEPFILEMGR pAioMgr, PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, RTFOFF offStart, size_t cbRange, PPDMACTASKFILE pTask, bool fAlignedReq) argument 735 pdmacFileAioMgrNormalRangeLockFree(PPDMACEPFILEMGR pAioMgr, PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, PPDMACFILERANGELOCK pRangeLock) argument 760 pdmacFileAioMgrNormalTaskPrepareBuffered(PPDMACEPFILEMGR pAioMgr, PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, PPDMACTASKFILE pTask, PRTFILEAIOREQ phReq) argument 834 pdmacFileAioMgrNormalTaskPrepareNonBuffered(PPDMACEPFILEMGR pAioMgr, PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, PPDMACTASKFILE pTask, PRTFILEAIOREQ phReq) argument 970 pdmacFileAioMgrNormalProcessTaskList(PPDMACTASKFILE pTaskHead, PPDMACEPFILEMGR pAioMgr, PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint) argument 1136 pdmacFileAioMgrNormalQueueReqs(PPDMACEPFILEMGR pAioMgr, PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint) argument 1284 PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint = pAioMgr->pEndpointsHead; local 1344 PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint; local [all...] |
H A D | PDMAsyncCompletionFileFailsafe.cpp | 32 DECLINLINE(void) pdmacFileAioMgrEpAddTaskList(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, PPDMACTASKFILE pTaskHead) argument 35 if (!pEndpoint->AioMgr.pReqsPendingHead) 37 Assert(!pEndpoint->AioMgr.pReqsPendingTail); 38 pEndpoint->AioMgr.pReqsPendingHead = pTaskHead; 42 Assert(pEndpoint->AioMgr.pReqsPendingTail); 43 pEndpoint->AioMgr.pReqsPendingTail->pNext = pTaskHead; 50 pEndpoint->AioMgr.pReqsPendingTail = pTaskHead; 58 PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, 68 if (!pdmacEpIsTransferAllowed(&pEndpoint->Core, (uint32_t)pCurr->DataSeg.cbSeg, &msWhenNext)) 80 rc = RTFileFlush(pEndpoint 57 pdmacFileAioMgrFailsafeProcessEndpointTaskList(PPDMACEPFILEMGR pAioMgr, PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, PPDMACTASKFILE pTasks) argument 126 pdmacFileAioMgrFailsafeProcessEndpoint(PPDMACEPFILEMGR pAioMgr, PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint) argument 173 PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint = pAioMgr->pEndpointsHead; local [all...] |
H A D | PDMAsyncCompletionFile.cpp | 98 * @param pEndpoint Pointer to the endpoint the segment was for. 101 void pdmacFileTaskFree(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, PPDMACTASKFILE pTask) argument 103 PPDMASYNCCOMPLETIONEPCLASSFILE pEpClass = (PPDMASYNCCOMPLETIONEPCLASSFILE)pEndpoint->Core.pEpClass; 105 LogFlowFunc((": pEndpoint=%p pTask=%p\n", pEndpoint, pTask)); 108 if (pEndpoint->cTasksCached < pEpClass->cTasksCacheMax) 111 pEndpoint->pTasksFreeTail->pNext = pTask; 112 pEndpoint->pTasksFreeTail = pTask; 113 ASMAtomicIncU32(&pEndpoint->cTasksCached); 126 * @param pEndpoint Pointe 128 pdmacFileTaskAlloc(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint) argument 165 pdmacFileEpGetNewTasks(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint) argument 224 pdmacFileAioMgrAddEndpoint(PPDMACEPFILEMGR pAioMgr, PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint) argument 244 pdmacFileAioMgrRemoveEndpoint(PPDMACEPFILEMGR pAioMgr, PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint) argument 259 pdmacFileAioMgrCloseEndpoint(PPDMACEPFILEMGR pAioMgr, PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint) argument 285 pdmacFileEpAddTask(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, PPDMACTASKFILE pTask) argument 385 pdmacFileEpTaskInitiate(PPDMASYNCCOMPLETIONTASK pTask, PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, PCRTSGSEG paSegments, size_t cSegments, size_t cbTransfer, PDMACTASKFILETRANSFER enmTransfer) argument 888 pdmacFileEpInitialize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, const char *pszUri, uint32_t fFlags) argument 1124 pdmacFileEpClose(PPDMASYNCCOMPLETIONENDPOINT pEndpoint) argument 1163 pdmacFileEpRead(PPDMASYNCCOMPLETIONTASK pTask, PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, PCRTSGSEG paSegments, size_t cSegments, size_t cbRead) argument 1185 pdmacFileEpWrite(PPDMASYNCCOMPLETIONTASK pTask, PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, PCRTSGSEG paSegments, size_t cSegments, size_t cbWrite) argument 1207 pdmacFileEpFlush(PPDMASYNCCOMPLETIONTASK pTask, PPDMASYNCCOMPLETIONENDPOINT pEndpoint) argument 1231 pdmacFileEpGetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t *pcbSize) argument 1240 pdmacFileEpSetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t cbSize) argument [all...] |
/vbox/include/VBox/vmm/ |
H A D | pdmasynccompletion.h | 127 VMMR3DECL(void) PDMR3AsyncCompletionEpClose(PPDMASYNCCOMPLETIONENDPOINT pEndpoint); variable 128 VMMR3DECL(int) PDMR3AsyncCompletionEpRead(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, 132 VMMR3DECL(int) PDMR3AsyncCompletionEpWrite(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, 136 VMMR3DECL(int) PDMR3AsyncCompletionEpFlush(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, void *pvUser, PPPDMASYNCCOMPLETIONTASK ppTask); 137 VMMR3DECL(int) PDMR3AsyncCompletionEpGetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t *pcbSize); 138 VMMR3DECL(int) PDMR3AsyncCompletionEpSetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t cbSize); 139 VMMR3DECL(int) PDMR3AsyncCompletionEpSetBwMgr(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, const char *pszBwMgr);
|
/vbox/src/VBox/VMM/include/ |
H A D | PDMAsyncCompletionInternal.h | 72 * @param pEndpoint Pointer to the uninitialized endpoint. 77 DECLR3CALLBACKMEMBER(int, pfnEpInitialize, (PPDMASYNCCOMPLETIONENDPOINT pEndpoint, 84 * @param pEndpoint Pointer to the endpoint to be closed. 86 DECLR3CALLBACKMEMBER(int, pfnEpClose, (PPDMASYNCCOMPLETIONENDPOINT pEndpoint)); 93 * @param pEndpoint Endpoint the request is for. 100 PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, 109 * @param pEndpoint Endpoint the request is for. 116 PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, 125 * @param pEndpoint Endpoint the request is for. 128 PPDMASYNCCOMPLETIONENDPOINT pEndpoint)); 262 R3PTRTYPE(PPDMASYNCCOMPLETIONENDPOINT) pEndpoint; member in struct:PDMASYNCCOMPLETIONTASK [all...] |
H A D | PDMAsyncCompletionFileInternal.h | 197 volatile PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint; member in struct:PDMACEPFILEMGR::__anon16939::__anon16940 203 volatile PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint; member in struct:PDMACEPFILEMGR::__anon16939::__anon16941 209 volatile PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint; member in struct:PDMACEPFILEMGR::__anon16939::__anon16942 481 PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint; member in struct:PDMACTASKFILE 536 int pdmacFileAioMgrAddEndpoint(PPDMACEPFILEMGR pAioMgr, PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint); 538 PPDMACTASKFILE pdmacFileEpGetNewTasks(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint); 539 PPDMACTASKFILE pdmacFileTaskAlloc(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint); 540 void pdmacFileTaskFree(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, 543 int pdmacFileEpAddTask(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, PPDMACTASKFILE pTask); 549 int pdmacFileEpCacheInit(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint, PPDMASYNCCOMPLETIONEPCLASSFIL [all...] |
/vbox/src/VBox/Devices/Storage/ |
H A D | DrvVD.cpp | 98 PPDMASYNCCOMPLETIONENDPOINT pEndpoint; member in struct:DRVVDSTORAGEBACKEND 380 rc = PDMR3AsyncCompletionEpCreateForFile(&pStorageBackend->pEndpoint, 387 rc = PDMR3AsyncCompletionEpSetBwMgr(pStorageBackend->pEndpoint, pThis->pszBwGroup); 397 PDMR3AsyncCompletionEpClose(pStorageBackend->pEndpoint); 417 PDMR3AsyncCompletionEpClose(pStorageBackend->pEndpoint); 438 int rc = PDMR3AsyncCompletionEpRead(pStorageBackend->pEndpoint, uOffset, &DataSeg, 1, cbRead, NULL, &pTask); 470 int rc = PDMR3AsyncCompletionEpWrite(pStorageBackend->pEndpoint, uOffset, &DataSeg, 1, cbWrite, NULL, &pTask); 500 int rc = PDMR3AsyncCompletionEpFlush(pStorageBackend->pEndpoint, NULL, &pTask); 525 int rc = PDMR3AsyncCompletionEpRead(pStorageBackend->pEndpoint, uOffset, paSegments, (unsigned)cSegments, cbRead, 541 int rc = PDMR3AsyncCompletionEpWrite(pStorageBackend->pEndpoint, uOffse [all...] |