Lines Matching refs:vdev_path
127 if (vd->vdev_path != NULL) { in vdev_dbgmsg()
129 vd->vdev_path, buf); in vdev_dbgmsg()
183 vd->vdev_path ? vd->vdev_path : "N/A", state); in vdev_dbgmsg_print_tree()
690 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &vd->vdev_path) == 0) in vdev_alloc()
691 vd->vdev_path = spa_strdup(vd->vdev_path); in vdev_alloc()
905 if (vd->vdev_path) in vdev_free()
906 spa_strfree(vd->vdev_path); in vdev_free()
1516 if (vd->vdev_path && strncmp(vd->vdev_path, ZVOL_DIR, in vdev_uses_zvols()
2001 if (svd->vdev_path != NULL && dvd->vdev_path != NULL) { in vdev_copy_path_impl()
2002 if (strcmp(svd->vdev_path, dvd->vdev_path) != 0) { in vdev_copy_path_impl()
2005 dvd->vdev_path, svd->vdev_path); in vdev_copy_path_impl()
2006 spa_strfree(dvd->vdev_path); in vdev_copy_path_impl()
2007 dvd->vdev_path = spa_strdup(svd->vdev_path); in vdev_copy_path_impl()
2009 } else if (svd->vdev_path != NULL) { in vdev_copy_path_impl()
2010 dvd->vdev_path = spa_strdup(svd->vdev_path); in vdev_copy_path_impl()
2012 (u_longlong_t)dvd->vdev_guid, dvd->vdev_path); in vdev_copy_path_impl()