Home
last modified time | relevance | path

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

12

/f-stack/freebsd/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()
475 spa_feature_is_enabled(spa_t *spa, spa_feature_t fid) in spa_feature_is_enabled() function
H A Dspace_map.c875 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 Ddsl_bookmark.c302 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 Dvdev_rebuild.c441 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 Dvdev_indirect_mapping.c314 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 Ddmu_recv.c529 !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 Dspa_checkpoint.c458 if (!spa_feature_is_enabled(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check()
H A Ddsl_crypt.c756 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 Dmetaslab.c2349 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 Dvdev_removal.c260 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 Ddsl_destroy.c1084 } 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 Dvdev_indirect.c335 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 Dspa_misc.c1611 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 Dspa_log_spacemap.c930 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_generate_syncing_log_sm()
H A Ddmu_objset.c471 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 Dspa.c382 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 Ddsl_dataset.c189 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 Dbpobj.c43 if (spa_feature_is_enabled(spa, SPA_FEATURE_EMPTY_BPOBJ)) { in bpobj_alloc_empty()
H A Dzfs_ioctl.c4477 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 Dzvol.c391 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) { in zvol_check_volblocksize()
H A Ddsl_scan.c983 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 Ddsl_dir.c647 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT)) { in dsl_dir_actv_fs_ss_limit_check()
H A Dvdev.c717 !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 Dzfeature.h50 extern boolean_t spa_feature_is_enabled(struct spa *, spa_feature_t);
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb.c5925 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()

12