Lines Matching defs:pEpClass

130     PPDMASYNCCOMPLETIONEPCLASS                  pEpClass;
585 static PPDMACBWMGR pdmacBwMgrFindById(PPDMASYNCCOMPLETIONEPCLASS pEpClass, const char *pszId)
591 int rc = RTCritSectEnter(&pEpClass->CritSect); AssertRC(rc);
593 pBwMgr = pEpClass->pBwMgrsHead;
598 rc = RTCritSectLeave(&pEpClass->CritSect); AssertRC(rc);
608 PPDMASYNCCOMPLETIONEPCLASS pEpClass = pBwMgr->pEpClass;
609 int rc = RTCritSectEnter(&pEpClass->CritSect); AssertRC(rc);
611 pBwMgr->pNext = pEpClass->pBwMgrsHead;
612 pEpClass->pBwMgrsHead = pBwMgr;
614 rc = RTCritSectLeave(&pEpClass->CritSect); AssertRC(rc);
622 PPDMASYNCCOMPLETIONEPCLASS pEpClass = pBwMgr->pEpClass;
623 int rc = RTCritSectEnter(&pEpClass->CritSect); AssertRC(rc);
625 if (pBwMgr == pEpClass->pBwMgrsHead)
626 pEpClass->pBwMgrsHead = pBwMgr->pNext;
629 PPDMACBWMGR pPrev = pEpClass->pBwMgrsHead;
638 rc = RTCritSectLeave(&pEpClass->CritSect); AssertRC(rc);
644 static int pdmacAsyncCompletionBwMgrCreate(PPDMASYNCCOMPLETIONEPCLASS pEpClass, const char *pszBwMgr, uint32_t cbTransferPerSecMax,
647 LogFlowFunc(("pEpClass=%#p pszBwMgr=%#p{%s} cbTransferPerSecMax=%u cbTransferPerSecStart=%u cbTransferPerSecStep=%u\n",
648 pEpClass, pszBwMgr, cbTransferPerSecMax, cbTransferPerSecStart, cbTransferPerSecStep));
650 AssertPtrReturn(pEpClass, VERR_INVALID_POINTER);
655 PPDMACBWMGR pBwMgr = pdmacBwMgrFindById(pEpClass, pszBwMgr);
658 rc = MMR3HeapAllocZEx(pEpClass->pVM, MM_TAG_PDM_ASYNC_COMPLETION,
666 pBwMgr->pEpClass = pEpClass;
819 * @param pEpClass Pointer to the endpoint class structure.
1047 PVM pVM = pEndpoint->pEpClass->pVM;
1225 STAMR3DeregisterF(pEndpoint->pEpClass->pVM->pUVM, "/PDM/AsyncCompletion/File/%s/*", RTPathFilename(pEndpoint->pszUri));
1284 PPDMASYNCCOMPLETIONEPCLASS pEpClass = pUVM->pdm.s.apAsyncCompletionEndpointClass[i];
1285 PPDMACBWMGR pBwMgr = pEpClass->pBwMgrsHead;
1300 pEp = pEpClass->pEndpointsHead;
1313 pEp = pEpClass->pEndpointsHead;
1338 PPDMASYNCCOMPLETIONEPCLASS pEndpointClass = pEndpoint->pEpClass;
1365 PPDMASYNCCOMPLETIONEPCLASS pEndpointClass = pEndpoint->pEpClass;
1448 pEndpoint->pEpClass = pEndpointClass;
1519 PPDMASYNCCOMPLETIONEPCLASS pEndpointClass = pEndpoint->pEpClass;
1586 int rc = pEndpoint->pEpClass->pEndpointOps->pfnEpRead(pTask, pEndpoint, off,
1590 if (pEndpoint->pEpClass->fGatherAdvancedStatistics)
1633 int rc = pEndpoint->pEpClass->pEndpointOps->pfnEpWrite(pTask, pEndpoint, off,
1637 if (pEndpoint->pEpClass->fGatherAdvancedStatistics)
1672 int rc = pEndpoint->pEpClass->pEndpointOps->pfnEpFlush(pTask, pEndpoint);
1699 if (pEndpoint->pEpClass->pEndpointOps->pfnEpGetSize)
1700 return pEndpoint->pEpClass->pEndpointOps->pfnEpGetSize(pEndpoint, pcbSize);
1722 if (pEndpoint->pEpClass->pEndpointOps->pfnEpSetSize)
1723 return pEndpoint->pEpClass->pEndpointOps->pfnEpSetSize(pEndpoint, cbSize);
1745 pBwMgrNew = pdmacBwMgrFindById(pEndpoint->pEpClass, pszBwMgr);
1797 PPDMASYNCCOMPLETIONEPCLASS pEpClass = pVM->pUVM->pdm.s.apAsyncCompletionEndpointClass[PDMASYNCCOMPLETIONEPCLASSTYPE_FILE];
1798 PPDMACBWMGR pBwMgr = pdmacBwMgrFindById(pEpClass, pszBwMgr);