Lines Matching refs:cDiskSegments
114 static void tstVDSnapSegmentsDice(PVDSNAPTEST pTest, PVDDISKSEG paDiskSeg, uint32_t cDiskSegments,
117 for (uint32_t i = 0; i < cDiskSegments; i++)
126 uint32_t cDiskSegments, uint64_t cbDisk, bool fInit)
130 for (uint32_t i = 0; i < cDiskSegments; i++)
152 static int tstVDSnapReadVerify(PVBOXHDD pVD, PVDDISKSEG paDiskSegments, uint32_t cDiskSegments, uint64_t cbDisk)
157 for (uint32_t i = 0; i < cDiskSegments; i++)
226 uint32_t cDiskSegments;
251 cDiskSegments = RTRandAdvU32Ex(g_hRand, pTest->cDiskSegsMin, pTest->cDiskSegsMax);
255 paDiskSeg = (PVDDISKSEG)RTMemAllocZ(cDiskSegments * sizeof(VDDISKSEG));
256 for (unsigned i = 0; i < cDiskSegments; i++)
321 rc = tstVDSnapWrite(pVD, paDiskSeg, cDiskSegments, cbDisk, fInit);
349 tstVDSnapSegmentsDice(pTest, paDiskSeg, cDiskSegments, pbTestPattern, pTest->cbTestPattern);
370 for (uint32_t i = 0; i < cDiskSegments; i++)
380 rc = tstVDSnapReadVerify(pVD, paDiskSeg, cDiskSegments, cbDisk);