Searched refs:sc_geom (Results 1 - 25 of 33) sorted by relevance

12

/freebsd-11.0-release/sys/geom/sched/
H A Dgs_delay.c65 struct g_geom *sc_geom; member in struct:g_delay_softc
190 g_sched_lock(sc->sc_geom);
191 g_sched_dispatch(sc->sc_geom);
192 g_sched_unlock(sc->sc_geom);
205 sc->sc_geom = geom;
242 g_sched_dispatch(sc->sc_geom);
H A Dgs_rr.c130 struct g_geom *sc_geom; member in struct:g_rr_softc
309 return (g_sched_get_class(sc->sc_geom, bp));
345 g_sched_put_class(qp->q_sc->sc_geom, qp);
575 struct g_geom *geom = sc->sc_geom;
603 sc->sc_geom = geom;
670 g_sched_dispatch(sc->sc_geom);
/freebsd-11.0-release/sys/geom/concat/
H A Dg_concat.h80 struct g_geom *sc_geom; member in struct:g_concat_softc
88 #define sc_name sc_geom->name
H A Dg_concat.c145 if (LIST_EMPTY(&sc->sc_geom->consumer))
415 pp = g_new_providerf(sc->sc_geom, "concat/%s", sc->sc_name);
499 gp = sc->sc_geom;
596 sc->sc_geom = gp;
629 gp = sc->sc_geom;
/freebsd-11.0-release/sys/geom/shsec/
H A Dg_shsec.h72 struct g_geom *sc_geom; member in struct:g_shsec_softc
78 #define sc_name sc_geom->name
H A Dg_shsec.c408 sc->sc_provider = g_new_providerf(sc->sc_geom, "shsec/%s", sc->sc_name);
477 gp = sc->sc_geom;
564 sc->sc_geom = gp;
602 gp = sc->sc_geom;
/freebsd-11.0-release/sys/geom/stripe/
H A Dg_stripe.h72 struct g_geom *sc_geom; member in struct:g_stripe_softc
81 #define sc_name sc_geom->name
H A Dg_stripe.c188 if (LIST_EMPTY(&sc->sc_geom->consumer))
677 sc->sc_provider = g_new_providerf(sc->sc_geom, "stripe/%s",
763 gp = sc->sc_geom;
872 sc->sc_geom = gp;
905 gp = sc->sc_geom;
/freebsd-11.0-release/sys/dev/gxemul/disk/
H A Dgxemul_disk.c52 struct g_geom *sc_geom; member in struct:gxemul_disk_softc
171 sc->sc_geom = g_new_geomf(&g_gxemul_disk_class, "%s", device_get_nameunit(sc->sc_dev));
172 sc->sc_geom->softc = sc;
174 sc->sc_provider = g_new_providerf(sc->sc_geom, sc->sc_geom->name);
191 sc->sc_geom = NULL;
/freebsd-11.0-release/sys/geom/cache/
H A Dg_cache.h66 struct g_geom *sc_geom; member in struct:g_cache_softc
92 #define sc_name sc_geom->name
H A Dg_cache.c519 sc->sc_geom = gp;
560 gp = sc->sc_geom;
843 cp = LIST_FIRST(&sc->sc_geom->consumer);
/freebsd-11.0-release/sys/geom/eli/
H A Dg_eli_privacy.c208 cp = LIST_FIRST(&sc->sc_geom->consumer);
242 secsize = LIST_FIRST(&sc->sc_geom->provider)->sectorsize;
H A Dg_eli_ctl.c218 sc->sc_geom->access = g_eli_access;
503 cp = LIST_FIRST(&sc->sc_geom->consumer);
586 cp = LIST_FIRST(&sc->sc_geom->consumer);
699 cp = LIST_FIRST(&sc->sc_geom->consumer);
923 cp = LIST_FIRST(&sc->sc_geom->consumer);
985 pp = LIST_FIRST(&sc->sc_geom->provider);
988 cp = LIST_FIRST(&sc->sc_geom->consumer);
H A Dg_eli_integrity.c168 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize;
295 cp = LIST_FIRST(&sc->sc_geom->consumer);
348 cp = LIST_FIRST(&sc->sc_geom->consumer);
421 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize;
H A Dg_eli.c354 cp = LIST_FIRST(&sc->sc_geom->consumer);
378 LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize);
728 sc->sc_geom = gp;
874 gp = sc->sc_geom;
H A Dg_eli_key_cache.c209 pp = LIST_FIRST(&sc->sc_geom->consumer)->provider;
/freebsd-11.0-release/sys/geom/mirror/
H A Dg_mirror_ctl.c354 name, sc->sc_geom->name);
475 cp = g_new_consumer(sc->sc_geom);
610 "ACTIVE component %s.", sc->sc_geom->name,
738 sc->sc_geom->name, name);
846 sc->sc_geom->name, error);
H A Dg_mirror.h180 struct g_geom *sc_geom; member in struct:g_mirror_softc
219 #define sc_name sc_geom->name
H A Dg_mirror.c392 cp = g_new_consumer(disk->d_softc->sc_geom);
520 gp = sc->sc_geom;
1741 gp = sc->sc_geom;
1775 sc->sc_geom->softc = NULL;
2074 pp = g_new_providerf(sc->sc_geom, "mirror/%s", sc->sc_name);
2955 sc->sc_geom = gp;
2975 g_destroy_geom(sc->sc_geom);
2990 return (sc->sc_geom);
3032 if (sc->sc_geom->softc == NULL) {
3036 sc->sc_geom
[all...]
/freebsd-11.0-release/sys/geom/raid/
H A Dg_raid.h319 struct g_geom *sc_geom; /* GEOM class instance. */ member in struct:g_raid_softc
330 #define sc_name sc_geom->name
H A Dg_raid.c779 cp = g_new_consumer(sc->sc_geom);
1562 bp->bio_to->geom == sc->sc_geom)
1610 bp->bio_from->geom != sc->sc_geom)
1642 pp = g_new_providerf(sc->sc_geom, "%s", name);
1892 sc->sc_geom = gp;
1907 g_destroy_geom(sc->sc_geom);
2049 if (sc->sc_geom != NULL) {
2052 sc->sc_geom->softc = NULL;
2053 g_wither_geom(sc->sc_geom, ENXIO);
2055 sc->sc_geom
[all...]
/freebsd-11.0-release/sys/geom/raid3/
H A Dg_raid3.h202 struct g_geom *sc_geom; member in struct:g_raid3_softc
248 #define sc_name sc_geom->name
H A Dg_raid3.c497 cp = g_new_consumer(disk->d_softc->sc_geom);
611 gp = sc->sc_geom;
1958 gp = sc->sc_geom;
1994 sc->sc_geom->softc = NULL;
2327 pp = g_new_providerf(sc->sc_geom, "raid3/%s", sc->sc_name);
3162 sc->sc_geom = gp;
3210 g_destroy_geom(sc->sc_geom);
3227 return (sc->sc_geom);
3264 if (sc->sc_geom->softc == NULL) {
3268 sc->sc_geom
[all...]
/freebsd-11.0-release/sys/geom/journal/
H A Dg_journal.h124 struct g_geom *sc_geom; member in struct:g_journal_softc
H A Dg_journal.c1702 pp = LIST_FIRST(&sc->sc_geom->provider);
1709 GJ_DEBUG(3, "Switching journal %s.", sc->sc_geom->name);
2097 gp = sc->sc_geom;
2234 sc->sc_geom->name);
2296 sc->sc_geom = gp;
2429 gp = sc->sc_geom;
2603 LIST_FIRST(&sc->sc_geom->provider)->name, error);

Completed in 149 milliseconds

12