Lines Matching defs:uOpenFlags
529 unsigned uOpenFlags;
1671 static int vhdxOpenImage(PVHDXIMAGE pImage, unsigned uOpenFlags)
1677 LogFlowFunc(("pImage=%#p uOpenFlags=%#x\n", pImage, uOpenFlags));
1678 pImage->uOpenFlags = uOpenFlags;
1685 if (!(uOpenFlags & VD_OPEN_FLAGS_READONLY))
1692 VDOpenFlagsToFileOpenFlags(uOpenFlags,
1790 static int vhdxOpen(const char *pszFilename, unsigned uOpenFlags,
1794 LogFlowFunc(("pszFilename=\"%s\" uOpenFlags=%#x pVDIfsDisk=%#p pVDIfsImage=%#p enmType=%u ppBackendData=%#p\n", pszFilename, uOpenFlags, pVDIfsDisk, pVDIfsImage, enmType, ppBackendData));
1801 if ( uOpenFlags & ~VD_OPEN_FLAGS_MASK
1817 rc = vhdxOpenImage(pImage, uOpenFlags);
1833 PCRTUUID pUuid, unsigned uOpenFlags,
1839 LogFlowFunc(("pszFilename=\"%s\" cbSize=%llu uImageFlags=%#x pszComment=\"%s\" pPCHSGeometry=%#p pLCHSGeometry=%#p Uuid=%RTuuid uOpenFlags=%#x uPercentStart=%u uPercentSpan=%u pVDIfsDisk=%#p pVDIfsImage=%#p pVDIfsOperation=%#p enmType=%u ppBackendData=%#p",
1840 pszFilename, cbSize, uImageFlags, pszComment, pPCHSGeometry, pLCHSGeometry, pUuid, uOpenFlags, uPercentStart, uPercentSpan, pVDIfsDisk, pVDIfsImage, pVDIfsOperation, enmType, ppBackendData));
1870 int rc2 = vhdxOpenImage(pImage, pImage->uOpenFlags);
1880 rc = vhdxOpenImage(pImage, pImage->uOpenFlags);
1975 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
1994 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2112 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2160 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2195 unsigned uOpenFlags;
2200 uOpenFlags = pImage->uOpenFlags;
2202 uOpenFlags = 0;
2204 LogFlowFunc(("returns %#x\n", uOpenFlags));
2205 return uOpenFlags;
2209 static int vhdxSetOpenFlags(void *pBackendData, unsigned uOpenFlags)
2211 LogFlowFunc(("pBackendData=%#p\n uOpenFlags=%#x", pBackendData, uOpenFlags));
2216 if (!pImage || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO | VD_OPEN_FLAGS_SKIP_CONSISTENCY_CHECKS)))
2223 rc = vhdxOpenImage(pImage, uOpenFlags);
2260 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2302 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2343 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2384 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2425 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))