Home
last modified time | relevance | path

Searched refs:sav_vdevs (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa.c2087 if (spa->spa_spares.sav_vdevs) { in spa_unload()
2092 spa->spa_spares.sav_vdevs = NULL; in spa_unload()
2100 if (spa->spa_l2cache.sav_vdevs) { in spa_unload()
2107 spa->spa_l2cache.sav_vdevs = NULL; in spa_unload()
2164 if (spa->spa_spares.sav_vdevs) { in spa_load_spares()
2187 spa->spa_spares.sav_vdevs = NULL; in spa_load_spares()
2208 spa->spa_spares.sav_vdevs[i] = vd; in spa_load_spares()
2294 oldvdevs = sav->sav_vdevs; in spa_load_l2cache()
2296 sav->sav_vdevs = NULL; in spa_load_l2cache()
2367 sav->sav_vdevs = newvdevs; in spa_load_l2cache()
[all …]
H A Dspa_config.c358 vdev_post_kobj_evt(target->spa_l2cache.sav_vdevs[i]); in spa_write_cachefile()
360 vdev_post_kobj_evt(target->spa_spares.sav_vdevs[i]); in spa_write_cachefile()
H A Dvdev_label.c1816 spa->spa_spares.sav_vdevs[v], flags); in vdev_uberblock_sync_list()
1820 spa->spa_l2cache.sav_vdevs[v], flags); in vdev_uberblock_sync_list()
1840 if (vdev_writeable(spa->spa_spares.sav_vdevs[v])) { in vdev_uberblock_sync_list()
1841 zio_flush(zio, spa->spa_spares.sav_vdevs[v]); in vdev_uberblock_sync_list()
1845 if (vdev_writeable(spa->spa_l2cache.sav_vdevs[v])) { in vdev_uberblock_sync_list()
1846 zio_flush(zio, spa->spa_l2cache.sav_vdevs[v]); in vdev_uberblock_sync_list()
H A Dvdev_draid.c2538 if (sav->sav_vdevs[i]->vdev_ops == &vdev_draid_spare_ops && in vdev_draid_read_config_spare()
2539 strcmp(sav->sav_vdevs[i]->vdev_path, vd->vdev_path) == 0) { in vdev_draid_read_config_spare()
2540 guid = sav->sav_vdevs[i]->vdev_guid; in vdev_draid_read_config_spare()
H A Dvdev_trim.c1134 vd_l2cache = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_stop_all()
1686 vdev_t *vd = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_l2arc()
H A Dvdev_removal.c2408 if (spa->spa_spares.sav_vdevs != NULL && in spa_vdev_remove()
2444 } else if (spa->spa_l2cache.sav_vdevs != NULL && in spa_vdev_remove()
H A Dzfs_fm.c625 spare_vd = spa->spa_spares.sav_vdevs[i]; in zfs_ereport_start()
H A Dvdev.c5132 if (sav->sav_vdevs[c] == vd) in vdev_config_dirty()
H A Darc.c9737 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_start()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h146 vdev_t **sav_vdevs; /* devices */ member
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c3503 vdev_t *svd = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_vdev_aux_add_remove()
3521 if (strcmp(sav->sav_vdevs[c]->vdev_path, in ztest_vdev_aux_add_remove()
3816 newvd = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_vdev_attach_detach()
6520 vd0 = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_fault_inject()