Lines Matching defs:allowed
59 u64 allowed = 0;
76 allowed |= btrfs_raid_array[raid_type].bg_flag;
78 allowed &= flags;
81 if (allowed & BTRFS_BLOCK_GROUP_RAID1C4)
82 allowed = BTRFS_BLOCK_GROUP_RAID1C4;
83 else if (allowed & BTRFS_BLOCK_GROUP_RAID6)
84 allowed = BTRFS_BLOCK_GROUP_RAID6;
85 else if (allowed & BTRFS_BLOCK_GROUP_RAID1C3)
86 allowed = BTRFS_BLOCK_GROUP_RAID1C3;
87 else if (allowed & BTRFS_BLOCK_GROUP_RAID5)
88 allowed = BTRFS_BLOCK_GROUP_RAID5;
89 else if (allowed & BTRFS_BLOCK_GROUP_RAID10)
90 allowed = BTRFS_BLOCK_GROUP_RAID10;
91 else if (allowed & BTRFS_BLOCK_GROUP_RAID1)
92 allowed = BTRFS_BLOCK_GROUP_RAID1;
93 else if (allowed & BTRFS_BLOCK_GROUP_DUP)
94 allowed = BTRFS_BLOCK_GROUP_DUP;
95 else if (allowed & BTRFS_BLOCK_GROUP_RAID0)
96 allowed = BTRFS_BLOCK_GROUP_RAID0;
100 return extended_to_chunk(flags | allowed);
960 * aren't the final iput (no unlinks allowed now)
2251 * we're not allowed to set block groups readonly after the dirty
2278 * ENOSPC is allowed here, we may have enough space
2570 * section where nothing is allowed to change the FS. This is required in