Lines Matching defs:orig_bp
13065 struct buf *orig_bp; /* ptr to the original buf */
13117 orig_bp = bsp->mbs_orig_bp;
13118 ASSERT(orig_bp != NULL);
13119 orig_xp = SD_GET_XBUF(orig_bp);
13131 orig_bp->b_resid = orig_bp->b_bcount;
13132 bioerror(orig_bp, bp->b_error);
13175 copy_length = orig_bp->b_bcount;
13176 request_end = shadow_start + copy_offset + orig_bp->b_bcount;
13179 * Set up the resid and error fields of orig_bp as appropriate.
13183 orig_bp->b_resid = 0;
13195 if (shortfall > orig_bp->b_bcount) {
13201 orig_bp->b_resid = orig_bp->b_bcount;
13208 orig_bp->b_resid = shortfall;
13210 ASSERT(copy_length >= orig_bp->b_resid);
13211 copy_length -= orig_bp->b_resid;
13215 bioerror(orig_bp, bp->b_error);
13229 bcopy(orig_bp->b_un.b_addr, bp->b_un.b_addr + copy_offset,
13257 bioerror(orig_bp, EIO);
13258 orig_bp->b_resid = orig_bp->b_bcount;
13268 bcopy(bp->b_un.b_addr + copy_offset, orig_bp->b_un.b_addr,
13282 * orig_bp -- points to original buf
13295 bp = orig_bp;