Lines Matching defs:cname
307 char *cname;
320 cname = tname;
325 cname = Malloc(cname_len);
327 cname, cname_len, "%s/%s", sname, tname);
334 return (cname);
349 char *cname;
371 cname = tname;
376 cname = Malloc(cname_len);
378 cname, cname_len, "%s/%s", sname, tname);
385 return (cname);
1031 if (np->cname != NULL)
1032 Free(np->cname);
1068 if (p->cname != NULL)
1069 Free(p->cname);
1085 if (dnp->cname != NULL)
1086 Free(dnp->cname);
1957 if (np->cname)
1958 Free(np->cname);
1959 np->cname = Strdup(p);
1965 if (np->cname)
1966 Free(np->cname);
1967 np->cname = Strdup(p);
1973 if (np->cname)
1974 Free(np->cname);
1975 np->cname = Strdup(p);
1981 if (np->cname)
1982 Free(np->cname);
1983 np->cname = Strdup(bname);
1992 if (np->cname)
1993 Free(np->cname);
1994 np->cname = Strdup(p);
1997 if (np->cname)
1998 Free(np->cname);
2000 np->cname = Malloc(len);
2001 (void) snprintf(np->cname, len, "%s/%s", sname, p);
2101 if (np->cname != NULL)
2102 Free(np->cname);
2220 if (dnp->cname != NULL)
2221 Free(dnp->cname);
2229 if ((*np)->cname != NULL)
2230 Free((*np)->cname);
2373 char *cname;
2391 (cname = meta_canonicalize(sp, uname)) != NULL) {
2393 np->cname = cname;
2422 if ((np->cname = strrchr(uname, '/')) == NULL)
2423 np->cname = Strdup(uname);
2425 np->cname = Strdup(++np->cname);
2427 np->cname = Strdup(uname);
2435 if ((dnp->cname = metadiskname(np->cname)) == NULL)
2436 dnp->cname = Strdup(np->cname);
2470 char *cname = NULL;
2476 if ((cname = meta_name_getname(spp, uname, uname_type, ep)) == NULL)
2480 Free(cname);
2554 if ((dnp->cname = metadiskname(np->cname)) == NULL)
2555 dnp->cname = Strdup(np->cname);
2747 if ((dnp->cname = metadiskname(np->cname)) == NULL)
2748 dnp->cname = Strdup(np->cname);
2867 if ((dnp->cname = metadiskname(np->cname)) == NULL)
2868 dnp->cname = Strdup(np->cname);
2921 if ((dnp->cname != NULL &&
2922 (strcmp(dnp->cname, dname) == 0)) ||
2991 (void) mderror(ep, MDE_NOSLICE, dnp->cname);
2998 if (np->cname) {
3002 if ((namep = meta_name_getname(&sp, dnp->cname,
3106 return (np->cname);
3129 np->cname));
3152 np->cname));
3166 np->cname));
3327 char *cname = NULL;
3329 cname = meta_canonicalize(*spp, uname);
3331 if (cname == NULL) {
3335 return (cname);
3350 char *cname;
3356 if ((cname = gethspname(spp, uname, ep)) == NULL)
3363 if (strcmp(hspnp->hspname, cname) == 0) {
3364 Free(cname);
3374 MD_SIDEWILD, cname, ep)) == MD_HSP_NONE) {
3382 Free(cname);
3395 hspnp->hspname = cname;
3590 return (np->cname);
3621 return (np->cname);
3773 lcname = Strdup(mdnp->cname);