Searched refs:new_layout (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/drivers/md/
H A Dfaulty.c264 int mode = mddev->new_layout & ModeMask; reshape()
265 int count = mddev->new_layout >> ModeShift; reshape()
268 if (mddev->new_layout < 0) reshape()
286 mddev->new_layout = -1; reshape()
H A Draid5.c6441 && !algorithm_valid_raid5(mddev->new_layout)) || setup_conf()
6443 && !algorithm_valid_raid6(mddev->new_layout))) { setup_conf()
6445 mdname(mddev), mddev->new_layout); setup_conf()
6566 conf->algorithm = mddev->new_layout;
6756 BUG_ON(mddev->layout != mddev->new_layout);
6861 mddev->new_layout);
6867 mddev->raid_disks, mddev->new_layout);
7254 mddev->new_layout == mddev->layout && check_reshape()
7335 conf->algorithm = mddev->new_layout;
7409 mddev->new_layout = conf->algorithm = conf->prev_algo;
7546 mddev->new_layout = ALGORITHM_PARITY_N; raid45_takeover_raid0()
7577 mddev->new_layout = ALGORITHM_LEFT_SYMMETRIC; raid5_takeover_raid1()
7585 int new_layout; raid5_takeover_raid6() local
7589 new_layout = ALGORITHM_LEFT_ASYMMETRIC; raid5_takeover_raid6()
7592 new_layout = ALGORITHM_RIGHT_ASYMMETRIC; raid5_takeover_raid6()
7595 new_layout = ALGORITHM_LEFT_SYMMETRIC; raid5_takeover_raid6()
7598 new_layout = ALGORITHM_RIGHT_SYMMETRIC; raid5_takeover_raid6()
7601 new_layout = ALGORITHM_PARITY_0; raid5_takeover_raid6()
7604 new_layout = ALGORITHM_PARITY_N; raid5_takeover_raid6()
7610 mddev->new_layout = new_layout; raid5_takeover_raid6()
7626 if (mddev->new_layout >= 0 && !algorithm_valid_raid5(mddev->new_layout)) raid5_check_reshape()
7642 if (mddev->new_layout >= 0) { raid5_check_reshape()
7643 conf->algorithm = mddev->new_layout; raid5_check_reshape()
7644 mddev->layout = mddev->new_layout; raid5_check_reshape()
7660 if (mddev->new_layout >= 0 && !algorithm_valid_raid6(mddev->new_layout)) raid6_check_reshape()
7689 mddev->new_layout = ALGORITHM_PARITY_N; raid5_takeover()
7709 mddev->new_layout = 0; raid4_takeover()
7724 int new_layout; raid6_takeover() local
7737 new_layout = ALGORITHM_LEFT_ASYMMETRIC_6; raid6_takeover()
7740 new_layout = ALGORITHM_RIGHT_ASYMMETRIC_6; raid6_takeover()
7743 new_layout = ALGORITHM_LEFT_SYMMETRIC_6; raid6_takeover()
7746 new_layout = ALGORITHM_RIGHT_SYMMETRIC_6; raid6_takeover()
7749 new_layout = ALGORITHM_PARITY_0_6; raid6_takeover()
7752 new_layout = ALGORITHM_PARITY_N; raid6_takeover()
7758 mddev->new_layout = new_layout; raid6_takeover()
H A Draid0.c585 mddev->new_layout = 0;
625 mddev->new_layout = 0; raid0_takeover_raid10()
667 mddev->new_layout = 0; raid0_takeover_raid1()
H A Dmd.c1097 mddev->new_layout = sb->new_layout; super_90_validate()
1105 mddev->new_layout = mddev->layout; super_90_validate()
1237 sb->new_layout = mddev->new_layout; super_90_sync()
1610 mddev->new_layout = le32_to_cpu(sb->new_layout); super_1_validate()
1621 mddev->new_layout = mddev->layout; super_1_validate()
1742 sb->new_layout = cpu_to_le32(mddev->new_layout); super_1_sync()
3424 mddev->new_layout = mddev->layout; level_store()
3447 mddev->layout = mddev->new_layout; level_store()
3540 mddev->layout != mddev->new_layout) layout_show()
3542 mddev->new_layout, mddev->layout); layout_show()
3565 mddev->new_layout = n; layout_store()
3568 mddev->new_layout = mddev->layout; layout_store()
3571 mddev->new_layout = n; layout_store()
4629 mddev->new_layout = mddev->layout; reshape_position_store()
5291 mddev->new_layout = 0; md_clean()
6268 mddev->new_layout = mddev->layout; set_array_info()
6415 mddev->new_layout = info->layout; update_array_info()
6418 mddev->new_layout = mddev->layout; update_array_info()
H A Ddm-raid.c171 rs->md.new_layout = rs->md.layout; context_alloc()
721 rs->md.new_layout = rs->md.layout; parse_raid_params()
H A Draid10.c3478 layout = mddev->new_layout; setup_geo()
3485 layout = mddev->new_layout; setup_geo()
3526 mdname(mddev), mddev->new_layout); setup_conf()
3885 mddev->new_layout = (1<<8) + 2; raid10_takeover_raid0()
3932 * - layout (to ->new_layout) raid10_check_reshape()
4684 mddev->layout = mddev->new_layout; raid10_finish_reshape()
H A Draid1.c3039 mddev->layout != mddev->new_layout || raid1_reshape()
3042 mddev->new_layout = mddev->layout; raid1_reshape()
3147 mddev->new_layout = 0; raid1_takeover()
H A Dmd.h279 int delta_disks, new_level, new_layout; member in struct:mddev
/linux-4.1.27/include/uapi/linux/raid/
H A Dmd_p.h174 __u32 new_layout; /* 16 new layout */ member in struct:mdp_superblock_s
244 __le32 new_layout; /* new layout */ member in struct:mdp_superblock_1

Completed in 333 milliseconds