Lines Matching refs:bufcnt
178 int bufcnt;
188 int bufcnt;
367 if (bc->hdlctx.bufcnt > 0)
413 bc->hdlctx.bufcnt = wp - bc->hdlctx.buf;
429 if (bc->hdlctx.bufcnt <= 0)
431 if (bc->hdlctx.bufcnt <= 0)
445 if (bc->hdlctx.state == tx_idle && bc->hdlctx.bufcnt > 0) {
468 if (bc->hdlctx.bufcnt <= 0) {
470 if (bc->hdlctx.bufcnt <= 0) {
476 i = min_t(int, cnt, bc->hdlctx.bufcnt);
477 bc->hdlctx.bufcnt -= i;
486 if (bc->hdlctx.bufcnt > 0) {
533 if (bc->hdlcrx.bufcnt < 4)
535 if (!check_crc_ccitt(bc->hdlcrx.buf, bc->hdlcrx.bufcnt))
537 pktlen = bc->hdlcrx.bufcnt-2+1; /* KISS kludge */
593 bc->hdlcrx.bufcnt = 0;
607 if (bc->hdlcrx.bufcnt >= TXBUFFER_SIZE) {
611 bc->hdlcrx.bufcnt++;
932 bc->hdlctx.bufcnt = 0;