• Home
  • Raw
  • Download

Lines Matching refs:new_level

223 	int new_level;  member
263 l->new_level = mddev->new_level; in rs_config_backup()
272 mddev->new_level = l->new_level; in rs_config_restore()
714 mddev->new_level = mddev->level; in rs_set_cur()
727 mddev->level = mddev->new_level; in rs_set_new()
761 rs->md.new_level = rs->md.level; in raid_set_alloc()
1732 if ((mddev->new_level == 1 || mddev->new_level == 5) && in rs_check_takeover()
1737 if (mddev->new_level == 10 && in rs_check_takeover()
1742 if (__within_range(mddev->new_level, 4, 6) && in rs_check_takeover()
1757 if (mddev->new_level == 0) { in rs_check_takeover()
1775 if (mddev->new_level == 1 && in rs_check_takeover()
1780 if (__within_range(mddev->new_level, 4, 5) && in rs_check_takeover()
1787 if (__within_range(mddev->new_level, 4, 5) && in rs_check_takeover()
1794 if (mddev->new_level == 0 && in rs_check_takeover()
1799 if (mddev->new_level == 10) in rs_check_takeover()
1805 if (mddev->new_level == 0) in rs_check_takeover()
1809 if ((mddev->new_level == 1 || mddev->new_level == 5) && in rs_check_takeover()
1814 if (__within_range(mddev->new_level, 5, 6) && in rs_check_takeover()
1821 if (mddev->new_level == 0 && in rs_check_takeover()
1826 if (mddev->new_level == 4 && in rs_check_takeover()
1831 if ((mddev->new_level == 1 || mddev->new_level == 4 || mddev->new_level == 10) && in rs_check_takeover()
1836 if (mddev->new_level == 6 && in rs_check_takeover()
1844 if (mddev->new_level == 0 && in rs_check_takeover()
1849 if (mddev->new_level == 4 && in rs_check_takeover()
1854 if (mddev->new_level == 5 && in rs_check_takeover()
1871 return rs->md.new_level != rs->md.level; in rs_takeover_requested()
1972 __le32 new_level; member
2128 sb->new_level = cpu_to_le32(mddev->new_level); in super_sync()
2241 mddev->new_level = le32_to_cpu(sb->new_level); in super_init_validation()
2269 struct raid_type *rt_new = get_raid_type_by_ll(mddev->new_level, mddev->new_layout); in super_init_validation()
3528 rt = get_raid_type_by_ll(mddev->new_level, mddev->new_layout); in raid_status()
3677 rt = get_raid_type_by_ll(mddev->new_level, mddev->new_layout); in raid_status()