Lines Matching refs:allowed
868 * 2b must not be allowed at all time.
1366 * and we are not allowed to call set_blocksize during the scan. The superblock
4218 * Validate target profile against allowed profiles and return true if it's OK.
4223 u64 allowed, const char *type)
4228 /* Profile is valid and does not have bits outside of the allowed set */
4230 (bargs->target & ~allowed) == 0)
4400 u64 allowed;
4416 allowed = btrfs_super_incompat_flags(fs_info->super_copy);
4417 if (allowed & BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS)
4424 allowed = BTRFS_BALANCE_DATA | BTRFS_BALANCE_METADATA;
4425 if (mixed && (bctl->flags & allowed)) {
4447 allowed = BTRFS_AVAIL_ALLOC_BIT_SINGLE;
4450 allowed |= btrfs_raid_array[i].bg_flag;
4452 if (!validate_convert_profile(fs_info, &bctl->data, allowed, "data") ||
4453 !validate_convert_profile(fs_info, &bctl->meta, allowed, "metadata") ||
4454 !validate_convert_profile(fs_info, &bctl->sys, allowed, "system")) {
4463 allowed = 0;
4467 allowed |= btrfs_raid_array[i].bg_flag;
4473 (fs_info->avail_system_alloc_bits & allowed) &&
4474 !(bctl->sys.target & allowed)) ||
4476 (fs_info->avail_metadata_alloc_bits & allowed) &&
4477 !(bctl->meta.target & allowed)))