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.c1151 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) in spa_change_guid()
1152 vdev_clear_kobj_evt(spa->spa_l2cache.sav_vdevs[i]); in spa_change_guid()
2440 if (spa->spa_l2cache.sav_vdevs) { in spa_unload()
2441 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in spa_unload()
2442 vdev_clear_stats(spa->spa_l2cache.sav_vdevs[i]); in spa_unload()
2443 vdev_free(spa->spa_l2cache.sav_vdevs[i]); in spa_unload()
2445 kmem_free(spa->spa_l2cache.sav_vdevs, in spa_unload()
2446 spa->spa_l2cache.sav_count * sizeof (void *)); in spa_unload()
2447 spa->spa_l2cache.sav_vdevs = NULL; in spa_unload()
2449 if (spa->spa_l2cache.sav_config) { in spa_unload()
[all …]
H A Dspa_config.c259 for (int i = 0; i < target->spa_l2cache.sav_count; i++) in spa_write_cachefile()
260 vdev_post_kobj_evt(target->spa_l2cache.sav_vdevs[i]); in spa_write_cachefile()
H A Dvdev_label.c1919 for (int v = 0; v < spa->spa_l2cache.sav_count; v++) { in vdev_uberblock_sync_list()
1921 spa->spa_l2cache.sav_vdevs[v], flags); in vdev_uberblock_sync_list()
1945 for (int v = 0; v < spa->spa_l2cache.sav_count; v++) { in vdev_uberblock_sync_list()
1946 if (vdev_writeable(spa->spa_l2cache.sav_vdevs[v])) { in vdev_uberblock_sync_list()
1947 zio_flush(zio, spa->spa_l2cache.sav_vdevs[v]); in vdev_uberblock_sync_list()
2089 spa_aux_vdev_t *sav[2] = {&spa->spa_spares, &spa->spa_l2cache}; in vdev_label_sync_list()
H A Dvdev_trim.c1129 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in vdev_trim_stop_all()
1130 vd_l2cache = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_stop_all()
1688 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in vdev_trim_l2arc()
1689 vdev_t *vd = spa->spa_l2cache.sav_vdevs[i]; in vdev_trim_l2arc()
H A Dvdev_removal.c2502 } else if (spa->spa_l2cache.sav_vdevs != NULL && in spa_vdev_remove()
2503 nvlist_lookup_nvlist_array(spa->spa_l2cache.sav_config, in spa_vdev_remove()
2528 spa_vdev_remove_aux(spa->spa_l2cache.sav_config, in spa_vdev_remove()
2531 spa->spa_l2cache.sav_sync = B_TRUE; in spa_vdev_remove()
H A Darc.c6335 spa->spa_l2cache.sav_count > 0; in arc_read()
10759 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_start()
10761 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_start()
10782 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_stop()
10784 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_stop()
10791 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_stop()
10793 l2arc_vdev_get(spa->spa_l2cache.sav_vdevs[i]); in l2arc_spa_rebuild_stop()
H A Dvdev.c2988 vd->vdev_aux == &spa->spa_l2cache) { in vdev_reopen()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h295 spa_aux_vdev_t spa_l2cache; /* L2ARC cache devices */ member
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c3674 sav = &spa->spa_l2cache; in ztest_vdev_aux_add_remove()
6695 spa_aux_vdev_t *sav = &spa->spa_l2cache; in ztest_fault_inject()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c9095 mos_obj_refd(spa->spa_l2cache.sav_object); in dump_mos_leaks()