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

/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c13112 struct buf *orig_bp; /* ptr to the original buf */ local
13164 orig_bp = bsp->mbs_orig_bp;
13165 ASSERT(orig_bp != NULL);
13166 orig_xp = SD_GET_XBUF(orig_bp);
13178 orig_bp->b_resid = orig_bp->b_bcount;
13179 bioerror(orig_bp, bp->b_error);
13222 copy_length = orig_bp->b_bcount;
13223 request_end = shadow_start + copy_offset + orig_bp->b_bcount;
13226 * Set up the resid and error fields of orig_bp a
[all...]
H A Dst.c16229 struct buf *orig_bp; local
16246 orig_bp = cp->cm_bp; /* get back the bp we have replaced */
16254 un->un_sbufp = orig_bp;
16258 orig_bp->b_resid = bp->b_resid;
16261 bioerror(orig_bp, ioerr);
16262 } else if (orig_bp->b_flags & B_READ) {
16264 (void) bp_copyout(bp->b_un.b_addr, orig_bp, 0,
16270 biodone(orig_bp);

Completed in 129 milliseconds