Lines Matching defs:uOpenFlags
352 unsigned uOpenFlags;
399 && !(pCache->uOpenFlags & VD_OPEN_FLAGS_READONLY))
1199 static int vciOpenImage(PVCICACHE pCache, unsigned uOpenFlags)
1205 pCache->uOpenFlags = uOpenFlags;
1215 VDOpenFlagsToFileOpenFlags(uOpenFlags,
1286 unsigned uOpenFlags, PFNVDPROGRESS pfnProgress,
1296 pCache->uOpenFlags = uOpenFlags & ~VD_OPEN_FLAGS_READONLY;
1312 VDOpenFlagsToFileOpenFlags(uOpenFlags & ~VD_OPEN_FLAGS_READONLY,
1501 static int vciOpen(const char *pszFilename, unsigned uOpenFlags,
1505 LogFlowFunc(("pszFilename=\"%s\" uOpenFlags=%#x pVDIfsDisk=%#p pVDIfsImage=%#p ppBackendData=%#p\n", pszFilename, uOpenFlags, pVDIfsDisk, pVDIfsImage, ppBackendData));
1510 if (uOpenFlags & ~VD_OPEN_FLAGS_MASK)
1536 rc = vciOpenImage(pCache, uOpenFlags);
1550 PCRTUUID pUuid, unsigned uOpenFlags,
1555 LogFlowFunc(("pszFilename=\"%s\" cbSize=%llu uImageFlags=%#x pszComment=\"%s\" Uuid=%RTuuid uOpenFlags=%#x uPercentStart=%u uPercentSpan=%u pVDIfsDisk=%#p pVDIfsImage=%#p pVDIfsOperation=%#p ppBackendData=%#p",
1556 pszFilename, cbSize, uImageFlags, pszComment, pUuid, uOpenFlags, uPercentStart, uPercentSpan, pVDIfsDisk, pVDIfsImage, pVDIfsOperation, ppBackendData));
1570 if (uOpenFlags & ~VD_OPEN_FLAGS_MASK)
1595 rc = vciCreateImage(pCache, cbSize, uImageFlags, pszComment, uOpenFlags,
1601 if (uOpenFlags & VD_OPEN_FLAGS_READONLY)
1604 rc = vciOpenImage(pCache, uOpenFlags);
1790 unsigned uOpenFlags;
1795 uOpenFlags = pCache->uOpenFlags;
1797 uOpenFlags = 0;
1799 LogFlowFunc(("returns %#x\n", uOpenFlags));
1800 return uOpenFlags;
1804 static int vciSetOpenFlags(void *pBackendData, unsigned uOpenFlags)
1806 LogFlowFunc(("pBackendData=%#p\n uOpenFlags=%#x", pBackendData, uOpenFlags));
1812 if (!pCache || (uOpenFlags & ~(VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO)))
1822 rc = vciOpenImage(pCache, uOpenFlags);
1859 if (pCache->uOpenFlags & VD_OPEN_FLAGS_READONLY)
1901 if (!(pCache->uOpenFlags & VD_OPEN_FLAGS_READONLY))
1942 if (!(pCache->uOpenFlags & VD_OPEN_FLAGS_READONLY))