Lines Matching refs:opt
904 #define btrfs_set_fs_incompat(__fs_info, opt) \ argument
905 __btrfs_set_fs_incompat((__fs_info), BTRFS_FEATURE_INCOMPAT_##opt, #opt)
907 #define btrfs_clear_fs_incompat(__fs_info, opt) \ argument
908 __btrfs_clear_fs_incompat((__fs_info), BTRFS_FEATURE_INCOMPAT_##opt, #opt)
910 #define btrfs_fs_incompat(fs_info, opt) \ argument
911 __btrfs_fs_incompat((fs_info), BTRFS_FEATURE_INCOMPAT_##opt)
913 #define btrfs_set_fs_compat_ro(__fs_info, opt) \ argument
914 __btrfs_set_fs_compat_ro((__fs_info), BTRFS_FEATURE_COMPAT_RO_##opt, #opt)
916 #define btrfs_clear_fs_compat_ro(__fs_info, opt) \ argument
917 __btrfs_clear_fs_compat_ro((__fs_info), BTRFS_FEATURE_COMPAT_RO_##opt, #opt)
919 #define btrfs_fs_compat_ro(fs_info, opt) \ argument
920 __btrfs_fs_compat_ro((fs_info), BTRFS_FEATURE_COMPAT_RO_##opt)
922 #define btrfs_clear_opt(o, opt) ((o) &= ~BTRFS_MOUNT_##opt) argument
923 #define btrfs_set_opt(o, opt) ((o) |= BTRFS_MOUNT_##opt) argument
924 #define btrfs_raw_test_opt(o, opt) ((o) & BTRFS_MOUNT_##opt) argument
925 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ argument
926 BTRFS_MOUNT_##opt)
928 #define btrfs_set_and_info(fs_info, opt, fmt, args...) \ argument
930 if (!btrfs_test_opt(fs_info, opt)) \
932 btrfs_set_opt(fs_info->mount_opt, opt); \
935 #define btrfs_clear_and_info(fs_info, opt, fmt, args...) \ argument
937 if (btrfs_test_opt(fs_info, opt)) \
939 btrfs_clear_opt(fs_info->mount_opt, opt); \