Lines Matching refs:cbToTransfer
766 ("Read exceeds file size offStart=%RTfoff cbToTransfer=%d cbFile=%llu\n",
844 size_t cbToTransfer = RT_ALIGN_Z(pTask->DataSeg.cbSeg + (pTask->Off - offStart), 512);
846 bool fAlignedReq = cbToTransfer == pTask->DataSeg.cbSeg
850 || (uint64_t)(offStart + cbToTransfer) <= pEndpoint->cbFile,
851 ("Read exceeds file size offStart=%RTfoff cbToTransfer=%d cbFile=%llu\n",
852 offStart, cbToTransfer, pEndpoint->cbFile));
875 bool fLocked = pdmacFileAioMgrNormalIsRangeLocked(pEndpoint, offStart, cbToTransfer, pTask, fAlignedReq);
888 LogFlow(("Using bounce buffer for task %#p cbToTransfer=%zd cbSeg=%zd offStart=%RTfoff off=%RTfoff\n",
889 pTask, cbToTransfer, pTask->DataSeg.cbSeg, offStart, pTask->Off));
892 pTask->cbBounceBuffer = cbToTransfer;
903 pTask->pvBounceBuffer = RTMemPageAlloc(cbToTransfer);
910 if ( RT_UNLIKELY(cbToTransfer != pTask->DataSeg.cbSeg)
943 offStart, pvBuf, cbToTransfer, pTask);
947 offStart, pvBuf, cbToTransfer, pTask);
950 rc = pdmacFileAioMgrNormalRangeLock(pAioMgr, pEndpoint, offStart, cbToTransfer, pTask, fAlignedReq);
1467 size_t cbToTransfer;
1478 cbToTransfer = pTask->cbBounceBuffer - cbTransfered;
1485 cbToTransfer = pTask->DataSeg.cbSeg - cbTransfered;
1492 pbBuf, cbToTransfer, pTask);
1499 pbBuf, cbToTransfer, pTask);
1520 size_t cbToTransfer = RT_ALIGN_Z(pTask->DataSeg.cbSeg + (pTask->Off - offStart), 512);
1530 offStart, pTask->pvBounceBuffer, cbToTransfer, pTask);