Lines Matching refs:slen
118 int isdnhdlc_decode(struct isdnhdlc_vars *hdlc, const u8 *src, int slen, in isdnhdlc_decode() argument
159 *count = slen; in isdnhdlc_decode()
161 while (slen > 0) { in isdnhdlc_decode()
168 slen--; in isdnhdlc_decode()
276 *count -= slen; in isdnhdlc_decode()
318 *count -= slen; in isdnhdlc_decode()
341 int isdnhdlc_encode(struct isdnhdlc_vars *hdlc, const u8 *src, u16 slen, in isdnhdlc_encode() argument
350 *count = slen; in isdnhdlc_encode()
353 if ((slen == 1) && (hdlc->state == HDLC_SEND_FAST_FLAG)) in isdnhdlc_encode()
357 if (slen && !hdlc->do_closing) { in isdnhdlc_encode()
359 slen--; in isdnhdlc_encode()
360 if (slen == 0) in isdnhdlc_encode()
390 if (slen == 0) { in isdnhdlc_encode()
428 if (slen == 0) { in isdnhdlc_encode()
613 *count -= slen; in isdnhdlc_encode()