Home
last modified time | relevance | path

Searched refs:spa_dedup_class (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_misc.c1324 ASSERT(metaslab_class_validate(spa_dedup_class(spa)) == 0); in spa_vdev_config_exit()
1994 spa_dedup_class(spa_t *spa) in spa_dedup_class() function
1996 return (spa->spa_dedup_class); in spa_dedup_class()
2032 if (spa->spa_dedup_class->mc_groups != 0) in spa_preferred_class()
2033 return (spa_dedup_class(spa)); in spa_preferred_class()
H A Dspa.c417 alloc += metaslab_class_get_alloc(spa_dedup_class(spa)); in spa_prop_get_config()
422 size += metaslab_class_get_space(spa_dedup_class(spa)); in spa_prop_get_config()
1691 spa->spa_dedup_class = metaslab_class_create(spa, msp); in spa_activate()
1864 metaslab_class_destroy(spa->spa_dedup_class); in spa_deactivate()
1865 spa->spa_dedup_class = NULL; in spa_deactivate()
8984 old_space += metaslab_class_get_space(spa_dedup_class(spa));
8992 new_space += metaslab_class_get_space(spa_dedup_class(spa));
9850 metaslab_class_t *dedup = spa_dedup_class(spa);
10253 metaslab_class_evict_old(spa->spa_dedup_class, txg);
H A Dddt.c1034 if (ddt_special_over_quota(spa, spa_dedup_class(spa))) in ddt_over_quota()
H A Dzio.c4079 if ((mc == spa_dedup_class(spa) || (spa_special_has_ddt(spa) && in zio_dva_allocate()
4086 mc == spa_dedup_class(spa) ? "dedup" : "special", in zio_dva_allocate()
H A Ddsl_scan.c1558 alloc += metaslab_class_get_alloc(spa_dedup_class(spa)); in dsl_scan_should_clear()
H A Dmetaslab.c1236 mc != spa_dedup_class(spa)) || in metaslab_group_allocatable()
H A Dvdev.c1486 mc = spa_dedup_class(spa); in vdev_metaslab_group_create()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h253 metaslab_class_t *spa_dedup_class; /* dedup allocation class */ member
H A Dspa.h1068 extern metaslab_class_t *spa_dedup_class(spa_t *spa);
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c7056 zcb->zcb_totalasize += metaslab_class_get_alloc(spa_dedup_class(spa)); in dump_block_stats()
7108 metaslab_class_get_alloc(spa_dedup_class(spa)) + in dump_block_stats()
7168 if (spa_dedup_class(spa)->mc_allocator[0].mca_rotor != NULL) { in dump_block_stats()
7170 spa_dedup_class(spa)); in dump_block_stats()
7172 spa_dedup_class(spa)); in dump_block_stats()
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c3485 mc = spa_dedup_class(spa); in ztest_vdev_class_add()