Changeset 63811 in vbox
- Timestamp:
- Sep 13, 2016 11:33:47 AM (8 years ago)
- Location:
- trunk/src/VBox/Storage
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/QED.cpp
r63802 r63811 1593 1593 } 1594 1594 1595 if RT_FAILURE(rc)1595 if (RT_FAILURE(rc)) 1596 1596 RTMemFree(pImage); 1597 1597 } -
trunk/src/VBox/Storage/RAW.cpp
r63802 r63811 256 256 { 257 257 rc = vdIfIoIntFileSetAllocationSize(pImage->pIfIo, pImage->pStorage, cbSize, 0 /* fFlags */, 258 pIfProgress ? pIfProgress->pfnProgress : NULL, 259 pIfProgress ? pIfProgress->Core.pvUser : NULL, 260 uPercentStart, uPercentSpan); 258 pIfProgress, uPercentStart, uPercentSpan); 261 259 if (RT_SUCCESS(rc)) 262 260 { -
trunk/src/VBox/Storage/VD.cpp
r63802 r63811 4670 4670 static DECLCALLBACK(int) vdIOIntSetAllocationSize(void *pvUser, PVDIOSTORAGE pIoStorage, 4671 4671 uint64_t cbSize, uint32_t fFlags, 4672 PFNVDPROGRESS pfnProgress, 4673 void *pvUserProgess, unsigned uPercentStart, 4674 unsigned uPercentSpan) 4672 PVDINTERFACEPROGRESS pIfProgress, 4673 unsigned uPercentStart, unsigned uPercentSpan) 4675 4674 { 4676 4675 PVDIO pVDIo = (PVDIO)pvUser; … … 4707 4706 uOff += cbChunk; 4708 4707 4709 if (pfnProgress) 4710 rc = pfnProgress(pvUserProgess, uPercentStart + uOff * uPercentSpan / cbFill); 4708 rc = vdIfProgress(pIfProgress, uPercentStart + uOff * uPercentSpan / cbFill); 4711 4709 } 4712 4710 } … … 4723 4721 } 4724 4722 4725 if (RT_SUCCESS(rc) && pfnProgress)4726 rc = pfnProgress(pvUserProgess, uPercentStart + uPercentSpan);4723 if (RT_SUCCESS(rc)) 4724 rc = vdIfProgress(pIfProgress, uPercentStart + uPercentSpan); 4727 4725 4728 4726 return rc; -
trunk/src/VBox/Storage/VDI.cpp
r63809 r63811 610 610 */ 611 611 rc = vdIfIoIntFileSetAllocationSize(pImage->pIfIo, pImage->pStorage, cbTotal, 0 /* fFlags */, 612 pIfProgress ? pIfProgress->pfnProgress : NULL, 613 pIfProgress ? pIfProgress->Core.pvUser : NULL, 614 uPercentStart, uPercentSpan); 612 pIfProgress, uPercentStart, uPercentSpan); 615 613 pImage->cbImage = cbTotal; 616 614 } -
trunk/src/VBox/Storage/VHD.cpp
r63802 r63811 1166 1166 pImage->uCurrentEndOfFile = cbSize; 1167 1167 rc = vdIfIoIntFileSetAllocationSize(pImage->pIfIo, pImage->pStorage, pImage->uCurrentEndOfFile + sizeof(VHDFooter), 1168 0 /* fFlags */, pIfProgress ->pfnProgress, pIfProgress->Core.pvUser,1168 0 /* fFlags */, pIfProgress, 1169 1169 uPercentStart, uPercentSpan); 1170 1170 if (RT_FAILURE(rc)) -
trunk/src/VBox/Storage/VMDK.cpp
r63805 r63811 3618 3618 { 3619 3619 rc = vdIfIoIntFileSetAllocationSize(pImage->pIfIo, pExtent->pFile->pStorage, cbExtent, 3620 0 /* fFlags */, pIfProgress ->pfnProgress, pIfProgress->Core.pvUser,3620 0 /* fFlags */, pIfProgress, 3621 3621 uPercentStart + cbOffset * uPercentSpan / cbSize, 3622 3622 cbExtent * uPercentSpan / cbSize);
Note:
See TracChangeset
for help on using the changeset viewer.