Lines Matching defs:uOpenFlags
184 unsigned uOpenFlags;
892 && !(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
942 && !(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
1026 static int qcowOpenImage(PQCOWIMAGE pImage, unsigned uOpenFlags)
1030 pImage->uOpenFlags = uOpenFlags;
1043 VDOpenFlagsToFileOpenFlags(uOpenFlags,
1212 PCVDGEOMETRY pLCHSGeometry, unsigned uOpenFlags,
1225 pImage->uOpenFlags = uOpenFlags & ~VD_OPEN_FLAGS_READONLY;
1235 fOpen = VDOpenFlagsToFileOpenFlags(pImage->uOpenFlags, true /* fCreate */);
1493 static int qcowOpen(const char *pszFilename, unsigned uOpenFlags,
1497 LogFlowFunc(("pszFilename=\"%s\" uOpenFlags=%#x pVDIfsDisk=%#p pVDIfsImage=%#p enmType=%u ppBackendData=%#p\n", pszFilename, uOpenFlags, pVDIfsDisk, pVDIfsImage, enmType, ppBackendData));
1504 if (uOpenFlags & ~VD_OPEN_FLAGS_MASK)
1530 rc = qcowOpenImage(pImage, uOpenFlags);
1545 PCRTUUID pUuid, unsigned uOpenFlags,
1551 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",
1552 pszFilename, cbSize, uImageFlags, pszComment, pPCHSGeometry, pLCHSGeometry, pUuid, uOpenFlags, uPercentStart, uPercentSpan, pVDIfsDisk, pVDIfsImage, pVDIfsOperation, enmType, ppBackendData));
1573 if (uOpenFlags & ~VD_OPEN_FLAGS_MASK)
1601 pPCHSGeometry, pLCHSGeometry, uOpenFlags,
1607 if (uOpenFlags & VD_OPEN_FLAGS_READONLY)
1610 rc = qcowOpenImage(pImage, uOpenFlags);
1653 int rc2 = qcowOpenImage(pImage, pImage->uOpenFlags);
1664 rc = qcowOpenImage(pImage, pImage->uOpenFlags);
1755 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2046 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2102 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2142 unsigned uOpenFlags;
2147 uOpenFlags = pImage->uOpenFlags;
2149 uOpenFlags = 0;
2151 LogFlowFunc(("returns %#x\n", uOpenFlags));
2152 return uOpenFlags;
2156 static int qcowSetOpenFlags(void *pBackendData, unsigned uOpenFlags)
2158 LogFlowFunc(("pBackendData=%#p\n uOpenFlags=%#x", pBackendData, uOpenFlags));
2163 if (!pImage || (uOpenFlags & ~( VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO
2174 rc = qcowOpenImage(pImage, uOpenFlags);
2211 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2253 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2294 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2335 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2376 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2431 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)