Lines Matching defs:uOpenFlags

56     unsigned            uOpenFlags;
109 && !(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
134 if ( pImage->uOpenFlags & VD_OPEN_FLAGS_SEQUENTIAL
135 && !(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
181 static int rawOpenImage(PRAWIMAGE pImage, unsigned uOpenFlags)
185 pImage->uOpenFlags = uOpenFlags;
196 VDOpenFlagsToFileOpenFlags(uOpenFlags,
228 PCVDGEOMETRY pLCHSGeometry, unsigned uOpenFlags,
240 pImage->uOpenFlags = uOpenFlags & ~VD_OPEN_FLAGS_READONLY;
258 fOpen = VDOpenFlagsToFileOpenFlags(pImage->uOpenFlags, true /* fCreate */);
259 if (uOpenFlags & VD_OPEN_FLAGS_SEQUENTIAL)
268 if (!(uOpenFlags & VD_OPEN_FLAGS_SEQUENTIAL))
425 static int rawOpen(const char *pszFilename, unsigned uOpenFlags,
429 LogFlowFunc(("pszFilename=\"%s\" uOpenFlags=%#x pVDIfsDisk=%#p pVDIfsImage=%#p enmType=%u ppBackendData=%#p\n", pszFilename, uOpenFlags, pVDIfsDisk, pVDIfsImage, enmType, ppBackendData));
436 if (uOpenFlags & ~VD_OPEN_FLAGS_MASK)
462 rc = rawOpenImage(pImage, uOpenFlags);
483 PCRTUUID pUuid, unsigned uOpenFlags,
489 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",
490 pszFilename, cbSize, uImageFlags, pszComment, pPCHSGeometry, pLCHSGeometry, pUuid, uOpenFlags, uPercentStart, uPercentSpan, pVDIfsDisk, pVDIfsImage, pVDIfsOperation, enmType, ppBackendData));
512 if (uOpenFlags & ~VD_OPEN_FLAGS_MASK)
540 pPCHSGeometry, pLCHSGeometry, uOpenFlags,
546 if (uOpenFlags & VD_OPEN_FLAGS_READONLY)
549 rc = rawOpenImage(pImage, uOpenFlags);
592 int rc2 = rawOpenImage(pImage, pImage->uOpenFlags);
603 rc = rawOpenImage(pImage, pImage->uOpenFlags);
667 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
783 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
839 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
879 unsigned uOpenFlags;
884 uOpenFlags = pImage->uOpenFlags;
886 uOpenFlags = 0;
888 LogFlowFunc(("returns %#x\n", uOpenFlags));
889 return uOpenFlags;
893 static int rawSetOpenFlags(void *pBackendData, unsigned uOpenFlags)
895 LogFlowFunc(("pBackendData=%#p\n uOpenFlags=%#x", pBackendData, uOpenFlags));
900 if (!pImage || (uOpenFlags & ~( VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_INFO
912 rc = rawOpenImage(pImage, uOpenFlags);
949 if (pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY)
991 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
1032 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
1073 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
1114 if (!(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))