Lines Matching refs:new_level
7199 if (mddev->new_level != 5 in setup_conf()
7200 && mddev->new_level != 4 in setup_conf()
7201 && mddev->new_level != 6) { in setup_conf()
7203 mdname(mddev), mddev->new_level); in setup_conf()
7206 if ((mddev->new_level == 5 in setup_conf()
7208 (mddev->new_level == 6 in setup_conf()
7214 if (mddev->new_level == 6 && mddev->raid_disks < 4) { in setup_conf()
7334 conf->level = mddev->new_level; in setup_conf()
7368 conf->level = mddev->new_level; in setup_conf()
7426 sprintf(pers_name, "raid%d", mddev->new_level); in setup_conf()
7556 if (mddev->new_level != mddev->level) { in raid5_run()
7616 BUG_ON(mddev->level != mddev->new_level); in raid5_run()
8462 mddev->new_level = level; in raid45_takeover_raid0()
8494 mddev->new_level = 5; in raid5_takeover_raid1()
8531 mddev->new_level = 5; in raid5_takeover_raid6()
8612 mddev->new_level = 5; in raid5_takeover()
8632 mddev->new_level = 4; in raid4_takeover()
8679 mddev->new_level = 6; in raid6_takeover()