Searched defs:cbPattern (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Storage/testcase/
H A DVDIoRnd.cpp35 size_t cbPattern; member in struct:VDIORND
40 int VDIoRndCreate(PPVDIORND ppIoRnd, size_t cbPattern, uint64_t uSeed) argument
49 pIoRnd->pbPattern = (uint8_t *)RTMemPageAllocZ(cbPattern);
54 pIoRnd->cbPattern = cbPattern;
60 RTRandAdvBytes(pIoRnd->hRand, pIoRnd->pbPattern, cbPattern);
64 RTMemPageFree(pIoRnd->pbPattern, cbPattern);
86 RTMemPageFree(pIoRnd->pbPattern, pIoRnd->cbPattern);
96 if (cb > pIoRnd->cbPattern - 512)
99 *ppv = pIoRnd->pbPattern + RT_ALIGN_64(RTRandAdvU64Ex(pIoRnd->hRand, 0, pIoRnd->cbPattern
[all...]
H A DtstVDIo.cpp124 size_t cbPattern; member in struct:VDPATTERN
541 static PVDPATTERN tstVDIoPatternCreate(const char *pcszName, size_t cbPattern);
1564 size_t cbPattern = 0; local
1568 cbPattern = paScriptArgs[0].u64;
1597 rc = VDIoRndCreate(&pGlob->pIoRnd, cbPattern, uSeed);
1622 size_t cbPattern = 0; local
1627 cbPattern = paScriptArgs[1].u64;
1633 pPattern = tstVDIoPatternCreate(pcszName, RT_ALIGN_Z(cbPattern, sizeof(uint64_t)));
1639 while (pPattern->cbPattern > 0)
1642 pPattern->cbPattern
1672 uint64_t cbPattern = 0; local
2651 tstVDIoPatternCreate(const char *pcszName, size_t cbPattern) argument
[all...]

Completed in 1293 milliseconds