H A D | VD.cpp | 96 PVBOXHDD pDisk; member in struct:VDIO 313 PVBOXHDD pDisk; member in struct:VDPARENTSTATEDESC 348 PVBOXHDD pDisk; member in struct:VDIOCTX 665 static void vdDiskProcessBlockedIoCtx(PVBOXHDD pDisk); 666 static int vdDiskUnlock(PVBOXHDD pDisk, PVDIOCTX pIoCtxRc); 771 static int vdError(PVBOXHDD pDisk, int rc, RT_SRC_POS_DECL, argument 776 if (pDisk->pInterfaceError) 777 pDisk->pInterfaceError->pfnError(pDisk->pInterfaceError->Core.pvUser, rc, RT_SRC_POS_ARGS, pszFormat, va); 785 DECLINLINE(int) vdThreadStartRead(PVBOXHDD pDisk) argument 796 vdThreadFinishRead(PVBOXHDD pDisk) argument 807 vdThreadStartWrite(PVBOXHDD pDisk) argument 818 vdThreadFinishWrite(PVBOXHDD pDisk) argument 896 vdAddImageToList(PVBOXHDD pDisk, PVDIMAGE pImage) argument 921 vdRemoveImageFromList(PVBOXHDD pDisk, PVDIMAGE pImage) argument 974 vdGetImageByNumber(PVBOXHDD pDisk, unsigned nImage) argument 996 vdFilterChainApplyWrite(PVBOXHDD pDisk, uint64_t uOffset, size_t cbWrite, PVDIOCTX pIoCtx) argument 1025 vdFilterChainApplyRead(PVBOXHDD pDisk, uint64_t uOffset, size_t cbRead, PVDIOCTX pIoCtx) argument 1048 vdIoCtxRootComplete(PVBOXHDD pDisk, PVDIOCTX pIoCtx) argument 1063 vdIoCtxInit(PVDIOCTX pIoCtx, PVBOXHDD pDisk, VDIOCTXTXDIR enmTxDir, uint64_t uOffset, size_t cbTransfer, PVDIMAGE pImageStart, PCRTSGBUF pcSgBuf, void *pvAllocation, PFNVDIOCTXTRANSFER pfnIoCtxTransfer, uint32_t fFlags) argument 1211 vdDiscardRemoveBlocks(PVBOXHDD pDisk, PVDDISCARDSTATE pDiscard, size_t cbDiscardingNew) argument 1296 vdDiscardStateDestroy(PVBOXHDD pDisk) argument 1322 vdDiscardSetRangeAllocated(PVBOXHDD pDisk, uint64_t uOffset, size_t cbRange) argument 1364 vdIoCtxAlloc(PVBOXHDD pDisk, VDIOCTXTXDIR enmTxDir, uint64_t uOffset, size_t cbTransfer, PVDIMAGE pImageStart,PCRTSGBUF pcSgBuf, void *pvAllocation, PFNVDIOCTXTRANSFER pfnIoCtxTransfer, uint32_t fFlags) argument 1382 vdIoCtxRootAlloc(PVBOXHDD pDisk, VDIOCTXTXDIR enmTxDir, uint64_t uOffset, size_t cbTransfer, PVDIMAGE pImageStart, PCRTSGBUF pcSgBuf, PFNVDASYNCTRANSFERCOMPLETE pfnComplete, void *pvUser1, void *pvUser2, void *pvAllocation, PFNVDIOCTXTRANSFER pfnIoCtxTransfer, uint32_t fFlags) argument 1406 vdIoCtxDiscardInit(PVDIOCTX pIoCtx, PVBOXHDD pDisk, PCRTRANGE paRanges, unsigned cRanges, PFNVDASYNCTRANSFERCOMPLETE pfnComplete, void *pvUser1, void *pvUser2, void *pvAllocation, PFNVDIOCTXTRANSFER pfnIoCtxTransfer, uint32_t fFlags) argument 1435 vdIoCtxDiscardAlloc(PVBOXHDD pDisk, PCRTRANGE paRanges, unsigned cRanges, PFNVDASYNCTRANSFERCOMPLETE pfnComplete, void *pvUser1, void *pvUser2, void *pvAllocation, PFNVDIOCTXTRANSFER pfnIoCtxTransfer, uint32_t fFlags) argument 1456 vdIoCtxChildAlloc(PVBOXHDD pDisk, VDIOCTXTXDIR enmTxDir, uint64_t uOffset, size_t cbTransfer, PVDIMAGE pImageStart, PCRTSGBUF pcSgBuf, PVDIOCTX pIoCtxParent, size_t cbTransferParent, size_t cbWriteParent, void *pvAllocation, PFNVDIOCTXTRANSFER pfnIoCtxTransfer) argument 1517 vdIoCtxFree(PVBOXHDD pDisk, PVDIOCTX pIoCtx) argument 1532 vdIoTaskFree(PVBOXHDD pDisk, PVDIOTASK pIoTask) argument 1584 vdIoCtxDefer(PVBOXHDD pDisk, PVDIOCTX pIoCtx) argument 1723 vdDiskProcessWaitingIoCtx(PVBOXHDD pDisk, PVDIOCTX pIoCtxRc) argument 1808 vdDiskProcessBlockedIoCtx(PVBOXHDD pDisk) argument 1866 PVBOXHDD pDisk = pIoCtx->pDisk; local 1899 PVBOXHDD pDisk = pIoCtx->pDisk; local 1922 vdIoCtxIsDiskLockOwner(PVBOXHDD pDisk, PVDIOCTX pIoCtx) argument 1927 vdIoCtxLockDisk(PVBOXHDD pDisk, PVDIOCTX pIoCtx) argument 1946 vdIoCtxUnlockDisk(PVBOXHDD pDisk, PVDIOCTX pIoCtx, bool fProcessBlockedReqs) argument 1969 vdDiskReadHelper(PVBOXHDD pDisk, PVDIMAGE pImage, PVDIMAGE pImageParentOverride, uint64_t uOffset, size_t cbRead, PVDIOCTX pIoCtx, size_t *pcbThisRead) argument 2012 PVBOXHDD pDisk = pIoCtx->pDisk; local 2217 vdReadHelperEx(PVBOXHDD pDisk, PVDIMAGE pImage, PVDIMAGE pImageParentOverride, uint64_t uOffset, void *pvBuf, size_t cbRead, bool fZeroFreeBlocks, bool fUpdateCache, unsigned cImagesRead) argument 2257 vdReadHelper(PVBOXHDD pDisk, PVDIMAGE pImage, uint64_t uOffset, void *pvBuf, size_t cbRead, bool fUpdateCache) argument 2267 vdResetModifiedFlag(PVBOXHDD pDisk) argument 2292 vdSetModifiedFlag(PVBOXHDD pDisk) argument 2316 vdWriteHelperEx(PVBOXHDD pDisk, PVDIMAGE pImage, PVDIMAGE pImageParentOverride, uint64_t uOffset, const void *pvBuf, size_t cbWrite, uint32_t fFlags, unsigned cImagesRead) argument 2356 vdWriteHelper(PVBOXHDD pDisk, PVDIMAGE pImage, uint64_t uOffset, const void *pvBuf, size_t cbWrite, uint32_t fFlags) argument 2523 PVBOXHDD pDisk = pIoCtx->pDisk; local 2536 vdSetModifiedFlagAsync(PVBOXHDD pDisk, PVDIOCTX pIoCtx) argument 2722 PVBOXHDD pDisk = pIoCtx->pDisk; local 2892 PVBOXHDD pDisk = pIoCtx->pDisk; local 2957 PVBOXHDD pDisk = pIoCtx->pDisk; local 3134 PVBOXHDD pDisk = pIoCtx->pDisk; local 3178 PVBOXHDD pDisk = pIoCtx->pDisk; local 3226 vdDiscardRemoveBlocksAsync(PVBOXHDD pDisk, PVDIOCTX pIoCtx, size_t cbDiscardingNew) argument 3315 PVBOXHDD pDisk = pIoCtx->pDisk; local 3389 PVBOXHDD pDisk = pIoCtx->pDisk; local 4068 PVBOXHDD pDisk = pIoCtx->pDisk; local 4169 PVBOXHDD pDisk = pIoCtx->pDisk; local 4229 PVBOXHDD pDisk = pIoStorage->pVDIo->pDisk; local 4345 vdIoTaskProcessWaitingList(PVBOXHDD pDisk) argument 4390 vdIoCtxProcessHaltedList(PVBOXHDD pDisk) argument 4431 vdDiskUnlock(PVBOXHDD pDisk, PVDIOCTX pIoCtxRc) argument 4482 PVBOXHDD pDisk = pIoStorage->pVDIo->pDisk; local 4624 PVBOXHDD pDisk = pVDIo->pDisk; local 4722 PVBOXHDD pDisk = pVDIo->pDisk; local 4822 PVBOXHDD pDisk = pVDIo->pDisk; local 4943 PVBOXHDD pDisk = pVDIo->pDisk; local 5099 PVBOXHDD pDisk = pVDIo->pDisk; local 5135 PVBOXHDD pDisk = pVDIo->pDisk; local 5212 PVBOXHDD pDisk = pVDIo->pDisk; local 5232 PVBOXHDD pDisk = pVDIo->pDisk; local 5251 PVBOXHDD pDisk = pVDIo->pDisk; local 5272 PVBOXHDD pDisk = pVDIo->pDisk; local 5293 PVBOXHDD pDisk = pVDIo->pDisk; local 5348 PVBOXHDD pDisk = pVDIo->pDisk; local 5519 vdMessageWrapper(PVBOXHDD pDisk, const char *pszFormat, ...) argument 5646 PVBOXHDD pDisk = (PVBOXHDD)pvUser1; local 5964 PVBOXHDD pDisk = NULL; local 6044 VDDestroy(PVBOXHDD pDisk) argument 6227 VDOpen(PVBOXHDD pDisk, const char *pszBackend, const char *pszFilename, unsigned uOpenFlags, PVDINTERFACE pVDIfsImage) argument 6554 VDCacheOpen(PVBOXHDD pDisk, const char *pszBackend, const char *pszFilename, unsigned uOpenFlags, PVDINTERFACE pVDIfsCache) argument 6726 VDFilterAdd(PVBOXHDD pDisk, const char *pszFilter, uint32_t fFlags, PVDINTERFACE pVDIfsFilter) argument 6837 VDCreateBase(PVBOXHDD pDisk, const char *pszBackend, const char *pszFilename, uint64_t cbSize, unsigned uImageFlags, const char *pszComment, PCVDGEOMETRY pPCHSGeometry, PCVDGEOMETRY pLCHSGeometry, PCRTUUID pUuid, unsigned uOpenFlags, PVDINTERFACE pVDIfsImage, PVDINTERFACE pVDIfsOperation) argument 7119 VDCreateDiff(PVBOXHDD pDisk, const char *pszBackend, const char *pszFilename, unsigned uImageFlags, const char *pszComment, PCRTUUID pUuid, PCRTUUID pParentUuid, unsigned uOpenFlags, PVDINTERFACE pVDIfsImage, PVDINTERFACE pVDIfsOperation) argument 7394 VDCreateCache(PVBOXHDD pDisk, const char *pszBackend, const char *pszFilename, uint64_t cbSize, unsigned uImageFlags, const char *pszComment, PCRTUUID pUuid, unsigned uOpenFlags, PVDINTERFACE pVDIfsCache, PVDINTERFACE pVDIfsOperation) argument 7609 VDMerge(PVBOXHDD pDisk, unsigned nImageFrom, unsigned nImageTo, PVDINTERFACE pVDIfsOperation) argument 8420 VDCompact(PVBOXHDD pDisk, unsigned nImage, PVDINTERFACE pVDIfsOperation) argument 8436 AssertMsgBreakStmt(VALID_PTR(pDisk), ("pDisk=%#p\\n", pDisk), local 8528 VDResize(PVBOXHDD pDisk, uint64_t cbSize, PCVDGEOMETRY pPCHSGeometry, PCVDGEOMETRY pLCHSGeometry, PVDINTERFACE pVDIfsOperation) argument 8545 AssertMsgBreakStmt(VALID_PTR(pDisk), ("pDisk=%#p\\n", pDisk), local 8647 VDPrepareWithFilters(PVBOXHDD pDisk, PVDINTERFACE pVDIfsOperation) argument 8659 AssertMsgBreakStmt(VALID_PTR(pDisk), ("pDisk=%#p\\n", pDisk), local 8849 VDClose(PVBOXHDD pDisk, bool fDelete) argument 8959 VDCacheClose(PVBOXHDD pDisk, bool fDelete) argument 8999 VDFilterRemove(PVBOXHDD pDisk, uint32_t fFlags) argument 9057 VDCloseAll(PVBOXHDD pDisk) argument 9121 VDFilterRemoveAll(PVBOXHDD pDisk) argument 9175 VDRead(PVBOXHDD pDisk, uint64_t uOffset, void *pvBuf, size_t cbRead) argument 9244 VDWrite(PVBOXHDD pDisk, uint64_t uOffset, const void *pvBuf, size_t cbWrite) argument 9315 VDFlush(PVBOXHDD pDisk) argument 9369 VDGetCount(PVBOXHDD pDisk) argument 9406 VDIsReadOnly(PVBOXHDD pDisk) argument 9449 VDGetSectorSize(PVBOXHDD pDisk, unsigned nImage) argument 9489 VDGetSize(PVBOXHDD pDisk, unsigned nImage) argument 9529 VDGetFileSize(PVBOXHDD pDisk, unsigned nImage) argument 9571 VDGetPCHSGeometry(PVBOXHDD pDisk, unsigned nImage, PVDGEOMETRY pPCHSGeometry) argument 9635 VDSetPCHSGeometry(PVBOXHDD pDisk, unsigned nImage, PCVDGEOMETRY pPCHSGeometry) argument 9739 VDGetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage, PVDGEOMETRY pLCHSGeometry) argument 9803 VDSetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage, PCVDGEOMETRY pLCHSGeometry) argument 9906 VDGetVersion(PVBOXHDD pDisk, unsigned nImage, unsigned *puVersion) argument 9955 VDBackendInfoSingle(PVBOXHDD pDisk, unsigned nImage, PVDBACKENDINFO pBackendInfo) argument 10007 VDGetImageFlags(PVBOXHDD pDisk, unsigned nImage, unsigned *puImageFlags) argument 10056 VDGetOpenFlags(PVBOXHDD pDisk, unsigned nImage, unsigned *puOpenFlags) argument 10107 VDSetOpenFlags(PVBOXHDD pDisk, unsigned nImage, unsigned uOpenFlags) argument 10167 VDGetFilename(PVBOXHDD pDisk, unsigned nImage, char *pszFilename, unsigned cbFilename) argument 10232 VDGetComment(PVBOXHDD pDisk, unsigned nImage, char *pszComment, unsigned cbComment) argument 10285 VDSetComment(PVBOXHDD pDisk, unsigned nImage, const char *pszComment) argument 10335 VDGetUuid(PVBOXHDD pDisk, unsigned nImage, PRTUUID pUuid) argument 10382 VDSetUuid(PVBOXHDD pDisk, unsigned nImage, PCRTUUID pUuid) argument 10435 VDGetModificationUuid(PVBOXHDD pDisk, unsigned nImage, PRTUUID pUuid) argument 10483 VDSetModificationUuid(PVBOXHDD pDisk, unsigned nImage, PCRTUUID pUuid) argument 10538 VDGetParentUuid(PVBOXHDD pDisk, unsigned nImage, PRTUUID pUuid) argument 10585 VDSetParentUuid(PVBOXHDD pDisk, unsigned nImage, PCRTUUID pUuid) argument 10637 VDDumpImages(PVBOXHDD pDisk) argument 10672 VDDiscardRanges(PVBOXHDD pDisk, PCRTRANGE paRanges, unsigned cRanges) argument 10730 VDAsyncRead(PVBOXHDD pDisk, uint64_t uOffset, size_t cbRead, PCRTSGBUF pcSgBuf, PFNVDASYNCTRANSFERCOMPLETE pfnComplete, void *pvUser1, void *pvUser2) argument 10803 VDAsyncWrite(PVBOXHDD pDisk, uint64_t uOffset, size_t cbWrite, PCRTSGBUF pcSgBuf, PFNVDASYNCTRANSFERCOMPLETE pfnComplete, void *pvUser1, void *pvUser2) argument 10874 VDAsyncFlush(PVBOXHDD pDisk, PFNVDASYNCTRANSFERCOMPLETE pfnComplete, void *pvUser1, void *pvUser2) argument 10930 VDAsyncDiscardRanges(PVBOXHDD pDisk, PCRTRANGE paRanges, unsigned cRanges, PFNVDASYNCTRANSFERCOMPLETE pfnComplete, void *pvUser1, void *pvUser2) argument [all...] |