Lines Matching refs:allowed
4055 u64 allowed = 0; in btrfs_reduce_alloc_profile() local
4075 allowed |= btrfs_raid_group[raid_type]; in btrfs_reduce_alloc_profile()
4077 allowed &= flags; in btrfs_reduce_alloc_profile()
4079 if (allowed & BTRFS_BLOCK_GROUP_RAID6) in btrfs_reduce_alloc_profile()
4080 allowed = BTRFS_BLOCK_GROUP_RAID6; in btrfs_reduce_alloc_profile()
4081 else if (allowed & BTRFS_BLOCK_GROUP_RAID5) in btrfs_reduce_alloc_profile()
4082 allowed = BTRFS_BLOCK_GROUP_RAID5; in btrfs_reduce_alloc_profile()
4083 else if (allowed & BTRFS_BLOCK_GROUP_RAID10) in btrfs_reduce_alloc_profile()
4084 allowed = BTRFS_BLOCK_GROUP_RAID10; in btrfs_reduce_alloc_profile()
4085 else if (allowed & BTRFS_BLOCK_GROUP_RAID1) in btrfs_reduce_alloc_profile()
4086 allowed = BTRFS_BLOCK_GROUP_RAID1; in btrfs_reduce_alloc_profile()
4087 else if (allowed & BTRFS_BLOCK_GROUP_RAID0) in btrfs_reduce_alloc_profile()
4088 allowed = BTRFS_BLOCK_GROUP_RAID0; in btrfs_reduce_alloc_profile()
4092 return extended_to_chunk(flags | allowed); in btrfs_reduce_alloc_profile()