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.c1814 spa->spa_spares.sav_vdevs[v], flags); in vdev_uberblock_sync_list()
1818 spa->spa_l2cache.sav_vdevs[v], flags); in vdev_uberblock_sync_list()
1838 if (vdev_writeable(spa->spa_spares.sav_vdevs[v])) { in vdev_uberblock_sync_list()
1839 zio_flush(zio, spa->spa_spares.sav_vdevs[v]); in vdev_uberblock_sync_list()
1843 if (vdev_writeable(spa->spa_l2cache.sav_vdevs[v])) { in vdev_uberblock_sync_list()
1844 zio_flush(zio, spa->spa_l2cache.sav_vdevs[v]); in vdev_uberblock_sync_list()
1995 vdev_label_sync(vio, good_writes, sav[i]->sav_vdevs[v], in vdev_label_sync_list()
2015 zio_flush(zio, sav[i]->sav_vdevs[v]); in vdev_label_sync_list()
H A Dspa_config.c270 vdev_post_kobj_evt(target->spa_l2cache.sav_vdevs[i]); in spa_write_cachefile()
272 vdev_post_kobj_evt(target->spa_spares.sav_vdevs[i]); in spa_write_cachefile()
H A Dspa.c1113 vdev_clear_kobj_evt(spa->spa_l2cache.sav_vdevs[i]); in spa_change_guid()
2368 if (spa->spa_spares.sav_vdevs) { in spa_unload()
2370 vdev_free(spa->spa_spares.sav_vdevs[i]); in spa_unload()
2371 kmem_free(spa->spa_spares.sav_vdevs, in spa_unload()
2373 spa->spa_spares.sav_vdevs = NULL; in spa_unload()
2381 if (spa->spa_l2cache.sav_vdevs) { in spa_unload()
2383 vdev_clear_stats(spa->spa_l2cache.sav_vdevs[i]); in spa_unload()
2384 vdev_free(spa->spa_l2cache.sav_vdevs[i]); in spa_unload()
2386 kmem_free(spa->spa_l2cache.sav_vdevs, in spa_unload()
2388 spa->spa_l2cache.sav_vdevs = NULL; in spa_unload()
[all …]
H A Dvdev_draid.c2570 if (sav->sav_vdevs[i]->vdev_ops == &vdev_draid_spare_ops && in vdev_draid_read_config_spare()
2571 strcmp(sav->sav_vdevs[i]->vdev_path, vd->vdev_path) == 0) { in vdev_draid_read_config_spare()
2572 guid = sav->sav_vdevs[i]->vdev_guid; in vdev_draid_read_config_spare()
H A Dvdev_trim.c1139 vd_l2cache = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_stop_all()
1698 vdev_t *vd = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_l2arc()
H A Dvdev_removal.c2459 if (spa->spa_spares.sav_vdevs != NULL && in spa_vdev_remove()
2495 } else if (spa->spa_l2cache.sav_vdevs != NULL && in spa_vdev_remove()
H A Dzfs_fm.c631 spare_vd = spa->spa_spares.sav_vdevs[i]; in zfs_ereport_start()
H A Darc.c10251 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_start()
10274 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_stop()
10283 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_stop()
H A Dvdev.c5333 if (sav->sav_vdevs[c] == vd) in vdev_config_dirty()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h144 vdev_t **sav_vdevs; /* devices */ member
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c3529 vdev_t *svd = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_vdev_aux_add_remove()
3547 if (strcmp(sav->sav_vdevs[c]->vdev_path, in ztest_vdev_aux_add_remove()
3842 newvd = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_vdev_attach_detach()
6565 vd0 = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_fault_inject()