Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddbuf.c669 if (dn->dn_objset->os_secondary_cache == ZFS_CACHE_ALL || in dnode_level_is_l2cacheable()
670 (dn->dn_objset->os_secondary_cache == ZFS_CACHE_METADATA && in dnode_level_is_l2cacheable()
679 vdev_t *rvd = dn->dn_objset->os_spa->spa_root_vdev; in dnode_level_is_l2cacheable()
1135 ASSERT3P(db->db_objset, ==, dn->dn_objset); in dbuf_verify()
1725 dmu_objset_id(dn->dn_objset), byteorder, salt, iv, in dbuf_fix_old_data()
1816 spa_t *spa = dn->dn_objset->os_spa; in dbuf_read()
1842 spa_t *spa = dn->dn_objset->os_spa; in dbuf_read()
2099 buf = arc_alloc_buf(dn->dn_objset->os_spa, db, type, size); in dbuf_new_size()
2123 dmu_objset_willuse_space(dn->dn_objset, size - osize, tx); in dbuf_new_size()
2176 IMPLY(dn->dn_objset->os_raw_receive, dn->dn_maxblkid >= blkid); in dbuf_dirty_lightweight()
[all …]
H A Ddnode_sync.c62 dprintf("os=%p obj=%llu, increase to %d\n", dn->dn_objset, in dnode_increase_indirection()
74 children[i] = dbuf_find(dn->dn_objset, dn->dn_object, in dnode_increase_indirection()
137 dsl_dataset_t *ds = dn->dn_objset->os_dsl_dataset; in free_blocks()
164 if (spa_feature_is_active(dn->dn_objset->os_spa, in free_blocks()
431 if (trunc && !dn->dn_objset->os_raw_receive) { in dnode_sync_free_range_impl()
644 objset_t *os = dn->dn_objset; in dnode_sync()
670 if (dmu_objset_userobjused_enabled(dn->dn_objset)) in dnode_sync()
812 dn->dn_objset->os_freed_dnodes++; in dnode_sync()
818 dsl_dataset_t *ds = dn->dn_objset->os_dsl_dataset; in dnode_sync()
H A Ddnode.c92 struct objset *os = dn->dn_objset; in rt_name()
410 ASSERT(dn->dn_objset); in dnode_verify()
653 dn->dn_objset = os; in dnode_create()
669 objset_t *os = dn->dn_objset; in dnode_destroy()
675 POINTER_INVALIDATE(&dn->dn_objset); in dnode_destroy()
729 spa_maxdnodesize(dmu_objset_spa(dn->dn_objset))); in dnode_allocate()
731 spa_maxblocksize(dmu_objset_spa(dn->dn_objset))); in dnode_allocate()
743 dn->dn_objset, (u_longlong_t)dn->dn_object, in dnode_allocate()
820 spa_maxblocksize(dmu_objset_spa(dn->dn_objset))); in dnode_reallocate()
829 DN_BONUS_SIZE(spa_maxdnodesize(dmu_objset_spa(dn->dn_objset)))); in dnode_reallocate()
[all …]
H A Ddmu_direct.c214 spa_t *spa = dn->dn_objset->os_spa; in dmu_write_abd()
252 objset_t *os = dn->dn_objset; in dmu_read_abd()
H A Ddbuf_stats.c84 spa_name(dn->dn_objset->os_spa), in __dbuf_stats_hash_table_data()
H A Ddmu_zfetch.c474 spa_t *spa = zf->zf_dnode->dn_objset->os_spa; in dmu_zfetch_prepare()
475 zfs_prefetch_type_t os_prefetch = zf->zf_dnode->dn_objset->os_prefetch; in dmu_zfetch_prepare()
H A Ddmu.c454 if (spa_version(dn->dn_objset->os_spa) < SPA_VERSION_SA) { in dmu_spill_hold_existing()
526 (longlong_t)dn->dn_objset-> in dmu_buf_hold_array_by_dnode()
538 zio = zio_root(dn->dn_objset->os_spa, NULL, NULL, in dmu_buf_hold_array_by_dnode()
597 zfs_racct_write(dn->dn_objset->os_spa, length, nblks, flags); in dmu_buf_hold_array_by_dnode()
1023 if (dmu_objset_zfs_unmounting(dn->dn_objset)) in dmu_free_long_range_impl()
1809 objset_t *os = dn->dn_objset; in dmu_assign_arcbuf_by_dnode()
H A Ddmu_tx.c261 zio_t *zio = zio_root(dn->dn_objset->os_spa, in dmu_tx_count_write()
330 zio_t *zio = zio_root(dn->dn_objset->os_spa, in dmu_tx_count_append()
729 ASSERT(tx->tx_objset == NULL || dn->dn_objset == tx->tx_objset); in dmu_tx_dirty_buf()
H A Ddmu_objset.c426 return ((unsigned int)dnode_hash(dn->dn_objset, dn->dn_object) % in dnode_multilist_index_func()
1487 multilist_t *newlist = &dn->dn_objset->os_synced_dnodes; in dmu_objset_sync_dnodes()
2192 objset_t *os = dn->dn_objset; in dmu_objset_userquota_get_ids()
2199 if (!dmu_objset_userused_enabled(dn->dn_objset)) in dmu_objset_userquota_get_ids()
/freebsd/sys/contrib/openzfs/include/sys/
H A Ddnode.h289 struct objset *dn_objset; member
463 ((_dn)->dn_objset->os_primary_cache == ZFS_CACHE_ALL || \
465 (_dn)->dn_objset->os_primary_cache == ZFS_CACHE_METADATA))
639 dprintf_ds((dn)->dn_objset->os_dsl_dataset, "obj=%s " fmt, \
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_dbuf.h51 POINTER_IS_VALID(DB_DNODE(db)->dn_objset)) \
52 ? spa_name(DB_DNODE(db)->dn_objset->os_spa) : "NULL"
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2740 SET_BOOKMARK(&czb, dmu_objset_id(dn->dn_objset), in dump_indirect()
2744 (void) visit_indirect(dmu_objset_spa(dn->dn_objset), dnp, in dump_indirect()