Searched defs:restlen (Results 1 - 2 of 2) sorted by last modified time

/drivers/scsi/
H A Dnsp32.c1729 unsigned int restlen, sentlen; local
1757 the head element of the sg. restlen is correctly calculated. */
1761 restlen = sentlen - s_sacklen;
1766 addr += (len - restlen);
1768 sgt[new_entry].len = cpu_to_le32(restlen);
/drivers/isdn/divert/
H A Disdn_divert.c596 int restlen = ic->parm.dss1_io.datalen; local
601 if (restlen < 2) return (-100); /* frame too short */
604 restlen -= 2; /* remaining bytes */
606 if (restlen < 2) return (-103);
607 if ((*(src + restlen - 1)) || (*(src + restlen - 2))) return (-104);
608 restlen -= 2;
611 restlen--;
612 if (n > restlen) return (-105);
613 restlen
[all...]

Completed in 83 milliseconds