Lines Matching defs:cbp
222 g_gate_done(struct bio *cbp)
228 cp = cbp->bio_from;
229 pbp = cbp->bio_parent;
230 if (cbp->bio_error == 0) {
231 pbp->bio_completed = cbp->bio_completed;
232 g_destroy_bio(cbp);
237 g_destroy_bio(cbp);
254 struct bio *cbp;
266 cbp = g_clone_bio(pbp);
267 if (cbp == NULL) {
274 g_destroy_bio(cbp);
279 cbp->bio_offset = pbp->bio_offset + sc->sc_readoffset;
281 cbp->bio_done = g_gate_done;
282 g_io_request(cbp, cp);