Lines Matching refs:pImage
315 PVDIMAGE pImage;
896 static void vdAddImageToList(PVBOXHDD pDisk, PVDIMAGE pImage)
898 pImage->pPrev = NULL;
899 pImage->pNext = NULL;
904 pImage->pPrev = pDisk->pLast;
905 pDisk->pLast->pNext = pImage;
906 pDisk->pLast = pImage;
911 pDisk->pBase = pImage;
912 pDisk->pLast = pImage;
921 static void vdRemoveImageFromList(PVBOXHDD pDisk, PVDIMAGE pImage)
925 if (pImage->pPrev)
926 pImage->pPrev->pNext = pImage->pNext;
928 pDisk->pBase = pImage->pNext;
930 if (pImage->pNext)
931 pImage->pNext->pPrev = pImage->pPrev;
933 pDisk->pLast = pImage->pPrev;
935 pImage->pPrev = NULL;
936 pImage->pNext = NULL;
976 PVDIMAGE pImage = pDisk->pBase;
979 while (pImage && nImage)
981 pImage = pImage->pNext;
984 return pImage;
1969 static int vdDiskReadHelper(PVBOXHDD pDisk, PVDIMAGE pImage, PVDIMAGE pImageParentOverride,
1983 rc = pImage->Backend->pfnRead(pImage->pBackendData,
1989 for (PVDIMAGE pCurrImage = pImageParentOverride ? pImageParentOverride : pImage->pPrev;
2185 vdIoCtxInit(&IoCtx, pParentState->pDisk, VDIOCTXTXDIR_READ, uOffset, cbRead, pParentState->pImage,
2198 * @param pImage The image to start reading from.
2217 static int vdReadHelperEx(PVBOXHDD pDisk, PVDIMAGE pImage, PVDIMAGE pImageParentOverride,
2240 vdIoCtxInit(&IoCtx, pDisk, VDIOCTXTXDIR_READ, uOffset, cbRead, pImage, &SgBuf,
2257 static int vdReadHelper(PVBOXHDD pDisk, PVDIMAGE pImage, uint64_t uOffset,
2260 return vdReadHelperEx(pDisk, pImage, NULL, uOffset, pvBuf, cbRead,
2316 static int vdWriteHelperEx(PVBOXHDD pDisk, PVDIMAGE pImage,
2336 vdIoCtxInit(&IoCtx, pDisk, VDIOCTXTXDIR_WRITE, uOffset, cbWrite, pImage, &SgBuf,
2356 static int vdWriteHelper(PVBOXHDD pDisk, PVDIMAGE pImage, uint64_t uOffset,
2359 return vdWriteHelperEx(pDisk, pImage, NULL, uOffset, pvBuf, cbWrite,
2524 PVDIMAGE pImage = pIoCtx->Req.Io.pImageCur;
2526 rc = pImage->Backend->pfnFlush(pImage->pBackendData, pIoCtx);
2588 PVDIMAGE pImage = pIoCtx->Req.Io.pImageStart;
2594 rc = pImage->Backend->pfnWrite(pImage->pBackendData,
2616 PVDIMAGE pImage = pIoCtx->Req.Io.pImageCur;
2956 PVDIMAGE pImage = pIoCtx->Req.Io.pImageCur;
3007 fWrite = (pImage->uOpenFlags & VD_OPEN_FLAGS_HONOR_SAME)
3009 rc = pImage->Backend->pfnWrite(pImage->pBackendData, uOffset, cbThisWrite,
3031 uOffset, pSeg->cbSeg, pImage,
3036 (pImage->uOpenFlags & VD_OPEN_FLAGS_HONOR_SAME)
3135 PVDIMAGE pImage = pIoCtx->Req.Io.pImageCur;
3145 rc = pImage->Backend->pfnFlush(pImage->pBackendData, pIoCtx);
5350 PVDIMAGE pImage = vdGetImageByNumber(pDisk, VD_LAST_IMAGE);
5351 AssertPtrReturn(pImage, 0);
5352 return pImage->Backend->pfnGetSectorSize(pImage->pBackendData);
6234 PVDIMAGE pImage = NULL;
6276 pImage = (PVDIMAGE)RTMemAllocZ(sizeof(VDIMAGE));
6277 if (!pImage)
6282 pImage->pszFilename = RTStrDup(pszFilename);
6283 if (!pImage->pszFilename)
6289 pImage->VDIo.pDisk = pDisk;
6290 pImage->pVDIfsImage = pVDIfsImage;
6292 rc = vdFindBackend(pszBackend, &pImage->Backend);
6295 if (!pImage->Backend)
6306 if ( !(pImage->Backend->uBackendCaps & VD_CAP_ASYNC)
6318 if ( !(pImage->Backend->uBackendCaps & VD_CAP_DISCARD)
6327 pImage->VDIo.pInterfaceIo = VDIfIoGet(pVDIfsImage);
6328 if (!pImage->VDIo.pInterfaceIo)
6330 vdIfIoFallbackCallbacksSetup(&pImage->VDIo.VDIfIo);
6331 rc = VDInterfaceAdd(&pImage->VDIo.VDIfIo.Core, "VD_IO", VDINTERFACETYPE_IO,
6333 pImage->VDIo.pInterfaceIo = &pImage->VDIo.VDIfIo;
6338 vdIfIoIntCallbacksSetup(&pImage->VDIo.VDIfIoInt);
6339 rc = VDInterfaceAdd(&pImage->VDIo.VDIfIoInt.Core, "VD_IOINT", VDINTERFACETYPE_IOINT,
6340 &pImage->VDIo, sizeof(VDINTERFACEIOINT), &pImage->pVDIfsImage);
6343 pImage->uOpenFlags = uOpenFlags & (VD_OPEN_FLAGS_HONOR_SAME | VD_OPEN_FLAGS_DISCARD | VD_OPEN_FLAGS_IGNORE_FLUSH | VD_OPEN_FLAGS_INFORM_ABOUT_ZERO_BLOCKS);
6344 pImage->VDIo.fIgnoreFlush = (uOpenFlags & VD_OPEN_FLAGS_IGNORE_FLUSH) != 0;
6345 rc = pImage->Backend->pfnOpen(pImage->pszFilename,
6348 pImage->pVDIfsImage,
6350 &pImage->pBackendData);
6357 && pImage->Backend->pfnRepair)
6359 rc = pImage->Backend->pfnRepair(pszFilename, pDisk->pVDIfsDisk, pImage->pVDIfsImage, 0 /* fFlags */);
6361 rc = pImage->Backend->pfnOpen(pImage->pszFilename,
6364 pImage->pVDIfsImage,
6366 &pImage->pBackendData);
6390 rc = pImage->Backend->pfnOpen(pImage->pszFilename,
6394 pImage->pVDIfsImage,
6396 &pImage->pBackendData);
6410 pImage->VDIo.pBackendData = pImage->pBackendData;
6418 uImageFlags = pImage->Backend->pfnGetImageFlags(pImage->pBackendData);
6447 rc2 = pImage->Backend->pfnGetParentUuid(pImage->pBackendData, &parentUuid);
6451 pImage->uImageFlags = uImageFlags;
6456 pImage->uOpenFlags |= VD_OPEN_FLAGS_HONOR_SAME;
6461 pDisk->cbSize = pImage->Backend->pfnGetSize(pImage->pBackendData);
6464 rc2 = pImage->Backend->pfnGetPCHSGeometry(pImage->pBackendData,
6481 rc2 = pImage->Backend->pfnGetLCHSGeometry(pImage->pBackendData,
6511 vdAddImageToList(pDisk, pImage);
6518 rc2 = pImage->Backend->pfnClose(pImage->pBackendData, false);
6520 pImage->pBackendData = NULL;
6532 if (pImage)
6534 if (pImage->pszFilename)
6535 RTStrFree(pImage->pszFilename);
6536 RTMemFree(pImage);
6849 PVDIMAGE pImage = NULL;
6918 pImage = (PVDIMAGE)RTMemAllocZ(sizeof(VDIMAGE));
6919 if (!pImage)
6924 pImage->pszFilename = RTStrDup(pszFilename);
6925 if (!pImage->pszFilename)
6930 pImage->VDIo.pDisk = pDisk;
6931 pImage->pVDIfsImage = pVDIfsImage;
6934 pImage->VDIo.pInterfaceIo = VDIfIoGet(pVDIfsImage);
6935 if (!pImage->VDIo.pInterfaceIo)
6937 vdIfIoFallbackCallbacksSetup(&pImage->VDIo.VDIfIo);
6938 rc = VDInterfaceAdd(&pImage->VDIo.VDIfIo.Core, "VD_IO", VDINTERFACETYPE_IO,
6940 pImage->VDIo.pInterfaceIo = &pImage->VDIo.VDIfIo;
6945 vdIfIoIntCallbacksSetup(&pImage->VDIo.VDIfIoInt);
6946 rc = VDInterfaceAdd(&pImage->VDIo.VDIfIoInt.Core, "VD_IOINT", VDINTERFACETYPE_IOINT,
6947 &pImage->VDIo, sizeof(VDINTERFACEIOINT), &pImage->pVDIfsImage);
6950 rc = vdFindBackend(pszBackend, &pImage->Backend);
6953 if (!pImage->Backend)
6959 if (!(pImage->Backend->uBackendCaps & ( VD_CAP_CREATE_FIXED
6981 pImage->uOpenFlags = uOpenFlags & VD_OPEN_FLAGS_HONOR_SAME;
6983 pImage->VDIo.fIgnoreFlush = (uOpenFlags & VD_OPEN_FLAGS_IGNORE_FLUSH) != 0;
6984 rc = pImage->Backend->pfnCreate(pImage->pszFilename, cbSize,
6990 pImage->pVDIfsImage,
6993 &pImage->pBackendData);
6997 pImage->VDIo.pBackendData = pImage->pBackendData;
6998 pImage->uImageFlags = uImageFlags;
7003 pImage->uOpenFlags |= VD_OPEN_FLAGS_HONOR_SAME;
7022 pDisk->cbSize = pImage->Backend->pfnGetSize(pImage->pBackendData);
7025 rc2 = pImage->Backend->pfnGetPCHSGeometry(pImage->pBackendData,
7042 rc2 = pImage->Backend->pfnGetLCHSGeometry(pImage->pBackendData,
7058 vdAddImageToList(pDisk, pImage);
7066 if (pImage->pBackendData)
7068 rc2 = pImage->Backend->pfnClose(pImage->pBackendData, true);
7070 pImage->pBackendData = NULL;
7088 if (pImage)
7090 if (pImage->pszFilename)
7091 RTStrFree(pImage->pszFilename);
7092 RTMemFree(pImage);
7129 PVDIMAGE pImage = NULL;
7193 pImage = (PVDIMAGE)RTMemAllocZ(sizeof(VDIMAGE));
7194 if (!pImage)
7199 pImage->pszFilename = RTStrDup(pszFilename);
7200 if (!pImage->pszFilename)
7206 rc = vdFindBackend(pszBackend, &pImage->Backend);
7209 if (!pImage->Backend)
7215 if ( !(pImage->Backend->uBackendCaps & VD_CAP_DIFF)
7216 || !(pImage->Backend->uBackendCaps & ( VD_CAP_CREATE_FIXED
7224 pImage->VDIo.pDisk = pDisk;
7225 pImage->pVDIfsImage = pVDIfsImage;
7228 pImage->VDIo.pInterfaceIo = VDIfIoGet(pVDIfsImage);
7229 if (!pImage->VDIo.pInterfaceIo)
7231 vdIfIoFallbackCallbacksSetup(&pImage->VDIo.VDIfIo);
7232 rc = VDInterfaceAdd(&pImage->VDIo.VDIfIo.Core, "VD_IO", VDINTERFACETYPE_IO,
7234 pImage->VDIo.pInterfaceIo = &pImage->VDIo.VDIfIo;
7239 vdIfIoIntCallbacksSetup(&pImage->VDIo.VDIfIoInt);
7240 rc = VDInterfaceAdd(&pImage->VDIo.VDIfIoInt.Core, "VD_IOINT", VDINTERFACETYPE_IOINT,
7241 &pImage->VDIo, sizeof(VDINTERFACEIOINT), &pImage->pVDIfsImage);
7258 pImage->uOpenFlags = uOpenFlags & VD_OPEN_FLAGS_HONOR_SAME;
7259 pImage->VDIo.fIgnoreFlush = (uOpenFlags & VD_OPEN_FLAGS_IGNORE_FLUSH) != 0;
7261 rc = pImage->Backend->pfnCreate(pImage->pszFilename, pDisk->cbSize,
7268 pImage->pVDIfsImage,
7271 &pImage->pBackendData);
7275 pImage->VDIo.pBackendData = pImage->pBackendData;
7276 pImage->uImageFlags = uImageFlags;
7309 pImage->Backend->pfnSetParentUuid(pImage->pBackendData, &Uuid);
7316 pImage->Backend->pfnSetParentUuid(pImage->pBackendData, &Uuid);
7321 pImage->Backend->pfnSetParentModificationUuid(pImage->pBackendData,
7328 if (RT_SUCCESS(rc2) && pImage->Backend->pfnSetParentTimeStamp)
7329 pImage->Backend->pfnSetParentTimeStamp(pImage->pBackendData, &ts);
7331 if (pImage->Backend->pfnSetParentFilename)
7332 rc2 = pImage->Backend->pfnSetParentFilename(pImage->pBackendData, pDisk->pLast->pszFilename);
7338 vdAddImageToList(pDisk, pImage);
7345 rc2 = pImage->Backend->pfnClose(pImage->pBackendData, true);
7347 pImage->pBackendData = NULL;
7364 if (pImage)
7366 if (pImage->pszFilename)
7367 RTStrFree(pImage->pszFilename);
7368 RTMemFree(pImage);
8445 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
8446 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
8451 if (!pImage->Backend->pfnCompact)
8453 if (pImage->Backend->uBackendCaps & VD_CAP_FILE)
8464 if (pImage->pPrev)
8468 ParentUser.pImage = pImage->pPrev;
8482 rc = pImage->Backend->pfnCompact(pImage->pBackendData,
8485 pImage->pVDIfsImage,
8558 PVDIMAGE pImage = pDisk->pLast;
8563 if (!pImage->Backend->pfnResize)
8565 if (pImage->Backend->uBackendCaps & VD_CAP_FILE)
8588 rc = pImage->Backend->pfnGetPCHSGeometry(pImage->pBackendData, &PCHSGeometryOld);
8602 rc = pImage->Backend->pfnGetLCHSGeometry(pImage->pBackendData, &LCHSGeometryOld);
8614 rc = pImage->Backend->pfnResize(pImage->pBackendData,
8620 pImage->pVDIfsImage,
8689 PVDIMAGE pImage = pDisk->pBase;
8691 while (pImage)
8693 uOpenFlags = pImage->Backend->pfnGetOpenFlags(pImage->pBackendData);
8701 rc = pImage->Backend->pfnSetOpenFlags(pImage->pBackendData, uOpenFlags);
8705 pImage = pImage->pNext;
8722 pImage = pDisk->pBase;
8725 while ( pImage
8729 uint64_t cbSize = pImage->Backend->pfnGetSize(pImage->pBackendData);
8730 uint64_t cbSizeFile = pImage->Backend->pfnGetFileSize(pImage->pBackendData);
8748 rc = pImage->Backend->pfnRead(pImage->pBackendData, uOffset,
8768 rc = pImage->Backend->pfnWrite(pImage->pBackendData, uOffset,
8790 pImage = pImage->pNext;
8801 pImage = pDisk->pBase;
8802 while ( pImage != pDisk->pLast
8803 && pImage)
8805 uOpenFlags = pImage->Backend->pfnGetOpenFlags(pImage->pBackendData);
8807 rc2 = pImage->Backend->pfnSetOpenFlags(pImage->pBackendData, uOpenFlags);
8814 pImage = pImage->pNext;
8869 PVDIMAGE pImage = pDisk->pLast;
8870 if (!pImage)
8881 unsigned uOpenFlags = pImage->Backend->pfnGetOpenFlags(pImage->pBackendData);
8883 vdRemoveImageFromList(pDisk, pImage);
8885 rc = pImage->Backend->pfnClose(pImage->pBackendData, fDelete);
8887 RTStrFree(pImage->pszFilename);
8888 RTMemFree(pImage);
8890 pImage = pDisk->pLast;
8891 if (!pImage)
8899 uOpenFlags = pImage->Backend->pfnGetOpenFlags(pImage->pBackendData);
8901 rc = pImage->Backend->pfnSetOpenFlags(pImage->pBackendData, uOpenFlags);
8905 pDisk->cbSize = pImage->Backend->pfnGetSize(pImage->pBackendData);
8908 rc2 = pImage->Backend->pfnGetPCHSGeometry(pImage->pBackendData,
8925 rc2 = pImage->Backend->pfnGetLCHSGeometry(pImage->pBackendData,
9087 PVDIMAGE pImage = pDisk->pLast;
9088 while (VALID_PTR(pImage))
9090 PVDIMAGE pPrev = pImage->pPrev;
9092 vdRemoveImageFromList(pDisk, pImage);
9094 rc2 = pImage->Backend->pfnClose(pImage->pBackendData, false);
9098 RTStrFree(pImage->pszFilename);
9099 RTMemFree(pImage);
9100 pImage = pPrev;
9202 PVDIMAGE pImage = pDisk->pLast;
9203 AssertPtrBreakStmt(pImage, rc = VERR_VD_NOT_OPENED);
9219 rc = vdReadHelper(pDisk, pImage, uOffset, pvBuf, cbRead,
9276 PVDIMAGE pImage = pDisk->pLast;
9277 AssertPtrBreakStmt(pImage, rc = VERR_VD_NOT_OPENED);
9280 rc = vdWriteHelper(pDisk, pImage, uOffset, pvBuf, cbWrite,
9332 PVDIMAGE pImage = pDisk->pLast;
9333 AssertPtrBreakStmt(pImage, rc = VERR_VD_NOT_OPENED);
9342 vdIoCtxInit(&IoCtx, pDisk, VDIOCTXTXDIR_FLUSH, 0, 0, pImage, NULL,
9423 PVDIMAGE pImage = pDisk->pLast;
9424 AssertPtrBreakStmt(pImage, fReadOnly = true);
9466 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9467 AssertPtrBreakStmt(pImage, cbSector = 0);
9468 cbSector = pImage->Backend->pfnGetSectorSize(pImage->pBackendData);
9506 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9507 AssertPtrBreakStmt(pImage, cbSize = 0);
9508 cbSize = pImage->Backend->pfnGetSize(pImage->pBackendData);
9546 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9547 AssertPtrBreakStmt(pImage, cbSize = 0);
9548 cbSize = pImage->Backend->pfnGetFileSize(pImage->pBackendData);
9595 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9596 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
9598 if (pImage == pDisk->pLast)
9607 rc = pImage->Backend->pfnGetPCHSGeometry(pImage->pBackendData,
9664 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9665 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
9667 if (pImage == pDisk->pLast)
9678 rc = pImage->Backend->pfnSetPCHSGeometry(pImage->pBackendData,
9682 rc2 = pImage->Backend->pfnGetPCHSGeometry(pImage->pBackendData,
9701 rc = pImage->Backend->pfnGetPCHSGeometry(pImage->pBackendData,
9713 rc = pImage->Backend->pfnSetPCHSGeometry(pImage->pBackendData,
9763 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9764 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
9766 if (pImage == pDisk->pLast)
9775 rc = pImage->Backend->pfnGetLCHSGeometry(pImage->pBackendData,
9832 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9833 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
9835 if (pImage == pDisk->pLast)
9846 rc = pImage->Backend->pfnSetLCHSGeometry(pImage->pBackendData,
9850 rc2 = pImage->Backend->pfnGetLCHSGeometry(pImage->pBackendData,
9869 rc = pImage->Backend->pfnGetLCHSGeometry(pImage->pBackendData,
9881 rc = pImage->Backend->pfnSetLCHSGeometry(pImage->pBackendData,
9930 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9931 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
9933 *puVersion = pImage->Backend->pfnGetVersion(pImage->pBackendData);
9979 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9980 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
9982 pBackendInfo->pszBackend = pImage->Backend->pszBackendName;
9983 pBackendInfo->uBackendCaps = pImage->Backend->uBackendCaps;
9984 pBackendInfo->paFileExtensions = pImage->Backend->paFileExtensions;
9985 pBackendInfo->paConfigInfo = pImage->Backend->paConfigInfo;
10031 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10032 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
10034 *puImageFlags = pImage->uImageFlags;
10080 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10081 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
10083 *puOpenFlags = pImage->Backend->pfnGetOpenFlags(pImage->pBackendData);
10135 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10136 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
10138 rc = pImage->Backend->pfnSetOpenFlags(pImage->pBackendData,
10141 pImage->uOpenFlags = uOpenFlags & (VD_OPEN_FLAGS_HONOR_SAME | VD_OPEN_FLAGS_DISCARD | VD_OPEN_FLAGS_IGNORE_FLUSH | VD_OPEN_FLAGS_INFORM_ABOUT_ZERO_BLOCKS);
10194 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10195 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
10197 size_t cb = strlen(pImage->pszFilename);
10200 strcpy(pszFilename, pImage->pszFilename);
10205 strncpy(pszFilename, pImage->pszFilename, cbFilename - 1);
10259 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10260 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
10262 rc = pImage->Backend->pfnGetComment(pImage->pBackendData, pszComment,
10309 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10310 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
10312 rc = pImage->Backend->pfnSetComment(pImage->pBackendData, pszComment);
10357 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10358 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
10360 rc = pImage->Backend->pfnGetUuid(pImage->pBackendData, pUuid);
10404 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10405 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
10413 rc = pImage->Backend->pfnSetUuid(pImage->pBackendData, pUuid);
10457 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10458 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
10460 rc = pImage->Backend->pfnGetModificationUuid(pImage->pBackendData,
10506 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10507 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
10515 rc = pImage->Backend->pfnSetModificationUuid(pImage->pBackendData,
10561 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10562 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
10564 rc = pImage->Backend->pfnGetParentUuid(pImage->pBackendData, pUuid);
10609 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10610 AssertPtrBreakStmt(pImage, rc = VERR_VD_IMAGE_NOT_FOUND);
10618 rc = pImage->Backend->pfnSetParentUuid(pImage->pBackendData, pUuid);
10656 for (PVDIMAGE pImage = pDisk->pBase; pImage; pImage = pImage->pNext)
10659 pImage->pszFilename, pImage->Backend->pszBackendName);
10660 pImage->Backend->pfnDump(pImage->pBackendData);