• Home
  • Raw
  • Download

Lines Matching refs:btrfs_test_opt

30 	return (btrfs_test_opt(fs_info, FRAGMENT_METADATA) &&  in btrfs_should_fragment_free_space()
32 (btrfs_test_opt(fs_info, FRAGMENT_DATA) && in btrfs_should_fragment_free_space()
859 if (btrfs_test_opt(fs_info, SPACE_CACHE)) { in caching_thread()
1204 if (btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in btrfs_remove_block_group()
1412 if (ret == -ENOSPC && btrfs_test_opt(cache->fs_info, ENOSPC_DEBUG)) { in inc_block_group_ro()
1475 const bool async_trim_enabled = btrfs_test_opt(fs_info, DISCARD_ASYNC); in btrfs_delete_unused_bgs()
1519 if (btrfs_test_opt(fs_info, DISCARD_ASYNC) && in btrfs_delete_unused_bgs()
1659 if (!async_trim_enabled && btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_delete_unused_bgs()
1666 trimming = btrfs_test_opt(fs_info, DISCARD_SYNC) || in btrfs_delete_unused_bgs()
1866 if (!btrfs_test_opt(fs_info, DISCARD_ASYNC)) in btrfs_reclaim_bgs_work()
2347 if (btrfs_test_opt(info, SPACE_CACHE)) in read_one_block_group()
2418 if (btrfs_test_opt(info, DISCARD_ASYNC)) in read_one_block_group()
2515 if (btrfs_test_opt(info, SPACE_CACHE) && in btrfs_read_block_groups()
2518 if (btrfs_test_opt(info, CLEAR_CACHE)) in btrfs_read_block_groups()
2590 if (ret && btrfs_test_opt(info, IGNOREBADROOTS)) in btrfs_read_block_groups()
3128 if (!btrfs_test_opt(fs_info, SPACE_CACHE)) in cache_save_setup()
3208 !btrfs_test_opt(fs_info, SPACE_CACHE)) { in cache_save_setup()
3287 !btrfs_test_opt(fs_info, SPACE_CACHE)) in btrfs_setup_space_cache()
3655 if (btrfs_test_opt(info, SPACE_CACHE) && in btrfs_update_block_group()
3705 if (!btrfs_test_opt(info, DISCARD_ASYNC)) in btrfs_update_block_group()
4227 if (left < bytes && btrfs_test_opt(fs_info, ENOSPC_DEBUG)) { in reserve_chunk_space()