Lines Matching refs:new_level
7178 if (mddev->new_level != 5 in setup_conf()
7179 && mddev->new_level != 4 in setup_conf()
7180 && mddev->new_level != 6) { in setup_conf()
7182 mdname(mddev), mddev->new_level); in setup_conf()
7185 if ((mddev->new_level == 5 in setup_conf()
7187 (mddev->new_level == 6 in setup_conf()
7193 if (mddev->new_level == 6 && mddev->raid_disks < 4) { in setup_conf()
7310 conf->level = mddev->new_level; in setup_conf()
7343 conf->level = mddev->new_level; in setup_conf()
7399 sprintf(pers_name, "raid%d", mddev->new_level); in setup_conf()
7530 if (mddev->new_level != mddev->level) { in raid5_run()
7590 BUG_ON(mddev->level != mddev->new_level); in raid5_run()
8428 mddev->new_level = level; in raid45_takeover_raid0()
8460 mddev->new_level = 5; in raid5_takeover_raid1()
8497 mddev->new_level = 5; in raid5_takeover_raid6()
8578 mddev->new_level = 5; in raid5_takeover()
8598 mddev->new_level = 4; in raid4_takeover()
8645 mddev->new_level = 6; in raid6_takeover()