Searched refs:btrfs_bg_flags_to_raid_index (Results 1 – 4 of 4) sorted by relevance
543 static inline enum btrfs_raid_types btrfs_bg_flags_to_raid_index(u64 flags) in btrfs_bg_flags_to_raid_index() function
291 int index = btrfs_bg_flags_to_raid_index(to_raid_kobj(kobj)->flags); in raid_bytes_show()
3797 int index = btrfs_bg_flags_to_raid_index(bctl->data.target); in btrfs_balance()3806 int index = btrfs_bg_flags_to_raid_index(bctl->meta.target); in btrfs_balance()3815 int index = btrfs_bg_flags_to_raid_index(bctl->sys.target); in btrfs_balance()3863 int meta_index = btrfs_bg_flags_to_raid_index(meta_target); in btrfs_balance()3864 int data_index = btrfs_bg_flags_to_raid_index(data_target); in btrfs_balance()4653 index = btrfs_bg_flags_to_raid_index(type); in __btrfs_alloc_chunk()7334 int index = btrfs_bg_flags_to_raid_index(type); in calc_stripe_length()
7250 int index = btrfs_bg_flags_to_raid_index(flags); in find_free_extent()7336 index = btrfs_bg_flags_to_raid_index( in find_free_extent()7347 if (index == 0 || index == btrfs_bg_flags_to_raid_index(flags)) in find_free_extent()7611 BUG_ON(btrfs_bg_flags_to_raid_index(block_group->flags) != in find_free_extent()9492 index = btrfs_bg_flags_to_raid_index(extended_to_chunk(target)); in btrfs_can_relocate()9506 index = btrfs_bg_flags_to_raid_index(block_group->flags); in btrfs_can_relocate()9797 index = btrfs_bg_flags_to_raid_index(rkobj->flags); in btrfs_add_raid_kobjects()9815 int index = btrfs_bg_flags_to_raid_index(cache->flags); in link_block_group()10275 index = btrfs_bg_flags_to_raid_index(block_group->flags); in btrfs_remove_block_group()