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.c1112 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) in spa_change_guid()
1113 vdev_clear_kobj_evt(spa->spa_l2cache.sav_vdevs[i]); in spa_change_guid()
2381 if (spa->spa_l2cache.sav_vdevs) { in spa_unload()
2382 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { 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()
2387 spa->spa_l2cache.sav_count * sizeof (void *)); in spa_unload()
2388 spa->spa_l2cache.sav_vdevs = NULL; in spa_unload()
2390 if (spa->spa_l2cache.sav_config) { in spa_unload()
[all …]
H A Dspa_config.c269 for (int i = 0; i < target->spa_l2cache.sav_count; i++) in spa_write_cachefile()
270 vdev_post_kobj_evt(target->spa_l2cache.sav_vdevs[i]); in spa_write_cachefile()
H A Dvdev_label.c1816 for (int v = 0; v < spa->spa_l2cache.sav_count; v++) { in vdev_uberblock_sync_list()
1818 spa->spa_l2cache.sav_vdevs[v], flags); in vdev_uberblock_sync_list()
1842 for (int v = 0; v < spa->spa_l2cache.sav_count; 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()
1986 spa_aux_vdev_t *sav[2] = {&spa->spa_spares, &spa->spa_l2cache}; in vdev_label_sync_list()
H A Dvdev_trim.c1138 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in vdev_trim_stop_all()
1139 vd_l2cache = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_stop_all()
1697 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in vdev_trim_l2arc()
1698 vdev_t *vd = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_l2arc()
H A Dvdev_removal.c2495 } else if (spa->spa_l2cache.sav_vdevs != NULL && in spa_vdev_remove()
2496 nvlist_lookup_nvlist_array(spa->spa_l2cache.sav_config, in spa_vdev_remove()
2521 spa_vdev_remove_aux(spa->spa_l2cache.sav_config, in spa_vdev_remove()
2524 spa->spa_l2cache.sav_sync = B_TRUE; in spa_vdev_remove()
H A Darc.c6299 spa->spa_l2cache.sav_count > 0; in arc_read()
10249 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_start()
10251 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_start()
10272 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_stop()
10274 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_stop()
10281 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_stop()
10283 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_stop()
H A Dvdev.c2885 vd->vdev_aux == &spa->spa_l2cache) { in vdev_reopen()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h284 spa_aux_vdev_t spa_l2cache; /* L2ARC cache devices */ member
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c3517 sav = &spa->spa_l2cache; in ztest_vdev_aux_add_remove()
6558 spa_aux_vdev_t *sav = &spa->spa_l2cache; in ztest_fault_inject()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c8452 mos_obj_refd(spa->spa_l2cache.sav_object); in dump_mos_leaks()