Lines Matching refs:nImage

974 static PVDIMAGE vdGetImageByNumber(PVBOXHDD pDisk, unsigned nImage)
977 if (nImage == VD_LAST_IMAGE)
979 while (pImage && nImage)
982 nImage--;
8037 * @param nImage Image number, counts from 0. 0 is always base image of container.
8059 VBOXDDU_DECL(int) VDCopyEx(PVBOXHDD pDiskFrom, unsigned nImage, PVBOXHDD pDiskTo,
8073 LogFlowFunc(("pDiskFrom=%#p nImage=%u pDiskTo=%#p pszBackend=\"%s\" pszFilename=\"%s\" fMoveByRename=%d cbSize=%llu nImageFromSame=%u nImageToSame=%u uImageFlags=%#x pDstUuid=%#p uOpenFlags=%#x pVDIfsOperation=%#p pDstVDIfsImage=%#p pDstVDIfsOperation=%#p\n",
8074 pDiskFrom, nImage, pDiskTo, pszBackend, pszFilename, fMoveByRename, cbSize, nImageFromSame, nImageToSame, uImageFlags, pDstUuid, uOpenFlags, pVDIfsOperation, pDstVDIfsImage, pDstVDIfsOperation));
8089 PVDIMAGE pImageFrom = vdGetImageByNumber(pDiskFrom, nImage);
8095 AssertMsgBreakStmt( (nImageFromSame < nImage || nImageFromSame == VD_IMAGE_CONTENT_UNKNOWN)
8270 if (nImage == VD_LAST_IMAGE)
8273 cImagesFromReadBack = nImage - nImageFromSame;
8372 * @param nImage Image number, counts from 0. 0 is always base image of container.
8390 VBOXDDU_DECL(int) VDCopy(PVBOXHDD pDiskFrom, unsigned nImage, PVBOXHDD pDiskTo,
8398 return VDCopyEx(pDiskFrom, nImage, pDiskTo, pszBackend, pszFilename, fMoveByRename,
8417 * @param nImage Image number, counts from 0. 0 is always base image of container.
8420 VBOXDDU_DECL(int) VDCompact(PVBOXHDD pDisk, unsigned nImage,
8429 LogFlowFunc(("pDisk=%#p nImage=%u pVDIfsOperation=%#p\n",
8430 pDisk, nImage, pVDIfsOperation));
8445 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9447 * @param nImage Image number, counts from 0. 0 is always base image of container.
9449 VBOXDDU_DECL(uint32_t) VDGetSectorSize(PVBOXHDD pDisk, unsigned nImage)
9455 LogFlowFunc(("pDisk=%#p nImage=%u\n", pDisk, nImage));
9466 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9487 * @param nImage Image number, counts from 0. 0 is always base image of container.
9489 VBOXDDU_DECL(uint64_t) VDGetSize(PVBOXHDD pDisk, unsigned nImage)
9495 LogFlowFunc(("pDisk=%#p nImage=%u\n", pDisk, nImage));
9506 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9527 * @param nImage Image number, counts from 0. 0 is always base image of container.
9529 VBOXDDU_DECL(uint64_t) VDGetFileSize(PVBOXHDD pDisk, unsigned nImage)
9535 LogFlowFunc(("pDisk=%#p nImage=%u\n", pDisk, nImage));
9546 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9568 * @param nImage Image number, counts from 0. 0 is always base image of container.
9571 VBOXDDU_DECL(int) VDGetPCHSGeometry(PVBOXHDD pDisk, unsigned nImage,
9578 LogFlowFunc(("pDisk=%#p nImage=%u pPCHSGeometry=%#p\n",
9579 pDisk, nImage, pPCHSGeometry));
9595 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9632 * @param nImage Image number, counts from 0. 0 is always base image of container.
9635 VBOXDDU_DECL(int) VDSetPCHSGeometry(PVBOXHDD pDisk, unsigned nImage,
9642 LogFlowFunc(("pDisk=%#p nImage=%u pPCHSGeometry=%#p PCHS=%u/%u/%u\n",
9643 pDisk, nImage, pPCHSGeometry, pPCHSGeometry->cCylinders,
9664 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9736 * @param nImage Image number, counts from 0. 0 is always base image of container.
9739 VBOXDDU_DECL(int) VDGetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage,
9746 LogFlowFunc(("pDisk=%#p nImage=%u pLCHSGeometry=%#p\n",
9747 pDisk, nImage, pLCHSGeometry));
9763 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9800 * @param nImage Image number, counts from 0. 0 is always base image of container.
9803 VBOXDDU_DECL(int) VDSetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage,
9810 LogFlowFunc(("pDisk=%#p nImage=%u pLCHSGeometry=%#p LCHS=%u/%u/%u\n",
9811 pDisk, nImage, pLCHSGeometry, pLCHSGeometry->cCylinders,
9832 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9903 * @param nImage Image number, counts from 0. 0 is always base image of container.
9906 VBOXDDU_DECL(int) VDGetVersion(PVBOXHDD pDisk, unsigned nImage,
9913 LogFlowFunc(("pDisk=%#p nImage=%u puVersion=%#p\n",
9914 pDisk, nImage, puVersion));
9930 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
9952 * @param nImage Image number, counts from 0. 0 is always base image of container.
9955 VBOXDDU_DECL(int) VDBackendInfoSingle(PVBOXHDD pDisk, unsigned nImage,
9962 LogFlowFunc(("pDisk=%#p nImage=%u pBackendInfo=%#p\n",
9963 pDisk, nImage, pBackendInfo));
9979 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10004 * @param nImage Image number, counts from 0. 0 is always base image of container.
10007 VBOXDDU_DECL(int) VDGetImageFlags(PVBOXHDD pDisk, unsigned nImage,
10014 LogFlowFunc(("pDisk=%#p nImage=%u puImageFlags=%#p\n",
10015 pDisk, nImage, puImageFlags));
10031 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10053 * @param nImage Image number, counts from 0. 0 is always base image of container.
10056 VBOXDDU_DECL(int) VDGetOpenFlags(PVBOXHDD pDisk, unsigned nImage,
10063 LogFlowFunc(("pDisk=%#p nImage=%u puOpenFlags=%#p\n",
10064 pDisk, nImage, puOpenFlags));
10080 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10104 * @param nImage Image number, counts from 0. 0 is always base image of container.
10107 VBOXDDU_DECL(int) VDSetOpenFlags(PVBOXHDD pDisk, unsigned nImage,
10135 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10163 * @param nImage Image number, counts from 0. 0 is always base image of container.
10167 VBOXDDU_DECL(int) VDGetFilename(PVBOXHDD pDisk, unsigned nImage,
10174 LogFlowFunc(("pDisk=%#p nImage=%u pszFilename=%#p cbFilename=%u\n",
10175 pDisk, nImage, pszFilename, cbFilename));
10194 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10228 * @param nImage Image number, counts from 0. 0 is always base image of container.
10232 VBOXDDU_DECL(int) VDGetComment(PVBOXHDD pDisk, unsigned nImage,
10239 LogFlowFunc(("pDisk=%#p nImage=%u pszComment=%#p cbComment=%u\n",
10240 pDisk, nImage, pszComment, cbComment));
10259 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10282 * @param nImage Image number, counts from 0. 0 is always base image of container.
10285 VBOXDDU_DECL(int) VDSetComment(PVBOXHDD pDisk, unsigned nImage,
10292 LogFlowFunc(("pDisk=%#p nImage=%u pszComment=%#p \"%s\"\n",
10293 pDisk, nImage, pszComment, pszComment));
10309 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10332 * @param nImage Image number, counts from 0. 0 is always base image of container.
10335 VBOXDDU_DECL(int) VDGetUuid(PVBOXHDD pDisk, unsigned nImage, PRTUUID pUuid)
10341 LogFlowFunc(("pDisk=%#p nImage=%u pUuid=%#p\n", pDisk, nImage, pUuid));
10357 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10379 * @param nImage Image number, counts from 0. 0 is always base image of container.
10382 VBOXDDU_DECL(int) VDSetUuid(PVBOXHDD pDisk, unsigned nImage, PCRTUUID pUuid)
10388 LogFlowFunc(("pDisk=%#p nImage=%u pUuid=%#p {%RTuuid}\n",
10389 pDisk, nImage, pUuid, pUuid));
10404 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10432 * @param nImage Image number, counts from 0. 0 is always base image of container.
10435 VBOXDDU_DECL(int) VDGetModificationUuid(PVBOXHDD pDisk, unsigned nImage, PRTUUID pUuid)
10441 LogFlowFunc(("pDisk=%#p nImage=%u pUuid=%#p\n", pDisk, nImage, pUuid));
10457 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10480 * @param nImage Image number, counts from 0. 0 is always base image of container.
10483 VBOXDDU_DECL(int) VDSetModificationUuid(PVBOXHDD pDisk, unsigned nImage, PCRTUUID pUuid)
10489 LogFlowFunc(("pDisk=%#p nImage=%u pUuid=%#p {%RTuuid}\n",
10490 pDisk, nImage, pUuid, pUuid));
10506 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10535 * @param nImage Image number, counts from 0. 0 is always base image of container.
10538 VBOXDDU_DECL(int) VDGetParentUuid(PVBOXHDD pDisk, unsigned nImage,
10545 LogFlowFunc(("pDisk=%#p nImage=%u pUuid=%#p\n", pDisk, nImage, pUuid));
10561 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);
10582 * @param nImage Image number, counts from 0. 0 is always base image of container.
10585 VBOXDDU_DECL(int) VDSetParentUuid(PVBOXHDD pDisk, unsigned nImage,
10592 LogFlowFunc(("pDisk=%#p nImage=%u pUuid=%#p {%RTuuid}\n",
10593 pDisk, nImage, pUuid, pUuid));
10609 PVDIMAGE pImage = vdGetImageByNumber(pDisk, nImage);