Searched refs:spa_l2cache (Results 1 – 8 of 8) sorted by relevance
1552 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { 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()1558 spa->spa_l2cache.sav_count * sizeof (void *)); in spa_unload()1559 spa->spa_l2cache.sav_vdevs = NULL; in spa_unload()1561 if (spa->spa_l2cache.sav_config) { in spa_unload()1562 nvlist_free(spa->spa_l2cache.sav_config); in spa_unload()1563 spa->spa_l2cache.sav_config = NULL; in spa_unload()[all …]
2118 } else if (spa->spa_l2cache.sav_vdevs != NULL && in spa_vdev_remove()2119 nvlist_lookup_nvlist_array(spa->spa_l2cache.sav_config, in spa_vdev_remove()2130 spa_vdev_remove_aux(spa->spa_l2cache.sav_config, in spa_vdev_remove()2133 spa->spa_l2cache.sav_sync = B_TRUE; in spa_vdev_remove()
9155 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_start()9157 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_start()
2200 vd->vdev_aux == &spa->spa_l2cache) { in vdev_reopen()
257 spa_aux_vdev_t spa_l2cache; /* L2ARC cache devices */ member
2407 mdb_spa_aux_vdev_t spa_l2cache; member2517 if (spa_print_aux(&spa.spa_l2cache, flags, v, "cache") != 0 || in spa_vdevs()
3031 sav = &spa->spa_l2cache; in ztest_vdev_aux_add_remove()5752 spa_aux_vdev_t *sav = &spa->spa_l2cache; in ztest_fault_inject()
5565 mos_obj_refd(spa->spa_l2cache.sav_object); in dump_mos_leaks()