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.c1159 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) in spa_change_guid()
1160 vdev_clear_kobj_evt(spa->spa_l2cache.sav_vdevs[i]); in spa_change_guid()
2443 if (spa->spa_l2cache.sav_vdevs) { in spa_unload()
2444 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in spa_unload()
2445 vdev_clear_stats(spa->spa_l2cache.sav_vdevs[i]); in spa_unload()
2446 vdev_free(spa->spa_l2cache.sav_vdevs[i]); in spa_unload()
2448 kmem_free(spa->spa_l2cache.sav_vdevs, in spa_unload()
2449 spa->spa_l2cache.sav_count * sizeof (void *)); in spa_unload()
2450 spa->spa_l2cache.sav_vdevs = NULL; in spa_unload()
2452 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.c1853 for (int v = 0; v < spa->spa_l2cache.sav_count; v++) { in vdev_uberblock_sync_list()
1855 spa->spa_l2cache.sav_vdevs[v], flags); in vdev_uberblock_sync_list()
1879 for (int v = 0; v < spa->spa_l2cache.sav_count; v++) { in vdev_uberblock_sync_list()
1880 if (vdev_writeable(spa->spa_l2cache.sav_vdevs[v])) { in vdev_uberblock_sync_list()
1881 zio_flush(zio, spa->spa_l2cache.sav_vdevs[v]); in vdev_uberblock_sync_list()
2023 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.c2494 } else if (spa->spa_l2cache.sav_vdevs != NULL && in spa_vdev_remove()
2495 nvlist_lookup_nvlist_array(spa->spa_l2cache.sav_config, in spa_vdev_remove()
2520 spa_vdev_remove_aux(spa->spa_l2cache.sav_config, in spa_vdev_remove()
2523 spa->spa_l2cache.sav_sync = B_TRUE; in spa_vdev_remove()
H A Darc.c6328 spa->spa_l2cache.sav_count > 0; in arc_read()
10724 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_start()
10726 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_start()
10747 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_stop()
10749 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_stop()
10756 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_stop()
10758 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_stop()
H A Dvdev.c2911 vd->vdev_aux == &spa->spa_l2cache) { in vdev_reopen()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h287 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.c8901 mos_obj_refd(spa->spa_l2cache.sav_object); in dump_mos_leaks()