Searched refs:sav_vdevs (Results 1 – 8 of 8) sorted by relevance
1540 vdev_free(spa->spa_spares.sav_vdevs[i]); in spa_unload()1541 if (spa->spa_spares.sav_vdevs) { in spa_unload()1542 kmem_free(spa->spa_spares.sav_vdevs, in spa_unload()1544 spa->spa_spares.sav_vdevs = NULL; in spa_unload()1553 vdev_clear_stats(spa->spa_l2cache.sav_vdevs[i]); in spa_unload()1554 vdev_free(spa->spa_l2cache.sav_vdevs[i]); in spa_unload()1556 if (spa->spa_l2cache.sav_vdevs) { in spa_unload()1557 kmem_free(spa->spa_l2cache.sav_vdevs, in spa_unload()1559 spa->spa_l2cache.sav_vdevs = NULL; in spa_unload()1611 vd = spa->spa_spares.sav_vdevs[i]; in spa_load_spares()[all …]
2093 if (spa->spa_spares.sav_vdevs != NULL && in spa_vdev_remove()2118 } else if (spa->spa_l2cache.sav_vdevs != NULL && in spa_vdev_remove()
1078 vdev_t *vd = spa->spa_spares.sav_vdevs[i]; in spa_spare_poll()
4150 if (sav->sav_vdevs[c] == vd) in vdev_config_dirty()
9157 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_start()
131 vdev_t **sav_vdevs; /* devices */ member
2406 uintptr_t sav_vdevs; member2437 if (mdb_vread(aux, len, sav->sav_vdevs) == -1) { in spa_print_aux()2440 sav->sav_vdevs); in spa_print_aux()
3043 guid = sav->sav_vdevs[ztest_random(sav->sav_count)]->vdev_guid; in ztest_vdev_aux_add_remove()3056 if (strcmp(sav->sav_vdevs[c]->vdev_path, in ztest_vdev_aux_add_remove()3321 newvd = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_vdev_attach_detach()5759 vd0 = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_fault_inject()