Lines Matching refs:bcount
179 int bcount;
193 bcount = MIN(MAXBSIZE, biosize);
215 * Note that bcount is *not* DEV_BSIZE aligned.
218 bcount = 0;
220 bcount = filesize - (off_t)lbn *biosize;
222 bp = getblk(vp, lbn, bcount, PCATCH, 0, 0);
243 * bytes we can copy out of the bp. Note that bcount is
250 if (on < bcount)
251 n = MIN((unsigned)(bcount - on), uio->uio_resid);
377 int bcount;
427 bcount = on;
428 FS_DEBUG("getting block from OS, bcount %d\n", bcount);
429 bp = getblk(vp, lbn, bcount, PCATCH, 0, 0);
441 bcount += n;
442 allocbuf(bp, bcount);
450 bcount = on + n;
451 if ((off_t)lbn * biosize + bcount < fvdat->filesize) {
453 bcount = biosize;
455 bcount = fvdat->filesize -
458 FS_DEBUG("getting block from OS, bcount %d\n", bcount);
459 bp = getblk(vp, lbn, bcount, PCATCH, 0, 0);
493 if (on == 0 && n == bcount) {
519 if (bp->b_dirtyend > bcount) {
522 bp->b_dirtyend - bcount);
523 bp->b_dirtyend = bcount;