Lines Matching refs:level
82 const unsigned level; /* RAID level. */ member
170 rs->md.level = raid_type->level; in context_alloc()
171 rs->md.new_level = rs->md.level; in context_alloc()
394 switch (rs->raid_type->level) { in validate_raid_redundancy()
513 } else if (rs->raid_type->level == 1) { in parse_raid_params()
576 if (rs->raid_type->level != 10) { in parse_raid_params()
606 if (rs->raid_type->level != 1) { in parse_raid_params()
616 if (rs->raid_type->level != 1) { in parse_raid_params()
648 if ((rs->raid_type->level != 5) && in parse_raid_params()
649 (rs->raid_type->level != 6)) { in parse_raid_params()
675 (rs->raid_type->level == 10)) { in parse_raid_params()
700 if (rs->raid_type->level == 10) { in parse_raid_params()
722 } else if ((!rs->raid_type->level || rs->raid_type->level > 1) && in parse_raid_params()
781 __le32 level; member
836 sb->level = cpu_to_le32(mddev->level); in super_sync()
922 if (le32_to_cpu(sb->level) != mddev->level) { in super_init_validation()
943 if ((rs->raid_type->level != 1) && in super_init_validation()
1007 if (rs->raid_type->level != 1) { in super_init_validation()
1041 mddev->bitmap_info.offset = (rs->raid_type->level) ? to_sector(4096) : 0; in super_validate()
1170 raid456 = (rs->md.level == 4 || rs->md.level == 5 || rs->md.level == 6); in configure_discard_support()
1200 ti->split_discard_bios = !!(rs->md.level == 1 || rs->md.level == 10); in configure_discard_support()
1376 if (rs->raid_type->level) { in raid_status()
1698 if (rs->raid_type->level) { in raid_resume()