/freebsd-10.1-release/sys/geom/multipath/ |
H A D | g_multipath.h | 62 char md_name[16]; /* a friendly name */ member in struct:g_multipath_metadata 82 bcopy(md->md_name, data, sizeof(md->md_name)); 83 data += sizeof(md->md_name); 100 bcopy(data, md->md_name, sizeof(md->md_name)); 101 data += sizeof(md->md_name);
|
H A D | g_multipath.c | 293 (strcmp(md.md_name, sc->sc_name) != 0) || 307 strlcpy(md.md_name, sc->sc_name, sizeof(md.md_name)); 505 if (strcmp(gp->name, md->md_name) == 0) { 507 md->md_name); 512 gp = g_new_geomf(mp, "%s", md->md_name); 516 memcpy(sc->sc_name, md->md_name, sizeof (sc->sc_name)); 526 pp = g_new_providerf(gp, "multipath/%s", md->md_name); 815 printf("MULTIPATH: %s/%s\n", md.md_name, md.md_uuid); 843 if (strncmp(md.md_name, s [all...] |
/freebsd-10.1-release/sys/geom/concat/ |
H A D | g_concat.h | 94 char md_name[16]; /* Concat name. */ member in struct:g_concat_metadata 107 bcopy(md->md_name, data + 20, sizeof(md->md_name)); 120 bcopy(data + 20, md->md_name, sizeof(md->md_name));
|
H A D | g_concat.c | 528 strcmp(md.md_name, sc->sc_name) != 0 || 563 G_CONCAT_DEBUG(1, "Creating device %s (id=%u).", md->md_name, 573 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { 579 gp = g_new_geomf(mp, "%s", md->md_name); 726 if (strcmp(md.md_name, sc->sc_name) != 0) 745 md.md_name); 794 strlcpy(md.md_name, name, sizeof(md.md_name)); 822 gctl_error(req, "Can't configure %s.", md.md_name);
|
/freebsd-10.1-release/sys/geom/shsec/ |
H A D | g_shsec.h | 84 char md_name[16]; /* Stripe name. */ member in struct:g_shsec_metadata 97 bcopy(md->md_name, data + 20, sizeof(md->md_name)); 110 bcopy(data + 20, md->md_name, sizeof(md->md_name));
|
H A D | g_shsec.c | 504 strcmp(md.md_name, sc->sc_name) != 0 || md.md_id != sc->sc_id) { 533 G_SHSEC_DEBUG(1, "Creating device %s (id=%u).", md->md_name, md->md_id); 537 G_SHSEC_DEBUG(0, "Too few disks defined for %s.", md->md_name); 544 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { 550 gp = g_new_geomf(mp, "%s", md->md_name); 690 if (strcmp(md.md_name, sc->sc_name) != 0) 707 G_SHSEC_DEBUG(0, "Cannot create device %s.", md.md_name);
|
/freebsd-10.1-release/sys/geom/stripe/ |
H A D | g_stripe.h | 87 char md_name[16]; /* Stripe name. */ member in struct:g_stripe_metadata 101 bcopy(md->md_name, data + 20, sizeof(md->md_name)); 115 bcopy(data + 20, md->md_name, sizeof(md->md_name));
|
H A D | g_stripe.c | 796 strcmp(md.md_name, sc->sc_name) != 0 || 825 G_STRIPE_DEBUG(1, "Creating device %s (id=%u).", md->md_name, 830 G_STRIPE_DEBUG(0, "Too few disks defined for %s.", md->md_name); 836 G_STRIPE_DEBUG(0, "Invalid stripe size for %s.", md->md_name); 842 G_STRIPE_DEBUG(0, "Invalid stripe size for %s.", md->md_name); 849 if (sc != NULL && strcmp(sc->sc_name, md->md_name) == 0) { 855 gp = g_new_geomf(mp, "%s", md->md_name); 1003 if (strcmp(md.md_name, sc->sc_name) != 0) 1022 md.md_name); 1072 strlcpy(md.md_name, nam [all...] |
/freebsd-10.1-release/sys/geom/virstor/ |
H A D | g_virstor_md.c | 49 bs_write_buf(&bs, md->md_name, sizeof(md->md_name)); 78 bs_read_buf(&bs, md->md_name, sizeof(md->md_name));
|
H A D | g_virstor_md.h | 50 char md_name[16]; /* Device name (e.g. "mydata") */ member in struct:g_virstor_metadata
|
H A D | g_virstor.c | 512 strncpy(md->md_name, sc->geom->name, sizeof md->md_name); 811 md.md_name, pp->name, md.md_version, G_VIRSTOR_VERSION); 834 if (strcmp(md.md_name, sc->geom->name) != 0) 841 LOG_MSG(LVL_INFO, "Adding %s to %s", pp->name, md.md_name); 845 pp->name, md.md_name, error); 852 "class %s: %s", mp->name, md.md_name); 854 md.md_name, pp->name); 859 md.md_name); 863 pp->name, md.md_name, erro [all...] |
/freebsd-10.1-release/sys/geom/cache/ |
H A D | g_cache.h | 116 char md_name[16]; /* Cache value. */ member in struct:g_cache_metadata 128 bcopy(md->md_name, data + 20, sizeof(md->md_name)); 140 bcopy(data + 20, md->md_name, sizeof(md->md_name));
|
H A D | g_cache.c | 482 G_CACHE_DEBUG(1, "Creating device %s.", md->md_name); 486 G_CACHE_DEBUG(0, "Invalid size for device %s.", md->md_name); 500 if (g_cache_find_device(mp, (const char *)&md->md_name) != NULL) { 501 G_CACHE_DEBUG(0, "Provider %s already exists.", md->md_name); 505 gp = g_new_geomf(mp, "%s", md->md_name); 691 G_CACHE_DEBUG(0, "Can't create %s.", md.md_name); 726 strlcpy(md.md_name, name, sizeof(md.md_name)); 768 gctl_error(req, "Can't create %s.", md.md_name); 832 strlcpy(md.md_name, nam [all...] |
/freebsd-10.1-release/sys/dev/mwl/ |
H A D | mwldiag.h | 94 char md_name[IFNAMSIZ]; /* if name, e.g. "mv0" */ member in struct:mwl_diag
|
/freebsd-10.1-release/contrib/tcpdump/ |
H A D | print-cfm.c | 82 u_int8_t md_name[46]; /* md name and short ma name */ member in struct:cfm_ccm_t 379 safeputs((const char *)msg_ptr.cfm_ccm->md_name, msg_ptr.cfm_ccm->md_namelength); 384 msg_ptr.cfm_ccm->md_name)); 390 print_unknown_data(msg_ptr.cfm_ccm->md_name, "\n\t ", 399 ma_nameformat = msg_ptr.cfm_ccm->md_name + msg_ptr.cfm_ccm->md_namelength; 400 ma_namelength = msg_ptr.cfm_ccm->md_name + msg_ptr.cfm_ccm->md_namelength + 1; 401 ma_name = msg_ptr.cfm_ccm->md_name + msg_ptr.cfm_ccm->md_namelength + 2;
|
/freebsd-10.1-release/sbin/geom/class/cache/ |
H A D | geom_cache.c | 147 strlcpy(md.md_name, name, sizeof(md.md_name)); 205 printf(" Device name: %s\n", md->md_name);
|
/freebsd-10.1-release/crypto/openssl/apps/ |
H A D | dgst.c | 79 const char *sig_name, const char *md_name, 477 const char *md_name = NULL, *sig_name = NULL; local 486 md_name = EVP_MD_name(md); 497 siglen, sig_name, md_name, argv[i], bmd); 528 const char *sig_name, const char *md_name, 585 BIO_printf(out, "%s-%s(%s)= ", sig_name, md_name, file); 586 else if (md_name) 587 BIO_printf(out, "%s(%s)= ", md_name, file); 526 do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout, EVP_PKEY *key, unsigned char *sigin, int siglen, const char *sig_name, const char *md_name, const char *file, BIO *bmd) argument
|
/freebsd-10.1-release/sys/geom/mirror/ |
H A D | g_mirror.h | 241 char md_name[16]; /* Mirror name. */ member in struct:g_mirror_metadata 267 bcopy(md->md_name, data + 20, 16); 293 bcopy(data + 20, md->md_name, 16); 325 bcopy(data + 20, md->md_name, 16); 357 bcopy(data + 20, md->md_name, 16); 453 printf(" name: %s\n", md->md_name);
|
/freebsd-10.1-release/sys/geom/raid3/ |
H A D | g_raid3.h | 272 char md_name[16]; /* Device name. */ member in struct:g_raid3_metadata 294 bcopy(md->md_name, data + 20, 16); 317 bcopy(data + 20, md->md_name, 16); 346 bcopy(data + 20, md->md_name, 16); 375 bcopy(data + 20, md->md_name, 16); 432 printf(" name: %s\n", md->md_name);
|
/freebsd-10.1-release/sbin/geom/class/concat/ |
H A D | geom_concat.c | 143 strlcpy(md.md_name, name, sizeof(md.md_name)); 212 printf(" Device name: %s\n", md->md_name);
|
/freebsd-10.1-release/sbin/geom/class/shsec/ |
H A D | geom_shsec.c | 153 strlcpy(md.md_name, name, sizeof(md.md_name)); 224 printf(" Device name: %s\n", md->md_name);
|
/freebsd-10.1-release/sbin/geom/class/stripe/ |
H A D | geom_stripe.c | 171 strlcpy(md.md_name, name, sizeof(md.md_name)); 249 printf(" Device name: %s\n", md->md_name);
|
/freebsd-10.1-release/sbin/geom/class/multipath/ |
H A D | geom_multipath.c | 202 strlcpy(md.md_name, mpname, sizeof(md.md_name));
|
/freebsd-10.1-release/sbin/geom/class/raid3/ |
H A D | geom_raid3.c | 165 strlcpy(md.md_name, str, sizeof(md.md_name));
|
/freebsd-10.1-release/sbin/geom/class/mirror/ |
H A D | geom_mirror.c | 188 strlcpy(md.md_name, str, sizeof(md.md_name)); 375 if (strcmp(md.md_name, name) != 0) {
|