| /freebsd-13.1/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() 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() 915 if (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in space_map_alloc() 933 if (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in space_map_free_obj() 1031 if (!spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2) || in space_map_estimate_optimal_size() 1040 (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2) && in space_map_estimate_optimal_size() 1048 if (!spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2)) { in space_map_estimate_optimal_size() 1060 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 | 444 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD) || in vdev_rebuild_clear_sync() 703 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD)) { in vdev_rebuild_load() 994 ASSERT(spa_feature_is_enabled(vd->vdev_spa, in vdev_rebuild() 1104 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 | 528 !spa_feature_is_enabled(spa, SPA_FEATURE_LZ4_COMPRESS)) in recv_begin_check_feature_flags_impl() 531 !spa_feature_is_enabled(spa, SPA_FEATURE_ZSTD_COMPRESS)) in recv_begin_check_feature_flags_impl() 534 !spa_feature_is_enabled(spa, SPA_FEATURE_EMBEDDED_DATA)) in recv_begin_check_feature_flags_impl() 537 !spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) in recv_begin_check_feature_flags_impl() 540 !spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) in recv_begin_check_feature_flags_impl() 548 !spa_feature_is_enabled(spa, SPA_FEATURE_REDACTED_DATASETS)) in recv_begin_check_feature_flags_impl() 584 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_EXTENSIBLE_DATASET)) in dmu_recv_begin_check() 589 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_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 | 2369 ASSERT(spa_feature_is_enabled(spa, in metaslab_load_impl() 2887 boolean_t feature_enabled = spa_feature_is_enabled(spa, in metaslab_set_fragmentation() 3252 spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM) && in metaslab_weight() 3693 spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP) ? in metaslab_condense() 3995 spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP) ? in metaslab_sync() 4075 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync() 4094 ASSERT(!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync() 5466 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() 1047 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in spa_vdev_copy_segment() 1988 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REMOVAL)) in spa_vdev_remove_top_check()
|
| H A D | spa_misc.c | 1608 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_ALLOCATION_CLASSES)); in spa_activate_allocation_classes() 2609 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) in spa_maxblocksize() 2661 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) in spa_maxdnodesize()
|
| H A D | dsl_destroy.c | 1079 } else if (spa_feature_is_enabled(dp->dp_spa, in dsl_destroy_head_sync_impl() 1203 isenabled = spa_feature_is_enabled(spa, SPA_FEATURE_ASYNC_DESTROY); in dsl_destroy_head()
|
| H A D | vdev_indirect.c | 334 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mark_obsolete() 821 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)); in vdev_indirect_sync_obsolete()
|
| H A D | zvol.c | 389 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) { in zvol_check_volblocksize() 1027 if (!spa_feature_is_enabled(dp->dp_spa, in zvol_add_clones()
|
| 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 | spa.c | 394 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) { in spa_prop_get_config() 402 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) { in spa_prop_get_config() 4047 if (spa_feature_is_enabled(spa, SPA_FEATURE_ENCRYPTION) && 4048 !spa_feature_is_enabled(spa, SPA_FEATURE_BOOKMARK_V2)) { 6736 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REBUILD)) 6943 spa_feature_is_enabled(spa, SPA_FEATURE_RESILVER_DEFER)) { 8046 !spa_feature_is_enabled(spa, SPA_FEATURE_RESILVER_DEFER)) 8215 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_RESILVER_DEFER))) 8914 boolean_t lz4_en = spa_feature_is_enabled(spa,
|
| H A D | dmu_objset.c | 479 else if (!spa_feature_is_enabled(spa, in dmu_objset_open_impl() 1778 spa_feature_is_enabled(os->os_spa, SPA_FEATURE_USEROBJ_ACCOUNTING)); in dmu_objset_userobjused_enabled() 1786 spa_feature_is_enabled(os->os_spa, SPA_FEATURE_PROJECT_QUOTA)); in dmu_objset_projectquota_enabled()
|
| H A D | dsl_dataset.c | 187 ASSERT(spa_feature_is_enabled(spa, in dsl_dataset_block_born() 274 ASSERT(spa_feature_is_enabled(spa, in dsl_dataset_block_kill() 1302 spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LIVELIST)) { in dsl_dataset_create_sync() 1829 spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARK_V2)) { in dsl_dataset_snapshot_sync_impl() 4524 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 | 4504 if (!spa_feature_is_enabled(spa, in zfs_check_settable() 4518 if (!spa_feature_is_enabled(spa, in zfs_check_settable() 4551 if (!spa_feature_is_enabled(spa, in zfs_check_settable() 4569 if (!spa_feature_is_enabled(spa, in zfs_check_settable() 4624 if (!spa_feature_is_enabled(spa, feature)) { in zfs_check_settable()
|
| H A D | dsl_scan.c | 982 if (spa_feature_is_enabled(spa, SPA_FEATURE_RESILVER_DEFER) && in dsl_scan_done() 4359 if (spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_RESILVER_DEFER)) in dsl_scan_assess_vdev()
|
| H A D | dsl_dir.c | 645 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 | 759 !spa_feature_is_enabled(spa, in vdev_alloc() 768 !spa_feature_is_enabled(spa, SPA_FEATURE_DRAID)) { in vdev_alloc()
|
| /freebsd-13.1/sys/contrib/openzfs/include/sys/ |
| H A D | zfeature.h | 50 extern boolean_t spa_feature_is_enabled(struct spa *, spa_feature_t);
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 6042 ASSERT(spa_feature_is_enabled(spa, in zdb_leak_init() 7599 ASSERT(spa_feature_is_enabled(spa, in dump_zpool() 7634 if (!spa_feature_is_enabled(spa, f)) { in dump_zpool() 7640 if (!spa_feature_is_enabled(spa, f)) { in dump_zpool()
|