Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfeature.c288 if (!spa_feature_is_enabled(spa, feature->fi_feature)) { in feature_get_enabled_txg()
368 if (spa_feature_is_enabled(spa, SPA_FEATURE_ENABLED_TXG)) { in feature_enable_sync()
392 spa_feature_is_enabled(spa, SPA_FEATURE_ENCRYPTION) && in feature_enable_sync()
488 spa_feature_is_enabled(spa_t *spa, spa_feature_t fid) in spa_feature_is_enabled() function
H A Dspace_map.c880 if ((spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM) && in space_map_truncate()
920 if (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in space_map_alloc()
938 if (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in space_map_free_obj()
1036 if (!spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2) || in space_map_estimate_optimal_size()
1045 (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2) && in space_map_estimate_optimal_size()
1053 if (!spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2)) { in space_map_estimate_optimal_size()
1065 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2)); in space_map_estimate_optimal_size()
H A Dspa_errlog.c223 if (spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in spa_log_error()
571 if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in spa_add_healed_error()
700 if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in spa_remove_healed_errors()
775 if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in spa_approx_errlog_size()
965 if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in process_error_log()
1042 if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in process_error_list()
1182 if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in sync_error_list()
1237 if (spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in delete_errlog()
H A Ddsl_bookmark.c302 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)) in dsl_bookmark_create_check()
365 spa_feature_is_enabled(spa, SPA_FEATURE_BOOKMARK_V2)) { in dsl_bookmark_set_phys()
371 if (spa_feature_is_enabled(spa, SPA_FEATURE_BOOKMARK_WRITTEN)) { in dsl_bookmark_set_phys()
420 if (spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARK_V2) && in dsl_bookmark_node_add()
605 ASSERT(spa_feature_is_enabled(dmu_tx_pool(tx)->dp_spa, in dsl_bookmark_create_sync()
654 if (!spa_feature_is_enabled(dp->dp_spa, in dsl_bookmark_create_redacted_check()
662 uint64_t snaplimit = ((spa_feature_is_enabled(dp->dp_spa, in dsl_bookmark_create_redacted_check()
1100 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)) in dsl_bookmark_destroy_check()
H A Dvdev_rebuild.c463 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD) || in vdev_rebuild_clear_sync()
724 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD)) { in vdev_rebuild_load()
1026 ASSERT(spa_feature_is_enabled(vd->vdev_spa, in vdev_rebuild()
1138 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD)) in vdev_rebuild_get_stats()
H A Dvdev_indirect_mapping.c317 if (spa_feature_is_enabled(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mapping_alloc()
326 if (spa_feature_is_enabled(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mapping_alloc()
H A Ddmu_recv.c584 !spa_feature_is_enabled(spa, SPA_FEATURE_LZ4_COMPRESS)) in recv_begin_check_feature_flags_impl()
587 !spa_feature_is_enabled(spa, SPA_FEATURE_ZSTD_COMPRESS)) in recv_begin_check_feature_flags_impl()
590 !spa_feature_is_enabled(spa, SPA_FEATURE_EMBEDDED_DATA)) in recv_begin_check_feature_flags_impl()
593 !spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) in recv_begin_check_feature_flags_impl()
596 !spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) in recv_begin_check_feature_flags_impl()
599 !spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_MICROZAP)) in recv_begin_check_feature_flags_impl()
607 !spa_feature_is_enabled(spa, SPA_FEATURE_REDACTED_DATASETS)) in recv_begin_check_feature_flags_impl()
614 !spa_feature_is_enabled(spa, SPA_FEATURE_LONGNAME)) in recv_begin_check_feature_flags_impl()
650 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_EXTENSIBLE_DATASET)) in dmu_recv_begin_check()
655 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) in dmu_recv_begin_check()
H A Dzvol.c453 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) { in zvol_check_volblocksize()
581 ASSERT(spa_feature_is_enabled(dmu_objset_spa(os), in zvol_replay_clone_range()
656 if (!spa_feature_is_enabled(dmu_objset_spa(outos), in zvol_clone_range()
1349 if (!spa_feature_is_enabled(dp->dp_spa, in zvol_add_clones()
H A Ddsl_destroy.c1088 } else if (spa_feature_is_enabled(dp->dp_spa, in dsl_destroy_head_sync_impl()
1176 if (spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_HEAD_ERRLOG)) in dsl_destroy_head_sync_impl()
1225 isenabled = spa_feature_is_enabled(spa, SPA_FEATURE_ASYNC_DESTROY); in dsl_destroy_head()
H A Dspa_checkpoint.c460 if (!spa_feature_is_enabled(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check()
H A Ddsl_crypt.c796 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) { in spa_keystore_load_wkey()
946 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) { in spa_keystore_unload_wkey()
1272 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) { in spa_keystore_change_key_check()
1845 !spa_feature_is_enabled(parentdd->dd_pool->dp_spa, in dmu_objset_create_crypt_check()
1852 !spa_feature_is_enabled(parentdd->dd_pool->dp_spa, in dmu_objset_create_crypt_check()
H A Dzfs_vnops.c1126 !spa_feature_is_enabled(spa, SPA_FEATURE_PHYSICAL_REWRITE)) { in zfs_rewrite()
1616 if (!spa_feature_is_enabled(dmu_objset_spa(outos), in zfs_clone_range()
2002 ASSERT(spa_feature_is_enabled(dmu_objset_spa(zfsvfs->z_os), in zfs_clone_range_replay()
H A Dmetaslab.c2590 ASSERT(spa_feature_is_enabled(spa, in metaslab_load_impl()
3132 boolean_t feature_enabled = spa_feature_is_enabled(spa, in metaslab_set_fragmentation()
3506 spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM) && in metaslab_weight()
3958 spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP) ? in metaslab_condense()
4289 spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP) ? in metaslab_sync()
4352 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync()
4375 ASSERT(!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync()
5646 if (!spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) in spa_remap_blkptr()
H A Dzfs_sa.c260 if (spa_feature_is_enabled(zfsvfs->z_os->os_spa, in zfs_sa_set_xattr()
H A Dvdev_removal.c429 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_remove_initiate_sync()
1218 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in spa_vdev_copy_segment()
2195 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REMOVAL)) in spa_vdev_remove_top_check()
H A Dspa_misc.c1700 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_ALLOCATION_CLASSES)); in spa_activate_allocation_classes()
2819 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) in spa_maxblocksize()
2871 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) in spa_maxdnodesize()
H A Dvdev_indirect.c335 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mark_obsolete()
822 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)); in vdev_indirect_sync_obsolete()
H A Dspa.c552 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) { in spa_prop_get_config()
560 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) { in spa_prop_get_config()
4794 if (spa_feature_is_enabled(spa, SPA_FEATURE_ENCRYPTION) &&
4795 !spa_feature_is_enabled(spa, SPA_FEATURE_BOOKMARK_V2)) {
7705 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD))
7730 if (!spa_feature_is_enabled(spa, SPA_FEATURE_RAIDZ_EXPANSION))
8012 spa_feature_is_enabled(spa,
9128 !spa_feature_is_enabled(spa, SPA_FEATURE_RESILVER_DEFER))
9145 !spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG))
9328 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_RESILVER_DEFER)))
[all …]
H A Ddsl_dataset.c200 ASSERT(spa_feature_is_enabled(spa, in dsl_dataset_block_born()
287 ASSERT(spa_feature_is_enabled(spa, in dsl_dataset_block_kill()
1345 spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LIVELIST)) { in dsl_dataset_create_sync()
1871 spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARK_V2)) { in dsl_dataset_snapshot_sync_impl()
3877 if (spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_HEAD_ERRLOG)) { in dsl_dataset_promote_sync()
4669 if (!spa_feature_is_enabled(dp->dp_spa, f)) in dsl_dataset_set_compression_check()
H A Ddmu_objset.c523 else if (!spa_feature_is_enabled(spa, in dmu_objset_open_impl()
1808 spa_feature_is_enabled(os->os_spa, SPA_FEATURE_USEROBJ_ACCOUNTING)); in dmu_objset_userobjused_enabled()
1816 spa_feature_is_enabled(os->os_spa, SPA_FEATURE_PROJECT_QUOTA)); in dmu_objset_projectquota_enabled()
H A Dzfs_ioctl.c2681 if (!spa_feature_is_enabled(zfsvfs->z_os->os_spa, in zfs_prop_set_special()
4555 if (!spa_feature_is_enabled(spa, SPA_FEATURE_FAST_DEDUP)) { in zfs_ioc_ddt_prune()
4965 if (!spa_feature_is_enabled(spa, in zfs_check_settable()
4979 if (!spa_feature_is_enabled(spa, in zfs_check_settable()
5012 if (!spa_feature_is_enabled(spa, in zfs_check_settable()
5030 if (!spa_feature_is_enabled(spa, in zfs_check_settable()
5076 if (!spa_feature_is_enabled(spa, feature)) { in zfs_check_settable()
H A Dspa_log_spacemap.c960 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_generate_syncing_log_sm()
H A Dbpobj.c44 if (spa_feature_is_enabled(spa, SPA_FEATURE_EMPTY_BPOBJ)) { in bpobj_alloc_empty()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfeature.h51 extern boolean_t spa_feature_is_enabled(struct spa *, spa_feature_t);
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_file_range.c60 if (!spa_feature_is_enabled( in zpl_clone_file_range_impl()

12