Home
last modified time | relevance | path

Searched refs:compnamep (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_stripe.c282 cp->compnamep = metakeyname(&sp, mdc->un_key, fast, ep); in meta_get_stripe_common()
283 if (cp->compnamep == NULL) in meta_get_stripe_common()
327 if (metagetstart(sp, cp->compnamep, in meta_get_stripe_common()
331 if ((cp->compnamep->start_blk == 0) && in meta_get_stripe_common()
338 cp->compnamep->cname); in meta_get_stripe_common()
340 if ((cp->compnamep->start_blk > 0) && in meta_get_stripe_common()
348 cp->compnamep->cname); in meta_get_stripe_common()
353 cp->compnamep->start_blk = comp_start_blk; in meta_get_stripe_common()
422 mdname_t *compnp = cp->compnamep; in in_stripe()
597 if (fprintf(fp, " %s", cp->compnamep->rname) == EOF) in stripe_print()
[all …]
H A Dmetagetroot.c113 if (metachkcomp(cp->compnamep, ep) == 0) in meta_get_current_root_dev()
114 return (cp->compnamep); in meta_get_current_root_dev()
H A Dmeta_sp.c569 err = meta_check_samedrive(compnp, msp->compnamep, ep); in meta_sp_get_by_component()
581 if (!metaismeta(msp->compnamep)) { in meta_sp_get_by_component()
588 if (meta_check_overlap(msp->compnamep->cname, in meta_sp_get_by_component()
589 compnp, 0, -1, msp->compnamep, 0, -1, ep) == 0) in meta_sp_get_by_component()
2001 if (fprintf(fp, " %s", msp->compnamep->rname) == EOF) in meta_sp_short_print()
2129 msp->compnamep->cname) == EOF) in meta_sp_report()
2162 if (! metaismeta(msp->compnamep)) { in meta_sp_report()
2174 len = strlen(msp->compnamep->cname); in meta_sp_report()
2189 if ((start_blk = meta_sp_get_start(sp, msp->compnamep, ep)) == in meta_sp_report()
2193 if ((has_mddb = metahasmddb(sp, msp->compnamep, ep)) < 0) in meta_sp_report()
[all …]
H A Dmeta_mirror.c375 if (!metaismeta(cp->compnamep)) { in meta_check_primary_mirror()
380 if (strcmp(rootnp->cname, cp->compnamep->cname) in meta_check_primary_mirror()
777 mdname_t *compnamep; in sm_state_to_action() local
781 &compnamep, &compstate, ep) != 0) { in sm_state_to_action()
788 compnamep->cname, in sm_state_to_action()
797 compnamep->cname); in sm_state_to_action()
/titanic_41/usr/src/cmd/lvm/util/
H A Dmetastat.c1208 (void) printf(" %s\n", soft_part->compnamep->cname); in print_concise_diskset()
1243 (void) printf(" %s\n", part->compnamep->cname); in print_concise_diskset()
1250 print_concise_md(META_INDENT, sp, soft_part->compnamep); in print_concise_diskset()
1488 (void) printf(" %s", comp->compnamep->cname); in print_concise_stripe()
1490 if (metaismeta(comp->compnamep)) { in print_concise_stripe()
1492 (void) meta_get_tstate(comp->compnamep->dev, in print_concise_stripe()
1530 rowp->comps.comps_val[j].compnamep); in print_concise_stripe()
1547 (void) printf(" %s\n", part->compnamep->cname); in print_concise_sp()
1549 print_concise_md(indent + META_INDENT, sp, part->compnamep); in print_concise_sp()
1788 if ((n->base = strdup(part->compnamep->cname)) == NULL) { in sp_add_done()
[all …]
H A Dmetaroot.c215 if (!metaismeta(cp->compnamep)) { in validate_stripe_root()
218 if (strcmp(slicenp->cname, cp->compnamep->cname) == 0) in validate_stripe_root()
228 "Component %s is not a stripe\n"), cp->compnamep->cname); in validate_stripe_root()
H A Dmetattach.c192 if (metachkcomp(cp->compnamep, ep) == 0) { in stripe_attach()
195 cp->compnamep->cname) == 0) { in stripe_attach()
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dinuse_svm.c362 if (new_entry(component->compnamep->bname, "stripe", in diskset_info()
394 if (new_entry(soft_part->compnamep->bname, "sp", in diskset_info()
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dsvm_rcm.c1492 component->compnamep->bname, 0, in cache_stripe()
1525 if (cache_dependent(cache, soft_part->compnamep->bname, in cache_sp()
2611 if (strcmp(softp->compnamep->bname, uname) != 0) { in check_softpart()
2619 uname, softp->compnamep->bname); in check_softpart()
2823 mcp->compnamep->bname); in check_stripe()
2825 if (strcmp(mcp->compnamep->bname, uname) != 0) in check_stripe()
/titanic_41/usr/src/uts/common/sys/lvm/
H A Dmdiox.x1028 mdname_t *compnamep; member
1071 mdname_t *compnamep; /* name of this component */ member
/titanic_41/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_svm_util.c1728 if (new_entry(listp, component->compnamep->cname, in diskset_info()
1757 if (new_entry(listp, soft_part->compnamep->cname, SVM_SP, in diskset_info()