Lines Matching refs:cbp
526 struct bio *cbp;
532 cbp = g_clone_bio(bp);
533 if (cbp == NULL) {
538 g_raid_subdisk_iostart(sd, cbp);
547 struct bio *cbp;
583 cbp = g_clone_bio(bp);
584 if (cbp == NULL)
586 cbp->bio_caller1 = sd;
587 bioq_insert_tail(&queue, cbp);
589 while ((cbp = bioq_takefirst(&queue)) != NULL) {
590 sd = cbp->bio_caller1;
591 cbp->bio_caller1 = NULL;
592 g_raid_subdisk_iostart(sd, cbp);
596 while ((cbp = bioq_takefirst(&queue)) != NULL)
597 g_destroy_bio(cbp);
655 struct bio *cbp;
806 if (nsd != NULL && (cbp = g_clone_bio(pbp)) != NULL) {
808 G_RAID_LOGREQ(2, cbp, "Retrying read from %d",
812 cbp->bio_caller1 = nsd;
816 cbp->bio_offset, cbp->bio_length, pbp, cbp);
818 g_raid_subdisk_iostart(nsd, cbp);
846 cbp = g_clone_bio(pbp);
847 if (cbp != NULL) {
849 cbp->bio_cmd = BIO_WRITE;
850 cbp->bio_cflags = G_RAID_BIO_FLAG_REMAP;
851 G_RAID_LOGREQ(2, cbp,
853 g_raid_subdisk_iostart(pbp->bio_driver1, cbp);