| /freebsd-12-stable/sys/geom/sched/ |
| D | gs_delay.c | 65 struct g_geom *sc_geom; member 190 g_sched_lock(sc->sc_geom); in g_delay_timeout() 191 g_sched_dispatch(sc->sc_geom); in g_delay_timeout() 192 g_sched_unlock(sc->sc_geom); in g_delay_timeout() 205 sc->sc_geom = geom; in g_delay_init() 242 g_sched_dispatch(sc->sc_geom); in g_delay_done()
|
| D | gs_rr.c | 132 struct g_geom *sc_geom; member 311 return (g_sched_get_class(sc->sc_geom, bp)); in g_rr_queue_get() 347 g_sched_put_class(qp->q_sc->sc_geom, qp); in g_rr_queue_put() 577 struct g_geom *geom = sc->sc_geom; in g_rr_wait_timeout() 605 sc->sc_geom = geom; in g_rr_init() 672 g_sched_dispatch(sc->sc_geom); in g_rr_done()
|
| /freebsd-12-stable/sys/dev/gxemul/disk/ |
| D | gxemul_disk.c | 54 struct g_geom *sc_geom; member 173 sc->sc_geom = g_new_geomf(&g_gxemul_disk_class, "%s", device_get_nameunit(sc->sc_dev)); in gxemul_disk_attach_geom() 174 sc->sc_geom->softc = sc; in gxemul_disk_attach_geom() 176 sc->sc_provider = g_new_providerf(sc->sc_geom, "%s", sc->sc_geom->name); in gxemul_disk_attach_geom() 193 sc->sc_geom = NULL; in gxemul_disk_attach()
|
| /freebsd-12-stable/sys/geom/shsec/ |
| D | g_shsec.h | 74 struct g_geom *sc_geom; member 80 #define sc_name sc_geom->name
|
| D | g_shsec.c | 404 sc->sc_provider = g_new_providerf(sc->sc_geom, "shsec/%s", sc->sc_name); in g_shsec_check_and_run() 473 gp = sc->sc_geom; in g_shsec_add_disk() 560 sc->sc_geom = gp; in g_shsec_create() 598 gp = sc->sc_geom; in g_shsec_destroy()
|
| /freebsd-12-stable/sys/geom/concat/ |
| D | g_concat.h | 83 struct g_geom *sc_geom; member 91 #define sc_name sc_geom->name
|
| D | g_concat.c | 146 if (LIST_EMPTY(&sc->sc_geom->consumer)) in g_concat_remove_disk() 439 pp = g_new_providerf(sc->sc_geom, "concat/%s", sc->sc_name); in g_concat_check_and_run() 533 gp = sc->sc_geom; in g_concat_add_disk() 630 sc->sc_geom = gp; in g_concat_create() 663 gp = sc->sc_geom; in g_concat_destroy()
|
| /freebsd-12-stable/sys/geom/stripe/ |
| D | g_stripe.h | 74 struct g_geom *sc_geom; member 83 #define sc_name sc_geom->name
|
| D | g_stripe.c | 189 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() 873 sc->sc_geom = gp; in g_stripe_create() 906 gp = sc->sc_geom; in g_stripe_destroy()
|
| /freebsd-12-stable/sys/geom/cache/ |
| D | g_cache.h | 68 struct g_geom *sc_geom; member 94 #define sc_name sc_geom->name
|
| D | g_cache.c | 521 sc->sc_geom = gp; in g_cache_create() 562 gp = sc->sc_geom; in g_cache_destroy() 845 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_cache_ctl_configure()
|
| /freebsd-12-stable/sys/geom/eli/ |
| D | g_eli_integrity.c | 170 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_read_done() 297 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_auth_write_done() 350 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_auth_read() 423 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_run()
|
| D | g_eli_ctl.c | 246 sc->sc_geom->access = g_eli_access; in g_eli_ctl_detach() 556 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_configure() 652 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_setkey() 760 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_delkey() 989 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_ctl_resume() 1044 pp = LIST_FIRST(&sc->sc_geom->provider); in g_eli_kill_one() 1047 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_kill_one()
|
| D | g_eli_privacy.c | 212 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_crypto_read() 246 secsize = LIST_FIRST(&sc->sc_geom->provider)->sectorsize; in g_eli_crypto_run()
|
| D | g_eli.c | 399 cp = LIST_FIRST(&sc->sc_geom->consumer); in g_eli_start() 423 LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize); in g_eli_newsession() 774 sc->sc_geom = gp; in g_eli_create() 937 gp = sc->sc_geom; in g_eli_destroy()
|
| D | g_eli.h | 190 struct g_geom *sc_geom; member 227 #define sc_name sc_geom->name
|
| D | g_eli_key_cache.c | 210 pp = LIST_FIRST(&sc->sc_geom->consumer)->provider; in g_eli_key_init()
|
| /freebsd-12-stable/sys/geom/mirror/ |
| D | g_mirror_ctl.c | 526 name, sc->sc_geom->name); in g_mirror_ctl_rebuild() 638 cp = g_new_consumer(sc->sc_geom); in g_mirror_ctl_insert() 804 "ACTIVE component %s.", sc->sc_geom->name, in g_mirror_ctl_remove() 931 sc->sc_geom->name, name); in g_mirror_ctl_deactivate() 1039 sc->sc_geom->name, error); in g_mirror_ctl_stop()
|
| D | g_mirror.h | 193 struct g_geom *sc_geom; member 231 #define sc_name sc_geom->name
|
| D | g_mirror.c | 400 cp = g_new_consumer(disk->d_softc->sc_geom); in g_mirror_connect_disk() 553 gp = sc->sc_geom; in g_mirror_destroy_device() 1327 (bp->bio_cmd == BIO_WRITE && bp->bio_from->geom == sc->sc_geom), in g_mirror_sync_request() 1834 gp = sc->sc_geom; in g_mirror_can_destroy() 1868 sc->sc_geom->softc = NULL; in g_mirror_try_destroy() 2201 pp = g_new_providerf(sc->sc_geom, "mirror/%s", sc->sc_name); in g_mirror_launch_provider() 3092 sc->sc_geom = gp; in g_mirror_create() 3109 g_destroy_geom(sc->sc_geom); in g_mirror_create() 3124 return (sc->sc_geom); in g_mirror_create()
|
| /freebsd-12-stable/sys/geom/raid/ |
| D | g_raid.c | 781 cp = g_new_consumer(sc->sc_geom); in g_raid_open_consumer() 1558 bp->bio_to->geom == sc->sc_geom) in g_raid_worker() 1606 bp->bio_from->geom != sc->sc_geom) in g_raid_poll() 1638 pp = g_new_providerf(sc->sc_geom, "%s", name); in g_raid_launch_provider() 1888 sc->sc_geom = gp; in g_raid_create_node() 1903 g_destroy_geom(sc->sc_geom); in g_raid_create_node() 2045 if (sc->sc_geom != NULL) { in g_raid_destroy_node() 2048 sc->sc_geom->softc = NULL; in g_raid_destroy_node() 2049 g_wither_geom(sc->sc_geom, ENXIO); in g_raid_destroy_node() 2051 sc->sc_geom = NULL; in g_raid_destroy_node()
|
| D | g_raid.h | 321 struct g_geom *sc_geom; /* GEOM class instance. */ member 332 #define sc_name sc_geom->name
|
| /freebsd-12-stable/sys/geom/raid3/ |
| D | g_raid3.h | 204 struct g_geom *sc_geom; member 250 #define sc_name sc_geom->name
|
| D | g_raid3.c | 499 cp = g_new_consumer(disk->d_softc->sc_geom); in g_raid3_connect_disk() 613 gp = sc->sc_geom; in g_raid3_destroy_device() 1960 gp = sc->sc_geom; in g_raid3_can_destroy() 1996 sc->sc_geom->softc = NULL; in g_raid3_try_destroy() 2329 pp = g_new_providerf(sc->sc_geom, "raid3/%s", sc->sc_name); in g_raid3_launch_provider() 3163 sc->sc_geom = gp; in g_raid3_create() 3211 g_destroy_geom(sc->sc_geom); in g_raid3_create() 3228 return (sc->sc_geom); in g_raid3_create() 3265 if (sc->sc_geom->softc == NULL) { in g_raid3_destroy() 3269 sc->sc_geom->softc = NULL; in g_raid3_destroy()
|
| /freebsd-12-stable/sys/geom/journal/ |
| D | g_journal.c | 1657 pp = LIST_FIRST(&sc->sc_geom->provider); in g_journal_switch() 1664 GJ_DEBUG(3, "Switching journal %s.", sc->sc_geom->name); in g_journal_switch() 2052 gp = sc->sc_geom; in g_journal_worker() 2189 sc->sc_geom->name); in g_journal_timeout() 2251 sc->sc_geom = gp; in g_journal_create() 2388 gp = sc->sc_geom; in g_journal_destroy() 2561 LIST_FIRST(&sc->sc_geom->provider)->name, error); in g_journal_ctl_destroy()
|