Searched refs:btrfs_bg_flags_to_raid_index (Results 1 – 6 of 6) sorted by relevance
1095 index = btrfs_bg_flags_to_raid_index(block_group->flags); in btrfs_remove_block_group()2785 index = btrfs_bg_flags_to_raid_index(block_group->flags); in btrfs_create_pending_block_groups()4281 num_dev = btrfs_raid_array[btrfs_bg_flags_to_raid_index(type)].devs_max; in get_profile_num_devs()
697 int index = btrfs_bg_flags_to_raid_index(to_raid_kobj(kobj)->flags); in raid_bytes_show()1861 const int index = btrfs_bg_flags_to_raid_index(cache->flags); in btrfs_sysfs_add_block_group_type()
4050 BUG_ON(btrfs_bg_flags_to_raid_index(block_group->flags) != in release_block_group()4396 ffe_ctl->index = btrfs_bg_flags_to_raid_index(ffe_ctl->flags); in find_free_extent()4464 ffe_ctl->index = btrfs_bg_flags_to_raid_index( in find_free_extent()4478 if (ffe_ctl->index == btrfs_bg_flags_to_raid_index(ffe_ctl->flags) || in find_free_extent()
381 index = btrfs_bg_flags_to_raid_index(block_group->flags); in btrfs_add_bg_to_space_info()
851 raid_index = btrfs_bg_flags_to_raid_index(type); in btrfs_check_chunk_valid()
1634 rattr = &btrfs_raid_array[btrfs_bg_flags_to_raid_index(type)]; in btrfs_calc_avail_data_space()