Lines Matching refs:btrfs_test_opt
328 if (fs_info && (btrfs_test_opt(fs_info, PANIC_ON_FATAL_ERROR))) in __btrfs_panic()
622 if (btrfs_test_opt(info, NODATASUM)) { in btrfs_parse_options()
623 if (btrfs_test_opt(info, NODATACOW)) in btrfs_parse_options()
633 if (!btrfs_test_opt(info, NODATACOW)) { in btrfs_parse_options()
634 if (!btrfs_test_opt(info, COMPRESS) || in btrfs_parse_options()
635 !btrfs_test_opt(info, FORCE_COMPRESS)) { in btrfs_parse_options()
657 saved_compress_type = btrfs_test_opt(info, in btrfs_parse_options()
661 btrfs_test_opt(info, FORCE_COMPRESS); in btrfs_parse_options()
885 if (btrfs_test_opt(info, SPACE_CACHE)) { in btrfs_parse_options()
889 if (btrfs_test_opt(info, FREE_SPACE_TREE)) { in btrfs_parse_options()
1035 !btrfs_test_opt(info, FREE_SPACE_TREE) && in btrfs_parse_options()
1036 !btrfs_test_opt(info, CLEAR_CACHE)) { in btrfs_parse_options()
1043 if (!ret && btrfs_test_opt(info, SPACE_CACHE)) in btrfs_parse_options()
1045 if (!ret && btrfs_test_opt(info, FREE_SPACE_TREE)) in btrfs_parse_options()
1442 if (btrfs_test_opt(info, DEGRADED)) in btrfs_show_options()
1444 if (btrfs_test_opt(info, NODATASUM)) in btrfs_show_options()
1446 if (btrfs_test_opt(info, NODATACOW)) in btrfs_show_options()
1448 if (btrfs_test_opt(info, NOBARRIER)) in btrfs_show_options()
1455 if (btrfs_test_opt(info, COMPRESS)) { in btrfs_show_options()
1457 if (btrfs_test_opt(info, FORCE_COMPRESS)) in btrfs_show_options()
1464 if (btrfs_test_opt(info, NOSSD)) in btrfs_show_options()
1466 if (btrfs_test_opt(info, SSD_SPREAD)) in btrfs_show_options()
1468 else if (btrfs_test_opt(info, SSD)) in btrfs_show_options()
1470 if (btrfs_test_opt(info, NOTREELOG)) in btrfs_show_options()
1472 if (btrfs_test_opt(info, NOLOGREPLAY)) in btrfs_show_options()
1474 if (btrfs_test_opt(info, USEBACKUPROOT)) in btrfs_show_options()
1476 if (btrfs_test_opt(info, IGNOREBADROOTS)) in btrfs_show_options()
1478 if (btrfs_test_opt(info, IGNOREDATACSUMS)) in btrfs_show_options()
1480 if (btrfs_test_opt(info, FLUSHONCOMMIT)) in btrfs_show_options()
1482 if (btrfs_test_opt(info, DISCARD_SYNC)) in btrfs_show_options()
1484 if (btrfs_test_opt(info, DISCARD_ASYNC)) in btrfs_show_options()
1494 if (btrfs_test_opt(info, RESCAN_UUID_TREE)) in btrfs_show_options()
1496 if (btrfs_test_opt(info, CLEAR_CACHE)) in btrfs_show_options()
1498 if (btrfs_test_opt(info, USER_SUBVOL_RM_ALLOWED)) in btrfs_show_options()
1500 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in btrfs_show_options()
1502 if (btrfs_test_opt(info, AUTO_DEFRAG)) in btrfs_show_options()
1504 if (btrfs_test_opt(info, SKIP_BALANCE)) in btrfs_show_options()
1507 if (btrfs_test_opt(info, CHECK_INTEGRITY_DATA)) in btrfs_show_options()
1509 else if (btrfs_test_opt(info, CHECK_INTEGRITY)) in btrfs_show_options()
1517 if (btrfs_test_opt(info, PANIC_ON_FATAL_ERROR)) in btrfs_show_options()
1522 if (btrfs_test_opt(info, FRAGMENT_DATA)) in btrfs_show_options()
1524 if (btrfs_test_opt(info, FRAGMENT_METADATA)) in btrfs_show_options()
1527 if (btrfs_test_opt(info, REF_VERIFY)) in btrfs_show_options()
1867 const bool cache_opt = btrfs_test_opt(fs_info, SPACE_CACHE); in btrfs_remount_cleanup()
1880 btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_remount_cleanup()
1883 !btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_remount_cleanup()
1924 if ((bool)btrfs_test_opt(fs_info, FREE_SPACE_TREE) != in btrfs_remount()