| /f-stack/freebsd/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() 475 spa_feature_is_enabled(spa_t *spa, spa_feature_t fid) in spa_feature_is_enabled() function
|
| H A D | space_map.c | 875 if ((spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM) && in space_map_truncate() 913 if (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in space_map_alloc() 931 if (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in space_map_free_obj() 1029 if (!spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2) || in space_map_estimate_optimal_size() 1038 (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2) && in space_map_estimate_optimal_size() 1046 if (!spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2)) { in space_map_estimate_optimal_size() 1058 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2)); in space_map_estimate_optimal_size()
|
| H A D | dsl_bookmark.c | 302 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() 422 if (spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARK_V2) && in dsl_bookmark_node_add() 590 ASSERT(spa_feature_is_enabled(dmu_tx_pool(tx)->dp_spa, in dsl_bookmark_create_sync() 639 if (!spa_feature_is_enabled(dp->dp_spa, in dsl_bookmark_create_redacted_check() 1070 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)) in dsl_bookmark_destroy_check()
|
| H A D | vdev_rebuild.c | 441 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD) || in vdev_rebuild_clear_sync() 700 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD)) { in vdev_rebuild_load() 991 ASSERT(spa_feature_is_enabled(vd->vdev_spa, in vdev_rebuild() 1101 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD)) in vdev_rebuild_get_stats()
|
| H A D | vdev_indirect_mapping.c | 314 if (spa_feature_is_enabled(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mapping_alloc() 323 if (spa_feature_is_enabled(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mapping_alloc()
|
| H A D | dmu_recv.c | 529 !spa_feature_is_enabled(spa, SPA_FEATURE_LZ4_COMPRESS)) in recv_begin_check_feature_flags_impl() 532 !spa_feature_is_enabled(spa, SPA_FEATURE_ZSTD_COMPRESS)) in recv_begin_check_feature_flags_impl() 535 !spa_feature_is_enabled(spa, SPA_FEATURE_EMBEDDED_DATA)) in recv_begin_check_feature_flags_impl() 538 !spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) in recv_begin_check_feature_flags_impl() 541 !spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) in recv_begin_check_feature_flags_impl() 549 !spa_feature_is_enabled(spa, SPA_FEATURE_REDACTED_DATASETS)) in recv_begin_check_feature_flags_impl() 585 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_EXTENSIBLE_DATASET)) in dmu_recv_begin_check() 590 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) in dmu_recv_begin_check()
|
| H A D | spa_checkpoint.c | 458 if (!spa_feature_is_enabled(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check()
|
| H A D | dsl_crypt.c | 756 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) { in spa_keystore_load_wkey() 906 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) { in spa_keystore_unload_wkey() 1232 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) { in spa_keystore_change_key_check() 1805 !spa_feature_is_enabled(parentdd->dd_pool->dp_spa, in dmu_objset_create_crypt_check() 1812 !spa_feature_is_enabled(parentdd->dd_pool->dp_spa, in dmu_objset_create_crypt_check()
|
| H A D | metaslab.c | 2349 ASSERT(spa_feature_is_enabled(spa, in metaslab_load_impl() 2843 boolean_t feature_enabled = spa_feature_is_enabled(spa, in metaslab_set_fragmentation() 3207 spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM) && in metaslab_weight() 3647 spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP) ? in metaslab_condense() 3949 spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP) ? in metaslab_sync() 4029 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync() 4048 ASSERT(!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync() 5460 if (!spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) in spa_remap_blkptr()
|
| H A D | vdev_removal.c | 260 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_remove_initiate_sync() 1045 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in spa_vdev_copy_segment() 1976 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REMOVAL)) in spa_vdev_remove_top_check()
|
| H A D | dsl_destroy.c | 1084 } else if (spa_feature_is_enabled(dp->dp_spa, in dsl_destroy_head_sync_impl() 1208 isenabled = spa_feature_is_enabled(spa, SPA_FEATURE_ASYNC_DESTROY); in dsl_destroy_head()
|
| 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_misc.c | 1611 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_ALLOCATION_CLASSES)); in spa_activate_allocation_classes() 2566 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) in spa_maxblocksize() 2618 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) in spa_maxdnodesize()
|
| H A D | spa_log_spacemap.c | 930 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_generate_syncing_log_sm()
|
| H A D | dmu_objset.c | 471 else if (!spa_feature_is_enabled(spa, in dmu_objset_open_impl() 1774 spa_feature_is_enabled(os->os_spa, SPA_FEATURE_USEROBJ_ACCOUNTING)); in dmu_objset_userobjused_enabled() 1782 spa_feature_is_enabled(os->os_spa, SPA_FEATURE_PROJECT_QUOTA)); in dmu_objset_projectquota_enabled()
|
| H A D | spa.c | 382 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) { in spa_prop_get_config() 390 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) { in spa_prop_get_config() 3953 if (spa_feature_is_enabled(spa, SPA_FEATURE_ENCRYPTION) && 3954 !spa_feature_is_enabled(spa, SPA_FEATURE_BOOKMARK_V2)) { 6623 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD)) 6830 spa_feature_is_enabled(spa, SPA_FEATURE_RESILVER_DEFER)) { 7933 !spa_feature_is_enabled(spa, SPA_FEATURE_RESILVER_DEFER)) 8098 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_RESILVER_DEFER))) 8776 boolean_t lz4_en = spa_feature_is_enabled(spa,
|
| H A D | dsl_dataset.c | 189 ASSERT(spa_feature_is_enabled(spa, in dsl_dataset_block_born() 277 ASSERT(spa_feature_is_enabled(spa, in dsl_dataset_block_kill() 1306 spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LIVELIST)) { in dsl_dataset_create_sync() 1833 spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARK_V2)) { in dsl_dataset_snapshot_sync_impl() 4542 if (!spa_feature_is_enabled(dp->dp_spa, f)) in dsl_dataset_set_compression_check()
|
| H A D | bpobj.c | 43 if (spa_feature_is_enabled(spa, SPA_FEATURE_EMPTY_BPOBJ)) { in bpobj_alloc_empty()
|
| H A D | zfs_ioctl.c | 4477 if (!spa_feature_is_enabled(spa, in zfs_check_settable() 4491 if (!spa_feature_is_enabled(spa, in zfs_check_settable() 4524 if (!spa_feature_is_enabled(spa, in zfs_check_settable() 4542 if (!spa_feature_is_enabled(spa, in zfs_check_settable() 4597 if (!spa_feature_is_enabled(spa, feature)) { in zfs_check_settable()
|
| H A D | zvol.c | 391 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) { in zvol_check_volblocksize()
|
| H A D | dsl_scan.c | 983 if (spa_feature_is_enabled(spa, SPA_FEATURE_RESILVER_DEFER) && in dsl_scan_done() 4355 if (spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_RESILVER_DEFER)) in dsl_scan_assess_vdev()
|
| H A D | dsl_dir.c | 647 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT)) { in dsl_dir_actv_fs_ss_limit_check()
|
| H A D | vdev.c | 717 !spa_feature_is_enabled(spa, in vdev_alloc() 726 !spa_feature_is_enabled(spa, SPA_FEATURE_DRAID)) { in vdev_alloc()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zfeature.h | 50 extern boolean_t spa_feature_is_enabled(struct spa *, spa_feature_t);
|
| /f-stack/freebsd/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 5925 ASSERT(spa_feature_is_enabled(spa, in zdb_leak_init() 7467 ASSERT(spa_feature_is_enabled(spa, in dump_zpool() 7502 if (!spa_feature_is_enabled(spa, f)) { in dump_zpool() 7508 if (!spa_feature_is_enabled(spa, f)) { in dump_zpool()
|