Home
last modified time | relevance | path

Searched refs:sc_geom (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/sys/geom/eli/
H A Dg_eli_integrity.c150 LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_read_done()
185 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_read_done()
214 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_read_done()
330 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_auth_write_done()
383 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_auth_read()
466 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_run()
H A Dg_eli_ctl.c237 sc->sc_geom->access = g_eli_access; in g_eli_ctl_detach()
568 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_configure()
671 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_setkey()
778 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_delkey()
1006 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_resume()
1061 pp = LIST_FIRST(&sc->sc_geom->provider); in g_eli_kill_one()
1064 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_kill_one()
H A Dg_eli_privacy.c235 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_crypto_read()
270 secsize = LIST_FIRST(&sc->sc_geom->provider)->sectorsize; in g_eli_crypto_run()
H A Dg_eli_key_cache.c205 pp = LIST_FIRST(&sc->sc_geom->consumer)->provider; in g_eli_key_init()
266 pp = LIST_FIRST(&sc->sc_geom->consumer)->provider; in g_eli_key_resize()
H A Dg_eli.c444 epp = LIST_FIRST(&sc->sc_geom->provider); in g_eli_resize()
522 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_start()
550 LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize); in g_eli_newsession()
1044 sc->sc_geom = gp; in g_eli_create()
1205 gp = sc->sc_geom; in g_eli_destroy()
H A Dg_eli.h183 struct g_geom *sc_geom; member
223 #define sc_name sc_geom->name
/freebsd/sys/geom/shsec/
H A Dg_shsec.h54 struct g_geom *sc_geom; member
60 #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); in g_shsec_check_and_run()
477 gp = sc->sc_geom; in g_shsec_add_disk()
564 sc->sc_geom = gp; in g_shsec_create()
602 gp = sc->sc_geom; in g_shsec_destroy()
/freebsd/sys/geom/concat/
H A Dg_concat.h68 struct g_geom *sc_geom; member
78 #define sc_name sc_geom->name
H A Dg_concat.c147 if (LIST_EMPTY(&sc->sc_geom->consumer)) in g_concat_remove_disk()
451 pp = g_new_providerf(sc->sc_geom, "concat/%s", sc->sc_name); in g_concat_check_and_run()
555 gp = sc->sc_geom; in g_concat_add_disk()
668 sc->sc_geom = gp; in g_concat_create()
702 gp = sc->sc_geom; in g_concat_destroy()
1101 gp = sc->sc_geom; in g_concat_ctl_append()
/freebsd/sys/geom/stripe/
H A Dg_stripe.h59 struct g_geom *sc_geom;
69 #define sc_name sc_geom->name
57 struct g_geom *sc_geom; global() member
H A Dg_stripe.c180 if (LIST_EMPTY(&sc->sc_geom->consumer)) in g_stripe_remove_disk()
678 sc->sc_provider = g_new_providerf(sc->sc_geom, "stripe/%s", in g_stripe_check_and_run()
764 gp = sc->sc_geom; in g_stripe_add_disk()
887 sc->sc_geom = gp; in g_stripe_destroy()
920 gp = sc->sc_geom;
/freebsd/sys/geom/cache/
H A Dg_cache.h51 struct g_geom *sc_geom; member
77 #define sc_name sc_geom->name
H A Dg_cache.c521 sc->sc_geom = gp; in g_cache_create()
562 gp = sc->sc_geom; in g_cache_destroy()
838 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_cache_ctl_configure()
/freebsd/sys/geom/mirror/
H A Dg_mirror_ctl.c574 name, sc->sc_geom->name); in g_mirror_ctl_rebuild()
677 cp = g_new_consumer(sc->sc_geom); in g_mirror_ctl_insert()
843 "ACTIVE component %s.", sc->sc_geom->name, in g_mirror_ctl_remove()
970 sc->sc_geom->name, name); in g_mirror_ctl_deactivate()
1078 sc->sc_geom->name, error); in g_mirror_ctl_stop()
H A Dg_mirror.h178 struct g_geom *sc_geom; member
217 #define sc_name sc_geom->name
H A Dg_mirror.c414 cp = g_new_consumer(disk->d_softc->sc_geom); in g_mirror_connect_disk()
575 gp = sc->sc_geom; in g_mirror_destroy_device()
1374 (bp->bio_cmd == BIO_WRITE && bp->bio_from->geom == sc->sc_geom), in g_mirror_sync_request()
1882 gp = sc->sc_geom; in g_mirror_can_destroy()
1916 sc->sc_geom->softc = NULL; in g_mirror_try_destroy()
2249 pp = g_new_providerf(sc->sc_geom, "mirror/%s", sc->sc_name); in g_mirror_launch_provider()
3181 sc->sc_geom = gp; in g_mirror_create()
3198 g_destroy_geom(sc->sc_geom); in g_mirror_create()
3216 return (sc->sc_geom); in g_mirror_create()
/freebsd/sys/geom/raid/
H A Dg_raid.h293 struct g_geom *sc_geom; /* GEOM class instance. */ member
304 #define sc_name sc_geom->name
H A Dg_raid.c783 cp = g_new_consumer(sc->sc_geom); in g_raid_open_consumer()
1557 bp->bio_to->geom == sc->sc_geom) in g_raid_worker()
1605 bp->bio_from->geom != sc->sc_geom) in g_raid_poll()
1637 pp = g_new_providerf(sc->sc_geom, "%s", name); in g_raid_launch_provider()
1887 sc->sc_geom = gp; in g_raid_create_node()
1902 g_destroy_geom(sc->sc_geom); in g_raid_create_node()
2044 if (sc->sc_geom != NULL) { in g_raid_destroy_node()
2047 sc->sc_geom->softc = NULL; in g_raid_destroy_node()
2048 g_wither_geom(sc->sc_geom, ENXIO); in g_raid_destroy_node()
2050 sc->sc_geom = NULL; in g_raid_destroy_node()
H A Dmd_jmicron.c813 *gp = sc->sc_geom; in g_raid_md_create_jmicron()
914 geom = sc->sc_geom; in g_raid_md_taste_jmicron()
/freebsd/sys/geom/raid3/
H A Dg_raid3.h184 struct g_geom *sc_geom; member
232 #define sc_name sc_geom->name
H A Dg_raid3.c510 cp = g_new_consumer(disk->d_softc->sc_geom); in g_raid3_connect_disk()
652 gp = sc->sc_geom; in g_raid3_destroy_device()
1988 gp = sc->sc_geom; in g_raid3_can_destroy()
2024 sc->sc_geom->softc = NULL; in g_raid3_try_destroy()
2355 pp = g_new_providerf(sc->sc_geom, "raid3/%s", sc->sc_name); in g_raid3_launch_provider()
3203 sc->sc_geom = gp; in g_raid3_create()
3242 g_destroy_geom(sc->sc_geom); in g_raid3_create()
3260 return (sc->sc_geom); in g_raid3_create()
3295 if (sc->sc_geom->softc == NULL) { in g_raid3_destroy()
3299 sc->sc_geom in g_raid3_destroy()
[all...]
H A Dg_raid3_ctl.c376 sc->sc_geom->name, error); in g_raid3_ctl_stop()
/freebsd/sys/geom/journal/
H A Dg_journal.c1663 pp = LIST_FIRST(&sc->sc_geom->provider); in g_journal_switch()
1670 GJ_DEBUG(3, "Switching journal %s.", sc->sc_geom->name); in g_journal_switch()
2058 gp = sc->sc_geom; in g_journal_worker()
2195 sc->sc_geom->name); in g_journal_timeout()
2257 sc->sc_geom = gp; in g_journal_create()
2394 gp = sc->sc_geom; in g_journal_destroy()
2570 LIST_FIRST(&sc->sc_geom->provider)->name, error); in g_journal_ctl_destroy()
H A Dg_journal.h106 struct g_geom *sc_geom; member

12