Lines Matching refs:btrfs_test_opt
309 if (fs_info && (btrfs_test_opt(fs_info, PANIC_ON_FATAL_ERROR))) in __btrfs_panic()
562 if (btrfs_test_opt(info, NODATASUM)) { in btrfs_parse_options()
563 if (btrfs_test_opt(info, NODATACOW)) in btrfs_parse_options()
573 if (!btrfs_test_opt(info, NODATACOW)) { in btrfs_parse_options()
574 if (!btrfs_test_opt(info, COMPRESS) || in btrfs_parse_options()
575 !btrfs_test_opt(info, FORCE_COMPRESS)) { in btrfs_parse_options()
597 saved_compress_type = btrfs_test_opt(info, in btrfs_parse_options()
601 btrfs_test_opt(info, FORCE_COMPRESS); in btrfs_parse_options()
825 if (btrfs_test_opt(info, SPACE_CACHE)) { in btrfs_parse_options()
829 if (btrfs_test_opt(info, FREE_SPACE_TREE)) { in btrfs_parse_options()
974 if (btrfs_test_opt(info, NOLOGREPLAY) && !(new_flags & SB_RDONLY)) { in btrfs_parse_options()
981 !btrfs_test_opt(info, FREE_SPACE_TREE) && in btrfs_parse_options()
982 !btrfs_test_opt(info, CLEAR_CACHE)) { in btrfs_parse_options()
987 if (!ret && btrfs_test_opt(info, SPACE_CACHE)) in btrfs_parse_options()
989 if (!ret && btrfs_test_opt(info, FREE_SPACE_TREE)) in btrfs_parse_options()
1392 if (btrfs_test_opt(info, DEGRADED)) in btrfs_show_options()
1394 if (btrfs_test_opt(info, NODATASUM)) in btrfs_show_options()
1396 if (btrfs_test_opt(info, NODATACOW)) in btrfs_show_options()
1398 if (btrfs_test_opt(info, NOBARRIER)) in btrfs_show_options()
1405 if (btrfs_test_opt(info, COMPRESS)) { in btrfs_show_options()
1407 if (btrfs_test_opt(info, FORCE_COMPRESS)) in btrfs_show_options()
1414 if (btrfs_test_opt(info, NOSSD)) in btrfs_show_options()
1416 if (btrfs_test_opt(info, SSD_SPREAD)) in btrfs_show_options()
1418 else if (btrfs_test_opt(info, SSD)) in btrfs_show_options()
1420 if (btrfs_test_opt(info, NOTREELOG)) in btrfs_show_options()
1422 if (btrfs_test_opt(info, NOLOGREPLAY)) in btrfs_show_options()
1424 if (btrfs_test_opt(info, FLUSHONCOMMIT)) in btrfs_show_options()
1426 if (btrfs_test_opt(info, DISCARD_SYNC)) in btrfs_show_options()
1428 if (btrfs_test_opt(info, DISCARD_ASYNC)) in btrfs_show_options()
1432 if (btrfs_test_opt(info, SPACE_CACHE)) in btrfs_show_options()
1434 else if (btrfs_test_opt(info, FREE_SPACE_TREE)) in btrfs_show_options()
1438 if (btrfs_test_opt(info, RESCAN_UUID_TREE)) in btrfs_show_options()
1440 if (btrfs_test_opt(info, CLEAR_CACHE)) in btrfs_show_options()
1442 if (btrfs_test_opt(info, USER_SUBVOL_RM_ALLOWED)) in btrfs_show_options()
1444 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in btrfs_show_options()
1446 if (btrfs_test_opt(info, AUTO_DEFRAG)) in btrfs_show_options()
1448 if (btrfs_test_opt(info, INODE_MAP_CACHE)) in btrfs_show_options()
1450 if (btrfs_test_opt(info, SKIP_BALANCE)) in btrfs_show_options()
1453 if (btrfs_test_opt(info, CHECK_INTEGRITY_INCLUDING_EXTENT_DATA)) in btrfs_show_options()
1455 else if (btrfs_test_opt(info, CHECK_INTEGRITY)) in btrfs_show_options()
1463 if (btrfs_test_opt(info, PANIC_ON_FATAL_ERROR)) in btrfs_show_options()
1468 if (btrfs_test_opt(info, FRAGMENT_DATA)) in btrfs_show_options()
1470 if (btrfs_test_opt(info, FRAGMENT_METADATA)) in btrfs_show_options()
1473 if (btrfs_test_opt(info, REF_VERIFY)) in btrfs_show_options()
1824 btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_remount_cleanup()
1827 !btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_remount_cleanup()