Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfeature.c279 if (!spa_feature_is_enabled(spa, feature->fi_feature)) { in feature_get_enabled_txg()
357 if (spa_feature_is_enabled(spa, SPA_FEATURE_ENABLED_TXG)) { in feature_enable_sync()
381 spa_feature_is_enabled(spa, SPA_FEATURE_ENCRYPTION) && in feature_enable_sync()
467 spa_feature_is_enabled(spa_t *spa, spa_feature_t fid) in spa_feature_is_enabled() function
H A Dspace_map.c853 if ((spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM) && in space_map_truncate()
891 if (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in space_map_alloc()
909 if (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM)) { in space_map_free_obj()
1007 if (!spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2) || in space_map_estimate_optimal_size()
1016 (spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2) && in space_map_estimate_optimal_size()
1024 if (!spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2)) { in space_map_estimate_optimal_size()
1036 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_V2)); in space_map_estimate_optimal_size()
H A Ddsl_bookmark.c159 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)) in dsl_bookmark_create_check()
192 ASSERT(spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)); in dsl_bookmark_create_sync()
232 spa_feature_is_enabled(dp->dp_spa, in dsl_bookmark_create_sync()
404 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARKS)) in dsl_bookmark_destroy_check()
H A Ddmu_recv.c232 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_EXTENSIBLE_DATASET)) in dmu_recv_begin_check()
242 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_EMBEDDED_DATA)) in dmu_recv_begin_check()
245 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LZ4_COMPRESS)) in dmu_recv_begin_check()
255 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LARGE_BLOCKS)) in dmu_recv_begin_check()
258 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LARGE_DNODE)) in dmu_recv_begin_check()
263 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) in dmu_recv_begin_check()
579 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_EMBEDDED_DATA)) in dmu_recv_resume_begin_check()
582 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LZ4_COMPRESS)) in dmu_recv_resume_begin_check()
592 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LARGE_BLOCKS)) in dmu_recv_resume_begin_check()
595 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_LARGE_DNODE)) in dmu_recv_resume_begin_check()
H A Dvdev_indirect_mapping.c310 if (spa_feature_is_enabled(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mapping_alloc()
319 if (spa_feature_is_enabled(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mapping_alloc()
H A Dspa_checkpoint.c455 if (!spa_feature_is_enabled(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check()
H A Ddsl_crypt.c782 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) { in spa_keystore_load_wkey()
920 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) { in spa_keystore_unload_wkey()
1236 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ENCRYPTION)) { in spa_keystore_change_key_check()
1803 !spa_feature_is_enabled(parentdd->dd_pool->dp_spa, in dmu_objset_create_crypt_check()
1810 !spa_feature_is_enabled(parentdd->dd_pool->dp_spa, in dmu_objset_create_crypt_check()
H A Dmetaslab.c2309 ASSERT(spa_feature_is_enabled(spa, in metaslab_load_impl()
2785 boolean_t feature_enabled = spa_feature_is_enabled(spa, in metaslab_set_fragmentation()
3147 spa_feature_is_enabled(spa, SPA_FEATURE_SPACEMAP_HISTOGRAM) && in metaslab_weight()
3583 spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP) ? in metaslab_condense()
3885 spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP) ? in metaslab_sync()
3965 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync()
3984 ASSERT(!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)); in metaslab_sync()
5366 if (!spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) in spa_remap_blkptr()
H A Ddsl_destroy.c878 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_ASYNC_DESTROY)) { in dsl_destroy_head_sync_impl()
1018 isenabled = spa_feature_is_enabled(spa, SPA_FEATURE_ASYNC_DESTROY); in dsl_destroy_head()
H A Dvdev_removal.c251 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_remove_initiate_sync()
997 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in spa_vdev_copy_segment()
1878 if (!spa_feature_is_enabled(spa, SPA_FEATURE_DEVICE_REMOVAL)) in spa_vdev_remove_top_check()
H A Dspa_misc.c1630 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_ALLOCATION_CLASSES)); in spa_activate_allocation_classes()
2444 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) in spa_maxblocksize()
2453 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) in spa_maxdnodesize()
H A Ddmu_objset.c462 else if (!spa_feature_is_enabled(spa, in dmu_objset_open_impl()
1416 if (!spa_feature_is_enabled(dmu_objset_spa(os), in dmu_objset_remap_indirects()
1823 spa_feature_is_enabled(os->os_spa, SPA_FEATURE_USEROBJ_ACCOUNTING)); in dmu_objset_userobjused_enabled()
1831 spa_feature_is_enabled(os->os_spa, SPA_FEATURE_PROJECT_QUOTA)); in dmu_objset_projectquota_enabled()
H A Dvdev_indirect.c334 if (spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mark_obsolete()
817 ASSERT(spa_feature_is_enabled(spa, SPA_FEATURE_OBSOLETE_COUNTS)); in vdev_indirect_sync_obsolete()
H A Dbpobj.c44 if (spa_feature_is_enabled(spa, SPA_FEATURE_EMPTY_BPOBJ)) { in bpobj_alloc_empty()
H A Dspa_log_spacemap.c934 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_generate_syncing_log_sm()
H A Dspa.c365 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS)) { in spa_prop_get_config()
373 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_DNODE)) { in spa_prop_get_config()
3463 if (spa_feature_is_enabled(spa, SPA_FEATURE_ENCRYPTION) &&
3464 !spa_feature_is_enabled(spa, SPA_FEATURE_BOOKMARK_V2)) {
6419 spa_feature_is_enabled(spa, SPA_FEATURE_RESILVER_DEFER))
7485 !spa_feature_is_enabled(spa, SPA_FEATURE_RESILVER_DEFER))
7652 !spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_RESILVER_DEFER)))
8283 boolean_t lz4_en = spa_feature_is_enabled(spa,
H A Dzfs_ioctl.c4371 if (!spa_feature_is_enabled(spa, in zfs_check_settable()
4415 if (!spa_feature_is_enabled(spa, in zfs_check_settable()
4433 if (!spa_feature_is_enabled(spa, in zfs_check_settable()
4488 if (!spa_feature_is_enabled(spa, feature)) { in zfs_check_settable()
H A Ddsl_scan.c955 if (spa_feature_is_enabled(spa, SPA_FEATURE_RESILVER_DEFER) && in dsl_scan_done()
4241 if (spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_RESILVER_DEFER)) in dsl_scan_assess_vdev()
H A Dzvol.c1943 if (!spa_feature_is_enabled(spa, in zvol_dump_init()
H A Ddsl_dir.c617 if (!spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_FS_SS_LIMIT)) { in dsl_dir_actv_fs_ss_limit_check()
H A Dvdev.c675 !spa_feature_is_enabled(spa, in vdev_alloc()
H A Dzio.c1535 spa_feature_is_enabled(spa, SPA_FEATURE_EMBEDDED_DATA)) { in zio_write_compress()
H A Ddsl_dataset.c1721 spa_feature_is_enabled(dp->dp_spa, SPA_FEATURE_BOOKMARK_V2)) { in dsl_dataset_snapshot_sync_impl()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzfeature.h50 extern boolean_t spa_feature_is_enabled(struct spa *, spa_feature_t);
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c4363 ASSERT(spa_feature_is_enabled(spa, in zdb_leak_init()
5772 ASSERT(spa_feature_is_enabled(spa, in dump_zpool()
5797 !spa_feature_is_enabled(spa, f)) { in dump_zpool()

12