Searched refs:paDiskSeg (Results 1 - 1 of 1) sorted by relevance
/vbox/src/VBox/Storage/testcase/ |
H A D | tstVDSnap.cpp | 114 static void tstVDSnapSegmentsDice(PVDSNAPTEST pTest, PVDDISKSEG paDiskSeg, uint32_t cDiskSegments, argument 121 paDiskSeg[i].pbDataDiff = pbTestPattern + RT_ALIGN_64(RTRandAdvU64Ex(g_hRand, 0, cbTestPattern - paDiskSeg[i].cbSeg - 512), 512); 228 PVDDISKSEG paDiskSeg = NULL; local 255 paDiskSeg = (PVDDISKSEG)RTMemAllocZ(cDiskSegments * sizeof(VDDISKSEG)); 258 paDiskSeg[i].off = cbDisk; 259 paDiskSeg[i].cbSeg = RT_ALIGN_64(RTRandAdvU64Ex(g_hRand, 512, pTest->cbTestPattern), 512); 261 paDiskSeg[i].pbData = pbTestPattern + RT_ALIGN_64(RTRandAdvU64Ex(g_hRand, 0, pTest->cbTestPattern - paDiskSeg[i].cbSeg - 512), 512); 263 paDiskSeg[ [all...] |
Completed in 41 milliseconds