Lines Matching refs:cRequests
610 unsigned cRequests = 0;
615 && (pThis->cReqsActive + cRequests < pThis->cReqsActiveMax)
627 rc = rtAioMgrPrepareReq(pCurr, &apReqs[cRequests]);
631 cRequests++;
634 if (cRequests == RT_ELEMENTS(apReqs))
636 rc = rtAioMgrReqsEnqueue(pThis, pFile, apReqs, cRequests);
637 cRequests = 0;
643 if (cRequests)
645 rc = rtAioMgrReqsEnqueue(pThis, pFile, apReqs, cRequests);
673 unsigned cRequests = 0;
687 rc = rtAioMgrPrepareReq(pReqIt, &apReqs[cRequests]);
691 cRequests++;
695 apReqs[cRequests] = pReqIt->hReqIo;
696 cRequests++;
700 if (cRequests == RT_ELEMENTS(apReqs))
702 rc = rtAioMgrReqsEnqueue(pThis, pFile, apReqs, cRequests);
703 cRequests = 0;
709 if (cRequests)
711 rc = rtAioMgrReqsEnqueue(pThis, pFile, apReqs, cRequests);