Lines Matching refs:btrfs_test_opt
382 if (fs_info && (btrfs_test_opt(fs_info, PANIC_ON_FATAL_ERROR))) in __btrfs_panic()
677 if (btrfs_test_opt(info, NODATASUM)) { in btrfs_parse_options()
678 if (btrfs_test_opt(info, NODATACOW)) in btrfs_parse_options()
688 if (!btrfs_test_opt(info, NODATACOW)) { in btrfs_parse_options()
689 if (!btrfs_test_opt(info, COMPRESS) || in btrfs_parse_options()
690 !btrfs_test_opt(info, FORCE_COMPRESS)) { in btrfs_parse_options()
712 saved_compress_type = btrfs_test_opt(info, in btrfs_parse_options()
716 btrfs_test_opt(info, FORCE_COMPRESS); in btrfs_parse_options()
966 if (btrfs_test_opt(info, SPACE_CACHE)) { in btrfs_parse_options()
970 if (btrfs_test_opt(info, FREE_SPACE_TREE)) { in btrfs_parse_options()
1135 !btrfs_test_opt(info, FREE_SPACE_TREE) && in btrfs_parse_options()
1136 !btrfs_test_opt(info, CLEAR_CACHE)) { in btrfs_parse_options()
1144 if (btrfs_test_opt(info, SPACE_CACHE)) in btrfs_parse_options()
1146 if (btrfs_test_opt(info, FREE_SPACE_TREE)) in btrfs_parse_options()
1543 if (btrfs_test_opt(info, DEGRADED)) in btrfs_show_options()
1545 if (btrfs_test_opt(info, NODATASUM)) in btrfs_show_options()
1547 if (btrfs_test_opt(info, NODATACOW)) in btrfs_show_options()
1549 if (btrfs_test_opt(info, NOBARRIER)) in btrfs_show_options()
1556 if (btrfs_test_opt(info, COMPRESS)) { in btrfs_show_options()
1558 if (btrfs_test_opt(info, FORCE_COMPRESS)) in btrfs_show_options()
1565 if (btrfs_test_opt(info, NOSSD)) in btrfs_show_options()
1567 if (btrfs_test_opt(info, SSD_SPREAD)) in btrfs_show_options()
1569 else if (btrfs_test_opt(info, SSD)) in btrfs_show_options()
1571 if (btrfs_test_opt(info, NOTREELOG)) in btrfs_show_options()
1573 if (btrfs_test_opt(info, NOLOGREPLAY)) in btrfs_show_options()
1575 if (btrfs_test_opt(info, USEBACKUPROOT)) in btrfs_show_options()
1577 if (btrfs_test_opt(info, IGNOREBADROOTS)) in btrfs_show_options()
1579 if (btrfs_test_opt(info, IGNOREDATACSUMS)) in btrfs_show_options()
1581 if (btrfs_test_opt(info, FLUSHONCOMMIT)) in btrfs_show_options()
1583 if (btrfs_test_opt(info, DISCARD_SYNC)) in btrfs_show_options()
1585 if (btrfs_test_opt(info, DISCARD_ASYNC)) in btrfs_show_options()
1595 if (btrfs_test_opt(info, RESCAN_UUID_TREE)) in btrfs_show_options()
1597 if (btrfs_test_opt(info, CLEAR_CACHE)) in btrfs_show_options()
1599 if (btrfs_test_opt(info, USER_SUBVOL_RM_ALLOWED)) in btrfs_show_options()
1601 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in btrfs_show_options()
1603 if (btrfs_test_opt(info, AUTO_DEFRAG)) in btrfs_show_options()
1605 if (btrfs_test_opt(info, SKIP_BALANCE)) in btrfs_show_options()
1608 if (btrfs_test_opt(info, CHECK_INTEGRITY_DATA)) in btrfs_show_options()
1610 else if (btrfs_test_opt(info, CHECK_INTEGRITY)) in btrfs_show_options()
1618 if (btrfs_test_opt(info, PANIC_ON_FATAL_ERROR)) in btrfs_show_options()
1623 if (btrfs_test_opt(info, FRAGMENT_DATA)) in btrfs_show_options()
1625 if (btrfs_test_opt(info, FRAGMENT_METADATA)) in btrfs_show_options()
1628 if (btrfs_test_opt(info, REF_VERIFY)) in btrfs_show_options()
1964 const bool cache_opt = btrfs_test_opt(fs_info, SPACE_CACHE); in btrfs_remount_cleanup()
1977 btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_remount_cleanup()
1980 !btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_remount_cleanup()
2025 if ((bool)btrfs_test_opt(fs_info, FREE_SPACE_TREE) != in btrfs_remount()