Home
last modified time | relevance | path

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

/linux-6.15/drivers/md/
H A Ddm-raid.c246 struct raid_type *raid_type; member
286 static struct raid_type { struct
494 if (rt_is_raid0(rs->raid_type)) in __valid_flags()
736 static struct raid_set *raid_set_alloc(struct dm_target *ti, struct raid_type *raid_type, in raid_set_alloc() argument
763 rs->raid_type = raid_type; in raid_set_alloc()
766 rs->md.level = raid_type->level; in raid_set_alloc()
1140 struct raid_type *rt = rs->raid_type; in parse_raid_params()
1663 if (rt_is_raid1(rs->raid_type)) in rs_set_dev_and_array_sectors()
3013 struct raid_type *rt; in raid_ctr()
3535 struct raid_type *rt; in raid_status()
[all …]
/linux-6.15/Documentation/admin-guide/device-mapper/
H A Ddm-raid.rst14 <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.
H A Ddm-ima.rst574 …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,
/linux-6.15/fs/btrfs/tests/
H A Dextent-map-tests.c1000 u64 raid_type; member
1031 map->type = test->raid_type; in test_rmap_block()
1100 .raid_type = BTRFS_BLOCK_GROUP_RAID1, in btrfs_test_extent_map()
1117 .raid_type = 0, in btrfs_test_extent_map()
/linux-6.15/fs/btrfs/
H A Ddisk-io.c4050 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local
4059 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_get_num_tolerated_disk_barrier_failures()
4060 if (raid_type == BTRFS_RAID_SINGLE) in btrfs_get_num_tolerated_disk_barrier_failures()
4062 if (!(flags & btrfs_raid_array[raid_type].bg_flag)) in btrfs_get_num_tolerated_disk_barrier_failures()
4065 btrfs_raid_array[raid_type]. in btrfs_get_num_tolerated_disk_barrier_failures()
H A Dblock-group.c76 u64 raid_type; in btrfs_reduce_alloc_profile() local
92 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_reduce_alloc_profile()
93 if (num_devices >= btrfs_raid_array[raid_type].devs_min) in btrfs_reduce_alloc_profile()
94 allowed |= btrfs_raid_array[raid_type].bg_flag; in btrfs_reduce_alloc_profile()
/linux-6.15/drivers/scsi/esas2r/
H A Datioctl.h337 u8 raid_type; member