Lines Matching refs:xcnt
1510 long cnt, xcnt; /* cannot use unsigned !! code: if (xcnt < 0) */
1559 xcnt = (long) scb->buflen - cnt; /* xcnt== bytes already xferred */
1567 xcnt -= (long) sgp->len;
1568 if (xcnt < 0) { /* this sgp xfer half done */
1569 xcnt += (long) sgp->len; /* xcnt == bytes xferred in this sgp */
1570 sgp->data += (u32) xcnt; /* new ptr to be xfer */
1571 sgp->len -= (u32) xcnt; /* new len to be xfer */
1580 /* else (xcnt >= 0 , i.e. this sgp already xferred */
1584 scb->bufptr += (u32) xcnt;