Lines Matching defs:allowed
909 * 2b must not be allowed at all time.
1358 * and we are not allowed to call set_blocksize during the scan. The superblock
4075 * Validate target profile against allowed profiles and return true if it's OK.
4080 u64 allowed, const char *type)
4085 /* Profile is valid and does not have bits outside of the allowed set */
4087 (bargs->target & ~allowed) == 0)
4257 u64 allowed;
4273 allowed = btrfs_super_incompat_flags(fs_info->super_copy);
4274 if (allowed & BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS)
4281 allowed = BTRFS_BALANCE_DATA | BTRFS_BALANCE_METADATA;
4282 if (mixed && (bctl->flags & allowed)) {
4304 allowed = BTRFS_AVAIL_ALLOC_BIT_SINGLE;
4307 allowed |= btrfs_raid_array[i].bg_flag;
4309 if (!validate_convert_profile(fs_info, &bctl->data, allowed, "data") ||
4310 !validate_convert_profile(fs_info, &bctl->meta, allowed, "metadata") ||
4311 !validate_convert_profile(fs_info, &bctl->sys, allowed, "system")) {
4320 allowed = 0;
4324 allowed |= btrfs_raid_array[i].bg_flag;
4330 (fs_info->avail_system_alloc_bits & allowed) &&
4331 !(bctl->sys.target & allowed)) ||
4333 (fs_info->avail_metadata_alloc_bits & allowed) &&
4334 !(bctl->meta.target & allowed)))