Home
last modified time | relevance | path

Searched refs:raid_type (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/md/
Ddm-raid.c241 struct raid_type *raid_type; member
279 static struct raid_type { struct
448 static bool rt_is_raid0(struct raid_type *rt) in rt_is_raid0()
454 static bool rt_is_raid1(struct raid_type *rt) in rt_is_raid1()
460 static bool rt_is_raid10(struct raid_type *rt) in rt_is_raid10()
466 static bool rt_is_raid45(struct raid_type *rt) in rt_is_raid45()
472 static bool rt_is_raid6(struct raid_type *rt) in rt_is_raid6()
478 static bool rt_is_raid456(struct raid_type *rt) in rt_is_raid456()
487 if (rt_is_raid0(rs->raid_type)) in __valid_flags()
489 else if (rt_is_raid1(rs->raid_type)) in __valid_flags()
[all …]
/Linux-v4.19/Documentation/device-mapper/
Ddm-raid.txt13 <raid_type> <#raid_params> <raid_params> \
16 <raid_type>:
224 2: <raid_type> <#devices> <health_chars> \
233 <raid_type> Same as the <raid_type> used to create the array.
/Linux-v4.19/fs/btrfs/
Ddisk-io.c3677 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local
3686 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_get_num_tolerated_disk_barrier_failures()
3687 if (raid_type == BTRFS_RAID_SINGLE) in btrfs_get_num_tolerated_disk_barrier_failures()
3689 if (!(flags & btrfs_raid_array[raid_type].bg_flag)) in btrfs_get_num_tolerated_disk_barrier_failures()
3692 btrfs_raid_array[raid_type]. in btrfs_get_num_tolerated_disk_barrier_failures()
Dextent-tree.c4006 u64 raid_type; in btrfs_reduce_alloc_profile() local
4025 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_reduce_alloc_profile()
4026 if (num_devices >= btrfs_raid_array[raid_type].devs_min) in btrfs_reduce_alloc_profile()
4027 allowed |= btrfs_raid_array[raid_type].bg_flag; in btrfs_reduce_alloc_profile()
/Linux-v4.19/drivers/scsi/esas2r/
Datioctl.h337 u8 raid_type; member