Lines Matching defs:cname
163 char *cname = NULL;
170 cname = meta_name_getname(spp, fname, META_DEVICE, ep);
171 if (cname == NULL)
173 Free(cname);
451 char *cname = NULL;
454 cname = meta_name_getname(&sp, uname, META_DEVICE, ep);
455 if (cname == NULL) {
466 np = metaname(&sp, cname, META_DEVICE, ep);
476 if (print_name(&sp, cname, &nlistp, NULL, stdout,
483 Free(cname);
493 char *cname = NULL;
496 cname = meta_name_getname(&sp, uname, META_DEVICE, ep);
497 if (cname == NULL) {
505 if (is_existing_hsp(sp, cname)) {
510 if ((hspnamep = metahspname(&sp, cname,
539 if (((namep = metaname(&sp, cname,
553 Free(cname);
1187 mdn = metaname(&sp, nlp->namep->cname,
1191 print_concise_entry(0, nlp->namep->cname,
1206 print_concise_entry(0, soft_part->common.namep->cname,
1208 (void) printf(" %s\n", soft_part->compnamep->cname);
1224 mdn = metaname(&sp, tnlp->namep->cname,
1241 part->common.namep->cname,
1243 (void) printf(" %s\n", part->compnamep->cname);
1293 (void) printf(" %s", hs->hsnamep->cname);
1322 mdn = metaname(&sp, nlp->namep->cname, META_DEVICE, &error);
1325 print_concise_entry(0, nlp->namep->cname, 0, mtype);
1353 print_concise_entry(indent, mirror->common.namep->cname,
1362 (void) printf(" %s", mirror->submirrors[i].submirnamep->cname);
1404 print_concise_entry(indent, raid->common.namep->cname,
1416 colp->hsnamep->cname : NULL);
1419 (void) printf(" %s", colp->colnamep->cname);
1467 print_concise_entry(indent, stripe->common.namep->cname,
1488 (void) printf(" %s", comp->compnamep->cname);
1504 comp->hsnamep->cname : NULL);
1544 print_concise_entry(indent, part->common.namep->cname,
1547 (void) printf(" %s\n", part->compnamep->cname);
1561 print_concise_entry(indent, trans->common.namep->cname,
1565 (void) printf(" %s", trans->masternamep->cname);
1568 (void) printf(" %s", trans->lognamep->cname);
1664 np->cname);
1788 if ((n->base = strdup(part->compnamep->cname)) == NULL) {
1805 if (strcmp(lp->base, part->compnamep->cname) == 0)
1818 if (lp != NULL && strcmp(lp->base, part->compnamep->cname) == 0)