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 Dvdev_label.c1820 spa->spa_spares.sav_vdevs[v], flags); in vdev_uberblock_sync_list()
1824 spa->spa_l2cache.sav_vdevs[v], flags); in vdev_uberblock_sync_list()
1844 if (vdev_writeable(spa->spa_spares.sav_vdevs[v])) { in vdev_uberblock_sync_list()
1845 zio_flush(zio, spa->spa_spares.sav_vdevs[v]); in vdev_uberblock_sync_list()
1849 if (vdev_writeable(spa->spa_l2cache.sav_vdevs[v])) { in vdev_uberblock_sync_list()
1850 zio_flush(zio, spa->spa_l2cache.sav_vdevs[v]); in vdev_uberblock_sync_list()
2001 vdev_label_sync(vio, good_writes, sav[i]->sav_vdevs[v], in vdev_label_sync_list()
2021 zio_flush(zio, sav[i]->sav_vdevs[v]); in vdev_label_sync_list()
H A Dspa.c1072 vdev_clear_kobj_evt(spa->spa_l2cache.sav_vdevs[i]); in spa_change_guid()
2154 if (spa->spa_spares.sav_vdevs) { in spa_unload()
2156 vdev_free(spa->spa_spares.sav_vdevs[i]); in spa_unload()
2157 kmem_free(spa->spa_spares.sav_vdevs, in spa_unload()
2159 spa->spa_spares.sav_vdevs = NULL; in spa_unload()
2167 if (spa->spa_l2cache.sav_vdevs) { in spa_unload()
2169 vdev_clear_stats(spa->spa_l2cache.sav_vdevs[i]); in spa_unload()
2170 vdev_free(spa->spa_l2cache.sav_vdevs[i]); in spa_unload()
2172 kmem_free(spa->spa_l2cache.sav_vdevs, in spa_unload()
2174 spa->spa_l2cache.sav_vdevs = NULL; in spa_unload()
[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_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.c1136 vd_l2cache = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_stop_all()
1689 vdev_t *vd = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_l2arc()
H A Dvdev_removal.c2413 if (spa->spa_spares.sav_vdevs != NULL && in spa_vdev_remove()
2449 } else if (spa->spa_l2cache.sav_vdevs != NULL && in spa_vdev_remove()
H A Dzfs_fm.c627 spare_vd = spa->spa_spares.sav_vdevs[i]; in zfs_ereport_start()
H A Darc.c10064 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_start()
10087 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_stop()
10096 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_stop()
H A Dvdev.c5180 if (sav->sav_vdevs[c] == vd) in vdev_config_dirty()
/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.c3528 vdev_t *svd = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_vdev_aux_add_remove()
3546 if (strcmp(sav->sav_vdevs[c]->vdev_path, in ztest_vdev_aux_add_remove()
3841 newvd = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_vdev_attach_detach()
6560 vd0 = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_fault_inject()