/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfeature.c | 279 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 D | space_map.c | 853 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 D | dsl_bookmark.c | 159 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 D | dmu_recv.c | 232 !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 D | vdev_indirect_mapping.c | 310 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 D | spa_checkpoint.c | 455 if (!spa_feature_is_enabled(spa, SPA_FEATURE_POOL_CHECKPOINT)) in spa_checkpoint_check()
|
H A D | dsl_crypt.c | 782 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 D | metaslab.c | 2309 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 D | dsl_destroy.c | 878 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 D | vdev_removal.c | 251 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 D | spa_misc.c | 1630 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 D | dmu_objset.c | 462 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 D | vdev_indirect.c | 334 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 D | bpobj.c | 44 if (spa_feature_is_enabled(spa, SPA_FEATURE_EMPTY_BPOBJ)) { in bpobj_alloc_empty()
|
H A D | spa_log_spacemap.c | 934 if (!spa_feature_is_enabled(spa, SPA_FEATURE_LOG_SPACEMAP)) in spa_generate_syncing_log_sm()
|
H A D | spa.c | 365 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 D | zfs_ioctl.c | 4371 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 D | dsl_scan.c | 955 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 D | zvol.c | 1943 if (!spa_feature_is_enabled(spa, in zvol_dump_init()
|
H A D | dsl_dir.c | 617 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 | 675 !spa_feature_is_enabled(spa, in vdev_alloc()
|
H A D | zio.c | 1535 spa_feature_is_enabled(spa, SPA_FEATURE_EMBEDDED_DATA)) { in zio_write_compress()
|
H A D | dsl_dataset.c | 1721 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 D | zfeature.h | 50 extern boolean_t spa_feature_is_enabled(struct spa *, spa_feature_t);
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 4363 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()
|