/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | ddt_log.c | 58 #define DDT_LOG_ENTRY_SIZE(ddt) \ argument 91 ddt_log_name(ddt_t *ddt, char *name, uint_t n) in ddt_log_name() 98 ddt_log_update_header(ddt_t *ddt, ddt_log_t *ddl, dmu_tx_t *tx) in ddt_log_update_header() 115 ddt_log_create_one(ddt_t *ddt, ddt_log_t *ddl, uint_t n, dmu_tx_t *tx) in ddt_log_create_one() 134 ddt_log_create(ddt_t *ddt, dmu_tx_t *tx) in ddt_log_create() 141 ddt_log_destroy_one(ddt_t *ddt, ddt_log_t *ddl, uint_t n, dmu_tx_t *tx) in ddt_log_destroy_one() 160 ddt_log_destroy(ddt_t *ddt, dmu_tx_t *tx) in ddt_log_destroy() 167 ddt_log_update_stats(ddt_t *ddt) in ddt_log_update_stats() 193 ddt_log_begin(ddt_t *ddt, size_t nentries, dmu_tx_t *tx, ddt_log_update_t *dlu) in ddt_log_begin() 229 ddt_log_alloc_entry(ddt_t *ddt) in ddt_log_alloc_entry() [all …]
|
H A D | ddt.c | 224 #define DDT_ENTRY_SIZE(ddt) \ argument 344 #define _DDT_KSTAT_STAT(ddt, stat) \ argument 346 #define DDT_KSTAT_BUMP(ddt, stat) \ argument 348 #define DDT_KSTAT_ADD(ddt, stat, val) \ argument 350 #define DDT_KSTAT_SUB(ddt, stat, val) \ argument 352 #define DDT_KSTAT_SET(ddt, stat, val) \ argument 354 #define DDT_KSTAT_ZERO(ddt, stat) DDT_KSTAT_SET(ddt, stat, 0) argument 356 #define DDT_KSTAT_BUMP(ddt, stat) do {} while (0) argument 357 #define DDT_KSTAT_ADD(ddt, stat, val) do {} while (0) argument 358 #define DDT_KSTAT_SUB(ddt, stat, val) do {} while (0) argument [all …]
|
H A D | ddt_stats.c | 36 ddt_stat_generate(ddt_t *ddt, const ddt_lightweight_entry_t *ddlwe, in ddt_stat_generate() 112 ddt_histogram_add_entry(ddt_t *ddt, ddt_histogram_t *ddh, in ddt_histogram_add_entry() 128 ddt_histogram_sub_entry(ddt_t *ddt, ddt_histogram_t *ddh, in ddt_histogram_sub_entry() 187 ddt_t *ddt = spa->spa_ddt[c]; in ddt_get_dedup_object_stats() local 256 ddt_t *ddt = spa->spa_ddt[c]; in ddt_get_dedup_histogram() local 320 ddt_t *ddt = spa->spa_ddt[c]; in ddt_get_pool_dedup_cached() local
|
H A D | zio.c | 3303 ddt_t *ddt; in zio_ddt_child_read_done() local 3333 ddt_t *ddt = ddt_select(zio->io_spa, bp); in zio_ddt_read_start() local 3384 ddt_t *ddt = ddt_select(zio->io_spa, bp); in zio_ddt_read_done() local 3410 zio_ddt_collision(zio_t *zio, ddt_t *ddt, ddt_entry_t *dde) in zio_ddt_collision() 3517 ddt_t *ddt = ddt_select(zio->io_spa, zio->io_bp); in zio_ddt_child_write_done() local 3575 ddt_t *ddt = ddt_select(zio->io_spa, zio->io_bp); in zio_ddt_child_write_ready() local 3608 ddt_t *ddt = ddt_select(spa, bp); in zio_ddt_write() local 3893 ddt_t *ddt = ddt_select(spa, bp); in zio_ddt_free() local
|
H A D | dsl_scan.c | 2969 ddt_t *ddt, ddt_lightweight_entry_t *ddlwe, dmu_tx_t *tx) in dsl_scan_ddt_entry() 3048 ddt_t *ddt; in dsl_scan_ddt() local
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | ddt.h | 188 #define DDT_PHYS_VARIANT(ddt, p) \ argument 195 #define _DDT_PHYS_SWITCH(ddt, flat, trad) \ argument 198 #define DDT_PHYS_SIZE(ddt) _DDT_PHYS_SWITCH(ddt, \ argument 201 #define DDT_NPHYS(ddt) _DDT_PHYS_SWITCH(ddt, 1, DDT_PHYS_MAX) argument 202 #define DDT_PHYS_FOR_COPIES(ddt, p) _DDT_PHYS_SWITCH(ddt, 0, p) argument 203 #define DDT_PHYS_IS_DITTO(ddt, p) _DDT_PHYS_SWITCH(ddt, 0, (p == 0)) argument
|
H A D | ddt_impl.h | 49 #define DDT_ENTRY_TO_LIGHTWEIGHT(ddt, dde, ddlwe) do { \ argument 57 #define DDT_LOG_ENTRY_TO_LIGHTWEIGHT(ddt, ddle, ddlwe) do { \ argument
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 1923 dump_ddt_entry(const ddt_t *ddt, const ddt_lightweight_entry_t *ddlwe, in dump_ddt_entry() 1968 dump_ddt_log(ddt_t *ddt) in dump_ddt_log() 2030 dump_ddt_object(ddt_t *ddt, ddt_type_t type, ddt_class_t class) in dump_ddt_object() 2080 dump_ddt(ddt_t *ddt) in dump_ddt() 3445 ddt_t *ddt = spa->spa_ddt[c]; in zdb_ddt_cleanup() local 5856 ddt_t *ddt = ddt_select(zcb->zcb_spa, bp); in zdb_count_block() local 8263 ddt_t *ddt = spa->spa_ddt[c]; in dump_mos_leaks() local
|