Lines Matching defs:obp
677 struct buf *obp;
680 obp = bufq_get(vnd->sc_tab);
681 if (obp == NULL) {
693 printf("vndthread(%p)\n", obp);
697 obp->b_error = ENXIO;
702 if ((obp->b_flags & B_READ) != 0 && (vnd->sc_flags & VNF_COMP)) {
706 bn = obp->b_rawblkno *
709 compstrategy(obp, bn);
735 bp->b_flags = (obp->b_flags & (B_READ | B_PHYS | B_RAW));
736 bp->b_oflags = obp->b_oflags;
737 bp->b_cflags = obp->b_cflags;
739 bp->b_private = obp;
742 bp->b_data = obp->b_data;
743 bp->b_bcount = obp->b_bcount;
744 BIO_COPYPRIO(bp, obp);
751 handle_with_strategy(vnd, obp, bp);
753 handle_with_rdwr(vnd, obp, bp);
761 biodone(obp);
797 * 'obp' is a pointer to the original request fed to the vnd device.
800 handle_with_rdwr(struct vnd_softc *vnd, const struct buf *obp, struct buf *bp)
809 offset = obp->b_rawblkno * vnd->sc_dkdev.dk_label->d_secsize;
818 vp, doread ? "read" : "write", obp->b_rawblkno,
859 * 'obp' is a pointer to the original request fed to the vnd device.
862 handle_with_strategy(struct vnd_softc *vnd, const struct buf *obp,
871 flags = obp->b_flags;
875 bn = obp->b_rawblkno * vnd->sc_dkdev.dk_label->d_secsize;
981 struct buf *obp = bp->b_private;
1001 obp->b_error = bp->b_error;
1002 obp->b_resid = bp->b_resid;
1005 biodone(obp);