Lines Matching refs:sc_provider
576 if (sc->sc_provider != NULL) in g_mirror_destroy_device()
866 if (sc->sc_provider == NULL) in g_mirror_idle()
874 if (acw > 0 || (acw == -1 && sc->sc_provider->acw > 0)) { in g_mirror_idle()
964 KASSERT(sc->sc_provider == bp->bio_parent->bio_to, in g_mirror_regular_request()
1657 mod = slice % sc->sc_provider->sectorsize; in g_mirror_request_split()
1659 slice += sc->sc_provider->sectorsize - mod; in g_mirror_request_split()
2047 } else if (bp->bio_to != sc->sc_provider) { in g_mirror_worker()
2109 bp->bio_to = disk->d_softc->sc_provider; in g_mirror_sync_reinit()
2141 error = g_attach(cp, sc->sc_provider); in g_mirror_sync_start()
2277 sc->sc_provider = pp; in g_mirror_launch_provider()
2295 KASSERT(sc->sc_provider != NULL, ("NULL provider (device=%s).", in g_mirror_destroy_provider()
2304 g_error_provider(sc->sc_provider, ENXIO); in g_mirror_destroy_provider()
2313 if (bp->bio_to == sc->sc_provider && in g_mirror_destroy_provider()
2323 g_wither_provider(sc->sc_provider, ENXIO); in g_mirror_destroy_provider()
2324 sc->sc_provider = NULL; in g_mirror_destroy_provider()
2492 KASSERT(sc->sc_provider == NULL, in g_mirror_update_device()
2659 if (sc->sc_provider == NULL) in g_mirror_update_device()
2833 if (sc->sc_provider != NULL) { in g_mirror_update_disk()
3182 sc->sc_provider = NULL; in g_mirror_create()