Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddnode.h263 struct objset *dn_objset; member
427 ((_dn)->dn_dirty_txg >= spa_syncing_txg((_dn)->dn_objset->os_spa))
430 ((_dn)->dn_objset->os_primary_cache == ZFS_CACHE_ALL || \
432 (_dn)->dn_objset->os_primary_cache == ZFS_CACHE_METADATA))
435 ((_dn)->dn_objset->os_primary_cache == ZFS_CACHE_ALL || \
436 (_dn)->dn_objset->os_primary_cache == ZFS_CACHE_METADATA)
583 dprintf_ds((dn)->dn_objset->os_dsl_dataset, "obj=%s " fmt, \
H A Ddbuf.h398 ((_dn)->dn_objset->os_secondary_cache == ZFS_CACHE_ALL || \
401 ((_dn)->dn_objset->os_secondary_cache == ZFS_CACHE_METADATA)))
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddnode_sync.c61 dprintf("os=%p obj=%llu, increase to %d\n", dn->dn_objset, in dnode_increase_indirection()
74 dbuf_find(dn->dn_objset, dn->dn_object, old_toplvl, i); in dnode_increase_indirection()
136 dsl_dataset_t *ds = dn->dn_objset->os_dsl_dataset; in free_blocks()
162 if (spa_feature_is_active(dn->dn_objset->os_spa, in free_blocks()
425 if (trunc && !dn->dn_objset->os_raw_receive) { in dnode_sync_free_range_impl()
623 objset_t *os = dn->dn_objset; in dnode_sync()
649 if (dmu_objset_userobjused_enabled(dn->dn_objset)) in dnode_sync()
785 dn->dn_objset->os_freed_dnodes++; in dnode_sync()
791 dsl_dataset_t *ds = dn->dn_objset->os_dsl_dataset; in dnode_sync()
H A Ddnode.c270 ASSERT(dn->dn_objset); in dnode_verify()
441 ASSERT(!POINTER_IS_VALID(dn->dn_objset)); in dnode_create()
497 dn->dn_objset = os; in dnode_create()
513 objset_t *os = dn->dn_objset; in dnode_destroy()
519 POINTER_INVALIDATE(&dn->dn_objset); in dnode_destroy()
576 spa_maxdnodesize(dmu_objset_spa(dn->dn_objset))); in dnode_allocate()
578 spa_maxblocksize(dmu_objset_spa(dn->dn_objset))); in dnode_allocate()
591 dn->dn_objset, dn->dn_object, tx->tx_txg, blocksize, ibs, dn_slots); in dnode_allocate()
671 spa_maxblocksize(dmu_objset_spa(dn->dn_objset))); in dnode_reallocate()
680 DN_BONUS_SIZE(spa_maxdnodesize(dmu_objset_spa(dn->dn_objset)))); in dnode_reallocate()
[all …]
H A Ddbuf.c737 ASSERT3P(db->db_objset, ==, dn->dn_objset); in dbuf_verify()
1293 dmu_objset_id(dn->dn_objset), byteorder, salt, iv, in dbuf_fix_old_data()
1335 spa_t *spa = dn->dn_objset->os_spa; in dbuf_read()
1370 spa_t *spa = dn->dn_objset->os_spa; in dbuf_read()
1618 buf = arc_alloc_buf(dn->dn_objset->os_spa, db, type, size); in dbuf_new_size()
1638 dmu_objset_willuse_space(dn->dn_objset, size - osize, tx); in dbuf_new_size()
1702 if (dn->dn_objset->os_dsl_dataset != NULL) { in dbuf_dirty()
1703 rrw_enter(&dn->dn_objset->os_dsl_dataset->ds_bp_rwlock, in dbuf_dirty()
1707 BP_IS_HOLE(dn->dn_objset->os_rootbp) || in dbuf_dirty()
1709 dn->dn_objset->os_dsl_dataset == NULL); in dbuf_dirty()
[all …]
H A Ddmu.c503 if (spa_version(dn->dn_objset->os_spa) < SPA_VERSION_SA) { in dmu_spill_hold_existing()
577 (longlong_t)dn->dn_objset-> in dmu_buf_hold_array_by_dnode()
588 zio = zio_root(dn->dn_objset->os_spa, NULL, NULL, ZIO_FLAG_CANFAIL); in dmu_buf_hold_array_by_dnode()
862 if (dmu_objset_zfs_unmounting(dn->dn_objset)) in dmu_free_long_range_impl()
1766 objset_t *os = dn->dn_objset; in dmu_assign_arcbuf_by_dnode()
1790 os = dn->dn_objset; in dmu_assign_arcbuf_by_dnode()
H A Ddmu_zfetch.c279 spa_t *spa = zf->zf_dnode->dn_objset->os_spa; in dmu_zfetch()
H A Ddmu_tx.c239 zio_t *zio = zio_root(dn->dn_objset->os_spa, in dmu_tx_count_write()
587 ASSERT(tx->tx_objset == NULL || dn->dn_objset == tx->tx_objset); in dmu_tx_dirty_buf()
H A Ddmu_objset.c397 return (dnode_hash(dn->dn_objset, dn->dn_object) % in dnode_multilist_index_func()
1575 multilist_t *newlist = dn->dn_objset->os_synced_dnodes; in dmu_objset_sync_dnodes()
2156 objset_t *os = dn->dn_objset; in dmu_objset_userquota_get_ids()
2166 if (!dmu_objset_userused_enabled(dn->dn_objset)) in dmu_objset_userquota_get_ids()
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c1620 SET_BOOKMARK(&czb, dmu_objset_id(dn->dn_objset), in dump_indirect()
1624 (void) visit_indirect(dmu_objset_spa(dn->dn_objset), dnp, in dump_indirect()