Lines Matching defs:cbTaskRead
4639 size_t cbTaskRead = 0;
4646 cbTaskRead = RTSgBufSegArrayCreate(&pIoCtx->Req.Io.SgBuf, &Seg, &cSegments, cbRead);
4647 Assert(cbRead == cbTaskRead);
4665 size_t cbTaskRead = RTSgBufSegArrayCreate(&pIoCtx->Req.Io.SgBuf, aSeg, &cSegments, cbRead);
4668 Assert(cbTaskRead > 0);
4669 AssertMsg(cbTaskRead <= cbRead, ("Invalid number of bytes to read\n"));
4671 LogFlow(("Reading %u bytes into %u segments\n", cbTaskRead, cSegments));
4679 Assert(cbTaskRead == (uint32_t)cbTaskRead);
4680 PVDIOTASK pIoTask = vdIoTaskUserAlloc(pIoStorage, NULL, NULL, pIoCtx, (uint32_t)cbTaskRead);
4691 aSeg, cSegments, cbTaskRead, pIoTask,
4695 AssertMsg(cbTaskRead <= pIoCtx->Req.Io.cbTransferLeft, ("Impossible!\n"));
4696 ASMAtomicSubU32(&pIoCtx->Req.Io.cbTransferLeft, (uint32_t)cbTaskRead);
4707 uOffset += cbTaskRead;
4708 cbRead -= cbTaskRead;