Searched refs:raid_type (Results 1 – 6 of 6) sorted by relevance
246 struct raid_type *raid_type; member286 static struct raid_type { struct455 static bool rt_is_raid0(struct raid_type *rt) in rt_is_raid0()461 static bool rt_is_raid1(struct raid_type *rt) in rt_is_raid1()467 static bool rt_is_raid10(struct raid_type *rt) in rt_is_raid10()473 static bool rt_is_raid45(struct raid_type *rt) in rt_is_raid45()479 static bool rt_is_raid6(struct raid_type *rt) in rt_is_raid6()485 static bool rt_is_raid456(struct raid_type *rt) in rt_is_raid456()494 if (rt_is_raid0(rs->raid_type)) in __valid_flags()496 else if (rt_is_raid1(rs->raid_type)) in __valid_flags()[all …]
1003 u64 raid_type; member1034 map->type = test->raid_type; in test_rmap_block()1104 .raid_type = BTRFS_BLOCK_GROUP_RAID1, in btrfs_test_extent_map()1121 .raid_type = 0, in btrfs_test_extent_map()
574 …target_attributes := <target_name> "," <target_version> "," <raid_type> "," <raid_disks> "," <raid…579 raid_type := "raid_type=" <raid_type_str>600 raid_type=raid10,raid_disks=4,raid_state=idle,
4019 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local4028 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_get_num_tolerated_disk_barrier_failures()4029 if (raid_type == BTRFS_RAID_SINGLE) in btrfs_get_num_tolerated_disk_barrier_failures()4031 if (!(flags & btrfs_raid_array[raid_type].bg_flag)) in btrfs_get_num_tolerated_disk_barrier_failures()4034 btrfs_raid_array[raid_type]. in btrfs_get_num_tolerated_disk_barrier_failures()
89 u64 raid_type; in btrfs_reduce_alloc_profile() local105 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_reduce_alloc_profile()106 if (num_devices >= btrfs_raid_array[raid_type].devs_min) in btrfs_reduce_alloc_profile()107 allowed |= btrfs_raid_array[raid_type].bg_flag; in btrfs_reduce_alloc_profile()
337 u8 raid_type; member