Home
last modified time | relevance | path

Searched refs:spa_feature_is_enabled (Results 1 – 20 of 20) sorted by relevance

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspace_map.c848 if ((spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM) && in space_map_truncate()
899 if (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in space_map_alloc()
917 if (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in space_map_free_obj()
1015 if (!spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2) || in space_map_estimate_optimal_size()
1024 (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2) && in space_map_estimate_optimal_size()
1032 if (!spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2)) { in space_map_estimate_optimal_size()
1044 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2)); in space_map_estimate_optimal_size()
H A Dzfeature.c279 if (!spa_feature_is_enabled(spa, feature->fi_feature)) { in feature_get_enabled_txg()
361 if (spa_feature_is_enabled(spa, SPA_FEATURE_ENABLED_TXG)) { in feature_enable_sync()
458 spa_feature_is_enabled(spa_t *spa, spa_feature_t fid) in spa_feature_is_enabled() function
H A Ddsl_bookmark.c153 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)) in dsl_bookmark_create_check()
186 ASSERT(spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)); in dsl_bookmark_create_sync()
360 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)) in dsl_bookmark_destroy_check()
H A Dvdev_indirect_mapping.c310 if (spa_feature_is_enabled(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mapping_alloc()
319 if (spa_feature_is_enabled(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mapping_alloc()
H A Dspa_checkpoint.c457 if (!spa_feature_is_enabled(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check()
H A Ddmu_send.c1425 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_EXTENSIBLE_DATASET)) in dmu_recv_begin_check()
1435 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_EMBEDDED_DATA)) in dmu_recv_begin_check()
1438 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LZ4_COMPRESS)) in dmu_recv_begin_check()
1447 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LARGE_BLOCKS)) in dmu_recv_begin_check()
1456 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LARGE_DNODE)) in dmu_recv_begin_check()
1683 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_EMBEDDED_DATA)) in dmu_recv_resume_begin_check()
1686 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LZ4_COMPRESS)) in dmu_recv_resume_begin_check()
H A Ddsl_destroy.c877 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_destroy_head_sync_impl()
1017 isenabled = spa_feature_is_enabled(spa, SPA_FEATURE_ASYNC_DESTROY); in dsl_destroy_head()
H A Dvdev_removal.c249 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_remove_initiate_sync()
1000 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in spa_vdev_copy_segment()
1869 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REMOVAL)) in spa_vdev_remove_top_check()
H A Dvdev_indirect.c310 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mark_obsolete()
796 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)); in vdev_indirect_sync_obsolete()
H A Dspa_misc.c2243 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) in spa_maxblocksize()
2252 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) in spa_maxdnodesize()
H A Dbpobj.c44 if (spa_feature_is_enabled(spa, SPA_FEATURE_EMPTY_BPOBJ)) { in bpobj_alloc_empty()
H A Dmetaslab.c1719 boolean_t feature_enabled = spa_feature_is_enabled(spa, in metaslab_set_fragmentation()
2048 spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM) && in metaslab_weight()
3734 if (!spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) in spa_remap_blkptr()
H A Dzfs_ioctl.c4174 if (!spa_feature_is_enabled(spa, in zfs_check_settable()
4218 if (!spa_feature_is_enabled(spa, in zfs_check_settable()
4236 if (!spa_feature_is_enabled(spa, in zfs_check_settable()
4291 if (!spa_feature_is_enabled(spa, feature)) { in zfs_check_settable()
H A Ddsl_dir.c608 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT)) { in dsl_dir_actv_fs_ss_limit_check()
H A Ddmu_objset.c1160 if (!spa_feature_is_enabled(dmu_objset_spa(os), in dmu_objset_remap_indirects()
H A Dspa.c375 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) { in spa_prop_get_config()
383 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) { in spa_prop_get_config()
7870 boolean_t lz4_en = spa_feature_is_enabled(spa,
H A Dzvol.c2431 if (!spa_feature_is_enabled(spa,
H A Dzio.c1467 spa_feature_is_enabled(spa, SPA_FEATURE_EMBEDDED_DATA)) { in zio_write_compress()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfeature.h50 extern boolean_t spa_feature_is_enabled(struct spa *, spa_feature_t);
/freebsd-12.1/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c3501 ASSERT(spa_feature_is_enabled(spa, in zdb_leak_init()
4731 ASSERT(spa_feature_is_enabled(spa, in dump_zpool()