Lines Matching defs:uOpenFlags

337     uint32_t            uOpenFlags;
798 && !(pThis->uOpenFlags & VD_OPEN_FLAGS_READONLY))
1549 * @param uOpenFlags Flags for defining the open type.
1551 static int dmgOpenImage(PDMGIMAGE pThis, unsigned uOpenFlags)
1553 pThis->uOpenFlags = uOpenFlags;
1562 VDOpenFlagsToFileOpenFlags(uOpenFlags, false /* fCreate */),
1580 rc = dmgOpenImageWithinXar(VDOpenFlagsToFileOpenFlags(uOpenFlags, false /* fCreate */),
1595 rc = RTVfsFileOpenNormal(pThis->pszFilename, VDOpenFlagsToFileOpenFlags(uOpenFlags, false /* fCreate */),
1800 static DECLCALLBACK(int) dmgOpen(const char *pszFilename, unsigned uOpenFlags,
1804 LogFlowFunc(("pszFilename=\"%s\" uOpenFlags=%#x pVDIfsDisk=%#p pVDIfsImage=%#p enmType=%u ppBackendData=%#p\n", pszFilename, uOpenFlags, pVDIfsDisk, pVDIfsImage, enmType, ppBackendData));
1809 AssertReturn(!(uOpenFlags & ~VD_OPEN_FLAGS_MASK), VERR_INVALID_PARAMETER);
1822 if ( !(uOpenFlags & VD_OPEN_FLAGS_READONLY)
1823 || (uOpenFlags & VD_OPEN_FLAGS_ASYNC_IO))
1825 LogFlowFunc(("Unsupported flag(s): %#x\n", uOpenFlags));
1842 rc = dmgOpenImage(pThis, uOpenFlags);
1857 PCRTUUID pUuid, unsigned uOpenFlags,
1863 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",
1864 pszFilename, cbSize, uImageFlags, pszComment, pPCHSGeometry, pLCHSGeometry, pUuid, uOpenFlags, uPercentStart, uPercentSpan, pVDIfsDisk, pVDIfsImage, pVDIfsOperation, enmType, ppBackendData));
1996 if (!(pThis->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2125 if (!(pThis->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2178 if (!(pThis->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2216 unsigned uOpenFlags;
2221 uOpenFlags = pThis->uOpenFlags;
2223 uOpenFlags = 0;
2225 LogFlowFunc(("returns %#x\n", uOpenFlags));
2226 return uOpenFlags;
2230 static DECLCALLBACK(int) dmgSetOpenFlags(void *pBackendData, unsigned uOpenFlags)
2232 LogFlowFunc(("pBackendData=%#p\n uOpenFlags=%#x", pBackendData, uOpenFlags));
2237 if (!pThis || (uOpenFlags & ~( VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO
2249 rc = dmgOpenImage(pThis, uOpenFlags);
2285 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
2327 if (!(pThis->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2368 if (!(pThis->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2409 if (!(pThis->uOpenFlags & VD_OPEN_FLAGS_READONLY))
2450 if (!(pThis->uOpenFlags & VD_OPEN_FLAGS_READONLY))