Home
last modified time | relevance | path

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

/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dspa.c2046 if (spa->spa_spares.sav_vdevs) { in spa_unload()
2051 spa->spa_spares.sav_vdevs = NULL; in spa_unload()
2059 if (spa->spa_l2cache.sav_vdevs) { in spa_unload()
2066 spa->spa_l2cache.sav_vdevs = NULL; in spa_unload()
2121 if (spa->spa_spares.sav_vdevs) { in spa_load_spares()
2144 spa->spa_spares.sav_vdevs = NULL; in spa_load_spares()
2165 spa->spa_spares.sav_vdevs[i] = vd; in spa_load_spares()
2251 oldvdevs = sav->sav_vdevs; in spa_load_l2cache()
2253 sav->sav_vdevs = NULL; in spa_load_l2cache()
2324 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.c1771 spa->spa_spares.sav_vdevs[v], flags); in vdev_uberblock_sync_list()
1775 spa->spa_l2cache.sav_vdevs[v], flags); in vdev_uberblock_sync_list()
1795 if (vdev_writeable(spa->spa_spares.sav_vdevs[v])) { in vdev_uberblock_sync_list()
1796 zio_flush(zio, spa->spa_spares.sav_vdevs[v]); in vdev_uberblock_sync_list()
1800 if (vdev_writeable(spa->spa_l2cache.sav_vdevs[v])) { in vdev_uberblock_sync_list()
1801 zio_flush(zio, spa->spa_l2cache.sav_vdevs[v]); in vdev_uberblock_sync_list()
H A Dvdev_draid.c2552 if (sav->sav_vdevs[i]->vdev_ops == &vdev_draid_spare_ops && in vdev_draid_read_config_spare()
2553 strcmp(sav->sav_vdevs[i]->vdev_path, vd->vdev_path) == 0) { in vdev_draid_read_config_spare()
2554 guid = sav->sav_vdevs[i]->vdev_guid; in vdev_draid_read_config_spare()
H A Dvdev_trim.c1127 vd_l2cache = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_stop_all()
1676 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.c5094 if (sav->sav_vdevs[c] == vd) in vdev_config_dirty()
H A Darc.c9735 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_start()
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h139 vdev_t **sav_vdevs; /* devices */ member
/freebsd-14.2/sys/contrib/openzfs/cmd/
H A Dztest.c3406 vdev_t *svd = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_vdev_aux_add_remove()
3424 if (strcmp(sav->sav_vdevs[c]->vdev_path, in ztest_vdev_aux_add_remove()
3709 newvd = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_vdev_attach_detach()
6170 vd0 = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_fault_inject()