Lines Matching refs:PVMDKIMAGE
225 /** Forward declaration for PVMDKIMAGE. */
226 typedef struct VMDKIMAGE *PVMDKIMAGE;
244 PVMDKIMAGE pImage;
480 PVMDKIMAGE pImage;
528 static int vmdkFreeExtentData(PVMDKIMAGE pImage, PVMDKEXTENT pExtent,
531 static int vmdkCreateExtents(PVMDKIMAGE pImage, unsigned cExtents);
532 static int vmdkFlushImage(PVMDKIMAGE pImage, PVDIOCTX pIoCtx);
533 static int vmdkSetImageComment(PVMDKIMAGE pImage, const char *pszComment);
534 static int vmdkFreeImage(PVMDKIMAGE pImage, bool fDelete);
543 static int vmdkFileOpen(PVMDKIMAGE pImage, PVMDKFILE *ppVmdkFile,
606 static int vmdkFileClose(PVMDKIMAGE pImage, PVMDKFILE *ppVmdkFile, bool fDelete)
680 DECLINLINE(int) vmdkFileInflateSync(PVMDKIMAGE pImage, PVMDKEXTENT pExtent,
789 DECLINLINE(int) vmdkFileDeflateSync(PVMDKIMAGE pImage, PVMDKEXTENT pExtent,
846 static int vmdkFileCheckAllClose(PVMDKIMAGE pImage)
980 static int vmdkAllocStreamBuffers(PVMDKIMAGE pImage, PVMDKEXTENT pExtent)
1016 static int vmdkAllocGrainDirectory(PVMDKIMAGE pImage, PVMDKEXTENT pExtent)
1047 static int vmdkReadGrainDirectory(PVMDKIMAGE pImage, PVMDKEXTENT pExtent)
1249 static int vmdkCreateGrainDirectory(PVMDKIMAGE pImage, PVMDKEXTENT pExtent,
1361 static int vmdkStringUnquote(PVMDKIMAGE pImage, const char *pszStr,
1396 static int vmdkDescInitStr(PVMDKIMAGE pImage, PVMDKDESCRIPTOR pDescriptor,
1439 static int vmdkDescSetStr(PVMDKIMAGE pImage, PVMDKDESCRIPTOR pDescriptor,
1564 static int vmdkDescBaseGetStr(PVMDKIMAGE pImage, PVMDKDESCRIPTOR pDescriptor,
1580 static int vmdkDescBaseSetStr(PVMDKIMAGE pImage, PVMDKDESCRIPTOR pDescriptor,
1594 static void vmdkDescExtRemoveDummy(PVMDKIMAGE pImage,
1622 static int vmdkDescExtInsert(PVMDKIMAGE pImage, PVMDKDESCRIPTOR pDescriptor,
1697 static int vmdkDescDDBGetStr(PVMDKIMAGE pImage, PVMDKDESCRIPTOR pDescriptor,
1713 static int vmdkDescDDBGetU32(PVMDKIMAGE pImage, PVMDKDESCRIPTOR pDescriptor,
1730 static int vmdkDescDDBGetUuid(PVMDKIMAGE pImage, PVMDKDESCRIPTOR pDescriptor,
1747 static int vmdkDescDDBSetStr(PVMDKIMAGE pImage, PVMDKDESCRIPTOR pDescriptor,
1768 static int vmdkDescDDBSetUuid(PVMDKIMAGE pImage, PVMDKDESCRIPTOR pDescriptor,
1782 static int vmdkDescDDBSetU32(PVMDKIMAGE pImage, PVMDKDESCRIPTOR pDescriptor,
1796 static int vmdkPreprocessDescriptor(PVMDKIMAGE pImage, char *pDescData,
1914 static int vmdkDescSetPCHSGeometry(PVMDKIMAGE pImage,
1933 static int vmdkDescSetLCHSGeometry(PVMDKIMAGE pImage,
1953 static int vmdkCreateDescriptor(PVMDKIMAGE pImage, char *pDescData,
2023 static int vmdkParseDescriptor(PVMDKIMAGE pImage, char *pDescData,
2354 static int vmdkDescriptorPrepare(PVMDKIMAGE pImage, uint64_t cbLimit,
2427 static int vmdkWriteDescriptor(PVMDKIMAGE pImage, PVDIOCTX pIoCtx)
2485 static int vmdkValidateHeader(PVMDKIMAGE pImage, PVMDKEXTENT pExtent, const SparseExtentHeader *pHeader)
2514 static int vmdkReadBinaryMetaExtent(PVMDKIMAGE pImage, PVMDKEXTENT pExtent,
2652 static int vmdkReadMetaExtent(PVMDKIMAGE pImage, PVMDKEXTENT pExtent)
2724 static int vmdkWriteMetaSparseExtent(PVMDKIMAGE pImage, PVMDKEXTENT pExtent,
2883 static int vmdkFreeExtentData(PVMDKIMAGE pImage, PVMDKEXTENT pExtent,
2920 static int vmdkAllocateGrainTableCache(PVMDKIMAGE pImage)
2954 static int vmdkCreateExtents(PVMDKIMAGE pImage, unsigned cExtents)
2985 static int vmdkOpenImage(PVMDKIMAGE pImage, unsigned uOpenFlags)
3358 static int vmdkCreateRawImage(PVMDKIMAGE pImage, const PVBOXHDDRAW pRaw,
3583 static int vmdkCreateRegularImage(PVMDKIMAGE pImage, uint64_t cbSize,
3839 static int vmdkCreateStreamImage(PVMDKIMAGE pImage, uint64_t cbSize,
3938 static int vmdkCreateImage(PVMDKIMAGE pImage, uint64_t cbSize,
4117 static int vmdkSetImageComment(PVMDKIMAGE pImage, const char *pszComment)
4140 static void vmdkStreamClearGT(PVMDKIMAGE pImage, PVMDKEXTENT pExtent)
4151 static int vmdkStreamFlushGT(PVMDKIMAGE pImage, PVMDKEXTENT pExtent,
4225 static int vmdkFreeImage(PVMDKIMAGE pImage, bool fDelete)
4383 static int vmdkFlushImage(PVMDKIMAGE pImage, PVDIOCTX pIoCtx)
4471 static int vmdkFindExtent(PVMDKIMAGE pImage, uint64_t offSector,
4511 static int vmdkGetSector(PVMDKIMAGE pImage, PVDIOCTX pIoCtx,
4579 static int vmdkStreamAllocGrain(PVMDKIMAGE pImage, PVMDKEXTENT pExtent,
4689 static int vmdkAllocGrainGTUpdate(PVMDKIMAGE pImage, PVMDKEXTENT pExtent, PVDIOCTX pIoCtx,
4788 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
4812 static int vmdkAllocGrain(PVMDKIMAGE pImage, PVMDKEXTENT pExtent, PVDIOCTX pIoCtx,
5032 static int vmdkStreamReadSequential(PVMDKIMAGE pImage, PVMDKEXTENT pExtent,
5223 PVMDKIMAGE pImage;
5233 pImage = (PVMDKIMAGE)RTMemAllocZ(sizeof(VMDKIMAGE));
5268 PVMDKIMAGE pImage;
5288 pImage = (PVMDKIMAGE)RTMemAllocZ(sizeof(VMDKIMAGE));
5327 PVMDKIMAGE pImage;
5384 pImage = (PVMDKIMAGE)RTMemAllocZ(sizeof(VMDKIMAGE));
5445 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
5699 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
5715 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
5839 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
5981 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
5990 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6004 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6018 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6032 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6065 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6091 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6127 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6153 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6189 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6207 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6225 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6262 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6300 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6330 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6351 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6387 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6408 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6447 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6468 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6503 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6524 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;
6558 PVMDKIMAGE pImage = (PVMDKIMAGE)pBackendData;