Lines Matching defs:uOpenFlags

143     unsigned        uOpenFlags;
501 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
790 static int vhdOpenImage(PVHDIMAGE pImage, unsigned uOpenFlags)
795 pImage->uOpenFlags = uOpenFlags;
805 VDOpenFlagsToFileOpenFlags(uOpenFlags,
1102 unsigned uOpenFlags,
1110 pImage->uOpenFlags = uOpenFlags;
1116 VDOpenFlagsToFileOpenFlags(uOpenFlags & ~VD_OPEN_FLAGS_READONLY,
1295 static int vhdOpen(const char *pszFilename, unsigned uOpenFlags,
1299 LogFlowFunc(("pszFilename=\"%s\" uOpenFlags=%#x pVDIfsDisk=%#p pVDIfsImage=%#p enmType=%u ppBackendData=%#p\n", pszFilename, uOpenFlags, pVDIfsDisk, pVDIfsImage, enmType, ppBackendData));
1306 if (uOpenFlags & ~VD_OPEN_FLAGS_MASK)
1332 rc = vhdOpenImage(pImage, uOpenFlags);
1347 PCRTUUID pUuid, unsigned uOpenFlags,
1353 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",
1354 pszFilename, cbSize, uImageFlags, pszComment, pPCHSGeometry, pLCHSGeometry, pUuid, uOpenFlags, uPercentStart, uPercentSpan, pVDIfsDisk, pVDIfsImage, pVDIfsOperation, enmType, ppBackendData));
1375 if (uOpenFlags & ~VD_OPEN_FLAGS_MASK)
1403 pPCHSGeometry, pLCHSGeometry, pUuid, uOpenFlags,
1410 if (uOpenFlags & VD_OPEN_FLAGS_READONLY)
1413 rc = vhdOpenImage(pImage, uOpenFlags);
1456 int rc2 = vhdOpenImage(pImage, pImage->uOpenFlags);
1467 rc = vhdOpenImage(pImage, pImage->uOpenFlags);
1950 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2003 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2043 unsigned uOpenFlags;
2048 uOpenFlags = pImage->uOpenFlags;
2050 uOpenFlags = 0;
2052 LogFlowFunc(("returns %#x\n", uOpenFlags));
2053 return uOpenFlags;
2057 static int vhdSetOpenFlags(void *pBackendData, unsigned uOpenFlags)
2059 LogFlowFunc(("pBackendData=%#p\n uOpenFlags=%#x", pBackendData, uOpenFlags));
2064 if (!pImage || (uOpenFlags & ~( VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO
2076 rc = vhdOpenImage(pImage, uOpenFlags);
2113 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2157 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2210 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2298 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2370 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2410 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2462 AssertBreakStmt(!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY),