Searched refs:raid_type (Results 1 – 6 of 6) sorted by relevance
244 struct raid_type *raid_type; member284 static struct raid_type { struct453 static bool rt_is_raid0(struct raid_type *rt) in rt_is_raid0()459 static bool rt_is_raid1(struct raid_type *rt) in rt_is_raid1()465 static bool rt_is_raid10(struct raid_type *rt) in rt_is_raid10()471 static bool rt_is_raid45(struct raid_type *rt) in rt_is_raid45()477 static bool rt_is_raid6(struct raid_type *rt) in rt_is_raid6()483 static bool rt_is_raid456(struct raid_type *rt) in rt_is_raid456()492 if (rt_is_raid0(rs->raid_type)) in __valid_flags()494 else if (rt_is_raid1(rs->raid_type)) in __valid_flags()[all …]
444 u64 raid_type; member488 map->type = test->raid_type; in test_rmap_block()563 .raid_type = BTRFS_BLOCK_GROUP_RAID1, in btrfs_test_extent_map()580 .raid_type = 0, in btrfs_test_extent_map()
14 <raid_type> <#raid_params> <raid_params> \17 <raid_type>:265 2: <raid_type> <#devices> <health_chars> \279 <raid_type> Same as the <raid_type> used to create the array.
58 u64 raid_type; in btrfs_reduce_alloc_profile() local74 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_reduce_alloc_profile()75 if (num_devices >= btrfs_raid_array[raid_type].devs_min) in btrfs_reduce_alloc_profile()76 allowed |= btrfs_raid_array[raid_type].bg_flag; in btrfs_reduce_alloc_profile()
3784 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local3793 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_get_num_tolerated_disk_barrier_failures()3794 if (raid_type == BTRFS_RAID_SINGLE) in btrfs_get_num_tolerated_disk_barrier_failures()3796 if (!(flags & btrfs_raid_array[raid_type].bg_flag)) in btrfs_get_num_tolerated_disk_barrier_failures()3799 btrfs_raid_array[raid_type]. in btrfs_get_num_tolerated_disk_barrier_failures()
337 u8 raid_type; member