Lines Matching refs:pbp
249 struct bio *pbp; in g_shsec_done() local
251 pbp = bp->bio_parent; in g_shsec_done()
257 if (pbp->bio_error == 0) in g_shsec_done()
258 pbp->bio_error = bp->bio_error; in g_shsec_done()
260 if (pbp->bio_cmd == BIO_READ) { in g_shsec_done()
261 if ((pbp->bio_pflags & G_SHSEC_BFLAG_FIRST) != 0) { in g_shsec_done()
262 bcopy(bp->bio_data, pbp->bio_data, pbp->bio_length); in g_shsec_done()
263 pbp->bio_pflags = 0; in g_shsec_done()
266 (uint32_t *)pbp->bio_data, in g_shsec_done()
267 (ssize_t)pbp->bio_length); in g_shsec_done()
275 pbp->bio_inbed++; in g_shsec_done()
276 if (pbp->bio_children == pbp->bio_inbed) { in g_shsec_done()
277 pbp->bio_completed = pbp->bio_length; in g_shsec_done()
278 g_io_deliver(pbp, pbp->bio_error); in g_shsec_done()