Lines Matching defs:bn
407 daddr64_t bn, nextbn;
455 bn = (daddr64_t)((uio->uio_offset / devBlockSize) &~ (bscale - 1));
457 if (vp->v_speclastr + bscale == bn) {
458 nextbn = bn + bscale;
459 error = buf_breadn(vp, bn, (int)bsize, &nextbn,
462 error = buf_bread(vp, bn, (int)bsize, NOCRED, &bp);
465 vp->v_speclastr = bn;
501 daddr64_t bn;
553 bn = (daddr64_t)((uio->uio_offset / devBlockSize) &~ blkmask);
576 bp = buf_getblk(vp, bn, bsize, 0, 0, BLK_WRITE);
578 error = (int)buf_bread(vp, bn, bsize, NOCRED, &bp);