Searched refs:vdev_devid (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | vdev_disk.c | 219 if (vd->vdev_devid != NULL && in vdev_disk_hold() 220 ddi_devid_str_decode(vd->vdev_devid, &devid, &minor) == 0) { in vdev_disk_hold() 351 if (vd->vdev_devid != NULL) { in vdev_disk_open() 352 if (ddi_devid_str_decode(vd->vdev_devid, &dvd->vd_devid, in vdev_disk_open() 392 if (error == 0 && vd->vdev_devid != NULL && in vdev_disk_open() 415 if (error != 0 && vd->vdev_devid != NULL) { in vdev_disk_open() 427 if (vd->vdev_devid != NULL) in vdev_disk_open() 461 "to %s", vd->vdev_path, vd->vdev_devid, vd_devid); in vdev_disk_open() 462 spa_strfree(vd->vdev_devid); in vdev_disk_open() 463 vd->vdev_devid = spa_strdup(vd_devid); in vdev_disk_open()
|
H A D | zfs_fm.c | 268 if (vd->vdev_devid != NULL) in zfs_ereport_start() 271 DATA_TYPE_STRING, vd->vdev_devid, NULL); in zfs_ereport_start() 288 if (pvd->vdev_devid) in zfs_ereport_start() 291 DATA_TYPE_STRING, pvd->vdev_devid, NULL); in zfs_ereport_start()
|
H A D | vdev_label.c | 230 if (vd->vdev_devid != NULL) in vdev_config_generate() 231 fnvlist_add_string(nv, ZPOOL_CONFIG_DEVID, vd->vdev_devid); in vdev_config_generate()
|
H A D | vdev.c | 470 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_DEVID, &vd->vdev_devid) == 0) in vdev_alloc() 471 vd->vdev_devid = spa_strdup(vd->vdev_devid); in vdev_alloc() 642 if (vd->vdev_devid) in vdev_free() 643 spa_strfree(vd->vdev_devid); in vdev_free()
|
H A D | spa.c | 3774 if (vdev_disk_read_rootlabel(vd->vdev_physpath, vd->vdev_devid, in spa_alt_rootvdev() 4565 if (oldvd->vdev_devid != NULL) { in spa_vdev_attach() 4566 spa_strfree(oldvd->vdev_devid); in spa_vdev_attach() 4567 oldvd->vdev_devid = NULL; in spa_vdev_attach()
|
/titanic_41/usr/src/uts/common/fs/zfs/sys/ |
H A D | vdev_impl.h | 193 char *vdev_devid; /* vdev devid (if any) */ member
|