Lines Matching defs:devpath
119 char *devpath;
140 devpath = di_dim_path_dev(di_dim, driver, instance, part);
144 if ((devpath = di_dim_path_dev(di_dim,
149 if (devpath == NULL)
153 * At this point we have a devpath result. Return the information about
156 if (devpathp != NULL) /* devpath */
157 *devpathp = safe_strdup(devpath);
159 if (adevpathp != NULL) { /* abbreviated devpath */
162 a = strrchr(devpath, '/');
164 free(devpath);
173 * For example for devpath of "/dev/dsk/c0t0d0s0" the
174 * abbreviated devpath would be "c0t0d0".
180 free(devpath);
183 /* don't include slice information in devpath */
210 free(devpath);
275 char *devpath = NULL;
331 &devpath, &adevpath, want_devid ? &devid : NULL) == 0)
358 entry->dname = devpath;
373 free(devpath);