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()
837 if (btrfs_test_opt(info, SPACE_CACHE)) { in btrfs_parse_options()
841 if (btrfs_test_opt(info, FREE_SPACE_TREE)) { in btrfs_parse_options()
999 if (btrfs_test_opt(info, NOLOGREPLAY) && !(new_flags & SB_RDONLY)) { in btrfs_parse_options()
1006 !btrfs_test_opt(info, FREE_SPACE_TREE) && in btrfs_parse_options()
1007 !btrfs_test_opt(info, CLEAR_CACHE)) { in btrfs_parse_options()
1012 if (!ret && btrfs_test_opt(info, SPACE_CACHE)) in btrfs_parse_options()
1014 if (!ret && btrfs_test_opt(info, FREE_SPACE_TREE)) in btrfs_parse_options()
1417 if (btrfs_test_opt(info, DEGRADED)) in btrfs_show_options()
1419 if (btrfs_test_opt(info, NODATASUM)) in btrfs_show_options()
1421 if (btrfs_test_opt(info, NODATACOW)) in btrfs_show_options()
1423 if (btrfs_test_opt(info, NOBARRIER)) in btrfs_show_options()
1430 if (btrfs_test_opt(info, COMPRESS)) { in btrfs_show_options()
1432 if (btrfs_test_opt(info, FORCE_COMPRESS)) in btrfs_show_options()
1439 if (btrfs_test_opt(info, NOSSD)) in btrfs_show_options()
1441 if (btrfs_test_opt(info, SSD_SPREAD)) in btrfs_show_options()
1443 else if (btrfs_test_opt(info, SSD)) in btrfs_show_options()
1445 if (btrfs_test_opt(info, NOTREELOG)) in btrfs_show_options()
1447 if (btrfs_test_opt(info, NOLOGREPLAY)) in btrfs_show_options()
1449 if (btrfs_test_opt(info, FLUSHONCOMMIT)) in btrfs_show_options()
1451 if (btrfs_test_opt(info, DISCARD_SYNC)) in btrfs_show_options()
1453 if (btrfs_test_opt(info, DISCARD_ASYNC)) in btrfs_show_options()
1457 if (btrfs_test_opt(info, SPACE_CACHE)) in btrfs_show_options()
1459 else if (btrfs_test_opt(info, FREE_SPACE_TREE)) in btrfs_show_options()
1463 if (btrfs_test_opt(info, RESCAN_UUID_TREE)) in btrfs_show_options()
1465 if (btrfs_test_opt(info, CLEAR_CACHE)) in btrfs_show_options()
1467 if (btrfs_test_opt(info, USER_SUBVOL_RM_ALLOWED)) in btrfs_show_options()
1469 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in btrfs_show_options()
1471 if (btrfs_test_opt(info, AUTO_DEFRAG)) in btrfs_show_options()
1473 if (btrfs_test_opt(info, INODE_MAP_CACHE)) in btrfs_show_options()
1475 if (btrfs_test_opt(info, SKIP_BALANCE)) in btrfs_show_options()
1478 if (btrfs_test_opt(info, CHECK_INTEGRITY_INCLUDING_EXTENT_DATA)) in btrfs_show_options()
1480 else if (btrfs_test_opt(info, CHECK_INTEGRITY)) in btrfs_show_options()
1488 if (btrfs_test_opt(info, PANIC_ON_FATAL_ERROR)) in btrfs_show_options()
1493 if (btrfs_test_opt(info, FRAGMENT_DATA)) in btrfs_show_options()
1495 if (btrfs_test_opt(info, FRAGMENT_METADATA)) in btrfs_show_options()
1498 if (btrfs_test_opt(info, REF_VERIFY)) in btrfs_show_options()
1849 btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_remount_cleanup()
1852 !btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_remount_cleanup()