Home
last modified time | relevance | path

Searched refs:sc_name (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/sys/geom/mirror/
H A Dg_mirror.c411 ("Disk already connected (device %s).", disk->d_softc->sc_name)); in g_mirror_connect_disk()
684 KASSERT(cp != NULL, ("NULL consumer (%s).", sc->sc_name)); in g_mirror_write_metadata()
685 KASSERT(cp->provider != NULL, ("NULL provider (%s).", sc->sc_name)); in g_mirror_write_metadata()
711 g_mirror_get_diskname(disk), sc->sc_name, error); in g_mirror_write_metadata()
715 g_mirror_get_diskname(disk), sc->sc_name, error); in g_mirror_write_metadata()
758 strlcpy(md->md_name, sc->sc_name, sizeof(md->md_name)); in g_mirror_fill_metadata()
820 sc->sc_name)); in g_mirror_bump_syncid()
823 G_MIRROR_DEBUG(1, "Device %s: syncid bumped to %u.", sc->sc_name, in g_mirror_bump_syncid()
843 sc->sc_name)); in g_mirror_bump_genid()
846 G_MIRROR_DEBUG(1, "Device %s: genid bumped to %u.", sc->sc_name, in g_mirror_bump_genid()
[all …]
H A Dg_mirror_ctl.c62 strcmp(sc->sc_name, name) == 0) { in g_mirror_find_device()
1020 sc->sc_name); in g_mirror_ctl_forget()
/freebsd/sys/geom/raid3/
H A Dg_raid3.c507 ("Disk already connected (device %s).", disk->d_softc->sc_name)); in g_raid3_connect_disk()
718 KASSERT(cp != NULL, ("NULL consumer (%s).", sc->sc_name)); in g_raid3_write_metadata()
719 KASSERT(cp->provider != NULL, ("NULL provider (%s).", sc->sc_name)); in g_raid3_write_metadata()
734 g_raid3_get_diskname(disk), sc->sc_name, error); in g_raid3_write_metadata()
739 g_raid3_get_diskname(disk), sc->sc_name, error); in g_raid3_write_metadata()
782 strlcpy(md->md_name, sc->sc_name, sizeof(md->md_name)); in g_raid3_fill_metadata()
839 sc->sc_name)); in g_raid3_bump_syncid()
842 G_RAID3_DEBUG(1, "Device %s: syncid bumped to %u.", sc->sc_name, in g_raid3_bump_syncid()
864 sc->sc_name)); in g_raid3_bump_genid()
867 G_RAID3_DEBUG(1, "Device %s: genid bumped to %u.", sc->sc_name, in g_raid3_bump_genid()
[all...]
H A Dg_raid3.h232 #define sc_name sc_geom->name macro
/freebsd/sys/geom/shsec/
H A Dg_shsec.c158 sc->sc_name); in g_shsec_remove_disk()
164 G_SHSEC_DEBUG(0, "Device %s removed.", sc->sc_name); in g_shsec_remove_disk()
408 sc->sc_provider = g_new_providerf(sc->sc_geom, "shsec/%s", sc->sc_name); in g_shsec_check_and_run()
427 G_SHSEC_DEBUG(0, "Device %s activated.", sc->sc_name); in g_shsec_check_and_run()
502 strcmp(md.md_name, sc->sc_name) != 0 || md.md_id != sc->sc_id) { in g_shsec_add_disk()
511 G_SHSEC_DEBUG(0, "Disk %s attached to %s.", pp->name, sc->sc_name); in g_shsec_add_disk()
542 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { in g_shsec_create()
544 sc->sc_name); in g_shsec_create()
567 G_SHSEC_DEBUG(0, "Device %s created (id=%u).", sc->sc_name, sc->sc_id); in g_shsec_create()
691 if (strcmp(md.md_name, sc->sc_name) != 0) in g_shsec_taste()
[all …]
H A Dg_shsec.h60 #define sc_name sc_geom->name macro
/freebsd/sys/geom/multipath/
H A Dg_multipath.c156 sc->sc_name, lcp->provider->name); in g_multipath_fault()
158 sc->sc_name, lcp->provider->name); in g_multipath_fault()
173 sc->sc_name); in g_multipath_fault()
176 sc->sc_active->provider->name, sc->sc_name); in g_multipath_fault()
305 sc->sc_name, sc->sc_pp->mediasize, psize); in g_multipath_resize()
311 (strcmp(md.md_name, sc->sc_name) != 0) || in g_multipath_resize()
325 strlcpy(md.md_name, sc->sc_name, sizeof(md.md_name)); in g_multipath_resize()
433 bp->bio_error, pp->name, sc->sc_name); in g_multipath_done_error()
435 sc->sc_name, pp->name, bp->bio_error); in g_multipath_done_error()
556 memcpy(sc->sc_name, md->md_name, sizeof (sc->sc_name)); in g_multipath_create()
[all …]
H A Dg_multipath.h49 char sc_name[16]; member
/freebsd/sys/dev/usb/misc/
H A Dudbp.c131 uint8_t sc_name[16]; member
323 snprintf(sc->sc_name, sizeof(sc->sc_name), in udbp_attach()
342 sc->sc_name); in udbp_attach()
348 if (ng_name_node(sc->sc_node, sc->sc_name) != 0) { in udbp_attach()
350 sc->sc_name); in udbp_attach()
759 sc->sc_name); in ng_udbp_rmnode()
764 if (ng_name_node(sc->sc_node, sc->sc_name) != 0) { in ng_udbp_rmnode()
766 sc->sc_name); in ng_udbp_rmnode()
/freebsd/sys/geom/raid/
H A Dg_raid_ctl.c62 if (strcasecmp(sc->sc_name, name) == 0) in g_raid_find_node()
137 snprintf(buf, sizeof(buf), "%s created\n", sc->sc_name); in g_raid_ctl_label()
139 snprintf(buf, sizeof(buf), "%s reused\n", sc->sc_name); in g_raid_ctl_label()
H A Dg_raid.h66 (sc)->sc_name, ## __VA_ARGS__)
304 #define sc_name sc_geom->name macro
/freebsd/sys/geom/stripe/
H A Dg_stripe.c162 cp->provider->name, sc->sc_name); in g_stripe_remove_disk()
679 sc->sc_name); in g_stripe_check_and_run()
794 strcmp(md.md_name, sc->sc_name) != 0 || in g_stripe_add_disk()
816 G_STRIPE_DEBUG(0, "Disk %s attached to %s.", pp->name, sc->sc_name); in g_stripe_create()
861 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { in g_stripe_create()
863 sc->sc_name); in g_stripe_create()
890 G_STRIPE_DEBUG(0, "Device %s created (id=%u).", sc->sc_name, sc->sc_id); in g_stripe_destroy()
1018 if (strcmp(md.md_name, sc->sc_name) != 0) in g_stripe_taste()
1153 if (strcmp(sc->sc_name, name) == 0) in g_stripe_ctl_destroy()
1200 sc->sc_name, erro in g_stripe_config()
[all...]
H A Dg_stripe.h69 #define sc_name sc_geom->name
66 #define sc_name global() macro
/freebsd/sys/geom/concat/
H A Dg_concat.c130 cp->provider->name, sc->sc_name); in g_concat_remove_disk()
451 pp = g_new_providerf(sc->sc_geom, "concat/%s", sc->sc_name); in g_concat_check_and_run()
590 strcmp(md.md_name, sc->sc_name) != 0 || in g_concat_add_disk()
608 G_CONCAT_DEBUG(0, "Disk %s attached to %s.", pp->name, sc->sc_name); in g_concat_add_disk()
642 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { in g_concat_create()
671 G_CONCAT_DEBUG(0, "Device %s created (id=%u).", sc->sc_name, sc->sc_id); in g_concat_create()
805 if (strcmp(md.md_name, sc->sc_name) != 0) in g_concat_taste()
936 if (strcmp(sc->sc_name, name) == 0) in g_concat_find_device()
983 sc->sc_name, error); in g_concat_ctl_destroy()
1021 strlcpy(md.md_name, sc->sc_name, sizeof(md.md_name)); in g_concat_write_metadata()
H A Dg_concat.h78 #define sc_name sc_geom->name macro
/freebsd/sys/geom/journal/
H A Dg_journal.c389 sc->sc_name, (used * 100) / length); in g_journal_check_overflow()
415 "Destroy it manually after last close.", sc->sc_name, in g_journal_orphan()
440 GJ_DEBUG(1, "Marking %s as dirty.", sc->sc_name); in g_journal_access()
691 strlcpy(md.md_provider, sc->sc_name, sizeof(md.md_provider)); in g_journal_metadata_update()
1662 GJ_DEBUG(3, "No need for %s switch.", sc->sc_name); in g_journal_switch()
1666 GJ_DEBUG(1, "Marking %s as clean.", sc->sc_name); in g_journal_switch()
1720 GJ_DEBUG(1, "Marking file system %s as dirty.", sc->sc_name); in g_journal_mark_as_dirty()
1936 sc->sc_name); in g_journal_sync()
1944 GJ_DEBUG(0, "Journal %s consistent.", sc->sc_name); in g_journal_sync()
2030 GJ_DEBUG(0, "Journal %s clean.", sc->sc_name); in g_journal_worker()
[all …]
H A Dg_journal.h153 #define sc_name sc_dprovider->name macro
221 (sc)->sc_name); \
/freebsd/sys/dev/usb/storage/
H A Durio.c107 uint8_t sc_name[16]; member
234 snprintf(sc->sc_name, sizeof(sc->sc_name), in urio_attach()
H A Dumass.c147 (sc) ? (const char *)(sc)->sc_name : \
429 uint8_t sc_name[16]; member
921 snprintf(sc->sc_name, sizeof(sc->sc_name), in umass_attach()
1642 sc->sc_name, usbd_errstr(err)); in umass_bbb_get_max_lun()
2134 sc->sc_name, cam_sim_path(sc->sc_sim), in umass_cam_attach()
2154 __func__, sc->sc_name, cam_sim_path(sc->sc_sim), in umass_cam_detach_sim()
2160 __func__, sc->sc_name, error); in umass_cam_detach_sim()
/freebsd/tools/regression/security/proc_to_proc/
H A Dscenario.c62 char *sc_name; /* test name */ member
390 scenarios[scenario].sc_name, name, in enact_scenario()
/freebsd/sys/geom/eli/
H A Dg_eli_ctl.c243 sc->sc_name, error); in g_eli_ctl_detach()
871 sc->sc_name); in g_eli_suspend_one()
879 sc->sc_name); in g_eli_suspend_one()
905 G_ELI_DEBUG(0, "Device %s has been suspended.", sc->sc_name); in g_eli_suspend_one()
939 sc->sc_name); in g_eli_ctl_suspend()
H A Dg_eli_integrity.c250 sc->sc_name, (intmax_t)corsize, in g_eli_auth_read_done()
262 sc->sc_name, (intmax_t)corsize, (intmax_t)coroff); in g_eli_auth_read_done()
/freebsd/sys/geom/gate/
H A Dg_gate.h80 char *sc_name; /* P: (read-only) */ member
H A Dg_gate.c334 KASSERT(sc->sc_ref >= 0, ("Negative sc_ref for %s.", sc->sc_name)); in g_gate_release()
535 if (strcmp(name, g_gate_units[unit]->sc_name) != 0) in g_gate_create()
542 sc->sc_name = name; in g_gate_create()
610 sc->sc_name = sc->sc_provider->name; in g_gate_create()
/freebsd/sys/geom/cache/
H A Dg_cache.h77 #define sc_name sc_geom->name macro

12