Lines Matching refs:offBuf
149 uint32_t offBuf;
784 pReq->offBuf = 0;
823 pReq->offBuf = 0;
1219 SSMR3PutU32(pSSM, pReq->offBuf);
1292 SSMR3GetU32(pSSM, &pReq->offBuf);
1650 uint32_t cbLeft = pReq->Cbw.dCBWDataTransferLength - pReq->offBuf;
1653 Log(("usbMsd: Too much data: cbData=%#x offBuf=%#x dCBWDataTransferLength=%#x cbLeft=%#x\n",
1654 cbData, pReq->offBuf, pReq->Cbw.dCBWDataTransferLength, cbLeft));
1657 memcpy(&pReq->pbBuf[pReq->offBuf], &pUrb->abData[0], cbData);
1658 pReq->offBuf += cbData;
1660 if (pReq->offBuf == pReq->Cbw.dCBWDataTransferLength)
1712 uint32_t cbCopy = pReq->Cbw.dCBWDataTransferLength - pReq->offBuf;
1717 Log(("usbMsd: Requested more data that we've got; cbData=%#x offBuf=%#x dCBWDataTransferLength=%#x cbLeft=%#x\n",
1718 cbData, pReq->offBuf, pReq->Cbw.dCBWDataTransferLength, cbCopy));
1721 memcpy(&pUrb->abData[0], &pReq->pbBuf[pReq->offBuf], cbCopy);
1722 pReq->offBuf += cbCopy;
1724 if (pReq->offBuf == pReq->Cbw.dCBWDataTransferLength)
1786 pReq->ScsiReq.cbScatterGather = pReq->offBuf;
1787 pReq->ScsiReqSeg.cbSeg = pReq->offBuf;
1788 if (!pReq->offBuf)
1790 Log(("usbMsdHandleBulkDevToHost: Entering EXECUTING (offBuf=0x0).\n"));