Home
last modified time | relevance | path

Searched refs:xfer_cnt (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dips.c3647 unsigned int min_cnt, xfer_cnt; local
3650 for (i = 0, xfer_cnt = 0;
3651 (i < scmd->use_sg) && (xfer_cnt < count); i++) {
3654 min_cnt = min(count - xfer_cnt, sg[i].length);
3655 memcpy(IPS_SG_ADDRESS(&sg[i]), &cdata[xfer_cnt],
3657 xfer_cnt += min_cnt;
3679 unsigned int min_cnt, xfer_cnt; local
3682 for (i = 0, xfer_cnt = 0;
3683 (i < scmd->use_sg) && (xfer_cnt < count); i++) {
3686 min_cnt = min(count - xfer_cnt, sg[i].length);
[all …]
/linux-2.4.37.9/drivers/message/fusion/
Dmptscsih.c798 u32 xfer_cnt; in mptscsih_io_done() local
882 xfer_cnt = le32_to_cpu(pScsiReply->TransferCount); in mptscsih_io_done()
888 if ( (xfer_cnt == 0) || (sc->underflow > xfer_cnt)) { in mptscsih_io_done()
906 dprintk((KERN_NOTICE " ActBytesXferd=%02xh\n", xfer_cnt)); in mptscsih_io_done()
909 sc->resid = sc->request_bufflen - xfer_cnt; in mptscsih_io_done()
920 if ( (pScsiReq->CDB[0] == INQUIRY) && xfer_cnt ) { in mptscsih_io_done()
926 xfer_cnt); in mptscsih_io_done()
996 xfer_cnt = le32_to_cpu(pScsiReply->TransferCount); in mptscsih_io_done()
998 && xfer_cnt in mptscsih_io_done()
1005 xfer_cnt); in mptscsih_io_done()