new_layout 221 drivers/md/dm-raid.c int new_layout; new_layout 259 drivers/md/dm-raid.c l->new_layout = mddev->new_layout; new_layout 268 drivers/md/dm-raid.c mddev->new_layout = l->new_layout; new_layout 428 drivers/md/dm-raid.c (rs_is_raid10(rs) && !__is_raid10_far(rs->md.new_layout)); new_layout 712 drivers/md/dm-raid.c mddev->new_layout = mddev->layout; new_layout 725 drivers/md/dm-raid.c mddev->layout = mddev->new_layout; new_layout 760 drivers/md/dm-raid.c rs->md.new_layout = rs->md.layout; new_layout 1023 drivers/md/dm-raid.c copies = raid10_md_layout_to_copies(rs->md.new_layout); new_layout 1046 drivers/md/dm-raid.c if (__is_raid10_near(rs->md.new_layout)) { new_layout 1498 drivers/md/dm-raid.c rs->md.new_layout = raid10_format_to_md_layout(rs, raid10_format, raid10_copies); new_layout 1499 drivers/md/dm-raid.c if (rs->md.new_layout < 0) { new_layout 1501 drivers/md/dm-raid.c return rs->md.new_layout; new_layout 1504 drivers/md/dm-raid.c rt = get_raid_type_by_ll(10, rs->md.new_layout); new_layout 1765 drivers/md/dm-raid.c mddev->new_layout == ALGORITHM_PARITY_N && new_layout 1859 drivers/md/dm-raid.c ((mddev->layout == ALGORITHM_PARITY_N && mddev->new_layout == ALGORITHM_PARITY_N) || new_layout 1860 drivers/md/dm-raid.c __within_range(mddev->new_layout, ALGORITHM_LEFT_ASYMMETRIC_6, ALGORITHM_RIGHT_SYMMETRIC_6))) new_layout 1877 drivers/md/dm-raid.c ((mddev->layout == ALGORITHM_PARITY_N && mddev->new_layout == ALGORITHM_PARITY_N) || new_layout 1878 drivers/md/dm-raid.c __within_range(mddev->new_layout, ALGORITHM_LEFT_ASYMMETRIC, ALGORITHM_RIGHT_SYMMETRIC))) new_layout 1907 drivers/md/dm-raid.c change = mddev->new_layout != mddev->layout || new_layout 1922 drivers/md/dm-raid.c !__is_raid10_far(mddev->new_layout) && new_layout 1988 drivers/md/dm-raid.c __le32 new_layout; new_layout 2144 drivers/md/dm-raid.c sb->new_layout = cpu_to_le32(mddev->new_layout); new_layout 2257 drivers/md/dm-raid.c mddev->new_layout = le32_to_cpu(sb->new_layout); new_layout 2284 drivers/md/dm-raid.c struct raid_type *rt_new = get_raid_type_by_ll(mddev->new_level, mddev->new_layout); new_layout 2295 drivers/md/dm-raid.c if (mddev->layout != mddev->new_layout) { new_layout 2301 drivers/md/dm-raid.c le32_to_cpu(sb->layout), mddev->new_layout); new_layout 2314 drivers/md/dm-raid.c raid10_md_layout_to_format(mddev->new_layout), new_layout 2315 drivers/md/dm-raid.c raid10_md_layout_to_copies(mddev->new_layout)); new_layout 2795 drivers/md/dm-raid.c mddev->new_layout = mddev->layout; new_layout 2865 drivers/md/dm-raid.c mddev->layout != mddev->new_layout) { new_layout 2867 drivers/md/dm-raid.c mddev->new_layout = mddev->layout; new_layout 3521 drivers/md/dm-raid.c rt = get_raid_type_by_ll(mddev->new_level, mddev->new_layout); new_layout 256 drivers/md/md-faulty.c int mode = mddev->new_layout & ModeMask; new_layout 257 drivers/md/md-faulty.c int count = mddev->new_layout >> ModeShift; new_layout 260 drivers/md/md-faulty.c if (mddev->new_layout < 0) new_layout 278 drivers/md/md-faulty.c mddev->new_layout = -1; new_layout 1249 drivers/md/md.c mddev->new_layout = sb->new_layout; new_layout 1257 drivers/md/md.c mddev->new_layout = mddev->layout; new_layout 1393 drivers/md/md.c sb->new_layout = mddev->new_layout; new_layout 1788 drivers/md/md.c mddev->new_layout = le32_to_cpu(sb->new_layout); new_layout 1799 drivers/md/md.c mddev->new_layout = mddev->layout; new_layout 1967 drivers/md/md.c sb->new_layout = cpu_to_le32(mddev->new_layout); new_layout 3881 drivers/md/md.c mddev->new_layout = mddev->layout; new_layout 3904 drivers/md/md.c mddev->layout = mddev->new_layout; new_layout 3997 drivers/md/md.c mddev->layout != mddev->new_layout) new_layout 3999 drivers/md/md.c mddev->new_layout, mddev->layout); new_layout 4022 drivers/md/md.c mddev->new_layout = n; new_layout 4025 drivers/md/md.c mddev->new_layout = mddev->layout; new_layout 4028 drivers/md/md.c mddev->new_layout = n; new_layout 5094 drivers/md/md.c mddev->new_layout = mddev->layout; new_layout 5981 drivers/md/md.c mddev->new_layout = 0; new_layout 6978 drivers/md/md.c mddev->new_layout = mddev->layout; new_layout 7132 drivers/md/md.c mddev->new_layout = info->layout; new_layout 7135 drivers/md/md.c mddev->new_layout = mddev->layout; new_layout 332 drivers/md/md.h int delta_disks, new_level, new_layout; new_layout 670 drivers/md/raid0.c mddev->new_layout = 0; new_layout 712 drivers/md/raid0.c mddev->new_layout = 0; new_layout 755 drivers/md/raid0.c mddev->new_layout = 0; new_layout 3252 drivers/md/raid1.c mddev->layout != mddev->new_layout || new_layout 3255 drivers/md/raid1.c mddev->new_layout = mddev->layout; new_layout 3353 drivers/md/raid1.c mddev->new_layout = 0; new_layout 3586 drivers/md/raid10.c layout = mddev->new_layout; new_layout 3593 drivers/md/raid10.c layout = mddev->new_layout; new_layout 3648 drivers/md/raid10.c mdname(mddev), mddev->new_layout); new_layout 4025 drivers/md/raid10.c mddev->new_layout = (1<<8) + 2; new_layout 4903 drivers/md/raid10.c mddev->layout = mddev->new_layout; new_layout 6897 drivers/md/raid5.c && !algorithm_valid_raid5(mddev->new_layout)) || new_layout 6899 drivers/md/raid5.c && !algorithm_valid_raid6(mddev->new_layout))) { new_layout 6901 drivers/md/raid5.c mdname(mddev), mddev->new_layout); new_layout 7060 drivers/md/raid5.c conf->algorithm = mddev->new_layout; new_layout 7278 drivers/md/raid5.c BUG_ON(mddev->layout != mddev->new_layout); new_layout 7398 drivers/md/raid5.c mddev->new_layout); new_layout 7825 drivers/md/raid5.c mddev->new_layout == mddev->layout && new_layout 7909 drivers/md/raid5.c conf->algorithm = mddev->new_layout; new_layout 7983 drivers/md/raid5.c mddev->new_layout = conf->algorithm = conf->prev_algo; new_layout 8117 drivers/md/raid5.c mddev->new_layout = ALGORITHM_PARITY_N; new_layout 8149 drivers/md/raid5.c mddev->new_layout = ALGORITHM_LEFT_SYMMETRIC; new_layout 8161 drivers/md/raid5.c int new_layout; new_layout 8165 drivers/md/raid5.c new_layout = ALGORITHM_LEFT_ASYMMETRIC; new_layout 8168 drivers/md/raid5.c new_layout = ALGORITHM_RIGHT_ASYMMETRIC; new_layout 8171 drivers/md/raid5.c new_layout = ALGORITHM_LEFT_SYMMETRIC; new_layout 8174 drivers/md/raid5.c new_layout = ALGORITHM_RIGHT_SYMMETRIC; new_layout 8177 drivers/md/raid5.c new_layout = ALGORITHM_PARITY_0; new_layout 8180 drivers/md/raid5.c new_layout = ALGORITHM_PARITY_N; new_layout 8186 drivers/md/raid5.c mddev->new_layout = new_layout; new_layout 8202 drivers/md/raid5.c if (mddev->new_layout >= 0 && !algorithm_valid_raid5(mddev->new_layout)) new_layout 8218 drivers/md/raid5.c if (mddev->new_layout >= 0) { new_layout 8219 drivers/md/raid5.c conf->algorithm = mddev->new_layout; new_layout 8220 drivers/md/raid5.c mddev->layout = mddev->new_layout; new_layout 8236 drivers/md/raid5.c if (mddev->new_layout >= 0 && !algorithm_valid_raid6(mddev->new_layout)) new_layout 8265 drivers/md/raid5.c mddev->new_layout = ALGORITHM_PARITY_N; new_layout 8285 drivers/md/raid5.c mddev->new_layout = 0; new_layout 8300 drivers/md/raid5.c int new_layout; new_layout 8313 drivers/md/raid5.c new_layout = ALGORITHM_LEFT_ASYMMETRIC_6; new_layout 8316 drivers/md/raid5.c new_layout = ALGORITHM_RIGHT_ASYMMETRIC_6; new_layout 8319 drivers/md/raid5.c new_layout = ALGORITHM_LEFT_SYMMETRIC_6; new_layout 8322 drivers/md/raid5.c new_layout = ALGORITHM_RIGHT_SYMMETRIC_6; new_layout 8325 drivers/md/raid5.c new_layout = ALGORITHM_PARITY_0_6; new_layout 8328 drivers/md/raid5.c new_layout = ALGORITHM_PARITY_N; new_layout 8334 drivers/md/raid5.c mddev->new_layout = new_layout; new_layout 185 include/uapi/linux/raid/md_p.h __u32 new_layout; /* 16 new layout */ new_layout 263 include/uapi/linux/raid/md_p.h __le32 new_layout; /* new layout */