Lines Matching refs:new_level
225 int new_level; member
265 l->new_level = mddev->new_level; in rs_config_backup()
274 mddev->new_level = l->new_level; in rs_config_restore()
716 mddev->new_level = mddev->level; in rs_set_cur()
729 mddev->level = mddev->new_level; in rs_set_new()
767 rs->md.new_level = rs->md.level; in raid_set_alloc()
1765 if ((mddev->new_level == 1 || mddev->new_level == 5) && in rs_check_takeover()
1770 if (mddev->new_level == 10 && in rs_check_takeover()
1775 if (__within_range(mddev->new_level, 4, 6) && in rs_check_takeover()
1790 if (mddev->new_level == 0) { in rs_check_takeover()
1808 if (mddev->new_level == 1 && in rs_check_takeover()
1813 if (__within_range(mddev->new_level, 4, 5) && in rs_check_takeover()
1820 if (__within_range(mddev->new_level, 4, 5) && in rs_check_takeover()
1827 if (mddev->new_level == 0 && in rs_check_takeover()
1832 if (mddev->new_level == 10) in rs_check_takeover()
1838 if (mddev->new_level == 0) in rs_check_takeover()
1842 if ((mddev->new_level == 1 || mddev->new_level == 5) && in rs_check_takeover()
1847 if (__within_range(mddev->new_level, 5, 6) && in rs_check_takeover()
1854 if (mddev->new_level == 0 && in rs_check_takeover()
1859 if (mddev->new_level == 4 && in rs_check_takeover()
1864 if ((mddev->new_level == 1 || mddev->new_level == 4 || mddev->new_level == 10) && in rs_check_takeover()
1869 if (mddev->new_level == 6 && in rs_check_takeover()
1877 if (mddev->new_level == 0 && in rs_check_takeover()
1882 if (mddev->new_level == 4 && in rs_check_takeover()
1887 if (mddev->new_level == 5 && in rs_check_takeover()
1904 return rs->md.new_level != rs->md.level; in rs_takeover_requested()
2005 __le32 new_level; member
2161 sb->new_level = cpu_to_le32(mddev->new_level); in super_sync()
2273 mddev->new_level = le32_to_cpu(sb->new_level); in super_init_validation()
2301 struct raid_type *rt_new = get_raid_type_by_ll(mddev->new_level, mddev->new_layout); in super_init_validation()
3540 rt = get_raid_type_by_ll(mddev->new_level, mddev->new_layout); in raid_status()
3689 rt = get_raid_type_by_ll(mddev->new_level, mddev->new_layout); in raid_status()