• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/geom/vinum/

Lines Matching refs:pbp

306 	struct bio *pbp;
308 pbp = bp->bio_parent;
309 if (pbp->bio_error == 0)
310 pbp->bio_error = bp->bio_error;
312 pbp->bio_inbed++;
313 if (pbp->bio_children == pbp->bio_inbed) {
316 pbp->bio_completed = pbp->bio_length;
317 if (pbp->bio_pflags & GV_BIO_SYNCREQ)
318 gv_sync_complete(p, pbp);
319 else if (pbp->bio_pflags & GV_BIO_GROW)
320 gv_grow_complete(p, pbp);
322 g_io_deliver(pbp, pbp->bio_error);
333 struct bio *cbp, *pbp;
364 pbp = bioq_takefirst(p->wqueue);
365 while (pbp != NULL) {
366 gv_post_bio(sc, pbp);
367 pbp = bioq_takefirst(p->wqueue);
408 pbp = bioq_takefirst(p->wqueue);
409 while (pbp != NULL) {
410 gv_post_bio(sc, pbp);
411 pbp = bioq_takefirst(p->wqueue);
420 pbp = bp->bio_parent;
421 if (pbp->bio_error == 0)
422 pbp->bio_error = bp->bio_error;
423 pbp->bio_completed += completed;
426 pbp->bio_inbed++;
427 if (pbp->bio_inbed == pbp->bio_children) {
429 if (pbp->bio_cmd == BIO_WRITE &&
430 (pbp->bio_pflags & GV_BIO_CHECK)) {
431 gv_parity_complete(p, pbp);
432 } else if (pbp->bio_cmd == BIO_WRITE &&
433 (pbp->bio_pflags & GV_BIO_REBUILD)) {
434 gv_rebuild_complete(p, pbp);
435 } else if (pbp->bio_pflags & GV_BIO_INIT) {
436 gv_init_complete(p, pbp);
437 } else if (pbp->bio_pflags & GV_BIO_SYNCREQ) {
438 gv_sync_complete(p, pbp);
439 } else if (pbp->bio_pflags & GV_BIO_GROW) {
440 gv_grow_complete(p, pbp);
442 g_io_deliver(pbp, pbp->bio_error);
455 struct bio *pbp;
463 pbp = wp->waiting;
465 s = pbp->bio_caller1;
466 g_io_request(pbp, s->drive_sc->consumer);
470 pbp = wp->parity;
475 if (bp->bio_data[i] != pbp->bio_data[i]) {
487 s = pbp->bio_caller1;
488 g_io_request(pbp, s->drive_sc->consumer);
499 g_destroy_bio(pbp);
510 struct bio *cbp, *pbp;
517 pbp = wp->waiting;
521 cbp->bio_data[i] ^= pbp->bio_data[i];
522 s = pbp->bio_caller1;
523 g_io_request(pbp, s->drive_sc->consumer);