Searched refs:ddt (Results 1 - 14 of 14) sorted by relevance

/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dddt.c31 #include <sys/ddt.h>
62 ddt_object_create(ddt_t *ddt, enum ddt_type type, enum ddt_class class, argument
65 spa_t *spa = ddt->ddt_spa;
66 objset_t *os = ddt->ddt_os;
67 uint64_t *objectp = &ddt->ddt_object[type][class];
68 boolean_t prehash = zio_checksum_table[ddt->ddt_checksum].ci_dedup;
71 ddt_object_name(ddt, type, class, name);
82 &ddt->ddt_histogram[type][class], tx) == 0);
86 ddt_object_destroy(ddt_t *ddt, enum ddt_type type, enum ddt_class class, argument
89 spa_t *spa = ddt
109 ddt_object_load(ddt_t *ddt, enum ddt_type type, enum ddt_class class) argument
146 ddt_object_sync(ddt_t *ddt, enum ddt_type type, enum ddt_class class, dmu_tx_t *tx) argument
172 ddt_object_lookup(ddt_t *ddt, enum ddt_type type, enum ddt_class class, ddt_entry_t *dde) argument
183 ddt_object_prefetch(ddt_t *ddt, enum ddt_type type, enum ddt_class class, ddt_entry_t *dde) argument
194 ddt_object_update(ddt_t *ddt, enum ddt_type type, enum ddt_class class, ddt_entry_t *dde, dmu_tx_t *tx) argument
204 ddt_object_remove(ddt_t *ddt, enum ddt_type type, enum ddt_class class, ddt_entry_t *dde, dmu_tx_t *tx) argument
214 ddt_object_walk(ddt_t *ddt, enum ddt_type type, enum ddt_class class, uint64_t *walk, ddt_entry_t *dde) argument
224 ddt_object_count(ddt_t *ddt, enum ddt_type type, enum ddt_class class, uint64_t *count) argument
233 ddt_object_info(ddt_t *ddt, enum ddt_type type, enum ddt_class class, dmu_object_info_t *doi) argument
244 ddt_object_exists(ddt_t *ddt, enum ddt_type type, enum ddt_class class) argument
250 ddt_object_name(ddt_t *ddt, enum ddt_type type, enum ddt_class class, char *name) argument
331 ddt_phys_free(ddt_t *ddt, ddt_key_t *ddk, ddt_phys_t *ddp, uint64_t txg) argument
365 ddt_stat_generate(ddt_t *ddt, ddt_entry_t *dde, ddt_stat_t *dds) argument
411 ddt_stat_update(ddt_t *ddt, ddt_entry_t *dde, uint64_t neg) argument
461 ddt_t *ddt = spa->spa_ddt[c]; local
485 ddt_t *ddt = spa->spa_ddt[c]; local
529 ddt_ditto_copies_needed(ddt_t *ddt, ddt_entry_t *dde, ddt_phys_t *ddp_willref) argument
635 ddt_enter(ddt_t *ddt) argument
641 ddt_exit(ddt_t *ddt) argument
676 ddt_remove(ddt_t *ddt, ddt_entry_t *dde) argument
685 ddt_lookup(ddt_t *ddt, const blkptr_t *bp, boolean_t add) argument
750 ddt_t *ddt; local
792 ddt_t *ddt; local
809 ddt_table_free(ddt_t *ddt) argument
843 ddt_t *ddt = spa->spa_ddt[c]; local
877 ddt_t *ddt; local
899 ddt_repair_start(ddt_t *ddt, const blkptr_t *bp) argument
927 ddt_repair_done(ddt_t *ddt, ddt_entry_t *dde) argument
951 ddt_repair_entry(ddt_t *ddt, ddt_entry_t *dde, ddt_entry_t *rdde, zio_t *rio) argument
978 ddt_repair_table(ddt_t *ddt, zio_t *rio) argument
1003 ddt_sync_entry(ddt_t *ddt, ddt_entry_t *dde, dmu_tx_t *tx, uint64_t txg) argument
1070 ddt_sync_table(ddt_t *ddt, dmu_tx_t *tx, uint64_t txg) argument
1124 ddt_t *ddt = spa->spa_ddt[c]; local
1142 ddt_t *ddt = spa->spa_ddt[ddb->ddb_checksum]; local
[all...]
H A Dzio.c39 #include <sys/ddt.h>
2165 ddt_t *ddt = ddt_select(zio->io_spa, bp); local
2166 ddt_entry_t *dde = ddt_repair_start(ddt, bp);
2180 ddt_bp_create(ddt->ddt_checksum, &dde->dde_key, ddp,
2211 ddt_t *ddt = ddt_select(zio->io_spa, bp); local
2213 if (ddt == NULL) {
2226 ddt_repair_done(ddt, dde);
2236 zio_ddt_collision(zio_t *zio, ddt_t *ddt, ddt_entry_t *dde) argument
2267 ddt_exit(ddt);
2282 ddt_enter(ddt);
2294 ddt_t *ddt = ddt_select(zio->io_spa, zio->io_bp); local
2318 ddt_t *ddt = ddt_select(zio->io_spa, zio->io_bp); local
2344 ddt_t *ddt = ddt_select(zio->io_spa, bp); local
2378 ddt_t *ddt = ddt_select(spa, bp); local
2484 ddt_t *ddt = ddt_select(spa, bp); local
[all...]
H A Dddt_zap.c29 #include <sys/ddt.h>
H A Ddsl_scan.c45 #include <sys/ddt.h>
1220 ddt_t *ddt; local
1231 ddt = scn->scn_dp->dp_spa->spa_ddt[ddb->ddb_checksum];
1232 ASSERT(avl_first(&ddt->ddt_tree) == NULL);
1241 zfs_dbgmsg("scanned %llu ddt entries with class_max = %u; pausing=%u",
1583 "ddt bm=%llu/%llu/%llu/%llx",
H A Dspa_misc.c51 #include <sys/ddt.h>
H A Ddmu_send.c49 #include <sys/ddt.h>
H A Dspa.c46 #include <sys/ddt.h>
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dddt.h62 * On-disk ddt entry: key (name) and physical storage (value).
105 * In-core ddt entry
121 * In-core ddt
123 struct ddt { struct
170 extern void ddt_object_name(ddt_t *ddt, enum ddt_type type,
172 extern int ddt_object_walk(ddt_t *ddt, enum ddt_type type,
174 extern int ddt_object_count(ddt_t *ddt, enum ddt_type type,
176 extern int ddt_object_info(ddt_t *ddt, enum ddt_type type,
178 extern boolean_t ddt_object_exists(ddt_t *ddt, enum ddt_type type,
192 extern void ddt_phys_free(ddt_t *ddt, ddt_key_
[all...]
H A Ddsl_scan.h31 #include <sys/ddt.h>
H A Ddsl_pool.h35 #include <sys/ddt.h>
H A Dspa.h52 typedef struct ddt ddt_t;
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/
H A DMakefile.files40 ddt.o \
/freebsd-10.2-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_sendrecv.c56 #include <sys/ddt.h>
132 ddt_hash_append(libzfs_handle_t *hdl, dedup_table_t *ddt, dedup_entry_t **ddepp, argument
137 if (ddt->cur_ddt_size >= ddt->max_ddt_size) {
138 if (ddt->ddt_full == B_FALSE) {
142 ddt->ddt_full = B_TRUE;
147 if ((dde = umem_cache_alloc(ddt->ddecache, UMEM_DEFAULT))
155 ddt->cur_ddt_size += sizeof (dedup_entry_t);
156 ddt->ddt_count++;
170 ddt_update(libzfs_handle_t *hdl, dedup_table_t *ddt, zio_cksum_ argument
231 dedup_table_t ddt; local
[all...]
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c59 #include <sys/ddt.h>
805 dump_dde(const ddt_t *ddt, const ddt_entry_t *dde, uint64_t index) argument
816 ddt_bp_create(ddt->ddt_checksum, ddk, ddp, &blk);
847 dump_ddt(ddt_t *ddt, enum ddt_type type, enum ddt_class class) argument
856 error = ddt_object_info(ddt, type, class, &doi);
862 error = ddt_object_count(ddt, type, class, &count);
870 ddt_object_name(ddt, type, class, name);
881 zpool_dump_ddt(NULL, &ddt->ddt_histogram[type][class]);
891 while ((error = ddt_object_walk(ddt, type, class, &walk, &dde)) == 0)
892 dump_dde(ddt,
906 ddt_t *ddt = spa->spa_ddt[c]; local
2284 ddt_t *ddt; local
2475 ddt_t *ddt = spa->spa_ddt[ddb.ddb_checksum]; local
[all...]

Completed in 239 milliseconds