Lines Matching defs:pvUser
522 void *pvUser;
777 pDisk->pInterfaceError->pfnError(pDisk->pInterfaceError->Core.pvUser, rc, RT_SRC_POS_ARGS, pszFormat, va);
789 rc = pDisk->pInterfaceThreadSync->pfnStartRead(pDisk->pInterfaceThreadSync->Core.pvUser);
800 rc = pDisk->pInterfaceThreadSync->pfnFinishRead(pDisk->pInterfaceThreadSync->Core.pvUser);
811 rc = pDisk->pInterfaceThreadSync->pfnStartWrite(pDisk->pInterfaceThreadSync->Core.pvUser);
822 rc = pDisk->pInterfaceThreadSync->pfnFinishWrite(pDisk->pInterfaceThreadSync->Core.pvUser);
1482 DECLINLINE(PVDIOTASK) vdIoTaskUserAlloc(PVDIOSTORAGE pIoStorage, PFNVDXFERCOMPLETED pfnComplete, void *pvUser, PVDIOCTX pIoCtx, uint32_t cbTransfer)
1491 pIoTask->pvUser = pvUser;
1500 DECLINLINE(PVDIOTASK) vdIoTaskMetaAlloc(PVDIOSTORAGE pIoStorage, PFNVDXFERCOMPLETED pfnComplete, void *pvUser, PVDMETAXFER pMetaXfer)
1509 pIoTask->pvUser = pvUser;
2163 static int vdParentRead(void *pvUser, uint64_t uOffset, void *pvBuf,
2166 PVDPARENTSTATEDESC pParentState = (PVDPARENTSTATEDESC)pvUser;
2484 rc = pIfProgress->pfnProgress(pIfProgress->Core.pvUser,
2491 rc = pDstIfProgress->pfnProgress(pDstIfProgress->Core.pvUser,
3503 static DECLCALLBACK(int) vdPluginRegisterImage(void *pvUser, PCVBOXHDDBACKEND pBackend)
3508 vdAddBackend((RTLDRMOD)pvUser, pBackend);
3521 static DECLCALLBACK(int) vdPluginRegisterCache(void *pvUser, PCVDCACHEBACKEND pBackend)
3526 vdAddCacheBackend((RTLDRMOD)pvUser, pBackend);
3539 static DECLCALLBACK(int) vdPluginRegisterFilter(void *pvUser, PCVDFILTERBACKEND pBackend)
3544 vdAddFilterBackend((RTLDRMOD)pvUser, pBackend);
3920 static int vdIOOpenFallback(void *pvUser, const char *pszLocation,
3946 static int vdIOCloseFallback(void *pvUser, void *pvStorage)
3955 static int vdIODeleteFallback(void *pvUser, const char *pcszFilename)
3960 static int vdIOMoveFallback(void *pvUser, const char *pcszSrc, const char *pcszDst, unsigned fMove)
3965 static int vdIOGetFreeSpaceFallback(void *pvUser, const char *pcszFilename, int64_t *pcbFreeSpace)
3970 static int vdIOGetModificationTimeFallback(void *pvUser, const char *pcszFilename, PRTTIMESPEC pModificationTime)
3982 static int vdIOGetSizeFallback(void *pvUser, void *pvStorage, uint64_t *pcbSize)
3992 static int vdIOSetSizeFallback(void *pvUser, void *pvStorage, uint64_t cbSize)
4002 static int vdIOWriteSyncFallback(void *pvUser, void *pvStorage, uint64_t uOffset,
4013 static int vdIOReadSyncFallback(void *pvUser, void *pvStorage, uint64_t uOffset,
4024 static int vdIOFlushSyncFallback(void *pvUser, void *pvStorage)
4034 static int vdIOReadAsyncFallback(void *pvUser, void *pStorage, uint64_t uOffset,
4045 static int vdIOWriteAsyncFallback(void *pvUser, void *pStorage, uint64_t uOffset,
4056 static int vdIOFlushAsyncFallback(void *pvUser, void *pStorage,
4164 PFNVDXFERCOMPLETED pfnComplete, void *pvUser,
4171 LogFlowFunc(("pIoStorage=%#p pIoCtx=%#p pfnComplete=%#p pvUser=%#p cbTransfer=%zu rcReq=%Rrc\n",
4172 pIoStorage, pIoCtx, pfnComplete, pvUser, cbTransfer, rcReq));
4181 rc = pfnComplete(pIoStorage->pVDIo->pBackendData, pIoCtx, pvUser, rcReq);
4192 PFNVDXFERCOMPLETED pfnComplete, void *pvUser, int rcReq)
4194 LogFlowFunc(("pIoStorage=%#p pListWaiting=%#p pfnComplete=%#p pvUser=%#p rcReq=%Rrc\n",
4195 pIoStorage, pListWaiting, pfnComplete, pvUser, rcReq));
4209 rc = pfnComplete(pIoStorage->pVDIo->pBackendData, pIoCtx, pvUser, rcReq);
4226 static int vdMetaXferCompleted(PVDIOSTORAGE pIoStorage, PFNVDXFERCOMPLETED pfnComplete, void *pvUser,
4233 LogFlowFunc(("pIoStorage=%#p pfnComplete=%#p pvUser=%#p pMetaXfer=%#p rcReq=%Rrc\n",
4234 pIoStorage, pfnComplete, pvUser, pMetaXfer, rcReq));
4271 vdIoCtxContinueDeferredList(pIoStorage, &ListIoCtxWaiting, pfnComplete, pvUser, rcReq);
4288 PVDIOTASK pIoTask = vdIoTaskMetaAlloc(pIoStorage, pfnComplete, pvUser, pMetaXfer);
4298 rcReq = pIoStorage->pVDIo->pInterfaceIo->pfnWriteAsync(pIoStorage->pVDIo->pInterfaceIo->Core.pvUser,
4317 vdIoCtxContinueDeferredList(pIoStorage, &pMetaXfer->ListIoCtxShwWrites, pfnComplete, pvUser, rcReq);
4372 pHead->pfnComplete, pHead->pvUser,
4375 vdMetaXferCompleted(pIoStorage, pHead->pfnComplete, pHead->pvUser,
4505 static int vdIOIntReqCompleted(void *pvUser, int rcReq)
4507 PVDIOTASK pIoTask = (PVDIOTASK)pvUser;
4519 static int vdIOIntOpen(void *pvUser, const char *pszLocation,
4523 PVDIO pVDIo = (PVDIO)pvUser;
4533 rc = pVDIo->pInterfaceIo->pfnOpen(pVDIo->pInterfaceIo->Core.pvUser,
4553 static int vdIOIntTreeMetaXferDestroy(PAVLRFOFFNODECORE pNode, void *pvUser)
4559 static int vdIOIntClose(void *pvUser, PVDIOSTORAGE pIoStorage)
4562 PVDIO pVDIo = (PVDIO)pvUser;
4565 rc = pVDIo->pInterfaceIo->pfnClose(pVDIo->pInterfaceIo->Core.pvUser, pIoStorage->pStorage);
4572 static int vdIOIntDelete(void *pvUser, const char *pcszFilename)
4574 PVDIO pVDIo = (PVDIO)pvUser;
4575 return pVDIo->pInterfaceIo->pfnDelete(pVDIo->pInterfaceIo->Core.pvUser,
4579 static int vdIOIntMove(void *pvUser, const char *pcszSrc, const char *pcszDst,
4582 PVDIO pVDIo = (PVDIO)pvUser;
4583 return pVDIo->pInterfaceIo->pfnMove(pVDIo->pInterfaceIo->Core.pvUser,
4587 static int vdIOIntGetFreeSpace(void *pvUser, const char *pcszFilename,
4590 PVDIO pVDIo = (PVDIO)pvUser;
4591 return pVDIo->pInterfaceIo->pfnGetFreeSpace(pVDIo->pInterfaceIo->Core.pvUser,
4595 static int vdIOIntGetModificationTime(void *pvUser, const char *pcszFilename,
4598 PVDIO pVDIo = (PVDIO)pvUser;
4599 return pVDIo->pInterfaceIo->pfnGetModificationTime(pVDIo->pInterfaceIo->Core.pvUser,
4603 static int vdIOIntGetSize(void *pvUser, PVDIOSTORAGE pIoStorage,
4606 PVDIO pVDIo = (PVDIO)pvUser;
4607 return pVDIo->pInterfaceIo->pfnGetSize(pVDIo->pInterfaceIo->Core.pvUser,
4611 static int vdIOIntSetSize(void *pvUser, PVDIOSTORAGE pIoStorage,
4614 PVDIO pVDIo = (PVDIO)pvUser;
4615 return pVDIo->pInterfaceIo->pfnSetSize(pVDIo->pInterfaceIo->Core.pvUser,
4619 static int vdIOIntReadUser(void *pvUser, PVDIOSTORAGE pIoStorage, uint64_t uOffset,
4623 PVDIO pVDIo = (PVDIO)pvUser;
4626 LogFlowFunc(("pvUser=%#p pIoStorage=%#p uOffset=%llu pIoCtx=%#p cbRead=%u\n",
4627 pvUser, pIoStorage, uOffset, pIoCtx, cbRead));
4649 rc = pVDIo->pInterfaceIo->pfnReadSync(pVDIo->pInterfaceIo->Core.pvUser,
4689 rc = pVDIo->pInterfaceIo->pfnReadAsync(pVDIo->pInterfaceIo->Core.pvUser,
4716 static int vdIOIntWriteUser(void *pvUser, PVDIOSTORAGE pIoStorage, uint64_t uOffset,
4721 PVDIO pVDIo = (PVDIO)pvUser;
4724 LogFlowFunc(("pvUser=%#p pIoStorage=%#p uOffset=%llu pIoCtx=%#p cbWrite=%u\n",
4725 pvUser, pIoStorage, uOffset, pIoCtx, cbWrite));
4747 rc = pVDIo->pInterfaceIo->pfnWriteSync(pVDIo->pInterfaceIo->Core.pvUser,
4789 rc = pVDIo->pInterfaceIo->pfnWriteAsync(pVDIo->pInterfaceIo->Core.pvUser,
4816 static int vdIOIntReadMeta(void *pvUser, PVDIOSTORAGE pIoStorage, uint64_t uOffset,
4821 PVDIO pVDIo = (PVDIO)pvUser;
4829 LogFlowFunc(("pvUser=%#p pIoStorage=%#p uOffset=%llu pvBuf=%#p cbRead=%u\n",
4830 pvUser, pIoStorage, uOffset, pvBuf, cbRead));
4847 rc = pVDIo->pInterfaceIo->pfnReadSync(pVDIo->pInterfaceIo->Core.pvUser,
4880 rc = pVDIo->pInterfaceIo->pfnReadAsync(pVDIo->pInterfaceIo->Core.pvUser,
4938 static int vdIOIntWriteMeta(void *pvUser, PVDIOSTORAGE pIoStorage, uint64_t uOffset,
4942 PVDIO pVDIo = (PVDIO)pvUser;
4951 LogFlowFunc(("pvUser=%#p pIoStorage=%#p uOffset=%llu pvBuf=%#p cbWrite=%u\n",
4952 pvUser, pIoStorage, uOffset, pvBuf, cbWrite));
4969 rc = pVDIo->pInterfaceIo->pfnWriteSync(pVDIo->pInterfaceIo->Core.pvUser,
5006 rc = pVDIo->pInterfaceIo->pfnWriteAsync(pVDIo->pInterfaceIo->Core.pvUser,
5096 static void vdIOIntMetaXferRelease(void *pvUser, PVDMETAXFER pMetaXfer)
5098 PVDIO pVDIo = (PVDIO)pvUser;
5131 static int vdIOIntFlush(void *pvUser, PVDIOSTORAGE pIoStorage, PVDIOCTX pIoCtx,
5134 PVDIO pVDIo = (PVDIO)pvUser;
5141 LogFlowFunc(("pvUser=%#p pIoStorage=%#p pIoCtx=%#p\n",
5142 pvUser, pIoStorage, pIoCtx));
5162 rc = pVDIo->pInterfaceIo->pfnFlushSync(pVDIo->pInterfaceIo->Core.pvUser,
5172 pIoTask = vdIoTaskMetaAlloc(pIoStorage, pfnComplete, pvUser, pMetaXfer);
5189 rc = pVDIo->pInterfaceIo->pfnFlushAsync(pVDIo->pInterfaceIo->Core.pvUser,
5208 static size_t vdIOIntIoCtxCopyTo(void *pvUser, PVDIOCTX pIoCtx,
5211 PVDIO pVDIo = (PVDIO)pvUser;
5228 static size_t vdIOIntIoCtxCopyFrom(void *pvUser, PVDIOCTX pIoCtx,
5231 PVDIO pVDIo = (PVDIO)pvUser;
5248 static size_t vdIOIntIoCtxSet(void *pvUser, PVDIOCTX pIoCtx, int ch, size_t cb)
5250 PVDIO pVDIo = (PVDIO)pvUser;
5267 static size_t vdIOIntIoCtxSegArrayCreate(void *pvUser, PVDIOCTX pIoCtx,
5271 PVDIO pVDIo = (PVDIO)pvUser;
5289 static void vdIOIntIoCtxCompleted(void *pvUser, PVDIOCTX pIoCtx, int rcReq,
5292 PVDIO pVDIo = (PVDIO)pvUser;
5295 LogFlowFunc(("pvUser=%#p pIoCtx=%#p rcReq=%Rrc cbCompleted=%zu\n",
5296 pvUser, pIoCtx, rcReq, cbCompleted));
5327 static DECLCALLBACK(bool) vdIOIntIoCtxIsSynchronous(void *pvUser, PVDIOCTX pIoCtx)
5329 NOREF(pvUser);
5333 static DECLCALLBACK(bool) vdIOIntIoCtxIsZero(void *pvUser, PVDIOCTX pIoCtx, size_t cbCheck,
5336 NOREF(pvUser);
5345 static DECLCALLBACK(size_t) vdIOIntIoCtxGetDataUnitSize(void *pvUser, PVDIOCTX pIoCtx)
5347 PVDIO pVDIo = (PVDIO)pvUser;
5358 static int vdIOIntOpenLimited(void *pvUser, const char *pszLocation,
5362 PVDINTERFACEIO pInterfaceIo = (PVDINTERFACEIO)pvUser;
5377 static int vdIOIntCloseLimited(void *pvUser, PVDIOSTORAGE pIoStorage)
5379 PVDINTERFACEIO pInterfaceIo = (PVDINTERFACEIO)pvUser;
5386 static int vdIOIntDeleteLimited(void *pvUser, const char *pcszFilename)
5388 PVDINTERFACEIO pInterfaceIo = (PVDINTERFACEIO)pvUser;
5392 static int vdIOIntMoveLimited(void *pvUser, const char *pcszSrc,
5395 PVDINTERFACEIO pInterfaceIo = (PVDINTERFACEIO)pvUser;
5399 static int vdIOIntGetFreeSpaceLimited(void *pvUser, const char *pcszFilename,
5402 PVDINTERFACEIO pInterfaceIo = (PVDINTERFACEIO)pvUser;
5406 static int vdIOIntGetModificationTimeLimited(void *pvUser,
5410 PVDINTERFACEIO pInterfaceIo = (PVDINTERFACEIO)pvUser;
5414 static int vdIOIntGetSizeLimited(void *pvUser, PVDIOSTORAGE pIoStorage,
5417 PVDINTERFACEIO pInterfaceIo = (PVDINTERFACEIO)pvUser;
5421 static int vdIOIntSetSizeLimited(void *pvUser, PVDIOSTORAGE pIoStorage,
5424 PVDINTERFACEIO pInterfaceIo = (PVDINTERFACEIO)pvUser;
5428 static int vdIOIntWriteUserLimited(void *pvUser, PVDIOSTORAGE pStorage,
5434 NOREF(pvUser);
5444 static int vdIOIntReadUserLimited(void *pvUser, PVDIOSTORAGE pStorage,
5448 NOREF(pvUser);
5456 static int vdIOIntWriteMetaLimited(void *pvUser, PVDIOSTORAGE pStorage,
5462 PVDINTERFACEIO pInterfaceIo = (PVDINTERFACEIO)pvUser;
5471 static int vdIOIntReadMetaLimited(void *pvUser, PVDIOSTORAGE pStorage,
5478 PVDINTERFACEIO pInterfaceIo = (PVDINTERFACEIO)pvUser;
5487 static int vdIOIntMetaXferReleaseLimited(void *pvUser, PVDMETAXFER pMetaXfer)
5490 NOREF(pvUser);
5495 static int vdIOIntFlushLimited(void *pvUser, PVDIOSTORAGE pStorage,
5500 PVDINTERFACEIO pInterfaceIo = (PVDINTERFACEIO)pvUser;
5512 int vdLogMessage(void *pvUser, const char *pszFormat, va_list args)
5514 NOREF(pvUser);
5523 int rc = pDisk->pInterfaceError->pfnMessage(pDisk->pInterfaceError->Core.pvUser,
7097 pIfProgress->pfnProgress(pIfProgress->Core.pvUser, 100);
7373 pIfProgress->pfnProgress(pIfProgress->Core.pvUser, 100);
7590 pIfProgress->pfnProgress(pIfProgress->Core.pvUser, 100);
7745 rc = pIfProgress->pfnProgress(pIfProgress->Core.pvUser,
7866 rc = pIfProgress->pfnProgress(pIfProgress->Core.pvUser,
8014 pIfProgress->pfnProgress(pIfProgress->Core.pvUser, 100);
8350 pIfProgress->pfnProgress(pIfProgress->Core.pvUser, 100);
8352 pDstIfProgress->pfnProgress(pDstIfProgress->Core.pvUser, 100);
8508 pIfProgress->pfnProgress(pIfProgress->Core.pvUser, 100);
8638 pIfProgress->pfnProgress(pIfProgress->Core.pvUser, 100);
8784 rc2 = pIfProgress->pfnProgress(pIfProgress->Core.pvUser,
8832 pIfProgress->pfnProgress(pIfProgress->Core.pvUser, 100);