Lines Matching defs:cbp
819 struct bio *cbp;
824 cbp = g_clone_bio(bp);
825 if (cbp == NULL) {
829 cbp->bio_done = g_sched_done;
830 cbp->bio_to = LIST_FIRST(&gp->provider);
831 KASSERT(cbp->bio_to != NULL, ("NULL provider"));
837 G_SCHED_LOGREQ(cbp, "Sending request.");
847 sc->sc_gsched->gs_start(sc->sc_data, cbp)) {
855 if (cbp->bio_caller1 == NULL)
856 cbp->bio_caller1 = &me; /* anything not NULL */
858 cbp->bio_caller2 = gp;
874 cbp->bio_done = g_std_done;
875 cbp->bio_caller1 = NULL; /* not scheduled */
876 g_io_request(cbp, LIST_FIRST(&gp->consumer));