Searched refs:raid_type (Results 1 – 7 of 7) sorted by relevance
70 struct raid_type *raid_type; member77 static struct raid_type { struct138 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() argument154 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 …]
13 <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.
3511 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local3520 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()
268 int index = to_raid_kobj(kobj)->raid_type; in raid_bytes_show()
3920 u64 raid_type; in btrfs_reduce_alloc_profile() local3939 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()
1165 int raid_type; member
337 u8 raid_type; member