Lines Matching defs:pbp
232 struct bio *pbp;
235 pbp = bp->bio_parent;
236 if (pbp->bio_error == 0 && bp->bio_error != 0)
237 pbp->bio_error = bp->bio_error;
242 pbp->bio_inbed++;
243 if (pbp->bio_inbed < pbp->bio_children)
245 sc = pbp->bio_to->geom->softc;
246 if (pbp->bio_error != 0) {
247 G_ELI_LOGREQ(0, pbp, "%s() failed (error=%d)", __func__,
248 pbp->bio_error);
249 pbp->bio_completed = 0;
250 if (pbp->bio_driver2 != NULL) {
251 free(pbp->bio_driver2, M_ELI);
252 pbp->bio_driver2 = NULL;
254 g_io_deliver(pbp, pbp->bio_error);
260 bioq_insert_tail(&sc->sc_queue, pbp);
274 struct bio *pbp;
277 pbp = bp->bio_parent;
278 if (pbp->bio_error == 0 && bp->bio_error != 0)
279 pbp->bio_error = bp->bio_error;
284 pbp->bio_inbed++;
285 if (pbp->bio_inbed < pbp->bio_children)
287 free(pbp->bio_driver2, M_ELI);
288 pbp->bio_driver2 = NULL;
289 if (pbp->bio_error != 0) {
290 G_ELI_LOGREQ(0, pbp, "%s() failed (error=%d)", __func__,
291 pbp->bio_error);
292 pbp->bio_completed = 0;
294 pbp->bio_completed = pbp->bio_length;
299 sc = pbp->bio_to->geom->softc;
300 g_io_deliver(pbp, pbp->bio_error);