| /onnv/onnv-gate/usr/src/uts/common/fs/zfs/sys/ |
| ddt.h | 40 * On-disk DDT formats, in the desired search order (newest version first). 48 * DDT classes, in the desired search order (highest replication level first). 63 * On-disk ddt entry: key (name) and physical storage (value). 107 * In-core ddt entry 123 * In-core ddt 125 struct ddt { struct 139 * In-core and on-disk bookmark for DDT walks 149 * Ops vector to access a specific DDT object type. 168 extern void ddt_object_name(ddt_t *ddt, enum ddt_type type, 170 extern int ddt_object_walk(ddt_t *ddt, enum ddt_type type [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/zfs/ |
| ddt.c | 31 #include <sys/ddt.h> 50 ddt_object_create(ddt_t *ddt, enum ddt_type type, enum ddt_class class, 53 spa_t *spa = ddt->ddt_spa; 54 objset_t *os = ddt->ddt_os; 55 uint64_t *objectp = &ddt->ddt_object[type][class]; 56 boolean_t prehash = zio_checksum_table[ddt->ddt_checksum].ci_dedup; 59 ddt_object_name(ddt, type, class, name); 70 &ddt->ddt_histogram[type][class], tx) == 0); 74 ddt_object_destroy(ddt_t *ddt, enum ddt_type type, enum ddt_class class, 77 spa_t *spa = ddt->ddt_spa 410 ddt_t *ddt = spa->spa_ddt[c]; local 434 ddt_t *ddt = spa->spa_ddt[c]; local 713 ddt_t *ddt; local 767 ddt_t *ddt = spa->spa_ddt[c]; local 792 ddt_t *ddt; local 1026 ddt_t *ddt = spa->spa_ddt[c]; local 1044 ddt_t *ddt = spa->spa_ddt[ddb->ddb_checksum]; local [all...] |
| zio.c | 37 #include <sys/ddt.h> 1747 ddt_t *ddt = ddt_select(zio->io_spa, bp); local 1793 ddt_t *ddt = ddt_select(zio->io_spa, bp); local 1876 ddt_t *ddt = ddt_select(zio->io_spa, zio->io_bp); local 1900 ddt_t *ddt = ddt_select(zio->io_spa, zio->io_bp); local 1926 ddt_t *ddt = ddt_select(zio->io_spa, bp); local 1960 ddt_t *ddt = ddt_select(spa, bp); local 2064 ddt_t *ddt = ddt_select(spa, bp); local [all...] |
| /onnv/onnv-gate/usr/src/lib/libzfs/common/ |
| libzfs_sendrecv.c | 110 ddt_hash_append(libzfs_handle_t *hdl, dedup_table_t *ddt, dedup_entry_t **ddepp, 115 if (ddt->cur_ddt_size >= ddt->max_ddt_size) { 116 if (ddt->ddt_full == B_FALSE) { 120 ddt->ddt_full = B_TRUE; 125 if ((dde = umem_cache_alloc(ddt->ddecache, UMEM_DEFAULT)) 132 ddt->cur_ddt_size += sizeof (dedup_entry_t); 133 ddt->ddt_count++; 147 ddt_update(libzfs_handle_t *hdl, dedup_table_t *ddt, zio_cksum_t *cs, 153 hashcode = BF64_GET(cs->zc_word[0], 0, ddt->numhashbits) 205 dedup_table_t ddt; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/zdb/ |
| zdb.c | 54 #include <sys/ddt.h> 554 dump_dde(const ddt_t *ddt, const ddt_entry_t *dde, uint64_t index) 565 ddt_bp_create(ddt->ddt_checksum, ddk, ddp, &blk); 596 dump_ddt(ddt_t *ddt, enum ddt_type type, enum ddt_class class) 605 error = ddt_object_info(ddt, type, class, &doi); 611 count = ddt_object_count(ddt, type, class); 617 ddt_object_name(ddt, type, class, name); 628 zpool_dump_ddt(NULL, &ddt->ddt_histogram[type][class]); 638 while ((error = ddt_object_walk(ddt, type, class, &walk, &dde)) == 0) 639 dump_dde(ddt, &dde, walk) 653 ddt_t *ddt = spa->spa_ddt[c]; local 1686 ddt_t *ddt; local 1847 ddt_t *ddt = spa->spa_ddt[ddb.ddb_checksum]; local [all...] |