raid_type         241 drivers/md/dm-raid.c 	struct raid_type *raid_type;
raid_type         448 drivers/md/dm-raid.c static bool rt_is_raid0(struct raid_type *rt)
raid_type         454 drivers/md/dm-raid.c static bool rt_is_raid1(struct raid_type *rt)
raid_type         460 drivers/md/dm-raid.c static bool rt_is_raid10(struct raid_type *rt)
raid_type         466 drivers/md/dm-raid.c static bool rt_is_raid45(struct raid_type *rt)
raid_type         472 drivers/md/dm-raid.c static bool rt_is_raid6(struct raid_type *rt)
raid_type         478 drivers/md/dm-raid.c static bool rt_is_raid456(struct raid_type *rt)
raid_type         487 drivers/md/dm-raid.c 	if (rt_is_raid0(rs->raid_type))
raid_type         489 drivers/md/dm-raid.c 	else if (rt_is_raid1(rs->raid_type))
raid_type         491 drivers/md/dm-raid.c 	else if (rt_is_raid10(rs->raid_type))
raid_type         493 drivers/md/dm-raid.c 	else if (rt_is_raid45(rs->raid_type))
raid_type         495 drivers/md/dm-raid.c 	else if (rt_is_raid6(rs->raid_type))
raid_type         631 drivers/md/dm-raid.c static bool __got_raid10(struct raid_type *rtp, const int layout)
raid_type         651 drivers/md/dm-raid.c static struct raid_type *get_raid_type(const char *name)
raid_type         653 drivers/md/dm-raid.c 	struct raid_type *rtp = raid_types + ARRAY_SIZE(raid_types);
raid_type         663 drivers/md/dm-raid.c static struct raid_type *get_raid_type_by_ll(const int level, const int layout)
raid_type         665 drivers/md/dm-raid.c 	struct raid_type *rtp = raid_types + ARRAY_SIZE(raid_types);
raid_type         731 drivers/md/dm-raid.c static struct raid_set *raid_set_alloc(struct dm_target *ti, struct raid_type *raid_type,
raid_type         737 drivers/md/dm-raid.c 	if (raid_devs <= raid_type->parity_devs) {
raid_type         754 drivers/md/dm-raid.c 	rs->raid_type = raid_type;
raid_type         757 drivers/md/dm-raid.c 	rs->md.level = raid_type->level;
raid_type         759 drivers/md/dm-raid.c 	rs->md.layout = raid_type->algorithm;
raid_type        1019 drivers/md/dm-raid.c 		if (rebuild_cnt > rs->raid_type->parity_devs)
raid_type        1128 drivers/md/dm-raid.c 	struct raid_type *rt = rs->raid_type;
raid_type        1537 drivers/md/dm-raid.c 	if (!rt_is_raid456(rs->raid_type)) {
raid_type        1571 drivers/md/dm-raid.c 	return rs->md.raid_disks - rs->raid_type->parity_devs;
raid_type        1577 drivers/md/dm-raid.c 	return rs->raid_disks - rs->raid_type->parity_devs;
raid_type        1635 drivers/md/dm-raid.c 	if (rt_is_raid1(rs->raid_type))
raid_type        1637 drivers/md/dm-raid.c 	else if (rt_is_raid10(rs->raid_type)) {
raid_type        2276 drivers/md/dm-raid.c 			rs->raid_type = get_raid_type_by_ll(mddev->level, mddev->layout);
raid_type        2283 drivers/md/dm-raid.c 		struct raid_type *rt_cur = get_raid_type_by_ll(mddev->level, mddev->layout);
raid_type        2284 drivers/md/dm-raid.c 		struct raid_type *rt_new = get_raid_type_by_ll(mddev->new_level, mddev->new_layout);
raid_type        2427 drivers/md/dm-raid.c 				} else if (!(rs_is_raid10(rs) && rt_is_raid0(rs->raid_type)) &&
raid_type        2428 drivers/md/dm-raid.c 					   !(rs_is_raid0(rs) && rt_is_raid10(rs->raid_type)) &&
raid_type        2429 drivers/md/dm-raid.c 					   !rt_is_raid1(rs->raid_type)) {
raid_type        2478 drivers/md/dm-raid.c 	mddev->bitmap_info.offset = (rt_is_raid0(rs->raid_type) || rs->journal_dev.dev) ? 0 : to_sector(4096);
raid_type        2732 drivers/md/dm-raid.c 	if (rt_is_raid10(rs->raid_type)) {
raid_type        3009 drivers/md/dm-raid.c 	struct raid_type *rt;
raid_type        3516 drivers/md/dm-raid.c 	struct raid_type *rt;
raid_type        3611 drivers/md/dm-raid.c 		DMEMIT("%s %u %u", rs->raid_type->name, raid_param_cnt, mddev->new_chunk_sectors);
raid_type        3797 drivers/md/dm-raid.c 			       rs->raid_type->name, i);
raid_type         337 drivers/scsi/esas2r/atioctl.h 	u8 raid_type;
raid_type          57 fs/btrfs/block-group.c 	u64 raid_type;
raid_type          76 fs/btrfs/block-group.c 	for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) {
raid_type          77 fs/btrfs/block-group.c 		if (num_devices >= btrfs_raid_array[raid_type].devs_min)
raid_type          78 fs/btrfs/block-group.c 			allowed |= btrfs_raid_array[raid_type].bg_flag;
raid_type        3722 fs/btrfs/disk-io.c 	int raid_type;
raid_type        3731 fs/btrfs/disk-io.c 	for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) {
raid_type        3732 fs/btrfs/disk-io.c 		if (raid_type == BTRFS_RAID_SINGLE)
raid_type        3734 fs/btrfs/disk-io.c 		if (!(flags & btrfs_raid_array[raid_type].bg_flag))
raid_type        3737 fs/btrfs/disk-io.c 				    btrfs_raid_array[raid_type].