Lines Matching refs:bufcnt
193 int bufcnt;
203 int bufcnt;
366 if (bc->hdlctx.bufcnt > 0)
412 bc->hdlctx.bufcnt = wp - bc->hdlctx.buf;
428 if (bc->hdlctx.bufcnt <= 0)
430 if (bc->hdlctx.bufcnt <= 0)
444 if (bc->hdlctx.state == tx_idle && bc->hdlctx.bufcnt > 0) {
467 if (bc->hdlctx.bufcnt <= 0) {
469 if (bc->hdlctx.bufcnt <= 0) {
475 i = min_t(int, cnt, bc->hdlctx.bufcnt);
476 bc->hdlctx.bufcnt -= i;
485 if (bc->hdlctx.bufcnt > 0) {
531 if (bc->hdlcrx.bufcnt < 4)
533 if (!check_crc_ccitt(bc->hdlcrx.buf, bc->hdlcrx.bufcnt))
535 pktlen = bc->hdlcrx.bufcnt-2+1; /* KISS kludge */
591 bc->hdlcrx.bufcnt = 0;
605 if (bc->hdlcrx.bufcnt >= TXBUFFER_SIZE) {
609 bc->hdlcrx.bufcnt++;
904 bc->hdlctx.bufcnt = 0;