/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | spa_checkpoint.c | 166 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_get_stats() 372 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)); in spa_checkpoint_discard_is_done() 389 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_discard_thread_check() 474 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check() 583 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_discard_check()
|
H A D | spa_log_spacemap.c | 336 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { in spa_log_sm_set_blocklimit() 364 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in spa_log_summary_verify_counts() 639 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in spa_estimate_metaslabs_to_flush() 763 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_flush_metaslabs() 876 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in spa_sync_close_syncing_log_sm()
|
H A D | zfeature.c | 389 !spa_feature_is_active(spa, SPA_FEATURE_ENCRYPTION) && in feature_enable_sync() 497 spa_feature_is_active(spa_t *spa, spa_feature_t fid) in spa_feature_is_active() function
|
H A D | zio_compress.c | 117 if (spa_feature_is_active(spa, SPA_FEATURE_LZ4_COMPRESS)) in zio_compress_select()
|
H A D | dsl_pool.c | 317 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in dsl_pool_open() 339 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_pool_open() 347 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMPTY_BPOBJ)) { in dsl_pool_open() 446 ASSERT(spa_feature_is_active(dp->dp_spa, SPA_FEATURE_DEVICE_REMOVAL)); in dsl_pool_create_obsolete_bpobj()
|
H A D | bpobj.c | 44 if (!spa_feature_is_active(spa, SPA_FEATURE_EMPTY_BPOBJ)) { in bpobj_alloc_empty() 67 if (!spa_feature_is_active(dmu_objset_spa(os), in bpobj_decr_empty() 86 else if (!spa_feature_is_active(dmu_objset_spa(os), in bpobj_alloc()
|
H A D | dsl_dir.c | 576 ASSERT(spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT)); in dsl_dir_init_fs_ss_count() 668 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT) && in dsl_dir_actv_fs_ss_limit_check() 692 if (!spa_feature_is_active(spa, SPA_FEATURE_FS_SS_LIMIT)) { in dsl_dir_actv_fs_ss_limit_sync() 2028 if (spa_feature_is_active(dp->dp_spa, in dsl_dir_rename_check() 2137 if (spa_feature_is_active(dp->dp_spa, in dsl_dir_rename_sync() 2308 ASSERT(spa_feature_is_active(dd->dd_pool->dp_spa, in dsl_dir_livelist_open()
|
H A D | vdev_rebuild.c | 778 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REBUILD)); in vdev_rebuild_thread() 1056 ASSERT(spa_feature_is_active(spa, in vdev_rebuild_restart_impl()
|
H A D | vdev_indirect_mapping.c | 417 ASSERT(spa_feature_is_active(vim->vim_objset->os_spa, in vdev_indirect_mapping_add_entries()
|
H A D | spa.c | 985 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { in spa_change_guid_check() 1959 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_should_flush_logs_on_unload() 3477 if (spa_feature_is_active(vd->vdev_spa, SPA_FEATURE_AVZ_V2) && in vdev_count_verify_zaps() 4634 if (spa_feature_is_active(spa, SPA_FEATURE_ENABLED_TXG)) { 7460 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { 7838 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { 8328 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { 9395 spa_feature_is_active(spa, SPA_FEATURE_AVZ_V2)) { 9778 boolean_t lz4_ac = spa_feature_is_active(spa, 9938 spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { [all …]
|
H A D | dsl_scan.c | 483 scn->scn_async_destroying = spa_feature_is_active(dp->dp_spa, in dsl_scan_init() 1143 !spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { in dsl_scan_done() 3778 if (err == 0 && spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_process_async_destroys() 3798 ASSERT(!spa_feature_is_active(spa, in dsl_process_async_destroys() 3883 ASSERT(spa_feature_is_active(dp->dp_spa, in dsl_process_async_destroys() 4300 if (!spa_feature_is_active(dp->dp_spa, in dsl_scan_sync()
|
H A D | dmu_traverse.c | 652 if (spa_feature_is_active(spa, SPA_FEATURE_HOLE_BIRTH)) { in traverse_impl()
|
H A D | space_map.c | 725 if (spa_feature_is_active(spa, SPA_FEATURE_SPACEMAP_V2) && in space_map_write_impl()
|
H A D | dnode_sync.c | 163 if (spa_feature_is_active(dn->dn_objset->os_spa, in free_blocks()
|
H A D | metaslab.c | 2806 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_fini_flush_data() 3882 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP) || in metaslab_flush_update() 3896 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_flush() 4376 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync_done() 6163 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_update_ondisk_flush_data()
|
H A D | zfs_replay.c | 1035 ASSERT(spa_feature_is_active(zfsvfs->z_os->os_spa, in zfs_replay_setsaxattr()
|
H A D | zio.c | 1385 !spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) || in zio_free() 1941 ASSERT(spa_feature_is_active(spa, in zio_write_compress() 2035 spa_feature_is_active(spa, SPA_FEATURE_HOLE_BIRTH)) { in zio_write_compress() 4773 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_ENCRYPTION)); in zio_encrypt()
|
H A D | dsl_destroy.c | 977 if (!spa_feature_is_active(dp->dp_spa, in dsl_async_dataset_destroy()
|
H A D | vdev.c | 1647 ASSERT(spa_feature_is_active(vd->vdev_spa, in vdev_metaslab_fini() 3484 if (!spa_feature_is_active(vd->vdev_spa, SPA_FEATURE_AVZ_V2)) in vdev_construct_zaps() 4703 if (spa_feature_is_active(vd->vdev_spa, SPA_FEATURE_SPACEMAP_V2)) in vdev_is_spacemap_addressable() 5671 spa_feature_is_active(spa, SPA_FEATURE_RESILVER_DEFER)) { in vdev_clear_resilver_deferred()
|
H A D | dmu_send.c | 1976 spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMBEDDED_DATA)) { in setup_featureflags() 1990 spa_feature_is_active(dp->dp_spa, SPA_FEATURE_LZ4_COMPRESS)) { in setup_featureflags()
|
H A D | vdev_indirect.c | 767 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_OBSOLETE_COUNTS)); in spa_condense_indirect_start_sync()
|
H A D | vdev_label.c | 592 spa_feature_is_active(vd->vdev_spa, SPA_FEATURE_AVZ_V2)) { in vdev_config_generate()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zfeature.h | 51 extern boolean_t spa_feature_is_active(struct spa *, spa_feature_t);
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 353 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in iterate_through_spacemap_logs() 1678 spa_feature_is_active(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in dump_metaslab() 1696 if (spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { in dump_metaslab() 1904 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in dump_log_spacemaps() 2117 if (!spa_feature_is_active(spa, SPA_FEATURE_BLOCK_CLONING)) { in dump_brt() 7002 if (spa_feature_is_active(spa, SPA_FEATURE_BLOCK_CLONING)) { in dump_block_stats() 7043 if (spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY)) { in dump_block_stats() 7984 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in verify_checkpoint() 8327 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in dump_log_spacemap_obsolete_stats() 8410 if (spa_feature_is_active(spa, in dump_zpool()
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | zhack.c | 265 if (spa_feature_is_active(spa, SPA_FEATURE_ENABLED_TXG)) { in zhack_do_feature_stat()
|