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

/vbox/src/VBox/Runtime/testcase/
H A DtstRTFileAio.cpp55 size_t cbTestBuf, size_t cbTestFile, uint32_t cMaxReqsInFlight)
59 paReqs = (PRTFILEAIOREQ)RTTestGuardedAllocHead(g_hTest, cMaxReqsInFlight * sizeof(RTFILEAIOREQ));
61 RT_BZERO(paReqs, sizeof(cMaxReqsInFlight * sizeof(RTFILEAIOREQ)));
64 void **papvBuf = (void **)RTTestGuardedAllocHead(g_hTest, cMaxReqsInFlight * sizeof(void *));
68 for (unsigned i = 0; i < cMaxReqsInFlight; i++)
81 paReqsCompleted = (PRTFILEAIOREQ)RTTestGuardedAllocHead(g_hTest, cMaxReqsInFlight * sizeof(RTFILEAIOREQ));
83 RT_BZERO(paReqsCompleted, cMaxReqsInFlight * sizeof(RTFILEAIOREQ));
87 RTTESTI_CHECK_RC_RETV(RTFileAioCtxCreate(&hAioContext, cMaxReqsInFlight, 0 /* fFlags */), VINF_SUCCESS);
91 for (unsigned i = 0; i < cMaxReqsInFlight; i++)
102 for (unsigned i = 0; i < cMaxReqsInFlight;
54 tstFileAioTestReadWriteBasic(RTFILE File, bool fWrite, void *pvTestBuf, size_t cbTestBuf, size_t cbTestFile, uint32_t cMaxReqsInFlight) argument
[all...]

Completed in 31 milliseconds