Lines Matching refs:cnt
158 if ((ch & 0xff) != ch || -bp->cnt >= bp->len) {162 bp->cnt--;197 if (bp->cnt >= 0 && bp->get_ready(bp))199 n = (count < -bp->cnt ? count : -bp->cnt);202 bp->cnt += n;223 if (bp->cnt <= 0 && bp->put_ready(bp) != 0)225 n = (count < bp->cnt ? count : bp->cnt);228 bp->cnt -= n;