Lines Matching refs:vb_buf

121 	struct buf	vb_buf;  member
649 nbp->vb_buf.b_flags = flags; in vndstrategy()
650 nbp->vb_buf.b_bcount = sz; in vndstrategy()
651 nbp->vb_buf.b_bufsize = bp->b_bufsize; in vndstrategy()
652 nbp->vb_buf.b_error = 0; in vndstrategy()
654 nbp->vb_buf.b_dev = vp->v_rdev; in vndstrategy()
656 nbp->vb_buf.b_dev = NODEV; in vndstrategy()
657 nbp->vb_buf.b_data = addr; in vndstrategy()
658 nbp->vb_buf.b_blkno = nbn + btodb(off); in vndstrategy()
659 nbp->vb_buf.b_proc = bp->b_proc; in vndstrategy()
660 nbp->vb_buf.b_iodone = vndiodone; in vndstrategy()
661 nbp->vb_buf.b_vp = vp; in vndstrategy()
662 nbp->vb_buf.b_dirtyoff = bp->b_dirtyoff; in vndstrategy()
663 nbp->vb_buf.b_dirtyend = bp->b_dirtyend; in vndstrategy()
664 nbp->vb_buf.b_validoff = bp->b_validoff; in vndstrategy()
665 nbp->vb_buf.b_validend = bp->b_validend; in vndstrategy()
666 LIST_INIT(&nbp->vb_buf.b_dep); in vndstrategy()
683 nbp->vb_buf.b_error = error; in vndstrategy()
684 nbp->vb_buf.b_flags |= B_ERROR; in vndstrategy()
688 if ((nbp->vb_buf.b_flags & B_READ) == 0) in vndstrategy()
689 nbp->vb_buf.b_vp->v_numoutput++; in vndstrategy()
690 biodone(&nbp->vb_buf); in vndstrategy()
697 nbp->vb_buf.b_cylinder = nbp->vb_buf.b_blkno; in vndstrategy()
699 disksort(&vnd->sc_tab, &nbp->vb_buf); in vndstrategy()
750 vnd-vnd_softc, vbp, vbp->vb_buf.b_vp, vbp->vb_buf.b_blkno, in vndiodone()
751 vbp->vb_buf.b_data, vbp->vb_buf.b_bcount); in vndiodone()
753 if (vbp->vb_buf.b_error) { in vndiodone()
755 vbp->vb_buf.b_error); in vndiodone()
759 (&vbp->vb_buf)->b_flags |= B_RAW; in vndiodone()
760 pbp->b_error = biowait(&vbp->vb_buf); in vndiodone()
762 pbp->b_resid -= vbp->vb_buf.b_bcount; in vndiodone()