Home
last modified time | relevance | path

Searched refs:spa_l2cache (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa.c1072 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) in spa_change_guid()
1073 vdev_clear_kobj_evt(spa->spa_l2cache.sav_vdevs[i]); in spa_change_guid()
2168 if (spa->spa_l2cache.sav_vdevs) { in spa_unload()
2169 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in spa_unload()
2170 vdev_clear_stats(spa->spa_l2cache.sav_vdevs[i]); in spa_unload()
2171 vdev_free(spa->spa_l2cache.sav_vdevs[i]); in spa_unload()
2173 kmem_free(spa->spa_l2cache.sav_vdevs, in spa_unload()
2174 spa->spa_l2cache.sav_count * sizeof (void *)); in spa_unload()
2175 spa->spa_l2cache.sav_vdevs = NULL; in spa_unload()
2177 if (spa->spa_l2cache.sav_config) { in spa_unload()
[all …]
H A Dspa_config.c358 for (int i = 0; i < target->spa_l2cache.sav_count; i++) in spa_write_cachefile()
359 vdev_post_kobj_evt(target->spa_l2cache.sav_vdevs[i]); in spa_write_cachefile()
H A Dvdev_label.c1823 for (int v = 0; v < spa->spa_l2cache.sav_count; v++) { in vdev_uberblock_sync_list()
1825 spa->spa_l2cache.sav_vdevs[v], flags); in vdev_uberblock_sync_list()
1849 for (int v = 0; v < spa->spa_l2cache.sav_count; v++) { in vdev_uberblock_sync_list()
1850 if (vdev_writeable(spa->spa_l2cache.sav_vdevs[v])) { in vdev_uberblock_sync_list()
1851 zio_flush(zio, spa->spa_l2cache.sav_vdevs[v]); in vdev_uberblock_sync_list()
1993 spa_aux_vdev_t *sav[2] = {&spa->spa_spares, &spa->spa_l2cache}; in vdev_label_sync_list()
H A Dvdev_trim.c1136 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in vdev_trim_stop_all()
1137 vd_l2cache = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_stop_all()
1689 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in vdev_trim_l2arc()
1690 vdev_t *vd = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_l2arc()
H A Dvdev_removal.c2470 } else if (spa->spa_l2cache.sav_vdevs != NULL && in spa_vdev_remove()
2471 nvlist_lookup_nvlist_array(spa->spa_l2cache.sav_config, in spa_vdev_remove()
2496 spa_vdev_remove_aux(spa->spa_l2cache.sav_config, in spa_vdev_remove()
2499 spa->spa_l2cache.sav_sync = B_TRUE; in spa_vdev_remove()
H A Darc.c6106 spa->spa_l2cache.sav_count > 0; in arc_read()
10044 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_start()
10046 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_start()
10067 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_stop()
10069 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_stop()
10076 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_stop()
10078 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_stop()
H A Dvdev.c2768 vd->vdev_aux == &spa->spa_l2cache) { in vdev_reopen()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h280 spa_aux_vdev_t spa_l2cache; /* L2ARC cache devices */ member
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c3518 sav = &spa->spa_l2cache; in ztest_vdev_aux_add_remove()
6555 spa_aux_vdev_t *sav = &spa->spa_l2cache; in ztest_fault_inject()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c8229 mos_obj_refd(spa->spa_l2cache.sav_object); in dump_mos_leaks()