Lines Matching defs:path
749 * file - the path to the capability file we want to parse.
884 char *path, *dsk_ptr;
890 if (nvlist_lookup_string(child, ZPOOL_CONFIG_PATH, &path) != 0) {
892 "failed to get device path\n"));
905 path, zpool_state_to_name(vs->vs_state, vs->vs_aux));
906 free(path);
911 * Modify the vdev path to point to the raw disk.
913 path = strdup(path);
914 if (path == NULL)
917 dsk_ptr = strstr(path, "/dsk/");
925 (void) snprintf(diskname, sizeof (diskname), "%s/r%s", path, dsk_ptr);
926 free(path);