Home
last modified time | relevance | path

Searched refs:dn_objset (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Ddnode.h163 struct objset *dn_objset; member
312 ((_dn)->dn_objset->os_primary_cache == ZFS_CACHE_ALL || \
314 (_dn)->dn_objset->os_primary_cache == ZFS_CACHE_METADATA))
317 ((_dn)->dn_objset->os_primary_cache == ZFS_CACHE_ALL || \
318 (_dn)->dn_objset->os_primary_cache == ZFS_CACHE_METADATA)
336 dprintf_ds((dn)->dn_objset->os_dsl_dataset, "obj=%s " fmt, \
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Ddnode.c160 POINTER_INVALIDATE(&dn->dn_objset); in dnode_cons()
237 ASSERT(dn->dn_objset); in dnode_verify()
411 ASSERT(!POINTER_IS_VALID(dn->dn_objset)); in dnode_create()
472 dn->dn_objset = os; in dnode_create()
487 objset_t *os = dn->dn_objset; in dnode_destroy()
493 POINTER_INVALIDATE(&dn->dn_objset); in dnode_destroy()
545 spa_maxblocksize(dmu_objset_spa(dn->dn_objset))); in dnode_allocate()
556 dprintf("os=%p obj=%llu txg=%llu blocksize=%d ibs=%d\n", dn->dn_objset, in dnode_allocate()
629 spa_maxblocksize(dmu_objset_spa(dn->dn_objset))); in dnode_reallocate()
717 ndn->dn_objset = odn->dn_objset; in dnode_move_impl()
[all …]
H A Ddbuf.c691 ASSERT3P(db->db_objset, ==, dn->dn_objset); in dbuf_verify()
1062 spa_t *spa = dn->dn_objset->os_spa; in dbuf_read()
1394 buf = arc_alloc_buf(dn->dn_objset->os_spa, size, db, type); in dbuf_new_size()
1479 if (dn->dn_objset->os_dsl_dataset != NULL) { in dbuf_dirty()
1480 rrw_enter(&dn->dn_objset->os_dsl_dataset->ds_bp_rwlock, in dbuf_dirty()
1484 BP_IS_HOLE(dn->dn_objset->os_rootbp) || in dbuf_dirty()
1486 dn->dn_objset->os_dsl_dataset == NULL); in dbuf_dirty()
1487 if (dn->dn_objset->os_dsl_dataset != NULL) in dbuf_dirty()
1488 rrw_exit(&dn->dn_objset->os_dsl_dataset->ds_bp_rwlock, FTAG); in dbuf_dirty()
1515 if (dn->dn_objset->os_dsl_dataset != NULL) { in dbuf_dirty()
[all …]
H A Ddnode_sync.c60 dprintf("os=%p obj=%llu, increase to %d\n", dn->dn_objset, in dnode_increase_indirection()
75 dbuf_find(dn->dn_objset, dn->dn_object, old_toplvl, i); in dnode_increase_indirection()
116 dsl_dataset_t *ds = dn->dn_objset->os_dsl_dataset; in free_blocks()
142 if (spa_feature_is_active(dn->dn_objset->os_spa, in free_blocks()
556 if (dmu_objset_userused_enabled(dn->dn_objset) && in dnode_sync()
H A Ddmu_tx.c181 objset_t *os = dn->dn_objset; in dmu_tx_count_twig()
264 zio_t *zio = zio_root(dn->dn_objset->os_spa, in dmu_tx_count_write()
418 dsl_dataset_block_freeable(dn->dn_objset->os_dsl_dataset, in dmu_tx_count_dnode()
456 dsl_dataset_t *ds = dn->dn_objset->os_dsl_dataset; in dmu_tx_count_free()
791 if (dsl_dataset_block_freeable(dn->dn_objset->os_dsl_dataset, in dmu_tx_hold_zap()
834 dsl_dataset_phys(dn->dn_objset->os_dsl_dataset); in dmu_tx_hold_zap()
910 ASSERT(tx->tx_objset == NULL || dn->dn_objset == tx->tx_objset); in dmu_tx_dirty_buf()
1638 if (dsl_dataset_block_freeable(dn->dn_objset->os_dsl_dataset, in dmu_tx_hold_spill()
H A Ddmu.c404 if (spa_version(dn->dn_objset->os_spa) < SPA_VERSION_SA) { in dmu_spill_hold_existing()
473 (longlong_t)dn->dn_objset-> in dmu_buf_hold_array_by_dnode()
493 zio = zio_root(dn->dn_objset->os_spa, NULL, NULL, ZIO_FLAG_CANFAIL); in dmu_buf_hold_array_by_dnode()
1621 os = dn->dn_objset; in dmu_assign_arcbuf()
H A Ddmu_objset.c1399 objset_t *os = dn->dn_objset; in dmu_objset_userquota_get_ids()
1408 if (!dmu_objset_userused_enabled(dn->dn_objset)) in dmu_objset_userquota_get_ids()
/netbsd-src/external/cddl/osnet/dist/cmd/zdb/
H A Dzdb.c1321 SET_BOOKMARK(&czb, dmu_objset_id(dn->dn_objset), in dump_indirect()
1325 (void) visit_indirect(dmu_objset_spa(dn->dn_objset), dnp, in dump_indirect()