Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/md/
Ddm-raid.c70 struct raid_type *raid_type; member
77 static struct raid_type { struct
138 static struct raid_type *get_raid_type(char *name) in get_raid_type()
149 static struct raid_set *context_alloc(struct dm_target *ti, struct raid_type *raid_type, unsigned r… in context_alloc() argument
154 if (raid_devs <= raid_type->parity_devs) { in context_alloc()
168 rs->raid_type = raid_type; in context_alloc()
170 rs->md.level = raid_type->level; in context_alloc()
172 rs->md.layout = raid_type->algorithm; in context_alloc()
394 switch (rs->raid_type->level) { in validate_raid_redundancy()
402 if (rebuild_cnt > rs->raid_type->parity_devs) in validate_raid_redundancy()
[all …]
/linux-4.4.14/Documentation/device-mapper/
Ddm-raid.txt13 <raid_type> <#raid_params> <raid_params> \
16 <raid_type>:
161 2: <raid_type> <#devices> <health_chars> \
170 <raid_type> Same as the <raid_type> used to create the array.
/linux-4.4.14/fs/btrfs/
Ddisk-io.c3511 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local
3520 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_get_num_tolerated_disk_barrier_failures()
3521 if (raid_type == BTRFS_RAID_SINGLE) in btrfs_get_num_tolerated_disk_barrier_failures()
3523 if (!(flags & btrfs_raid_group[raid_type])) in btrfs_get_num_tolerated_disk_barrier_failures()
3526 btrfs_raid_array[raid_type]. in btrfs_get_num_tolerated_disk_barrier_failures()
Dsysfs.c268 int index = to_raid_kobj(kobj)->raid_type; in raid_bytes_show()
Dextent-tree.c3920 u64 raid_type; in btrfs_reduce_alloc_profile() local
3939 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_reduce_alloc_profile()
3940 if (num_devices >= btrfs_raid_array[raid_type].devs_min) in btrfs_reduce_alloc_profile()
3941 allowed |= btrfs_raid_group[raid_type]; in btrfs_reduce_alloc_profile()
9621 rkobj->raid_type = index; in __link_block_group()
Dctree.h1165 int raid_type; member
/linux-4.4.14/drivers/scsi/esas2r/
Datioctl.h337 u8 raid_type; member