Home
last modified time | relevance | path

Searched refs:dmu_objset_spa (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dbpobj.c40 spa_t *spa = dmu_objset_spa(os); in bpobj_alloc_empty()
66 spa_feature_decr(dmu_objset_spa(os), SPA_FEATURE_EMPTY_BPOBJ, tx); in bpobj_decr_empty()
67 if (!spa_feature_is_active(dmu_objset_spa(os), in bpobj_decr_empty()
82 if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_BPOBJ_ACCOUNT) in bpobj_alloc()
84 else if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_DEADLISTS) in bpobj_alloc()
86 else if (!spa_feature_is_active(dmu_objset_spa(os), in bpobj_alloc()
330 spa_t *spa = dmu_objset_spa(bpo->bpo_os); in bpobj_iterate_blkptrs()
929 bp_get_dsize_sync(dmu_objset_spa(bpo->bpo_os), bp); in bpobj_enqueue()
1007 sra.spa = dmu_objset_spa(bpo->bpo_os); in bpobj_space_range()
H A Dspace_map.c859 spa_t *spa = dmu_objset_spa(os); in space_map_truncate()
912 spa_t *spa = dmu_objset_spa(os); in space_map_alloc()
933 spa_t *spa = dmu_objset_spa(os); in space_map_free_obj()
966 spa_t *spa = dmu_objset_spa(sm->sm_os); in space_map_estimate_optimal_size()
H A Ddmu_object.c485 spa_feature_incr(dmu_objset_spa(mos), in dmu_object_zapify()
502 spa_feature_decr(dmu_objset_spa(mos), in dmu_object_free_zapified()
H A Dzfs_vnops.c1374 if (dmu_objset_spa(inos) != dmu_objset_spa(outos)) { in zfs_clone_range()
1383 if (!spa_feature_is_enabled(dmu_objset_spa(outos), in zfs_clone_range()
1593 last_synced_txg = spa_last_synced_txg(dmu_objset_spa(inos)); in zfs_clone_range()
1760 ASSERT(spa_feature_is_enabled(dmu_objset_spa(zfsvfs->z_os), in zfs_clone_range_replay()
H A Ddataset_kstats.c116 "zfs/%s", spa_name(dmu_objset_spa(objset))); in dataset_kstats_create()
H A Ddsl_bookmark.c1012 spa_feature_decr(dmu_objset_spa(mos), in dsl_bookmark_destroy_sync_impl()
1062 spa_feature_decr(dmu_objset_spa(mos), in dsl_bookmark_destroy_sync_impl()
1071 spa_feature_decr(dmu_objset_spa(mos), in dsl_bookmark_destroy_sync_impl()
1077 spa_feature_decr(dmu_objset_spa(mos), in dsl_bookmark_destroy_sync_impl()
H A Ddsl_deleg.c570 if (spa_version(dmu_objset_spa(dp->dp_meta_objset)) < in dsl_deleg_access_impl()
734 if (spa_version(dmu_objset_spa(sdd->dd_pool->dp_meta_objset)) < in dsl_deleg_set_create_perms()
H A Ddsl_destroy.c1136 spa_feature_decr(dmu_objset_spa(mos), in dsl_destroy_head_sync_impl()
1143 spa_feature_decr(dmu_objset_spa(mos), in dsl_destroy_head_sync_impl()
1147 spa_feature_decr(dmu_objset_spa(mos), in dsl_destroy_head_sync_impl()
H A Ddbuf.c2562 txg != spa_syncing_txg(dmu_objset_spa(db->db_objset))); in dbuf_undirty()
2585 brt_pending_remove(dmu_objset_spa(db->db_objset), in dbuf_undirty()
3041 ASSERT(spa_feature_is_active(dmu_objset_spa(db->db_objset), in dmu_buf_write_embedded()
3772 zio_t *pio = zio_root(dmu_objset_spa(dn->dn_objset), NULL, NULL, in dbuf_prefetch_impl()
4033 ASSERT3U(blksz, <=, spa_maxblocksize(dmu_objset_spa(db->db_objset))); in dbuf_spill_set_blksz()
4576 spa_t *spa = dmu_objset_spa(dn->dn_objset); in dbuf_lightweight_ready()
4655 dr->dr_zio = zio_write(pio, dmu_objset_spa(dn->dn_objset), in dbuf_sync_lightweight()
5159 spa_t *spa = dmu_objset_spa(os); in dbuf_remap_impl_callback()
5176 spa_t *spa = dmu_objset_spa(dn->dn_objset); in dbuf_remap_impl()
5230 spa_t *spa = dmu_objset_spa(db->db_objset); in dbuf_remap()
H A Ddnode.c721 spa_maxdnodesize(dmu_objset_spa(dn->dn_objset))); in dnode_allocate()
723 spa_maxblocksize(dmu_objset_spa(dn->dn_objset))); in dnode_allocate()
814 spa_maxblocksize(dmu_objset_spa(dn->dn_objset))); in dnode_reallocate()
823 DN_BONUS_SIZE(spa_maxdnodesize(dmu_objset_spa(dn->dn_objset)))); in dnode_reallocate()
1936 ASSERT3U(size, <=, spa_maxblocksize(dmu_objset_spa(dn->dn_objset))); in dnode_set_blksz()
H A Ddmu_recv.c1901 drro->drr_blksz > spa_maxblocksize(dmu_objset_spa(rwa->os)) || in receive_object()
1903 DN_BONUS_SIZE(spa_maxdnodesize(dmu_objset_spa(rwa->os))) || in receive_object()
1905 (spa_maxdnodesize(dmu_objset_spa(rwa->os)) >> DNODE_SHIFT)) { in receive_object()
2528 drrs->drr_length > spa_maxblocksize(dmu_objset_spa(rwa->os))) in receive_spill()
2591 abuf = arc_loan_raw_buf(dmu_objset_spa(rwa->os), in receive_spill()
2597 abuf = arc_loan_buf(dmu_objset_spa(rwa->os), in receive_spill()
H A Ddsl_deadlist.c377 if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_DEADLISTS) in dsl_deadlist_alloc()
479 sign * bp_get_dsize_sync(dmu_objset_spa(dl->dl_os), bp); in dsl_deadlist_insert()
H A Ddmu_objset.c112 dmu_objset_spa(objset_t *os) in dmu_objset_spa() function
2544 spa_writeable(dmu_objset_spa(os))); in dmu_objset_userobjspace_upgradable()
2554 spa_writeable(dmu_objset_spa(os))); in dmu_objset_projectquota_upgradable()
3160 EXPORT_SYMBOL(dmu_objset_spa);
H A Ddsl_crypt.c282 spa = dmu_objset_spa(osa); in dmu_objset_crypto_key_equal()
283 if (spa != dmu_objset_spa(osb)) in dmu_objset_crypto_key_equal()
H A Dzvol.c788 !spa_writeable(dmu_objset_spa(os))) { in zvol_setup_zv()
H A Dzil.c3864 zilog->zl_spa = dmu_objset_spa(os); in zil_alloc()
3874 spa_maxblocksize(dmu_objset_spa(os))); in zil_alloc()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vfsops.c383 ASSERT3U(newval, <=, spa_maxblocksize(dmu_objset_spa(zfsvfs->z_os))); in blksz_changed_cb()
480 if (zfs_is_readonly(zfsvfs) || !spa_writeable(dmu_objset_spa(os))) { in zfs_register_callbacks()
649 zfs_zpl_version_map(spa_version(dmu_objset_spa(os)))) { in zfsvfs_init()
653 (u_longlong_t)spa_version(dmu_objset_spa(os))); in zfsvfs_init()
925 if (spa_writeable(dmu_objset_spa(zfsvfs->z_os))) { in zfsvfs_setup()
1622 if ((issnap || !spa_writeable(dmu_objset_spa(zfsvfs->z_os))) && in zfs_remount()
1953 spa_version(dmu_objset_spa(zfsvfs->z_os))) in zfs_set_version()
1980 ASSERT3U(spa_version(dmu_objset_spa(zfsvfs->z_os)), >=, in zfs_set_version()
H A Dzpl_file_range.c60 dmu_objset_spa(ITOZSB(dst_i)->z_os), SPA_FEATURE_BLOCK_CLONING)) in zpl_clone_file_range_impl()
H A Dzvol_os.c1690 if (spa_writeable(dmu_objset_spa(os))) { in zvol_os_create_minor()
H A Dzfs_znode_os.c1841 version = zfs_zpl_version_map(spa_version(dmu_objset_spa(os))); in zfs_create_fs()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_znode.h124 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_FUID)
126 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_SA)
H A Ddmu.h1032 extern struct spa *dmu_objset_spa(objset_t *os);
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c506 ASSERT3U(newval, <=, spa_maxblocksize(dmu_objset_spa(zfsvfs->z_os))); in blksz_changed_cb()
663 !spa_writeable(dmu_objset_spa(os))) { in zfs_register_callbacks()
810 zfs_zpl_version_map(spa_version(dmu_objset_spa(os)))) { in zfsvfs_init()
814 (u_longlong_t)spa_version(dmu_objset_spa(os))); in zfsvfs_init()
1116 if (spa_writeable(dmu_objset_spa(zfsvfs->z_os))) { in zfsvfs_setup()
2188 spa_version(dmu_objset_spa(zfsvfs->z_os))) in zfs_set_version()
2215 ASSERT3U(spa_version(dmu_objset_spa(zfsvfs->z_os)), >=, in zfs_set_version()
H A Dzvol_os.c589 spa_t *spa = dmu_objset_spa(zv->zv_objset); in zvol_geom_bio_getattr()
1178 spa_t *spa = dmu_objset_spa(zv->zv_objset); in zvol_cdev_ioctl()
1474 if (dmu_objset_is_snapshot(os) || !spa_writeable(dmu_objset_spa(os))) in zvol_os_create_minor()
1487 if (spa_writeable(dmu_objset_spa(os))) { in zvol_os_create_minor()
H A Dzfs_znode_os.c1665 version = zfs_zpl_version_map(spa_version(dmu_objset_spa(os))); in zfs_create_fs()

12