Lines Matching refs:BTRFS_BLOCK_GROUP_METADATA

320 	u64 chunk = block_group->flags & BTRFS_BLOCK_GROUP_METADATA ?  in fragment_free_space()
751 flags = BTRFS_BLOCK_GROUP_METADATA; in add_pinned_bytes()
2485 flags = BTRFS_BLOCK_GROUP_METADATA; in cleanup_ref_head()
3875 case BTRFS_BLOCK_GROUP_METADATA|BTRFS_BLOCK_GROUP_DATA: in alloc_name()
3877 case BTRFS_BLOCK_GROUP_METADATA: in alloc_name()
3967 if (flags & BTRFS_BLOCK_GROUP_METADATA) in set_avail_alloc_bits()
3994 } else if (flags & BTRFS_BLOCK_GROUP_METADATA && in get_restripe_target()
3996 target = BTRFS_BLOCK_GROUP_METADATA | bctl->meta.target; in get_restripe_target()
4067 else if (flags & BTRFS_BLOCK_GROUP_METADATA) in get_alloc_profile()
4085 flags = BTRFS_BLOCK_GROUP_METADATA; in get_alloc_profile_by_root()
4098 return get_alloc_profile(fs_info, BTRFS_BLOCK_GROUP_METADATA); in btrfs_metadata_alloc_profile()
4321 if (found->flags & BTRFS_BLOCK_GROUP_METADATA) in force_metadata_allocation()
4347 if (sinfo->flags & BTRFS_BLOCK_GROUP_METADATA) in should_alloc_chunk()
4512 flags |= (BTRFS_BLOCK_GROUP_DATA | BTRFS_BLOCK_GROUP_METADATA); in do_chunk_alloc()
4691 space_info = __find_space_info(fs_info, BTRFS_BLOCK_GROUP_METADATA); in shrink_delalloc()
4967 space_info = __find_space_info(fs_info, BTRFS_BLOCK_GROUP_METADATA); in btrfs_async_reclaim_metadata_space()
5167 } else if (!ret && space_info->flags & BTRFS_BLOCK_GROUP_METADATA) { in __reserve_metadata_bytes()
5513 BTRFS_BLOCK_GROUP_METADATA); in btrfs_init_metadata_block_rsv()
5756 space_info = __find_space_info(fs_info, BTRFS_BLOCK_GROUP_METADATA); in init_global_block_rsv()
5839 BTRFS_BLOCK_GROUP_METADATA); in btrfs_subvolume_reserve_metadata()
6496 if (space_info->flags & BTRFS_BLOCK_GROUP_METADATA) { in fetch_cluster_info()
9247 (BTRFS_BLOCK_GROUP_SYSTEM | BTRFS_BLOCK_GROUP_METADATA)) && in inc_block_group_ro()
10008 ((cache->flags & BTRFS_BLOCK_GROUP_METADATA) && in btrfs_read_block_groups()
10236 if (flags & BTRFS_BLOCK_GROUP_METADATA) in clear_avail_alloc_bits()
10773 flags = BTRFS_BLOCK_GROUP_METADATA | BTRFS_BLOCK_GROUP_DATA; in btrfs_init_space_info()
10776 flags = BTRFS_BLOCK_GROUP_METADATA; in btrfs_init_space_info()