Home
last modified time | relevance | path

Searched refs:orig_bp (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/common/io/scsi/targets/
H A Dsd.c13111 struct buf *orig_bp; /* ptr to the original buf */ local
13163 orig_bp = bsp->mbs_orig_bp;
13164 ASSERT(orig_bp != NULL);
13165 orig_xp = SD_GET_XBUF(orig_bp);
13177 orig_bp->b_resid = orig_bp->b_bcount;
13178 bioerror(orig_bp, bp->b_error);
13221 copy_length = orig_bp->b_bcount;
13222 request_end = shadow_start + copy_offset + orig_bp->b_bcount;
13229 orig_bp->b_resid = 0;
13241 if (shortfall > orig_bp->b_bcount) {
[all …]
H A Dst.c16229 struct buf *orig_bp; in st_bigblk_xfer_done() local
16246 orig_bp = cp->cm_bp; /* get back the bp we have replaced */ in st_bigblk_xfer_done()
16254 un->un_sbufp = orig_bp; in st_bigblk_xfer_done()
16258 orig_bp->b_resid = bp->b_resid; in st_bigblk_xfer_done()
16261 bioerror(orig_bp, ioerr); in st_bigblk_xfer_done()
16262 } else if (orig_bp->b_flags & B_READ) { in st_bigblk_xfer_done()
16264 (void) bp_copyout(bp->b_un.b_addr, orig_bp, 0, in st_bigblk_xfer_done()
16270 biodone(orig_bp); in st_bigblk_xfer_done()