Lines Matching refs:paDiskSegments
125 static int tstVDSnapWrite(PVBOXHDD pVD, PVDDISKSEG paDiskSegments,
132 if (fInit || paDiskSegments[i].pbDataDiff)
134 size_t cbWrite = paDiskSegments[i].cbSeg;
135 uint64_t off = paDiskSegments[i].off;
137 ? paDiskSegments[i].pbData
138 : paDiskSegments[i].pbDataDiff;
152 static int tstVDSnapReadVerify(PVBOXHDD pVD, PVDDISKSEG paDiskSegments, uint32_t cDiskSegments, uint64_t cbDisk)
159 size_t cbRead = paDiskSegments[i].cbSeg;
160 uint64_t off = paDiskSegments[i].off;
161 uint8_t *pbCmp = paDiskSegments[i].pbData;
163 Assert(!paDiskSegments[i].pbDataDiff);