Home
last modified time | relevance | path

Searched refs:raid_type (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
H A Ddm-raid.c244 struct raid_type *raid_type; member
284 static struct raid_type { struct
396 * the requested raid_type passed to the constructor.
453 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 *r
735 raid_set_alloc(struct dm_target *ti, struct raid_type *raid_type, unsigned int raid_devs) raid_set_alloc() argument
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-raid.c245 struct raid_type *raid_type; member
285 static struct raid_type { struct
397 * the requested raid_type passed to the constructor.
454 static bool rt_is_raid0(struct raid_type *rt) in rt_is_raid0()
460 static bool rt_is_raid1(struct raid_type *rt) in rt_is_raid1()
466 static bool rt_is_raid10(struct raid_type *rt) in rt_is_raid10()
472 static bool rt_is_raid45(struct raid_type *rt) in rt_is_raid45()
478 static bool rt_is_raid6(struct raid_type *rt) in rt_is_raid6()
484 static bool rt_is_raid456(struct raid_type *r
735 raid_set_alloc(struct dm_target *ti, struct raid_type *raid_type, unsigned int raid_devs) raid_set_alloc() argument
[all...]
/kernel/linux/linux-5.10/fs/btrfs/tests/
H A Dextent-map-tests.c444 u64 raid_type; member
488 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()
/kernel/linux/linux-6.6/fs/btrfs/tests/
H A Dextent-map-tests.c847 u64 raid_type; member
890 map->type = test->raid_type; in test_rmap_block()
965 .raid_type = BTRFS_BLOCK_GROUP_RAID1, in btrfs_test_extent_map()
982 .raid_type = 0, in btrfs_test_extent_map()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dblock-group.c58 u64 raid_type; in btrfs_reduce_alloc_profile() local
74 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()
H A Ddisk-io.c3857 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local
3866 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_get_num_tolerated_disk_barrier_failures()
3867 if (raid_type == BTRFS_RAID_SINGLE) in btrfs_get_num_tolerated_disk_barrier_failures()
3869 if (!(flags & btrfs_raid_array[raid_type].bg_flag)) in btrfs_get_num_tolerated_disk_barrier_failures()
3872 btrfs_raid_array[raid_type]. in btrfs_get_num_tolerated_disk_barrier_failures()
/kernel/linux/linux-6.6/fs/btrfs/
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()
H A Ddisk-io.c4031 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local
4040 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_get_num_tolerated_disk_barrier_failures()
4041 if (raid_type == BTRFS_RAID_SINGLE) in btrfs_get_num_tolerated_disk_barrier_failures()
4043 if (!(flags & btrfs_raid_array[raid_type].bg_flag)) in btrfs_get_num_tolerated_disk_barrier_failures()
4046 btrfs_raid_array[raid_type]. in btrfs_get_num_tolerated_disk_barrier_failures()
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
H A Datioctl.h337 u8 raid_type; member
/kernel/linux/linux-6.6/drivers/scsi/esas2r/
H A Datioctl.h337 u8 raid_type; member

Completed in 35 milliseconds