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