Lines Matching refs:new_level
7441 if (mddev->new_level != 5 in setup_conf()
7442 && mddev->new_level != 4 in setup_conf()
7443 && mddev->new_level != 6) { in setup_conf()
7445 mdname(mddev), mddev->new_level); in setup_conf()
7448 if ((mddev->new_level == 5 in setup_conf()
7450 (mddev->new_level == 6 in setup_conf()
7456 if (mddev->new_level == 6 && mddev->raid_disks < 4) { in setup_conf()
7576 conf->level = mddev->new_level; in setup_conf()
7610 conf->level = mddev->new_level; in setup_conf()
7672 sprintf(pers_name, "raid%d", mddev->new_level); in setup_conf()
7846 if (mddev->new_level != mddev->level) { in raid5_run()
7902 BUG_ON(mddev->level != mddev->new_level); in raid5_run()
8651 mddev->new_level = level; in raid45_takeover_raid0()
8683 mddev->new_level = 5; in raid5_takeover_raid1()
8720 mddev->new_level = 5; in raid5_takeover_raid6()
8801 mddev->new_level = 5; in raid5_takeover()
8821 mddev->new_level = 4; in raid4_takeover()
8868 mddev->new_level = 6; in raid6_takeover()