Home
last modified time | relevance | path

Searched refs:dds_total (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/uts/common/fs/zfs/
H A Dddt.c483 ddt_get_dedup_stats(spa_t *spa, ddt_stat_t *dds_total) in ddt_get_dedup_stats() argument
489 ddt_histogram_stat(dds_total, ddh_total); in ddt_get_dedup_stats()
496 ddt_stat_t dds_total = { 0 }; in ddt_get_dedup_dspace() local
498 ddt_get_dedup_stats(spa, &dds_total); in ddt_get_dedup_dspace()
499 return (dds_total.dds_ref_dsize - dds_total.dds_dsize); in ddt_get_dedup_dspace()
505 ddt_stat_t dds_total = { 0 }; in ddt_get_pool_dedup_ratio() local
507 ddt_get_dedup_stats(spa, &dds_total); in ddt_get_pool_dedup_ratio()
508 if (dds_total.dds_dsize == 0) in ddt_get_pool_dedup_ratio()
511 return (dds_total.dds_ref_dsize * 100 / dds_total.dds_dsize); in ddt_get_pool_dedup_ratio()
/titanic_44/usr/src/lib/libzfs/common/
H A Dlibzfs_status.c421 zpool_dump_ddt(const ddt_stat_t *dds_total, const ddt_histogram_t *ddh) in zpool_dump_ddt() argument
447 dump_ddt_stat(dds_total, -1); in zpool_dump_ddt()
/titanic_44/usr/src/uts/common/fs/zfs/sys/
H A Dddt.h204 extern void ddt_get_dedup_stats(spa_t *spa, ddt_stat_t *dds_total);
/titanic_44/usr/src/cmd/zdb/
H A Dzdb.c985 ddt_stat_t dds_total = { 0 }; in dump_all_ddts() local
997 ddt_get_dedup_stats(spa, &dds_total); in dump_all_ddts()
999 if (dds_total.dds_blocks == 0) { in dump_all_ddts()
1009 zpool_dump_ddt(&dds_total, &ddh_total); in dump_all_ddts()
1012 dump_dedup_ratio(&dds_total); in dump_all_ddts()
3006 ddt_stat_t dds_total = { 0 }; in dump_simulated_ddt() local
3041 ddt_histogram_stat(&dds_total, &ddh_total); in dump_simulated_ddt()
3045 zpool_dump_ddt(&dds_total, &ddh_total); in dump_simulated_ddt()
3047 dump_dedup_ratio(&dds_total); in dump_simulated_ddt()