Home
last modified time | relevance | path

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

12

/freebsd-11-stable/sys/geom/mirror/
HDg_mirror.c396 ("Disk already connected (device %s).", disk->d_softc->sc_name)); in g_mirror_connect_disk()
661 KASSERT(cp != NULL, ("NULL consumer (%s).", sc->sc_name)); in g_mirror_write_metadata()
662 KASSERT(cp->provider != NULL, ("NULL provider (%s).", sc->sc_name)); in g_mirror_write_metadata()
688 g_mirror_get_diskname(disk), sc->sc_name, error); in g_mirror_write_metadata()
692 g_mirror_get_diskname(disk), sc->sc_name, error); in g_mirror_write_metadata()
734 strlcpy(md->md_name, sc->sc_name, sizeof(md->md_name)); in g_mirror_fill_metadata()
804 sc->sc_name)); in g_mirror_bump_syncid()
807 G_MIRROR_DEBUG(1, "Device %s: syncid bumped to %u.", sc->sc_name, in g_mirror_bump_syncid()
827 sc->sc_name)); in g_mirror_bump_genid()
830 G_MIRROR_DEBUG(1, "Device %s: genid bumped to %u.", sc->sc_name, in g_mirror_bump_genid()
[all …]
HDg_mirror_ctl.c58 strcmp(sc->sc_name, name) == 0) { in g_mirror_find_device()
979 sc->sc_name); in g_mirror_ctl_forget()
/freebsd-11-stable/sys/geom/raid3/
HDg_raid3.c494 ("Disk already connected (device %s).", disk->d_softc->sc_name)); in g_raid3_connect_disk()
684 KASSERT(cp != NULL, ("NULL consumer (%s).", sc->sc_name)); in g_raid3_write_metadata()
685 KASSERT(cp->provider != NULL, ("NULL provider (%s).", sc->sc_name)); in g_raid3_write_metadata()
700 g_raid3_get_diskname(disk), sc->sc_name, error); in g_raid3_write_metadata()
705 g_raid3_get_diskname(disk), sc->sc_name, error); in g_raid3_write_metadata()
747 strlcpy(md->md_name, sc->sc_name, sizeof(md->md_name)); in g_raid3_fill_metadata()
810 sc->sc_name)); in g_raid3_bump_syncid()
813 G_RAID3_DEBUG(1, "Device %s: syncid bumped to %u.", sc->sc_name, in g_raid3_bump_syncid()
835 sc->sc_name)); in g_raid3_bump_genid()
838 G_RAID3_DEBUG(1, "Device %s: genid bumped to %u.", sc->sc_name, in g_raid3_bump_genid()
[all …]
/freebsd-11-stable/sys/geom/shsec/
HDg_shsec.c155 sc->sc_name); in g_shsec_remove_disk()
161 G_SHSEC_DEBUG(0, "Device %s removed.", sc->sc_name); in g_shsec_remove_disk()
402 sc->sc_provider = g_new_providerf(sc->sc_geom, "shsec/%s", sc->sc_name); in g_shsec_check_and_run()
421 G_SHSEC_DEBUG(0, "Device %s activated.", sc->sc_name); in g_shsec_check_and_run()
496 strcmp(md.md_name, sc->sc_name) != 0 || md.md_id != sc->sc_id) { in g_shsec_add_disk()
505 G_SHSEC_DEBUG(0, "Disk %s attached to %s.", pp->name, sc->sc_name); in g_shsec_add_disk()
536 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { in g_shsec_create()
538 sc->sc_name); in g_shsec_create()
561 G_SHSEC_DEBUG(0, "Device %s created (id=%u).", sc->sc_name, sc->sc_id); in g_shsec_create()
682 if (strcmp(md.md_name, sc->sc_name) != 0) in g_shsec_taste()
[all …]
HDg_shsec.h78 #define sc_name sc_geom->name macro
/freebsd-11-stable/sys/dev/usb/misc/
HDudbp.c133 uint8_t sc_name[16]; member
327 snprintf(sc->sc_name, sizeof(sc->sc_name), in udbp_attach()
346 sc->sc_name); in udbp_attach()
352 if (ng_name_node(sc->sc_node, sc->sc_name) != 0) { in udbp_attach()
354 sc->sc_name); in udbp_attach()
766 sc->sc_name); in ng_udbp_rmnode()
771 if (ng_name_node(sc->sc_node, sc->sc_name) != 0) { in ng_udbp_rmnode()
773 sc->sc_name); in ng_udbp_rmnode()
HDufm.c78 uint8_t sc_name[16]; member
152 snprintf(sc->sc_name, sizeof(sc->sc_name), "%s", in ufm_attach()
/freebsd-11-stable/sys/geom/multipath/
HDg_multipath.c146 sc->sc_name, lcp->provider->name); in g_multipath_fault()
161 sc->sc_name); in g_multipath_fault()
164 sc->sc_active->provider->name, sc->sc_name); in g_multipath_fault()
289 sc->sc_name, sc->sc_pp->mediasize, psize); in g_multipath_resize()
295 (strcmp(md.md_name, sc->sc_name) != 0) || in g_multipath_resize()
309 strlcpy(md.md_name, sc->sc_name, sizeof(md.md_name)); in g_multipath_resize()
411 bp->bio_error, pp->name, sc->sc_name); in g_multipath_done_error()
532 memcpy(sc->sc_name, md->md_name, sizeof (sc->sc_name)); in g_multipath_create()
587 pp->name, sc->sc_name); in g_multipath_add_disk()
610 pp->name, sc->sc_name, error); in g_multipath_add_disk()
[all …]
HDg_multipath.h49 char sc_name[16]; member
/freebsd-11-stable/sys/geom/raid/
HDg_raid_ctl.c64 if (strcasecmp(sc->sc_name, name) == 0) in g_raid_find_node()
139 snprintf(buf, sizeof(buf), "%s created\n", sc->sc_name); in g_raid_ctl_label()
141 snprintf(buf, sizeof(buf), "%s reused\n", sc->sc_name); in g_raid_ctl_label()
HDg_raid.h77 lvl, (sc)->sc_name, ## __VA_ARGS__); \
80 (sc)->sc_name, ## __VA_ARGS__); \
330 #define sc_name sc_geom->name macro
/freebsd-11-stable/sys/geom/concat/
HDg_concat.c127 cp->provider->name, sc->sc_name); in g_concat_remove_disk()
416 pp = g_new_providerf(sc->sc_geom, "concat/%s", sc->sc_name); in g_concat_check_and_run()
528 strcmp(md.md_name, sc->sc_name) != 0 || in g_concat_add_disk()
542 G_CONCAT_DEBUG(0, "Disk %s attached to %s.", pp->name, sc->sc_name); in g_concat_add_disk()
573 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { in g_concat_create()
600 G_CONCAT_DEBUG(0, "Device %s created (id=%u).", sc->sc_name, sc->sc_id); in g_concat_create()
726 if (strcmp(md.md_name, sc->sc_name) != 0) in g_concat_taste()
866 if (strcmp(sc->sc_name, name) == 0) in g_concat_find_device()
913 sc->sc_name, error); in g_concat_ctl_destroy()
HDg_concat.h88 #define sc_name sc_geom->name macro
/freebsd-11-stable/sys/geom/stripe/
HDg_stripe.c169 cp->provider->name, sc->sc_name); in g_stripe_remove_disk()
677 sc->sc_name); in g_stripe_check_and_run()
792 strcmp(md.md_name, sc->sc_name) != 0 || in g_stripe_add_disk()
800 G_STRIPE_DEBUG(0, "Disk %s attached to %s.", pp->name, sc->sc_name); in g_stripe_add_disk()
845 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { in g_stripe_create()
847 sc->sc_name); in g_stripe_create()
874 G_STRIPE_DEBUG(0, "Device %s created (id=%u).", sc->sc_name, sc->sc_id); in g_stripe_create()
999 if (strcmp(md.md_name, sc->sc_name) != 0) in g_stripe_taste()
1146 if (strcmp(sc->sc_name, name) == 0) in g_stripe_find_device()
1193 sc->sc_name, error); in g_stripe_ctl_destroy()
HDg_stripe.h81 #define sc_name sc_geom->name macro
/freebsd-11-stable/sys/geom/journal/
HDg_journal.c380 sc->sc_name, (used * 100) / length); in g_journal_check_overflow()
406 "Destroy it manually after last close.", sc->sc_name, in g_journal_orphan()
433 GJ_DEBUG(1, "Marking %s as dirty.", sc->sc_name); in g_journal_access()
684 strlcpy(md.md_provider, sc->sc_name, sizeof(md.md_provider)); in g_journal_metadata_update()
1654 GJ_DEBUG(3, "No need for %s switch.", sc->sc_name); in g_journal_switch()
1658 GJ_DEBUG(1, "Marking %s as clean.", sc->sc_name); in g_journal_switch()
1712 GJ_DEBUG(1, "Marking file system %s as dirty.", sc->sc_name); in g_journal_mark_as_dirty()
1928 sc->sc_name); in g_journal_sync()
1936 GJ_DEBUG(0, "Journal %s consistent.", sc->sc_name); in g_journal_sync()
2022 GJ_DEBUG(0, "Journal %s clean.", sc->sc_name); in g_journal_worker()
[all …]
HDg_journal.h171 #define sc_name sc_dprovider->name macro
239 (sc)->sc_name); \
/freebsd-11-stable/sys/dev/usb/storage/
HDurio.c108 uint8_t sc_name[16]; member
237 snprintf(sc->sc_name, sizeof(sc->sc_name), in urio_attach()
HDumass.c150 (sc) ? (const char *)(sc)->sc_name : \
412 uint8_t sc_name[16]; member
902 snprintf(sc->sc_name, sizeof(sc->sc_name), in umass_attach()
1629 sc->sc_name, usbd_errstr(err)); in umass_bbb_get_max_lun()
2122 sc->sc_name, cam_sim_path(sc->sc_sim), in umass_cam_attach()
2140 sc->sc_name); in umass_cam_detach_sim()
/freebsd-11-stable/tools/regression/security/proc_to_proc/
HDscenario.c64 char *sc_name; /* test name */ member
392 scenarios[scenario].sc_name, name, in enact_scenario()
/freebsd-11-stable/sys/geom/eli/
HDg_eli_ctl.c250 sc->sc_name, error); in g_eli_ctl_detach()
852 sc->sc_name); in g_eli_suspend_one()
860 sc->sc_name); in g_eli_suspend_one()
886 G_ELI_DEBUG(0, "Device %s has been suspended.", sc->sc_name); in g_eli_suspend_one()
920 sc->sc_name); in g_eli_ctl_suspend()
HDg_eli_integrity.c209 sc->sc_name, (intmax_t)corsize, in g_eli_auth_read_done()
225 sc->sc_name, (intmax_t)corsize, (intmax_t)coroff); in g_eli_auth_read_done()
/freebsd-11-stable/sys/geom/gate/
HDg_gate.h80 char *sc_name; /* P: (read-only) */ member
HDg_gate.c335 KASSERT(sc->sc_ref >= 0, ("Negative sc_ref for %s.", sc->sc_name)); in g_gate_release()
533 if (strcmp(name, g_gate_units[unit]->sc_name) != 0) in g_gate_create()
538 sc->sc_name = name; in g_gate_create()
604 sc->sc_name = sc->sc_provider->name; in g_gate_create()
/freebsd-11-stable/sys/geom/cache/
HDg_cache.h92 #define sc_name sc_geom->name macro

12