Lines Matching defs:cbp
58 struct bio *cbp;
106 * cbp->bio_caller1.
108 cbp = bioq_takefirst(p->bqueue);
109 while (cbp != NULL) {
113 * another sub-request. We abuse cbp->bio_caller2 to mark
116 if (cbp->bio_caller2 != NULL && gv_stripe_active(p, cbp)) {
118 cbp->bio_pflags |= GV_BIO_ONHOLD;
119 bioq_disksort(p->wqueue, cbp);
121 s = cbp->bio_caller1;
122 g_io_request(cbp, s->drive_sc->consumer);
124 cbp = bioq_takefirst(p->bqueue);
202 struct bio *cbp;
270 cbp = g_clone_bio(bp);
271 if (cbp == NULL) {
275 cbp->bio_offset = real_off + s->drive_offset;
276 cbp->bio_length = real_len;
277 cbp->bio_data = addr;
278 cbp->bio_done = gv_done;
279 cbp->bio_caller1 = s;
283 bioq_insert_tail(p->bqueue, cbp);
333 struct bio *cbp, *pbp;
388 cbp = wp->parity;
389 if (cbp != NULL) {
391 cbp->bio_data[i] ^= bp->bio_data[i];
510 struct bio *cbp, *pbp;
519 cbp = wp->parity;
521 cbp->bio_data[i] ^= pbp->bio_data[i];
527 cbp = wp->parity;
529 s = cbp->bio_caller1;
530 g_io_request(cbp, s->drive_sc->consumer);
788 struct bio *bp, *cbp;
813 cbp = g_clone_bio(bp);
814 if (cbp == NULL) {
820 cbp->bio_done = gv_done;
821 cbp->bio_caller1 = s;
824 g_io_request(cbp, cp);