/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | ddt_impl.h | 185 extern void ddt_log_begin(ddt_t *ddt, size_t nentries, dmu_tx_t *tx, 187 extern void ddt_log_entry(ddt_t *ddt, ddt_lightweight_entry_t *dde, 189 extern void ddt_log_commit(ddt_t *ddt, ddt_log_update_t *dlu); 191 extern boolean_t ddt_log_take_first(ddt_t *ddt, ddt_log_t *ddl, 194 extern boolean_t ddt_log_find_key(ddt_t *ddt, const ddt_key_t *ddk, 196 extern boolean_t ddt_log_remove_key(ddt_t *ddt, ddt_log_t *ddl, 199 extern void ddt_log_checkpoint(ddt_t *ddt, ddt_lightweight_entry_t *ddlwe, 201 extern void ddt_log_truncate(ddt_t *ddt, dmu_tx_t *tx); 203 extern boolean_t ddt_log_swap(ddt_t *ddt, dmu_tx_t *tx); 205 extern void ddt_log_destroy(ddt_t *ddt, dmu_tx_t *tx); [all …]
|
H A D | ddt.h | 323 } ddt_t; typedef 351 extern ddt_phys_variant_t ddt_phys_select(const ddt_t *ddt, 358 extern void ddt_histogram_add_entry(ddt_t *ddt, ddt_histogram_t *ddh, 360 extern void ddt_histogram_sub_entry(ddt_t *ddt, ddt_histogram_t *ddh, 376 extern ddt_t *ddt_select(spa_t *spa, const blkptr_t *bp); 377 extern void ddt_enter(ddt_t *ddt); 378 extern void ddt_exit(ddt_t *ddt); 381 extern ddt_entry_t *ddt_lookup(ddt_t *ddt, const blkptr_t *bp); 382 extern void ddt_remove(ddt_t *ddt, ddt_entry_t *dde); 391 extern ddt_entry_t *ddt_repair_start(ddt_t *ddt, const blkptr_t *bp); [all …]
|
H A D | dsl_scan.h | 205 ddt_t *ddt, ddt_lightweight_entry_t *ddlwe, dmu_tx_t *tx);
|
H A D | spa_impl.h | 410 ddt_t *spa_ddt[ZIO_CHECKSUM_FUNCTIONS]; /* in-core DDTs */
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | ddt_log.c | 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() 245 ddt_log_update_entry(ddt_t *ddt, ddt_log_t *ddl, ddt_lightweight_entry_t *ddlwe) in ddt_log_update_entry() [all …]
|
H A D | ddt.c | 365 ddt_object_create(ddt_t *ddt, ddt_type_t type, ddt_class_t class, in ddt_object_create() 394 ddt_object_destroy(ddt_t *ddt, ddt_type_t type, ddt_class_t class, in ddt_object_destroy() 420 ddt_object_load(ddt_t *ddt, ddt_type_t type, ddt_class_t class) in ddt_object_load() 469 ddt_object_sync(ddt_t *ddt, ddt_type_t type, ddt_class_t class, in ddt_object_sync() 495 ddt_object_exists(ddt_t *ddt, ddt_type_t type, ddt_class_t class) in ddt_object_exists() 501 ddt_object_lookup(ddt_t *ddt, ddt_type_t type, ddt_class_t class, in ddt_object_lookup() 513 ddt_object_contains(ddt_t *ddt, ddt_type_t type, ddt_class_t class, in ddt_object_contains() 524 ddt_object_prefetch(ddt_t *ddt, ddt_type_t type, ddt_class_t class, in ddt_object_prefetch() 535 ddt_object_prefetch_all(ddt_t *ddt, ddt_type_t type, ddt_class_t class) in ddt_object_prefetch_all() 545 ddt_object_update(ddt_t *ddt, ddt_type_t type, ddt_class_t class, in ddt_object_update() [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() 256 ddt_t *ddt = spa->spa_ddt[c]; in ddt_get_dedup_histogram() 320 ddt_t *ddt = spa->spa_ddt[c]; in ddt_get_pool_dedup_cached()
|
H A D | zio.c | 3314 ddt_t *ddt; in zio_ddt_child_read_done() 3344 ddt_t *ddt = ddt_select(zio->io_spa, bp); in zio_ddt_read_start() 3395 ddt_t *ddt = ddt_select(zio->io_spa, bp); in zio_ddt_read_done() 3421 zio_ddt_collision(zio_t *zio, ddt_t *ddt, ddt_entry_t *dde) in zio_ddt_collision() 3528 ddt_t *ddt = ddt_select(zio->io_spa, zio->io_bp); in zio_ddt_child_write_done() 3586 ddt_t *ddt = ddt_select(zio->io_spa, zio->io_bp); in zio_ddt_child_write_ready() 3619 ddt_t *ddt = ddt_select(spa, bp); in zio_ddt_write() 3904 ddt_t *ddt = ddt_select(spa, bp); in zio_ddt_free()
|
H A D | dsl_scan.c | 2942 ddt_t *ddt, ddt_lightweight_entry_t *ddlwe, dmu_tx_t *tx) in dsl_scan_ddt_entry() 3021 ddt_t *ddt; in dsl_scan_ddt()
|
/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() 1994 dump_ddt(ddt_t *ddt, ddt_type_t type, ddt_class_t class) in dump_ddt() 2053 ddt_t *ddt = spa->spa_ddt[c]; in dump_all_ddts() 3389 ddt_t *ddt = spa->spa_ddt[c]; in zdb_ddt_cleanup() 5800 ddt_t *ddt = ddt_select(zcb->zcb_spa, bp); in zdb_count_block() 8207 ddt_t *ddt = spa->spa_ddt[c]; in dump_mos_leaks()
|