Lines Matching refs:btrfs_test_opt

365 			if (btrfs_test_opt(info, NODATASUM)) {  in btrfs_parse_options()
366 if (btrfs_test_opt(info, NODATACOW)) in btrfs_parse_options()
376 if (!btrfs_test_opt(info, NODATACOW)) { in btrfs_parse_options()
377 if (!btrfs_test_opt(info, COMPRESS) || in btrfs_parse_options()
378 !btrfs_test_opt(info, FORCE_COMPRESS)) { in btrfs_parse_options()
400 saved_compress_type = btrfs_test_opt(info, in btrfs_parse_options()
404 btrfs_test_opt(info, FORCE_COMPRESS); in btrfs_parse_options()
656 if (btrfs_test_opt(info, SPACE_CACHE)) { in btrfs_parse_options()
660 if (btrfs_test_opt(info, FREE_SPACE_TREE)) { in btrfs_parse_options()
831 !btrfs_test_opt(info, FREE_SPACE_TREE) && in btrfs_parse_options()
832 !btrfs_test_opt(info, CLEAR_CACHE)) { in btrfs_parse_options()
837 !btrfs_test_opt(info, FREE_SPACE_TREE)) { in btrfs_parse_options()
844 if (btrfs_test_opt(info, SPACE_CACHE)) in btrfs_parse_options()
846 if (btrfs_test_opt(info, FREE_SPACE_TREE)) in btrfs_parse_options()
1244 if (btrfs_test_opt(info, DEGRADED)) in btrfs_show_options()
1246 if (btrfs_test_opt(info, NODATASUM)) in btrfs_show_options()
1248 if (btrfs_test_opt(info, NODATACOW)) in btrfs_show_options()
1250 if (btrfs_test_opt(info, NOBARRIER)) in btrfs_show_options()
1257 if (btrfs_test_opt(info, COMPRESS)) { in btrfs_show_options()
1259 if (btrfs_test_opt(info, FORCE_COMPRESS)) in btrfs_show_options()
1266 if (btrfs_test_opt(info, NOSSD)) in btrfs_show_options()
1268 if (btrfs_test_opt(info, SSD_SPREAD)) in btrfs_show_options()
1270 else if (btrfs_test_opt(info, SSD)) in btrfs_show_options()
1272 if (btrfs_test_opt(info, NOTREELOG)) in btrfs_show_options()
1274 if (btrfs_test_opt(info, NOLOGREPLAY)) in btrfs_show_options()
1276 if (btrfs_test_opt(info, USEBACKUPROOT)) in btrfs_show_options()
1278 if (btrfs_test_opt(info, IGNOREBADROOTS)) in btrfs_show_options()
1280 if (btrfs_test_opt(info, IGNOREDATACSUMS)) in btrfs_show_options()
1282 if (btrfs_test_opt(info, FLUSHONCOMMIT)) in btrfs_show_options()
1284 if (btrfs_test_opt(info, DISCARD_SYNC)) in btrfs_show_options()
1286 if (btrfs_test_opt(info, DISCARD_ASYNC)) in btrfs_show_options()
1296 if (btrfs_test_opt(info, RESCAN_UUID_TREE)) in btrfs_show_options()
1298 if (btrfs_test_opt(info, CLEAR_CACHE)) in btrfs_show_options()
1300 if (btrfs_test_opt(info, USER_SUBVOL_RM_ALLOWED)) in btrfs_show_options()
1302 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in btrfs_show_options()
1304 if (btrfs_test_opt(info, AUTO_DEFRAG)) in btrfs_show_options()
1306 if (btrfs_test_opt(info, SKIP_BALANCE)) in btrfs_show_options()
1309 if (btrfs_test_opt(info, CHECK_INTEGRITY_DATA)) in btrfs_show_options()
1311 else if (btrfs_test_opt(info, CHECK_INTEGRITY)) in btrfs_show_options()
1319 if (btrfs_test_opt(info, PANIC_ON_FATAL_ERROR)) in btrfs_show_options()
1324 if (btrfs_test_opt(info, FRAGMENT_DATA)) in btrfs_show_options()
1326 if (btrfs_test_opt(info, FRAGMENT_METADATA)) in btrfs_show_options()
1329 if (btrfs_test_opt(info, REF_VERIFY)) in btrfs_show_options()
1661 const bool cache_opt = btrfs_test_opt(fs_info, SPACE_CACHE); in btrfs_remount_cleanup()
1674 btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_remount_cleanup()
1677 !btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_remount_cleanup()
1722 if ((bool)btrfs_test_opt(fs_info, FREE_SPACE_TREE) != in btrfs_remount()