Lines Matching refs:driver
119 drvinstunitpart2dev(char *driver, int instunit, char *part, in drvinstunitpart2dev() argument
156 s = strstr(driver, "/md"); in drvinstunitpart2dev()
157 if ((strcmp(driver, "md") == 0) || in drvinstunitpart2dev()
158 (s && isdigit(*driver) && (strcmp(s, "/md") == 0))) { in drvinstunitpart2dev()
166 if (isdigit(*driver)) { in drvinstunitpart2dev()
167 mdsetno = atoi(driver); in drvinstunitpart2dev()
174 driver = "md"; in drvinstunitpart2dev()
185 devpath = di_dim_path_dev(di_dim, driver, instance, part); in drvinstunitpart2dev()
190 driver, instance, mm->minor_name)) != NULL) in drvinstunitpart2dev()
269 driver, instance, NULL); in drvinstunitpart2dev()
347 char driver[KSTAT_STRLEN]; in lookup_ks_name() local
390 (void) strncpy(driver, ks_name, len); in lookup_ks_name()
391 driver[len] = '\0'; in lookup_ks_name()
407 if (drvinstunitpart2dev(driver, instunit, part, in lookup_ks_name()