| /f-stack/freebsd/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() 371 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)); in spa_checkpoint_discard_is_done() 388 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_discard_thread_check() 470 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check() 579 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_discard_check()
|
| H A D | spa_log_spacemap.c | 331 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { in spa_log_sm_set_blocklimit() 355 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in spa_log_summary_verify_counts() 605 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in spa_estimate_metaslabs_to_flush() 723 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_flush_metaslabs() 848 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() 490 spa_feature_is_active(spa_t *spa, spa_feature_t fid) in spa_feature_is_active() function
|
| H A D | zio_compress.c | 104 if (spa_feature_is_active(spa, SPA_FEATURE_LZ4_COMPRESS)) in zio_compress_select()
|
| H A D | dsl_pool.c | 312 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in dsl_pool_open() 335 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_pool_open() 343 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMPTY_BPOBJ)) { in dsl_pool_open() 436 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 | 561 ASSERT(spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT)); in dsl_dir_init_fs_ss_count() 653 if (spa_feature_is_active(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT) && in dsl_dir_actv_fs_ss_limit_check() 677 if (!spa_feature_is_active(spa, SPA_FEATURE_FS_SS_LIMIT)) { in dsl_dir_actv_fs_ss_limit_sync() 1956 if (spa_feature_is_active(dp->dp_spa, in dsl_dir_rename_check() 2063 if (spa_feature_is_active(dp->dp_spa, in dsl_dir_rename_sync() 2222 ASSERT(spa_feature_is_active(dd->dd_pool->dp_spa, in dsl_dir_livelist_open()
|
| H A D | vdev_rebuild.c | 758 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REBUILD)); in vdev_rebuild_thread() 1028 ASSERT(spa_feature_is_active(spa, in vdev_rebuild_restart_impl()
|
| H A D | vdev_indirect_mapping.c | 415 ASSERT(spa_feature_is_active(vim->vim_objset->os_spa, in vdev_indirect_mapping_add_entries()
|
| H A D | dsl_scan.c | 445 scn->scn_async_destroying = spa_feature_is_active(dp->dp_spa, in dsl_scan_init() 940 !spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { in dsl_scan_done() 3374 if (err == 0 && spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_process_async_destroys() 3394 ASSERT(!spa_feature_is_active(spa, in dsl_process_async_destroys() 3478 ASSERT(spa_feature_is_active(dp->dp_spa, in dsl_process_async_destroys() 3511 !spa_feature_is_active(dp->dp_spa, SPA_FEATURE_RESILVER_DEFER)) in dsl_scan_sync()
|
| H A D | metaslab.c | 2713 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_fini_flush_data() 3718 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in metaslab_flush_update() 3760 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_flush() 3967 spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { in metaslab_sync() 4291 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync_done() 6143 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_update_ondisk_flush_data() 6174 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in metaslab_set_unflushed_txg()
|
| H A D | spa.c | 834 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { in spa_change_guid_check() 1444 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_should_flush_logs_on_unload() 3942 if (spa_feature_is_active(spa, SPA_FEATURE_ENABLED_TXG)) { 6616 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { 6898 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { 7380 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { 8778 boolean_t lz4_ac = spa_feature_is_active(spa, 8938 spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { 9570 (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT) && 9578 spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY) ||
|
| H A D | dmu_traverse.c | 619 if (spa_feature_is_active(spa, SPA_FEATURE_HOLE_BIRTH)) { in traverse_impl()
|
| H A D | dnode_sync.c | 162 if (spa_feature_is_active(dn->dn_objset->os_spa, in free_blocks()
|
| H A D | space_map.c | 724 if (spa_feature_is_active(spa, SPA_FEATURE_SPACEMAP_V2) && in space_map_write_impl()
|
| H A D | zio.c | 1232 !spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP))) { in zio_free() 1731 ASSERT(spa_feature_is_active(spa, in zio_write_compress() 1808 spa_feature_is_active(spa, SPA_FEATURE_HOLE_BIRTH)) { in zio_write_compress() 4158 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_ENCRYPTION)); in zio_encrypt()
|
| H A D | dsl_destroy.c | 973 if (!spa_feature_is_active(dp->dp_spa, in dsl_async_dataset_destroy()
|
| H A D | vdev_indirect.c | 768 ASSERT(spa_feature_is_active(spa, SPA_FEATURE_OBSOLETE_COUNTS)); in spa_condense_indirect_start_sync()
|
| H A D | vdev.c | 1440 ASSERT(spa_feature_is_active(vd->vdev_spa, in vdev_metaslab_fini() 4127 if (spa_feature_is_active(vd->vdev_spa, SPA_FEATURE_SPACEMAP_V2)) in vdev_is_spacemap_addressable() 5077 spa_feature_is_active(spa, SPA_FEATURE_RESILVER_DEFER)) { in vdev_clear_resilver_deferred()
|
| H A D | dmu_send.c | 1958 spa_feature_is_active(dp->dp_spa, SPA_FEATURE_EMBEDDED_DATA)) { in setup_featureflags() 1972 spa_feature_is_active(dp->dp_spa, SPA_FEATURE_LZ4_COMPRESS)) { in setup_featureflags()
|
| H A D | vdev_removal.c | 2205 if (spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) { in spa_vdev_remove()
|
| H A D | spa_misc.c | 2610 spa_feature_is_active(spa, SPA_FEATURE_DEVICE_REMOVAL)); in spa_get_last_removal_txg()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zfeature.h | 51 extern boolean_t spa_feature_is_active(struct spa *, spa_feature_t);
|
| /f-stack/freebsd/contrib/openzfs/cmd/zhack/ |
| H A D | zhack.c | 245 if (spa_feature_is_active(spa, SPA_FEATURE_ENABLED_TXG)) { in zhack_do_feature_stat()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 409 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in iterate_through_spacemap_logs() 1634 spa_feature_is_active(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in dump_metaslab() 1652 if (spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) { in dump_metaslab() 1858 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in dump_log_spacemaps() 6219 if (spa_feature_is_active(spa, SPA_FEATURE_ASYNC_DESTROY)) { in dump_block_stats() 7097 if (!spa_feature_is_active(spa, SPA_FEATURE_POOL_CHECKPOINT)) in verify_checkpoint() 7392 if (!spa_feature_is_active(spa, SPA_FEATURE_LOG_SPACEMAP)) in dump_log_spacemap_obsolete_stats() 7473 if (spa_feature_is_active(spa, in dump_zpool()
|