Lines Matching refs:pVD
125 static int tstVDSnapWrite(PVBOXHDD pVD, PVDDISKSEG paDiskSegments,
142 rc = VDWrite(pVD, off, pbData, cbWrite);
152 static int tstVDSnapReadVerify(PVBOXHDD pVD, PVDDISKSEG paDiskSegments, uint32_t cDiskSegments, uint64_t cbDisk)
169 rc = VDRead(pVD, off, pbBuf, cbToRead);
217 PVBOXHDD pVD = NULL;
277 VDDestroy(pVD); \
304 rc = VDCreate(pVDIfs, VDTYPE_HDD, &pVD);
307 rc = VDCreateBase(pVD, pTest->pcszBackend, pTest->pcszBaseImage, cbDisk,
321 rc = tstVDSnapWrite(pVD, paDiskSeg, cDiskSegments, cbDisk, fInit);
340 rc = VDCreateDiff(pVD, pTest->pcszBackend, pszDiffFilename,
346 VDDumpImages(pVD);
360 rc = VDMerge(pVD, uStartMerge, uEndMerge, NULL);
362 rc = VDMerge(pVD, uEndMerge, uStartMerge, NULL);
367 VDDumpImages(pVD);
380 rc = tstVDSnapReadVerify(pVD, paDiskSeg, cDiskSegments, cbDisk);
386 VDDumpImages(pVD);
388 VDDestroy(pVD);