Lines Matching defs:pbp
223 struct bio *pbp;
227 pbp = cbp->bio_parent;
229 pbp->bio_completed = cbp->bio_completed;
231 pbp->bio_inbed++;
232 g_io_deliver(pbp, 0);
236 pbp->bio_children--;
237 g_gate_queue_io(pbp);
248 g_gate_start(struct bio *pbp)
254 sc = pbp->bio_to->geom->softc;
256 g_io_deliver(pbp, ENXIO);
259 G_GATE_LOGREQ(2, pbp, "Request received.");
260 switch (pbp->bio_cmd) {
264 cbp = g_clone_bio(pbp);
266 g_io_deliver(pbp, ENOMEM);
273 pbp->bio_children--;
277 cbp->bio_offset = pbp->bio_offset + sc->sc_readoffset;
287 g_io_deliver(pbp, EPERM);
293 G_GATE_LOGREQ(2, pbp, "Ignoring request.");
294 g_io_deliver(pbp, EOPNOTSUPP);
298 g_gate_queue_io(pbp);