Searched refs:btrfs_raw_test_opt (Results 1 – 2 of 2) sorted by relevance
1650 if (btrfs_raw_test_opt(old_opts, AUTO_DEFRAG) && in btrfs_remount_begin()1651 (!btrfs_raw_test_opt(fs_info->mount_opt, AUTO_DEFRAG) || in btrfs_remount_begin()1670 if (btrfs_raw_test_opt(old_opts, AUTO_DEFRAG) && in btrfs_remount_cleanup()1671 (!btrfs_raw_test_opt(fs_info->mount_opt, AUTO_DEFRAG) || sb_rdonly(fs_info->sb))) { in btrfs_remount_cleanup()1676 if (!btrfs_raw_test_opt(old_opts, DISCARD_ASYNC) && in btrfs_remount_cleanup()1679 else if (btrfs_raw_test_opt(old_opts, DISCARD_ASYNC) && in btrfs_remount_cleanup()
924 #define btrfs_raw_test_opt(o, opt) ((o) & BTRFS_MOUNT_##opt) macro