/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfeature.c | 288 if (!spa_feature_is_enabled(spa, feature->fi_feature)) { in feature_get_enabled_txg() 365 if (spa_feature_is_enabled(spa, SPA_FEATURE_ENABLED_TXG)) { in feature_enable_sync() 389 spa_feature_is_enabled(spa, SPA_FEATURE_ENCRYPTION) && in feature_enable_sync() 483 spa_feature_is_enabled(spa_t *spa, spa_feature_t fid) in spa_feature_is_enabled() function
|
H A D | space_map.c | 880 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 D | spa_errlog.c | 223 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 D | dsl_bookmark.c | 302 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 D | vdev_rebuild.c | 463 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() 1025 ASSERT(spa_feature_is_enabled(vd->vdev_spa, in vdev_rebuild() 1137 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD)) in vdev_rebuild_get_stats()
|
H A D | vdev_indirect_mapping.c | 317 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 D | dmu_recv.c | 583 !spa_feature_is_enabled(spa, SPA_FEATURE_LZ4_COMPRESS)) in recv_begin_check_feature_flags_impl() 586 !spa_feature_is_enabled(spa, SPA_FEATURE_ZSTD_COMPRESS)) in recv_begin_check_feature_flags_impl() 589 !spa_feature_is_enabled(spa, SPA_FEATURE_EMBEDDED_DATA)) in recv_begin_check_feature_flags_impl() 592 !spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) in recv_begin_check_feature_flags_impl() 595 !spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) in recv_begin_check_feature_flags_impl() 598 !spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_MICROZAP)) in recv_begin_check_feature_flags_impl() 606 !spa_feature_is_enabled(spa, SPA_FEATURE_REDACTED_DATASETS)) in recv_begin_check_feature_flags_impl() 613 !spa_feature_is_enabled(spa, SPA_FEATURE_LONGNAME)) in recv_begin_check_feature_flags_impl() 649 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_EXTENSIBLE_DATASET)) in dmu_recv_begin_check() 654 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) in dmu_recv_begin_check()
|
H A D | zvol.c | 418 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) { in zvol_check_volblocksize() 544 ASSERT(spa_feature_is_enabled(dmu_objset_spa(os), in zvol_replay_clone_range() 619 if (!spa_feature_is_enabled(dmu_objset_spa(outos), in zvol_clone_range() 1309 if (!spa_feature_is_enabled(dp->dp_spa, in zvol_add_clones()
|
H A D | spa_checkpoint.c | 460 if (!spa_feature_is_enabled(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check()
|
H A D | dsl_destroy.c | 1090 } else if (spa_feature_is_enabled(dp->dp_spa, in dsl_destroy_head_sync_impl() 1178 if (spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_HEAD_ERRLOG)) in dsl_destroy_head_sync_impl() 1227 isenabled = spa_feature_is_enabled(spa, SPA_FEATURE_ASYNC_DESTROY); in dsl_destroy_head()
|
H A D | dsl_crypt.c | 796 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 D | zfs_sa.c | 260 if (spa_feature_is_enabled(zfsvfs->z_os->os_spa, in zfs_sa_set_xattr()
|
H A D | metaslab.c | 2521 ASSERT(spa_feature_is_enabled(spa, in metaslab_load_impl() 3048 boolean_t feature_enabled = spa_feature_is_enabled(spa, in metaslab_set_fragmentation() 3422 spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM) && in metaslab_weight() 3871 spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP) ? in metaslab_condense() 4200 spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP) ? in metaslab_sync() 4263 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync() 4286 ASSERT(!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync() 5515 if (!spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) in spa_remap_blkptr()
|
H A D | zfs_vnops.c | 1423 if (!spa_feature_is_enabled(dmu_objset_spa(outos), in zfs_clone_range() 1800 ASSERT(spa_feature_is_enabled(dmu_objset_spa(zfsvfs->z_os), in zfs_clone_range_replay()
|
H A D | spa_misc.c | 1698 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_ALLOCATION_CLASSES)); in spa_activate_allocation_classes() 2803 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) in spa_maxblocksize() 2855 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) in spa_maxdnodesize()
|
H A D | vdev_removal.c | 433 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_remove_initiate_sync() 1221 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in spa_vdev_copy_segment() 2206 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REMOVAL)) in spa_vdev_remove_top_check()
|
H A D | dsl_dataset.c | 199 ASSERT(spa_feature_is_enabled(spa, in dsl_dataset_block_born() 286 ASSERT(spa_feature_is_enabled(spa, in dsl_dataset_block_kill() 1344 spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LIVELIST)) { in dsl_dataset_create_sync() 1870 spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARK_V2)) { in dsl_dataset_snapshot_sync_impl() 3769 if (spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_HEAD_ERRLOG)) { in dsl_dataset_promote_sync() 4557 if (!spa_feature_is_enabled(dp->dp_spa, f)) in dsl_dataset_set_compression_check()
|
H A D | vdev_indirect.c | 335 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 D | spa.c | 512 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) { in spa_prop_get_config() 520 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) { in spa_prop_get_config() 4648 if (spa_feature_is_enabled(spa, SPA_FEATURE_ENCRYPTION) && 4649 !spa_feature_is_enabled(spa, SPA_FEATURE_BOOKMARK_V2)) { 7477 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD)) 7502 if (!spa_feature_is_enabled(spa, SPA_FEATURE_RAIDZ_EXPANSION)) 7778 spa_feature_is_enabled(spa, 8894 !spa_feature_is_enabled(spa, SPA_FEATURE_RESILVER_DEFER)) 8911 !spa_feature_is_enabled(spa, SPA_FEATURE_HEAD_ERRLOG)) 9085 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_RESILVER_DEFER))) [all …]
|
H A D | zfs_ioctl.c | 2632 if (!spa_feature_is_enabled(zfsvfs->z_os->os_spa, in zfs_prop_set_special() 4424 if (!spa_feature_is_enabled(spa, SPA_FEATURE_FAST_DEDUP)) { in zfs_ioc_ddt_prune() 4835 if (!spa_feature_is_enabled(spa, in zfs_check_settable() 4849 if (!spa_feature_is_enabled(spa, in zfs_check_settable() 4882 if (!spa_feature_is_enabled(spa, in zfs_check_settable() 4900 if (!spa_feature_is_enabled(spa, in zfs_check_settable() 4955 if (!spa_feature_is_enabled(spa, feature)) { in zfs_check_settable()
|
H A D | dmu_objset.c | 527 else if (!spa_feature_is_enabled(spa, in dmu_objset_open_impl() 1911 spa_feature_is_enabled(os->os_spa, SPA_FEATURE_USEROBJ_ACCOUNTING)); in dmu_objset_userobjused_enabled() 1919 spa_feature_is_enabled(os->os_spa, SPA_FEATURE_PROJECT_QUOTA)); in dmu_objset_projectquota_enabled()
|
H A D | spa_log_spacemap.c | 960 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_generate_syncing_log_sm()
|
H A D | bpobj.c | 44 if (spa_feature_is_enabled(spa, SPA_FEATURE_EMPTY_BPOBJ)) { in bpobj_alloc_empty()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zfeature.h | 51 extern boolean_t spa_feature_is_enabled(struct spa *, spa_feature_t);
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zpl_file_range.c | 60 if (!spa_feature_is_enabled( in zpl_clone_file_range_impl()
|