Searched refs:vdev_fru (Results 1 – 5 of 5) sorted by relevance
195 char *vdev_fru; /* physical FRU location */ member
272 if (vd->vdev_fru != NULL) in zfs_ereport_start()275 DATA_TYPE_STRING, vd->vdev_fru, NULL); in zfs_ereport_start()
237 if (vd->vdev_fru != NULL) in vdev_config_generate()238 fnvlist_add_string(nv, ZPOOL_CONFIG_FRU, vd->vdev_fru); in vdev_config_generate()
475 if (nvlist_lookup_string(nv, ZPOOL_CONFIG_FRU, &vd->vdev_fru) == 0) in vdev_alloc()476 vd->vdev_fru = spa_strdup(vd->vdev_fru); in vdev_alloc()646 if (vd->vdev_fru) in vdev_free()647 spa_strfree(vd->vdev_fru); in vdev_free()
5555 if (vd->vdev_fru == NULL) { in spa_vdev_set_common()5556 vd->vdev_fru = spa_strdup(value); in spa_vdev_set_common()5558 } else if (strcmp(value, vd->vdev_fru) != 0) { in spa_vdev_set_common()5559 spa_strfree(vd->vdev_fru); in spa_vdev_set_common()5560 vd->vdev_fru = spa_strdup(value); in spa_vdev_set_common()