Lines Matching refs:b_bcount
210 bp->b_bcount = len;
211 if (bp->b_bcount + iolen > bp->b_kvasize) {
212 bp->b_bcount = bp->b_kvasize;
214 bp->b_bcount -= PAGE_SIZE;
233 if (bp->b_bcount + blockoff * DEV_BSIZE > bsize)
234 bp->b_bcount = bsize - blockoff * DEV_BSIZE;
236 if (vmapbuf(bp, udata, bp->b_bcount, 1) < 0)
251 if (bp->b_bcount + blockoff * DEV_BSIZE > bsize * (1 + bforwards))
252 bp->b_bcount = bsize * (1 + bforwards) - blockoff * DEV_BSIZE;
254 if (vmapbuf(bp, udata, bp->b_bcount, 1) < 0)
330 iolen = bp->b_bcount - bp->b_resid;