Home
last modified time | relevance | path

Searched refs:btrfs_bg_flags_to_raid_index (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dvolumes.h749 enum btrfs_raid_types __attribute_const__ btrfs_bg_flags_to_raid_index(u64 flags);
H A Dvolumes.c167 enum btrfs_raid_types __attribute_const__ btrfs_bg_flags_to_raid_index(u64 flags) in btrfs_bg_flags_to_raid_index() function
179 const int index = btrfs_bg_flags_to_raid_index(flags); in btrfs_bg_type_to_raid_name()
189 enum btrfs_raid_types index = btrfs_bg_flags_to_raid_index(type); in btrfs_nr_parity_stripes()
3738 const int index = btrfs_bg_flags_to_raid_index(type); in calc_data_stripes()
5210 int index = btrfs_bg_flags_to_raid_index(ctl->type); in init_alloc_chunk_ctl()
5733 const int index = btrfs_bg_flags_to_raid_index(map->type); in btrfs_chunk_max_errors()
5812 index = btrfs_bg_flags_to_raid_index(map->type); in btrfs_num_copies()
6813 index = btrfs_bg_flags_to_raid_index(type); in read_one_chunk()
7748 const int index = btrfs_bg_flags_to_raid_index(flags); in btrfs_bg_type_to_factor()
H A Dsysfs.c682 int index = btrfs_bg_flags_to_raid_index(to_raid_kobj(kobj)->flags); in raid_bytes_show()
1565 const int index = btrfs_bg_flags_to_raid_index(cache->flags); in btrfs_sysfs_add_block_group_type()
H A Dblock-group.c1078 index = btrfs_bg_flags_to_raid_index(block_group->flags); in btrfs_remove_block_group()
2745 index = btrfs_bg_flags_to_raid_index(block_group->flags); in btrfs_create_pending_block_groups()
4202 num_dev = btrfs_raid_array[btrfs_bg_flags_to_raid_index(type)].devs_max; in get_profile_num_devs()
H A Dspace-info.c323 index = btrfs_bg_flags_to_raid_index(block_group->flags); in btrfs_add_bg_to_space_info()
H A Dextent-tree.c3898 BUG_ON(btrfs_bg_flags_to_raid_index(block_group->flags) != in release_block_group()
4258 ffe_ctl->index = btrfs_bg_flags_to_raid_index(ffe_ctl->flags); in find_free_extent()
4314 ffe_ctl->index = btrfs_bg_flags_to_raid_index( in find_free_extent()
4328 if (ffe_ctl->index == btrfs_bg_flags_to_raid_index(ffe_ctl->flags) || in find_free_extent()
H A Dsuper.c1951 rattr = &btrfs_raid_array[btrfs_bg_flags_to_raid_index(type)]; in btrfs_calc_avail_data_space()
H A Dtree-checker.c817 raid_index = btrfs_bg_flags_to_raid_index(type); in btrfs_check_chunk_valid()