| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | zfeature.c | 287 if (!spa_feature_is_enabled(spa, feature->fi_feature)) { in feature_get_enabled_txg() 364 if (spa_feature_is_enabled(spa, SPA_FEATURE_ENABLED_TXG)) { in feature_enable_sync() 388 spa_feature_is_enabled(spa, SPA_FEATURE_ENCRYPTION) && in feature_enable_sync() 482 spa_feature_is_enabled(spa_t *spa, spa_feature_t fid) in spa_feature_is_enabled() function
|
| H A D | space_map.c | 876 if ((spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM) && in space_map_truncate() 916 if (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in space_map_alloc() 934 if (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in space_map_free_obj() 1032 if (!spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2) || in space_map_estimate_optimal_size() 1041 (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2) && in space_map_estimate_optimal_size() 1049 if (!spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2)) { in space_map_estimate_optimal_size() 1061 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2)); in space_map_estimate_optimal_size()
|
| H A D | spa_errlog.c | 222 if (spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in spa_log_error() 574 if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in spa_add_healed_error() 706 if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in spa_remove_healed_errors() 779 if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in spa_approx_errlog_size() 967 if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in process_error_log() 1044 if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in process_error_list() 1184 if (!spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in sync_error_list() 1239 if (spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) { in delete_errlog()
|
| H A D | dsl_bookmark.c | 300 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)) in dsl_bookmark_create_check() 363 spa_feature_is_enabled(spa, SPA_FEATURE_BOOKMARK_V2)) { in dsl_bookmark_set_phys() 369 if (spa_feature_is_enabled(spa, SPA_FEATURE_BOOKMARK_WRITTEN)) { in dsl_bookmark_set_phys() 418 if (spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARK_V2) && in dsl_bookmark_node_add() 586 ASSERT(spa_feature_is_enabled(dmu_tx_pool(tx)->dp_spa, in dsl_bookmark_create_sync() 635 if (!spa_feature_is_enabled(dp->dp_spa, in dsl_bookmark_create_redacted_check() 1067 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)) in dsl_bookmark_destroy_check()
|
| H A D | vdev_rebuild.c | 457 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD) || in vdev_rebuild_clear_sync() 718 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD)) { in vdev_rebuild_load() 1018 ASSERT(spa_feature_is_enabled(vd->vdev_spa, in vdev_rebuild() 1128 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD)) in vdev_rebuild_get_stats()
|
| H A D | vdev_indirect_mapping.c | 316 if (spa_feature_is_enabled(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mapping_alloc() 325 if (spa_feature_is_enabled(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mapping_alloc()
|
| H A D | dmu_recv.c | 582 !spa_feature_is_enabled(spa, SPA_FEATURE_LZ4_COMPRESS)) in recv_begin_check_feature_flags_impl() 585 !spa_feature_is_enabled(spa, SPA_FEATURE_ZSTD_COMPRESS)) in recv_begin_check_feature_flags_impl() 588 !spa_feature_is_enabled(spa, SPA_FEATURE_EMBEDDED_DATA)) in recv_begin_check_feature_flags_impl() 591 !spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) in recv_begin_check_feature_flags_impl() 594 !spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) in recv_begin_check_feature_flags_impl() 602 !spa_feature_is_enabled(spa, SPA_FEATURE_REDACTED_DATASETS)) in recv_begin_check_feature_flags_impl() 638 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_EXTENSIBLE_DATASET)) in dmu_recv_begin_check() 643 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) in dmu_recv_begin_check()
|
| H A D | spa_checkpoint.c | 459 if (!spa_feature_is_enabled(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check()
|
| H A D | dsl_destroy.c | 1086 } else if (spa_feature_is_enabled(dp->dp_spa, in dsl_destroy_head_sync_impl() 1164 if (spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_HEAD_ERRLOG)) in dsl_destroy_head_sync_impl() 1213 isenabled = spa_feature_is_enabled(spa, SPA_FEATURE_ASYNC_DESTROY); in dsl_destroy_head()
|
| H A D | dsl_crypt.c | 795 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) { in spa_keystore_load_wkey() 945 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) { in spa_keystore_unload_wkey() 1271 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) { in spa_keystore_change_key_check() 1844 !spa_feature_is_enabled(parentdd->dd_pool->dp_spa, in dmu_objset_create_crypt_check() 1851 !spa_feature_is_enabled(parentdd->dd_pool->dp_spa, in dmu_objset_create_crypt_check()
|
| H A D | metaslab.c | 2381 ASSERT(spa_feature_is_enabled(spa, in metaslab_load_impl() 2902 boolean_t feature_enabled = spa_feature_is_enabled(spa, in metaslab_set_fragmentation() 3276 spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM) && in metaslab_weight() 3716 spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP) ? in metaslab_condense() 4043 spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP) ? in metaslab_sync() 4106 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync() 4129 ASSERT(!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync() 5484 if (!spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) in spa_remap_blkptr()
|
| H A D | zfs_vnops.c | 1109 if (!spa_feature_is_enabled(dmu_objset_spa(outos), in zfs_clone_range() 1481 ASSERT(spa_feature_is_enabled(dmu_objset_spa(zfsvfs->z_os), in zfs_clone_range_replay()
|
| H A D | zfs_sa.c | 259 if (spa_feature_is_enabled(zfsvfs->z_os->os_spa, in zfs_sa_set_xattr()
|
| H A D | vdev_indirect.c | 333 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mark_obsolete() 820 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)); in vdev_indirect_sync_obsolete()
|
| H A D | zvol.c | 386 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) { in zvol_check_volblocksize() 993 if (!spa_feature_is_enabled(dp->dp_spa, in zvol_add_clones()
|
| H A D | spa_misc.c | 1632 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_ALLOCATION_CLASSES)); in spa_activate_allocation_classes() 2714 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) in spa_maxblocksize() 2766 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) in spa_maxdnodesize()
|
| H A D | vdev_removal.c | 431 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() 2180 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REMOVAL)) in spa_vdev_remove_top_check()
|
| H A D | dsl_dataset.c | 196 ASSERT(spa_feature_is_enabled(spa, in dsl_dataset_block_born() 283 ASSERT(spa_feature_is_enabled(spa, in dsl_dataset_block_kill() 1312 spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LIVELIST)) { in dsl_dataset_create_sync() 1838 spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARK_V2)) { in dsl_dataset_snapshot_sync_impl() 3719 if (spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_HEAD_ERRLOG)) { in dsl_dataset_promote_sync() 4507 if (!spa_feature_is_enabled(dp->dp_spa, f)) in dsl_dataset_set_compression_check()
|
| H A D | spa.c | 429 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) { in spa_prop_get_config() 437 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) { in spa_prop_get_config() 4531 if (spa_feature_is_enabled(spa, SPA_FEATURE_ENCRYPTION) && 4532 !spa_feature_is_enabled(spa, SPA_FEATURE_BOOKMARK_V2)) { 7285 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD)) 7496 spa_feature_is_enabled(spa, SPA_FEATURE_RESILVER_DEFER)) { 8602 !spa_feature_is_enabled(spa, SPA_FEATURE_RESILVER_DEFER)) 8616 !spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) 8777 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_RESILVER_DEFER))) 9488 boolean_t lz4_en = spa_feature_is_enabled(spa,
|
| H A D | dmu_objset.c | 525 else if (!spa_feature_is_enabled(spa, in dmu_objset_open_impl() 1832 spa_feature_is_enabled(os->os_spa, SPA_FEATURE_USEROBJ_ACCOUNTING)); in dmu_objset_userobjused_enabled() 1840 spa_feature_is_enabled(os->os_spa, SPA_FEATURE_PROJECT_QUOTA)); in dmu_objset_projectquota_enabled()
|
| H A D | spa_log_spacemap.c | 959 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_generate_syncing_log_sm()
|
| H A D | bpobj.c | 43 if (spa_feature_is_enabled(spa, SPA_FEATURE_EMPTY_BPOBJ)) { in bpobj_alloc_empty()
|
| H A D | dsl_dir.c | 661 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT)) { in dsl_dir_actv_fs_ss_limit_check() 2273 if (spa_feature_is_enabled(dp->dp_spa, in dsl_dir_snap_cmtime_update()
|
| /freebsd-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | zfeature.h | 50 extern boolean_t spa_feature_is_enabled(struct spa *, spa_feature_t);
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zpl_file_range.c | 59 if (!spa_feature_is_enabled( in zpl_clone_file_range_impl()
|