Home
last modified time | relevance | path

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

12

/freebsd/sys/geom/multipath/
H A Dg_multipath.h62 char md_name[16]; /* a friendly name */ member
82 bcopy(md->md_name, data, sizeof(md->md_name)); in multipath_metadata_encode()
83 data += sizeof(md->md_name); in multipath_metadata_encode()
100 bcopy(data, md->md_name, sizeof(md->md_name)); in multipath_metadata_decode()
101 data += sizeof(md->md_name); in multipath_metadata_decode()
H A Dg_multipath.c311 (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()
545 if (strcmp(gp->name, md->md_name) == 0) { in g_multipath_create()
547 md->md_name); in g_multipath_create()
552 gp = g_new_geomf(mp, "%s", md->md_name); in g_multipath_create()
556 memcpy(sc->sc_name, md->md_name, sizeof (sc->sc_name)); in g_multipath_create()
566 pp = g_new_providerf(gp, "multipath/%s", md->md_name); in g_multipath_create()
857 printf("MULTIPATH: %s/%s\n", md.md_name, md.md_uuid); in g_multipath_taste()
858 SDT_PROBE2(geom, multipath, config, taste, md.md_name, md.md_uuid); in g_multipath_taste()
886 if (strncmp(md.md_name, sc->sc_name, sizeof(md.md_name)) == 0) in g_multipath_taste()
[all …]
/freebsd/sys/geom/shsec/
H A Dg_shsec.h66 char md_name[16]; /* Stripe name. */ member
79 bcopy(md->md_name, data + 20, sizeof(md->md_name)); in shsec_metadata_encode()
92 bcopy(data + 20, md->md_name, sizeof(md->md_name)); in shsec_metadata_decode()
H A Dg_shsec.c502 strcmp(md.md_name, sc->sc_name) != 0 || md.md_id != sc->sc_id) { in g_shsec_add_disk()
531 G_SHSEC_DEBUG(1, "Creating device %s (id=%u).", md->md_name, md->md_id); in g_shsec_create()
535 G_SHSEC_DEBUG(0, "Too few disks defined for %s.", md->md_name); in g_shsec_create()
542 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { in g_shsec_create()
548 gp = g_new_geomf(mp, "%s", md->md_name); in g_shsec_create()
691 if (strcmp(md.md_name, sc->sc_name) != 0) in g_shsec_taste()
708 G_SHSEC_DEBUG(0, "Cannot create device %s.", md.md_name); in g_shsec_taste()
/freebsd/sys/geom/concat/
H A Dg_concat.h84 char md_name[16]; /* Concat name. */ member
97 bcopy(md->md_name, data + 20, sizeof(md->md_name)); in concat_metadata_encode()
110 bcopy(data + 20, md->md_name, sizeof(md->md_name)); in concat_metadata_decode()
H A Dg_concat.c590 strcmp(md.md_name, sc->sc_name) != 0 || in g_concat_add_disk()
632 G_CONCAT_DEBUG(1, "Creating device %s (id=%u).", md->md_name, in g_concat_create()
642 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { in g_concat_create()
648 gp = g_new_geomf(mp, "%s", md->md_name); in g_concat_create()
805 if (strcmp(md.md_name, sc->sc_name) != 0) in g_concat_taste()
824 md.md_name); in g_concat_taste()
874 strlcpy(md.md_name, name, sizeof(md.md_name)); in g_concat_ctl_create()
891 gctl_error(req, "Can't configure %s.", md.md_name); in g_concat_ctl_create()
1021 strlcpy(md.md_name, sc->sc_name, sizeof(md.md_name)); in g_concat_write_metadata()
/freebsd/sys/geom/stripe/
H A Dg_stripe.h75 char md_name[16]; /* Stripe name. */
89 bcopy(md->md_name, data + 20, sizeof(md->md_name)); in stripe_metadata_encode()
103 bcopy(data + 20, md->md_name, sizeof(md->md_name)); in stripe_metadata_decode()
72 char md_name[16]; /* Stripe name. */ global() member
H A Dg_stripe.c794 strcmp(md.md_name, sc->sc_name) != 0 || in g_stripe_add_disk()
837 G_STRIPE_DEBUG(1, "Creating device %s (id=%u).", md->md_name, in g_stripe_create()
842 G_STRIPE_DEBUG(0, "Too few disks defined for %s.", md->md_name); in g_stripe_create()
848 G_STRIPE_DEBUG(0, "Invalid stripe size for %s.", md->md_name); in g_stripe_create()
854 G_STRIPE_DEBUG(0, "Invalid stripe size for %s.", md->md_name); in g_stripe_create()
861 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { in g_stripe_create()
867 gp = g_new_geomf(mp, "%s", md->md_name); in g_stripe_create()
1018 if (strcmp(md.md_name, sc->sc_name) != 0) in g_stripe_taste()
1037 md.md_name); in g_stripe_ctl_create()
1087 strlcpy(md.md_name, nam in g_stripe_ctl_create()
[all...]
/freebsd/sys/geom/cache/
H A Dg_cache.h101 char md_name[16]; /* Cache value. */ member
113 bcopy(md->md_name, data + 20, sizeof(md->md_name)); in cache_metadata_encode()
125 bcopy(data + 20, md->md_name, sizeof(md->md_name)); in cache_metadata_decode()
H A Dg_cache.c484 G_CACHE_DEBUG(1, "Creating device %s.", md->md_name); in g_cache_create()
488 G_CACHE_DEBUG(0, "Invalid size for device %s.", md->md_name); in g_cache_create()
502 if (g_cache_find_device(mp, (const char *)&md->md_name) != NULL) { in g_cache_create()
503 G_CACHE_DEBUG(0, "Provider %s already exists.", md->md_name); in g_cache_create()
507 gp = g_new_geomf(mp, "%s", md->md_name); in g_cache_create()
696 G_CACHE_DEBUG(0, "Can't create %s.", md.md_name); in g_cache_taste()
731 strlcpy(md.md_name, name, sizeof(md.md_name)); in g_cache_ctl_create()
763 gctl_error(req, "Can't create %s.", md.md_name); in g_cache_ctl_create()
827 strlcpy(md.md_name, name, sizeof(md.md_name)); in g_cache_ctl_configure()
/freebsd/sys/geom/virstor/
H A Dg_virstor_md.c48 bs_write_buf(&bs, md->md_name, sizeof(md->md_name)); in virstor_metadata_encode()
76 bs_read_buf(&bs, md->md_name, sizeof(md->md_name)); in virstor_metadata_decode()
H A Dg_virstor.c495 strncpy(md->md_name, sc->geom->name, sizeof md->md_name); in fill_metadata()
797 md.md_name, pp->name, md.md_version, G_VIRSTOR_VERSION); in g_virstor_taste()
820 if (strcmp(md.md_name, sc->geom->name) != 0) in g_virstor_taste()
827 LOG_MSG(LVL_INFO, "Adding %s to %s", pp->name, md.md_name); in g_virstor_taste()
831 pp->name, md.md_name, error); in g_virstor_taste()
838 "class %s: %s", mp->name, md.md_name); in g_virstor_taste()
840 md.md_name, pp->name); in g_virstor_taste()
845 md.md_name); in g_virstor_taste()
849 pp->name, md.md_name, error); in g_virstor_taste()
1057 md->md_name, md->md_id); in create_virstor_geom()
[all …]
H A Dg_virstor_md.h49 char md_name[16]; /* Device name (e.g. "mydata") */ member
/freebsd/crypto/openssl/apps/
H A Ddgst.c29 const char *sig_name, const char *md_name,
106 const char *md_name = NULL; in dgst_main() local
418 md_name = EVP_MD_get0_name(md); in dgst_main()
439 siglen, NULL, md_name, "stdin"); in dgst_main()
455 sigkey, sigbuf, siglen, sig_name, md_name, argv[i])) in dgst_main()
549 const char *sig_name, const char *md_name, in do_fp() argument
636 if (md_name != NULL) in do_fp()
637 BIO_printf(out, "-%s", md_name); in do_fp()
639 } else if (md_name != NULL) { in do_fp()
640 BIO_printf(out, "%s(%s)= ", md_name, file); in do_fp()
/freebsd/sys/geom/raid3/
H A Dg_raid3.h256 char md_name[16]; /* Device name. */ member
278 bcopy(md->md_name, data + 20, 16); in raid3_metadata_encode()
301 bcopy(data + 20, md->md_name, 16); in raid3_metadata_decode_v0v1v2()
330 bcopy(data + 20, md->md_name, 16); in raid3_metadata_decode_v3()
359 bcopy(data + 20, md->md_name, 16); in raid3_metadata_decode_v4v5()
416 printf(" name: %s\n", md->md_name); in raid3_metadata_dump()
/freebsd/sys/geom/mirror/
H A Dg_mirror.h243 char md_name[16]; /* Mirror name. */ member
269 bcopy(md->md_name, data + 20, 16); in mirror_metadata_encode()
295 bcopy(data + 20, md->md_name, 16); in mirror_metadata_decode_v0v1()
327 bcopy(data + 20, md->md_name, 16); in mirror_metadata_decode_v2()
359 bcopy(data + 20, md->md_name, 16); in mirror_metadata_decode_v3v4()
455 printf(" name: %s\n", md->md_name); in mirror_metadata_dump()
/freebsd/lib/geom/cache/
H A Dgeom_cache.c148 strlcpy(md.md_name, name, sizeof(md.md_name)); in cache_label()
206 printf(" Device name: %s\n", md->md_name); in cache_metadata_dump()
/freebsd/crypto/openssl/crypto/pkcs12/
H A Dp12_mutl.c90 char md_name[80]; in pkcs12_gen_mac() local
114 if (OBJ_obj2txt(md_name, sizeof(md_name), macoid, 0) < 0) in pkcs12_gen_mac()
118 md = md_fetch = EVP_MD_fetch(p12->authsafes->ctx.libctx, md_name, in pkcs12_gen_mac()
/freebsd/lib/geom/concat/
H A Dgeom_concat.c150 strlcpy(md.md_name, name, sizeof(md.md_name)); in concat_label()
219 printf(" Device name: %s\n", md->md_name); in concat_metadata_dump()
/freebsd/contrib/tcpdump/
H A Dprint-cfm.c277 const uint8_t *md_name; in cfm_print() local
397 md_name = namesp; in cfm_print()
402 nd_printjnp(ndo, md_name, md_namelength); in cfm_print()
407 ND_PRINT("\n\t MAC %s", GET_ETHERADDR_STRING(md_name)); in cfm_print()
416 print_unknown_data(ndo, md_name, "\n\t ", in cfm_print()
/freebsd/lib/geom/shsec/
H A Dgeom_shsec.c153 strlcpy(md.md_name, name, sizeof(md.md_name)); in shsec_label()
224 printf(" Device name: %s\n", md->md_name); in shsec_metadata_dump()
/freebsd/lib/geom/stripe/
H A Dgeom_stripe.c171 strlcpy(md.md_name, name, sizeof(md.md_name)); in stripe_label()
249 printf(" Device name: %s\n", md->md_name); in stripe_metadata_dump()
/freebsd/crypto/openssl/crypto/evp/
H A Ddsa_ctrl.c107 const char *md_name, in EVP_PKEY_CTX_set_dsa_paramgen_md_props() argument
117 (char *)md_name, 0); in EVP_PKEY_CTX_set_dsa_paramgen_md_props()
/freebsd/lib/geom/multipath/
H A Dgeom_multipath.c202 strlcpy(md.md_name, mpname, sizeof(md.md_name)); in mp_label()
/freebsd/lib/geom/mirror/
H A Dgeom_mirror.c198 strlcpy(md.md_name, str, sizeof(md.md_name)); in mirror_label()
385 if (strcmp(md.md_name, name) != 0) { in mirror_activate()

12