Lines Matching refs:mdname
159 * mdname - pointer to string pointer that will contain the
162 * mdname - md root device name
170 get_rootmetadevice(char *mntpath, char **mdname)
178 if (mdname == NULL)
181 *mdname = NULL;
209 *mdname = (char *)malloc(strlen(cp) + 1);
211 if (*mdname == NULL) {
215 (void) strcpy(*mdname, cp);
216 debug_printf("get_rootmetadevice(): *mdname %s rval %d\n",
217 *mdname, rval);
454 char mdname[MAXPATHLEN];
466 (void) strlcpy(mdname, cp, numlen + 1);
468 setnum = atoi(mdname);
478 (void) snprintf(mdname, MAXPATHLEN, "%s/%s", sp->setname,
480 /* mdname now contains diskset and metadevice name e.g. foo/d10 */
482 debug_printf("svm_get_components(): mdname %s\n", mdname);
483 return (get_mdcomponents(mdname, svmpp));