Lines Matching refs:btrfs_test_opt
723 if (!btrfs_test_opt(fs_info, FREE_SPACE_TREE)) { in btrfs_set_free_space_cache_settings()
735 if (btrfs_test_opt(fs_info, FREE_SPACE_TREE)) in btrfs_set_free_space_cache_settings()
745 if (btrfs_test_opt(fs_info, SPACE_CACHE)) in btrfs_set_free_space_cache_settings()
748 if (btrfs_test_opt(fs_info, NOSPACECACHE)) in btrfs_set_free_space_cache_settings()
763 if (!btrfs_test_opt(fs_info, NOSSD) && in set_device_specific_options()
776 if (!(btrfs_test_opt(fs_info, DISCARD_SYNC) || in set_device_specific_options()
777 btrfs_test_opt(fs_info, DISCARD_ASYNC) || in set_device_specific_options()
778 btrfs_test_opt(fs_info, NODISCARD)) && in set_device_specific_options()
1056 if (btrfs_test_opt(info, DEGRADED)) in btrfs_show_options()
1058 if (btrfs_test_opt(info, NODATASUM)) in btrfs_show_options()
1060 if (btrfs_test_opt(info, NODATACOW)) in btrfs_show_options()
1062 if (btrfs_test_opt(info, NOBARRIER)) in btrfs_show_options()
1069 if (btrfs_test_opt(info, COMPRESS)) { in btrfs_show_options()
1071 if (btrfs_test_opt(info, FORCE_COMPRESS)) in btrfs_show_options()
1078 if (btrfs_test_opt(info, NOSSD)) in btrfs_show_options()
1080 if (btrfs_test_opt(info, SSD_SPREAD)) in btrfs_show_options()
1082 else if (btrfs_test_opt(info, SSD)) in btrfs_show_options()
1084 if (btrfs_test_opt(info, NOTREELOG)) in btrfs_show_options()
1086 if (btrfs_test_opt(info, NOLOGREPLAY)) in btrfs_show_options()
1088 if (btrfs_test_opt(info, USEBACKUPROOT)) in btrfs_show_options()
1090 if (btrfs_test_opt(info, IGNOREBADROOTS)) in btrfs_show_options()
1092 if (btrfs_test_opt(info, IGNOREDATACSUMS)) in btrfs_show_options()
1094 if (btrfs_test_opt(info, IGNOREMETACSUMS)) in btrfs_show_options()
1096 if (btrfs_test_opt(info, IGNORESUPERFLAGS)) in btrfs_show_options()
1098 if (btrfs_test_opt(info, FLUSHONCOMMIT)) in btrfs_show_options()
1100 if (btrfs_test_opt(info, DISCARD_SYNC)) in btrfs_show_options()
1102 if (btrfs_test_opt(info, DISCARD_ASYNC)) in btrfs_show_options()
1112 if (btrfs_test_opt(info, RESCAN_UUID_TREE)) in btrfs_show_options()
1114 if (btrfs_test_opt(info, CLEAR_CACHE)) in btrfs_show_options()
1116 if (btrfs_test_opt(info, USER_SUBVOL_RM_ALLOWED)) in btrfs_show_options()
1118 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in btrfs_show_options()
1120 if (btrfs_test_opt(info, AUTO_DEFRAG)) in btrfs_show_options()
1122 if (btrfs_test_opt(info, SKIP_BALANCE)) in btrfs_show_options()
1126 if (btrfs_test_opt(info, PANIC_ON_FATAL_ERROR)) in btrfs_show_options()
1131 if (btrfs_test_opt(info, FRAGMENT_DATA)) in btrfs_show_options()
1133 if (btrfs_test_opt(info, FRAGMENT_METADATA)) in btrfs_show_options()
1136 if (btrfs_test_opt(info, REF_VERIFY)) in btrfs_show_options()
1261 const bool cache_opt = btrfs_test_opt(fs_info, SPACE_CACHE); in btrfs_remount_cleanup()
1274 btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_remount_cleanup()
1277 !btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_remount_cleanup()
1468 if (btrfs_test_opt(info, COMPRESS) && in btrfs_emit_options()
1477 btrfs_test_opt(info, FORCE_COMPRESS) ? "force" : "use", in btrfs_emit_options()
1519 if ((bool)btrfs_test_opt(fs_info, FREE_SPACE_TREE) != in btrfs_reconfigure()