Home
last modified time | relevance | path

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

12

/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dzfeature.c287 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 Dspace_map.c876 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 Dspa_errlog.c222 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 Ddsl_bookmark.c300 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 Dvdev_rebuild.c457 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 Dvdev_indirect_mapping.c316 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 Ddmu_recv.c582 !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 Dspa_checkpoint.c459 if (!spa_feature_is_enabled(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check()
H A Ddsl_destroy.c1086 } 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 Ddsl_crypt.c795 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 Dmetaslab.c2381 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 Dzfs_vnops.c1109 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 Dzfs_sa.c259 if (spa_feature_is_enabled(zfsvfs->z_os->os_spa, in zfs_sa_set_xattr()
H A Dvdev_indirect.c333 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 Dzvol.c386 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 Dspa_misc.c1632 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 Dvdev_removal.c431 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 Ddsl_dataset.c196 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 Dspa.c429 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 Ddmu_objset.c525 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 Dspa_log_spacemap.c959 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_generate_syncing_log_sm()
H A Dbpobj.c43 if (spa_feature_is_enabled(spa, SPA_FEATURE_EMPTY_BPOBJ)) { in bpobj_alloc_empty()
H A Ddsl_dir.c661 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 Dzfeature.h50 extern boolean_t spa_feature_is_enabled(struct spa *, spa_feature_t);
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_file_range.c59 if (!spa_feature_is_enabled( in zpl_clone_file_range_impl()

12