Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
Dbpobj.c41 spa_t *spa = dmu_objset_spa(os); in bpobj_alloc_empty()
67 spa_feature_decr(dmu_objset_spa(os), SPA_FEATURE_EMPTY_BPOBJ, tx); in bpobj_decr_empty()
68 if (!spa_feature_is_active(dmu_objset_spa(os), in bpobj_decr_empty()
83 if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_BPOBJ_ACCOUNT) in bpobj_alloc()
85 else if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_DEADLISTS) in bpobj_alloc()
253 bp_get_dsize_sync(dmu_objset_spa(bpo->bpo_os), bp); in bpobj_iterate_impl()
524 bp_get_dsize_sync(dmu_objset_spa(bpo->bpo_os), bp); in bpobj_enqueue()
597 sra.spa = dmu_objset_spa(bpo->bpo_os); in bpobj_space_range()
Ddmu_object.c423 spa_feature_incr(dmu_objset_spa(mos), in dmu_object_zapify()
440 spa_feature_decr(dmu_objset_spa(mos), in dmu_object_free_zapified()
Dspace_map.c834 spa_t *spa = dmu_objset_spa(os); in space_map_truncate()
885 spa_t *spa = dmu_objset_spa(os); in space_map_alloc()
906 spa_t *spa = dmu_objset_spa(os); in space_map_free_obj()
939 spa_t *spa = dmu_objset_spa(sm->sm_os); in space_map_estimate_optimal_size()
Ddataset_kstats.c85 "zfs/%s", spa_name(dmu_objset_spa(objset))); in dataset_kstats_create()
Dzfs_vfsops.c447 ASSERT3U(newval, <=, spa_maxblocksize(dmu_objset_spa(zfsvfs->z_os))); in blksz_changed_cb()
600 !spa_writeable(dmu_objset_spa(os))) { in zfs_register_callbacks()
1034 zfs_zpl_version_map(spa_version(dmu_objset_spa(os)))) { in zfsvfs_init()
1038 (u_longlong_t)spa_version(dmu_objset_spa(os))); in zfsvfs_init()
1288 if (spa_writeable(dmu_objset_spa(zfsvfs->z_os))) { in zfsvfs_setup()
2672 spa_version(dmu_objset_spa(zfsvfs->z_os))) in zfs_set_version()
2699 ASSERT3U(spa_version(dmu_objset_spa(zfsvfs->z_os)), >=, in zfs_set_version()
Ddsl_deadlist.c158 if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_DEADLISTS) in dsl_deadlist_alloc()
241 bp_get_dsize_sync(dmu_objset_spa(dl->dl_os), bp); in dsl_deadlist_insert()
Ddsl_deleg.c559 if (spa_version(dmu_objset_spa(dp->dp_meta_objset)) < in dsl_deleg_access_impl()
721 if (spa_version(dmu_objset_spa(sdd->dd_pool->dp_meta_objset)) < in dsl_deleg_set_create_perms()
Dzvol.c755 if (dmu_objset_is_snapshot(os) || !spa_writeable(dmu_objset_spa(os)))
767 if (spa_writeable(dmu_objset_spa(os))) {
885 !spa_writeable(dmu_objset_spa(os)))
1538 spa_t *spa = dmu_objset_spa(zv->zv_objset);
2420 spa_t *spa = dmu_objset_spa(os);
2634 uint64_t version = spa_version(dmu_objset_spa(zv->zv_objset));
2804 spa_t *spa = dmu_objset_spa(zv->zv_objset);
3327 spa_t *spa = dmu_objset_spa(zv->zv_objset);
Ddbuf.c1398 spa_syncing_txg(dmu_objset_spa(db->db_objset))); in dbuf_read()
2043 txg != spa_syncing_txg(dmu_objset_spa(db->db_objset))); in dbuf_undirty()
2214 ASSERT(spa_feature_is_active(dmu_objset_spa(db->db_objset), in dmu_buf_write_embedded()
2804 zio_t *pio = zio_root(dmu_objset_spa(dn->dn_objset), NULL, NULL, in dbuf_prefetch()
3082 ASSERT3U(blksz, <=, spa_maxblocksize(dmu_objset_spa(db->db_objset))); in dbuf_spill_set_blksz()
3244 spa_t *spa = dmu_objset_spa(db->db_objset); in dbuf_rele_and_unlock()
3995 spa_t *spa = dmu_objset_spa(os); in dbuf_remap_impl_callback()
4012 spa_t *spa = dmu_objset_spa(dn->dn_objset); in dbuf_remap_impl()
4041 spa_t *spa = dmu_objset_spa(db->db_objset); in dbuf_can_remap()
4066 spa_t *spa = dmu_objset_spa(dn->dn_objset); in dnode_needs_remap()
[all …]
Ddmu_objset.c96 dmu_objset_spa(objset_t *os) in dmu_objset_spa() function
1219 if (!spa_feature_is_enabled(dmu_objset_spa(os), in dmu_objset_remap_indirects()
1233 last_removed_txg = spa_get_last_removal_txg(dmu_objset_spa(os)); in dmu_objset_remap_indirects()
1244 if (zap_lookup(spa_meta_objset(dmu_objset_spa(os)), in dmu_objset_remap_indirects()
1256 remap_start_txg = spa_last_synced_txg(dmu_objset_spa(os)); in dmu_objset_remap_indirects()
Ddnode.c584 spa_maxdnodesize(dmu_objset_spa(dn->dn_objset))); in dnode_allocate()
586 spa_maxblocksize(dmu_objset_spa(dn->dn_objset))); in dnode_allocate()
677 spa_maxblocksize(dmu_objset_spa(dn->dn_objset))); in dnode_reallocate()
686 DN_BONUS_SIZE(spa_maxdnodesize(dmu_objset_spa(dn->dn_objset)))); in dnode_reallocate()
1706 ASSERT3U(size, <=, spa_maxblocksize(dmu_objset_spa(dn->dn_objset))); in dnode_set_blksz()
Ddmu_send.c2197 drro->drr_blksz > spa_maxblocksize(dmu_objset_spa(rwa->os)) || in receive_object()
2199 DN_BONUS_SIZE(spa_maxdnodesize(dmu_objset_spa(rwa->os))) || in receive_object()
2201 (spa_maxdnodesize(dmu_objset_spa(rwa->os)) >> DNODE_SHIFT)) { in receive_object()
2551 drrs->drr_length > spa_maxblocksize(dmu_objset_spa(rwa->os))) in receive_spill()
2849 dmu_objset_spa(ra->os), in receive_read_record()
2853 abuf = arc_loan_buf(dmu_objset_spa(ra->os), in receive_read_record()
Dzfs_znode.c1896 version = zfs_zpl_version_map(spa_version(dmu_objset_spa(os))); in zfs_create_fs()
Dzil.c3042 zilog->zl_spa = dmu_objset_spa(os); in zil_alloc()
Dzfs_ioctl.c343 ret = (dmu_objset_id(os) == spa_bootfs(dmu_objset_spa(os))); in zfs_is_bootfs()
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
Dzfs_znode.h120 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_FUID)
122 spa_version(dmu_objset_spa(os)) >= SPA_VERSION_SA)
Ddmu.h935 extern struct spa *dmu_objset_spa(objset_t *os);
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zdb/
Dzdb.c1547 (void) visit_indirect(dmu_objset_spa(dn->dn_objset), dnp, in dump_indirect()
1826 dmu_objset_spa(dl->dl_os)->spa_dsl_pool->dp_empty_bpobj; in dump_deadlist()
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/ztest/
Dztest.c5023 cb_data->zcd_spa = dmu_objset_spa(os); in ztest_create_cb_data()