Lines Matching refs:cb
533 stripe_done(struct buf *cb)
541 cs = (md_scs_t *)((caddr_t)cb - md_stripe_mcs_buf_off);
546 if (cb->b_flags & B_ERROR) {
548 pb->b_error = cb->b_error;
552 if (cb->b_flags & B_REMAPPED)
553 bp_mapout(cb);
697 buf_t *cb; /* child buf pointer */
781 cb = &cs->cs_buf;
783 more = md_mapbuf(un, current_blkno, current_count, cb,
786 cb = md_bioclone(pb, current_offset, cb->b_bcount, cb->b_edev,
787 cb->b_lblkno, stripe_done, cb, KM_NOSLEEP);
792 current_offset += cb->b_bcount;
793 current_count -= cb->b_bcount;
794 current_blkno += (diskaddr_t)(lbtodb(cb->b_bcount));
804 (void) stripe_done(cb);
807 md_call_strategy(cb, flag, private);