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

/freebsd-10.0-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
147 ddt_object_sync(ddt_t *ddt, enum ddt_type type, enum ddt_class class, dmu_tx_t *tx) argument
173 ddt_object_lookup(ddt_t *ddt, enum ddt_type type, enum ddt_class class, ddt_entry_t *dde) argument
184 ddt_object_prefetch(ddt_t *ddt, enum ddt_type type, enum ddt_class class, ddt_entry_t *dde) argument
195 ddt_object_update(ddt_t *ddt, enum ddt_type type, enum ddt_class class, ddt_entry_t *dde, dmu_tx_t *tx) argument
205 ddt_object_remove(ddt_t *ddt, enum ddt_type type, enum ddt_class class, ddt_entry_t *dde, dmu_tx_t *tx) argument
215 ddt_object_walk(ddt_t *ddt, enum ddt_type type, enum ddt_class class, uint64_t *walk, ddt_entry_t *dde) argument
225 ddt_object_count(ddt_t *ddt, enum ddt_type type, enum ddt_class class, uint64_t *count) argument
234 ddt_object_info(ddt_t *ddt, enum ddt_type type, enum ddt_class class, dmu_object_info_t *doi) argument
245 ddt_object_exists(ddt_t *ddt, enum ddt_type type, enum ddt_class class) argument
251 ddt_object_name(ddt_t *ddt, enum ddt_type type, enum ddt_class class, char *name) argument
332 ddt_phys_free(ddt_t *ddt, ddt_key_t *ddk, ddt_phys_t *ddp, uint64_t txg) argument
366 ddt_stat_generate(ddt_t *ddt, ddt_entry_t *dde, ddt_stat_t *dds) argument
412 ddt_stat_update(ddt_t *ddt, ddt_entry_t *dde, uint64_t neg) argument
462 ddt_t *ddt = spa->spa_ddt[c]; local
486 ddt_t *ddt = spa->spa_ddt[c]; local
530 ddt_ditto_copies_needed(ddt_t *ddt, ddt_entry_t *dde, ddt_phys_t *ddp_willref) argument
632 ddt_enter(ddt_t *ddt) argument
638 ddt_exit(ddt_t *ddt) argument
673 ddt_remove(ddt_t *ddt, ddt_entry_t *dde) argument
682 ddt_lookup(ddt_t *ddt, const blkptr_t *bp, boolean_t add) argument
747 ddt_t *ddt; local
789 ddt_t *ddt; local
806 ddt_table_free(ddt_t *ddt) argument
840 ddt_t *ddt = spa->spa_ddt[c]; local
874 ddt_t *ddt; local
896 ddt_repair_start(ddt_t *ddt, const blkptr_t *bp) argument
924 ddt_repair_done(ddt_t *ddt, ddt_entry_t *dde) argument
948 ddt_repair_entry(ddt_t *ddt, ddt_entry_t *dde, ddt_entry_t *rdde, zio_t *rio) argument
975 ddt_repair_table(ddt_t *ddt, zio_t *rio) argument
1000 ddt_sync_entry(ddt_t *ddt, ddt_entry_t *dde, dmu_tx_t *tx, uint64_t txg) argument
1067 ddt_sync_table(ddt_t *ddt, dmu_tx_t *tx, uint64_t txg) argument
1121 ddt_t *ddt = spa->spa_ddt[c]; local
1139 ddt_t *ddt = spa->spa_ddt[ddb->ddb_checksum]; local
[all...]
H A Dzio.c37 #include <sys/ddt.h>
2006 ddt_t *ddt = ddt_select(zio->io_spa, bp); local
2007 ddt_entry_t *dde = ddt_repair_start(ddt, bp);
2021 ddt_bp_create(ddt->ddt_checksum, &dde->dde_key, ddp,
2052 ddt_t *ddt = ddt_select(zio->io_spa, bp); local
2054 if (ddt == NULL) {
2067 ddt_repair_done(ddt, dde);
2077 zio_ddt_collision(zio_t *zio, ddt_t *ddt, ddt_entry_t *dde) argument
2108 ddt_exit(ddt);
2123 ddt_enter(ddt);
2135 ddt_t *ddt = ddt_select(zio->io_spa, zio->io_bp); local
2159 ddt_t *ddt = ddt_select(zio->io_spa, zio->io_bp); local
2185 ddt_t *ddt = ddt_select(zio->io_spa, bp); local
2219 ddt_t *ddt = ddt_select(spa, bp); local
2325 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>
1204 ddt_t *ddt; local
1215 ddt = scn->scn_dp->dp_spa->spa_ddt[ddb->ddb_checksum];
1216 ASSERT(avl_first(&ddt->ddt_tree) == NULL);
1225 zfs_dbgmsg("scanned %llu ddt entries with class_max = %u; pausing=%u",
1480 * Re-sync the ddt so that we can further modify
1505 "ddt bm=%llu/%llu/%llu/%llx",
H A Dspa_misc.c51 #include <sys/ddt.h>
H A Ddmu_send.c48 #include <sys/ddt.h>
H A Dspa.c46 #include <sys/ddt.h>
/freebsd-10.0-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.0-release/sys/cddl/contrib/opensolaris/uts/common/
H A DMakefile.files38 ddt.o \
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_sendrecv.c55 #include <sys/ddt.h>
131 ddt_hash_append(libzfs_handle_t *hdl, dedup_table_t *ddt, dedup_entry_t **ddepp, argument
136 if (ddt->cur_ddt_size >= ddt->max_ddt_size) {
137 if (ddt->ddt_full == B_FALSE) {
141 ddt->ddt_full = B_TRUE;
146 if ((dde = umem_cache_alloc(ddt->ddecache, UMEM_DEFAULT))
154 ddt->cur_ddt_size += sizeof (dedup_entry_t);
155 ddt->ddt_count++;
169 ddt_update(libzfs_handle_t *hdl, dedup_table_t *ddt, zio_cksum_ argument
229 dedup_table_t ddt; local
[all...]
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c59 #include <sys/ddt.h>
675 dump_dde(const ddt_t *ddt, const ddt_entry_t *dde, uint64_t index) argument
686 ddt_bp_create(ddt->ddt_checksum, ddk, ddp, &blk);
717 dump_ddt(ddt_t *ddt, enum ddt_type type, enum ddt_class class) argument
726 error = ddt_object_info(ddt, type, class, &doi);
732 error = ddt_object_count(ddt, type, class, &count);
740 ddt_object_name(ddt, type, class, name);
751 zpool_dump_ddt(NULL, &ddt->ddt_histogram[type][class]);
761 while ((error = ddt_object_walk(ddt, type, class, &walk, &dde)) == 0)
762 dump_dde(ddt,
776 ddt_t *ddt = spa->spa_ddt[c]; local
2058 ddt_t *ddt; local
2240 ddt_t *ddt = spa->spa_ddt[ddb.ddb_checksum]; local
[all...]

Completed in 251 milliseconds