Lines Matching defs:pbp
222 struct bio *pbp;
226 pbp = cbp->bio_parent;
228 pbp->bio_completed = cbp->bio_completed;
230 pbp->bio_inbed++;
231 g_io_deliver(pbp, 0);
235 pbp->bio_children--;
236 g_gate_queue_io(pbp);
247 g_gate_start(struct bio *pbp)
253 sc = pbp->bio_to->geom->softc;
255 g_io_deliver(pbp, ENXIO);
258 G_GATE_LOGREQ(2, pbp, "Request received.");
259 switch (pbp->bio_cmd) {
263 cbp = g_clone_bio(pbp);
265 g_io_deliver(pbp, ENOMEM);
272 pbp->bio_children--;
276 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);