Lines Matching refs:bufcnt
192 int bufcnt;
202 int bufcnt;
372 if (bc->hdlctx.bufcnt > 0)
418 bc->hdlctx.bufcnt = wp - bc->hdlctx.buf;
434 if (bc->hdlctx.bufcnt <= 0)
436 if (bc->hdlctx.bufcnt <= 0)
450 if (bc->hdlctx.state == tx_idle && bc->hdlctx.bufcnt > 0) {
473 if (bc->hdlctx.bufcnt <= 0) {
475 if (bc->hdlctx.bufcnt <= 0) {
481 i = min_t(int, cnt, bc->hdlctx.bufcnt);
482 bc->hdlctx.bufcnt -= i;
491 if (bc->hdlctx.bufcnt > 0) {
537 if (bc->hdlcrx.bufcnt < 4)
539 if (!check_crc_ccitt(bc->hdlcrx.buf, bc->hdlcrx.bufcnt))
541 pktlen = bc->hdlcrx.bufcnt-2+1; /* KISS kludge */
598 bc->hdlcrx.bufcnt = 0;
612 if (bc->hdlcrx.bufcnt >= TXBUFFER_SIZE) {
616 bc->hdlcrx.bufcnt++;
924 bc->hdlctx.bufcnt = 0;