Home
last modified time | relevance | path

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

12

/freebsd-14.2/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.c326 strlcpy(md.md_name, sc->sc_name, sizeof(md.md_name)); in g_multipath_resize()
546 if (strcmp(gp->name, md->md_name) == 0) { in g_multipath_create()
548 md->md_name); in g_multipath_create()
553 gp = g_new_geomf(mp, "%s", md->md_name); in g_multipath_create()
887 if (strncmp(md.md_name, sc->sc_name, sizeof(md.md_name)) == 0) in g_multipath_taste()
915 strlcpy(md.md_name, buf, sizeof(md.md_name)); in g_multipath_taste()
917 strlcpy(md.md_name, sc->sc_name, sizeof(md.md_name)); in g_multipath_taste()
925 md.md_name, md.md_uuid); in g_multipath_taste()
1138 strlcpy(md.md_name, mpname, sizeof(md.md_name)); in g_multipath_ctl_create()
1152 md.md_name, md.md_uuid); in g_multipath_ctl_create()
[all …]
/freebsd-14.2/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.c503 strcmp(md.md_name, sc->sc_name) != 0 || md.md_id != sc->sc_id) { in g_shsec_add_disk()
532 G_SHSEC_DEBUG(1, "Creating device %s (id=%u).", md->md_name, md->md_id); in g_shsec_create()
536 G_SHSEC_DEBUG(0, "Too few disks defined for %s.", md->md_name); in g_shsec_create()
543 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { in g_shsec_create()
549 gp = g_new_geomf(mp, "%s", md->md_name); in g_shsec_create()
692 if (strcmp(md.md_name, sc->sc_name) != 0) in g_shsec_taste()
709 G_SHSEC_DEBUG(0, "Cannot create device %s.", md.md_name); in g_shsec_taste()
/freebsd-14.2/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.c591 strcmp(md.md_name, sc->sc_name) != 0 || in g_concat_add_disk()
633 G_CONCAT_DEBUG(1, "Creating device %s (id=%u).", md->md_name, in g_concat_create()
643 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { in g_concat_create()
649 gp = g_new_geomf(mp, "%s", md->md_name); in g_concat_create()
806 if (strcmp(md.md_name, sc->sc_name) != 0) in g_concat_taste()
825 md.md_name); in g_concat_taste()
875 strlcpy(md.md_name, name, sizeof(md.md_name)); in g_concat_ctl_create()
892 gctl_error(req, "Can't configure %s.", md.md_name); in g_concat_ctl_create()
1022 strlcpy(md.md_name, sc->sc_name, sizeof(md.md_name)); in g_concat_write_metadata()
/freebsd-14.2/sys/geom/stripe/
H A Dg_stripe.h75 char md_name[16]; /* Stripe name. */ member
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()
H A Dg_stripe.c795 strcmp(md.md_name, sc->sc_name) != 0 || in g_stripe_add_disk()
838 G_STRIPE_DEBUG(1, "Creating device %s (id=%u).", md->md_name, in g_stripe_create()
843 G_STRIPE_DEBUG(0, "Too few disks defined for %s.", md->md_name); in g_stripe_create()
849 G_STRIPE_DEBUG(0, "Invalid stripe size for %s.", md->md_name); in g_stripe_create()
855 G_STRIPE_DEBUG(0, "Invalid stripe size for %s.", md->md_name); in g_stripe_create()
862 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { in g_stripe_create()
868 gp = g_new_geomf(mp, "%s", md->md_name); in g_stripe_create()
1019 if (strcmp(md.md_name, sc->sc_name) != 0) in g_stripe_taste()
1038 md.md_name); in g_stripe_taste()
1088 strlcpy(md.md_name, name, sizeof(md.md_name)); in g_stripe_ctl_create()
[all …]
/freebsd-14.2/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.c485 G_CACHE_DEBUG(1, "Creating device %s.", md->md_name); in g_cache_create()
489 G_CACHE_DEBUG(0, "Invalid size for device %s.", md->md_name); in g_cache_create()
503 if (g_cache_find_device(mp, (const char *)&md->md_name) != NULL) { in g_cache_create()
504 G_CACHE_DEBUG(0, "Provider %s already exists.", md->md_name); in g_cache_create()
508 gp = g_new_geomf(mp, "%s", md->md_name); in g_cache_create()
697 G_CACHE_DEBUG(0, "Can't create %s.", md.md_name); in g_cache_taste()
732 strlcpy(md.md_name, name, sizeof(md.md_name)); in g_cache_ctl_create()
764 gctl_error(req, "Can't create %s.", md.md_name); in g_cache_ctl_create()
828 strlcpy(md.md_name, name, sizeof(md.md_name)); in g_cache_ctl_configure()
/freebsd-14.2/sys/geom/virstor/
H A Dg_virstor_md.c49 bs_write_buf(&bs, md->md_name, sizeof(md->md_name)); in virstor_metadata_encode()
77 bs_read_buf(&bs, md->md_name, sizeof(md->md_name)); in virstor_metadata_decode()
H A Dg_virstor.c496 strncpy(md->md_name, sc->geom->name, sizeof md->md_name); in fill_metadata()
821 if (strcmp(md.md_name, sc->geom->name) != 0) in g_virstor_taste()
832 pp->name, md.md_name, error); in g_virstor_taste()
839 "class %s: %s", mp->name, md.md_name); in g_virstor_taste()
841 md.md_name, pp->name); in g_virstor_taste()
846 md.md_name); in g_virstor_taste()
850 pp->name, md.md_name, error); in g_virstor_taste()
1058 md->md_name, md->md_id); in create_virstor_geom()
1065 md->md_name); in create_virstor_geom()
1074 md->md_name); in create_virstor_geom()
[all …]
H A Dg_virstor_md.h49 char md_name[16]; /* Device name (e.g. "mydata") */ member
/freebsd-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/lib/geom/concat/
H A Dgeom_concat.c151 strlcpy(md.md_name, name, sizeof(md.md_name)); in concat_label()
220 printf(" Device name: %s\n", md->md_name); in concat_metadata_dump()
/freebsd-14.2/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-14.2/lib/geom/shsec/
H A Dgeom_shsec.c154 strlcpy(md.md_name, name, sizeof(md.md_name)); in shsec_label()
225 printf(" Device name: %s\n", md->md_name); in shsec_metadata_dump()
/freebsd-14.2/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-14.2/lib/geom/stripe/
H A Dgeom_stripe.c172 strlcpy(md.md_name, name, sizeof(md.md_name)); in stripe_label()
250 printf(" Device name: %s\n", md->md_name); in stripe_metadata_dump()
/freebsd-14.2/lib/geom/multipath/
H A Dgeom_multipath.c203 strlcpy(md.md_name, mpname, sizeof(md.md_name)); in mp_label()
/freebsd-14.2/sys/dev/mwl/
H A Dmwldiag.h94 char md_name[IFNAMSIZ]; /* if name, e.g. "mv0" */ member

12