delta_disks 235 drivers/md/dm-raid.c int delta_disks; delta_disks 728 drivers/md/dm-raid.c mddev->delta_disks = 0; delta_disks 751 drivers/md/dm-raid.c rs->delta_disks = 0; delta_disks 761 drivers/md/dm-raid.c rs->md.delta_disks = 0; delta_disks 1391 drivers/md/dm-raid.c rs->delta_disks = value; delta_disks 1620 drivers/md/dm-raid.c int delta_disks; delta_disks 1627 drivers/md/dm-raid.c delta_disks = mddev->delta_disks; delta_disks 1630 drivers/md/dm-raid.c delta_disks = rs->delta_disks; delta_disks 1639 drivers/md/dm-raid.c delta_disks < 0) { delta_disks 1648 drivers/md/dm-raid.c array_sectors = (data_stripes + delta_disks) * dev_sectors; delta_disks 1657 drivers/md/dm-raid.c array_sectors = (data_stripes + delta_disks) * dev_sectors; delta_disks 1784 drivers/md/dm-raid.c mddev->delta_disks = mddev->raid_disks; delta_disks 1909 drivers/md/dm-raid.c rs->delta_disks; delta_disks 1913 drivers/md/dm-raid.c if (rs->delta_disks) delta_disks 1914 drivers/md/dm-raid.c return !!rs->delta_disks; delta_disks 1923 drivers/md/dm-raid.c rs->delta_disks >= 0; delta_disks 1990 drivers/md/dm-raid.c __le32 delta_disks; delta_disks 2147 drivers/md/dm-raid.c sb->delta_disks = cpu_to_le32(mddev->delta_disks); delta_disks 2155 drivers/md/dm-raid.c if (mddev->delta_disks < 0 || mddev->reshape_backwards) delta_disks 2259 drivers/md/dm-raid.c mddev->delta_disks = le32_to_cpu(sb->delta_disks); delta_disks 2269 drivers/md/dm-raid.c if (mddev->delta_disks < 0 || delta_disks 2270 drivers/md/dm-raid.c (!mddev->delta_disks && (le32_to_cpu(sb->flags) & SB_FLAG_RESHAPE_BACKWARDS))) delta_disks 2306 drivers/md/dm-raid.c if (rs->delta_disks) delta_disks 2308 drivers/md/dm-raid.c mddev->raid_disks, mddev->raid_disks + rs->delta_disks); delta_disks 2363 drivers/md/dm-raid.c if (new_devs == 1 && !rs->delta_disks) delta_disks 2369 drivers/md/dm-raid.c new_devs != rs->delta_disks) { delta_disks 2632 drivers/md/dm-raid.c if (rs->delta_disks < 0) { delta_disks 2644 drivers/md/dm-raid.c } else if (rs->delta_disks > 0) { delta_disks 2804 drivers/md/dm-raid.c if (rs->delta_disks) { delta_disks 2806 drivers/md/dm-raid.c mddev->degraded = rs->delta_disks < 0 ? -rs->delta_disks : rs->delta_disks; delta_disks 2860 drivers/md/dm-raid.c mddev->delta_disks = rs->delta_disks; delta_disks 2864 drivers/md/dm-raid.c if (mddev->delta_disks && delta_disks 2866 drivers/md/dm-raid.c DMINFO("Ignoring invalid layout change with delta_disks=%d", rs->delta_disks); delta_disks 2893 drivers/md/dm-raid.c if (rs->delta_disks > 0) { delta_disks 2913 drivers/md/dm-raid.c } else if (rs->delta_disks < 0) { delta_disks 3652 drivers/md/dm-raid.c max(rs->delta_disks, mddev->delta_disks)); delta_disks 4006 drivers/md/dm-raid.c if (mddev->delta_disks < 0) delta_disks 1247 drivers/md/md.c mddev->delta_disks = sb->delta_disks; delta_disks 1251 drivers/md/md.c if (mddev->delta_disks < 0) delta_disks 1255 drivers/md/md.c mddev->delta_disks = 0; delta_disks 1392 drivers/md/md.c sb->delta_disks = mddev->delta_disks; delta_disks 1786 drivers/md/md.c mddev->delta_disks = le32_to_cpu(sb->delta_disks); delta_disks 1790 drivers/md/md.c if (mddev->delta_disks < 0 || delta_disks 1791 drivers/md/md.c (mddev->delta_disks == 0 && delta_disks 1797 drivers/md/md.c mddev->delta_disks = 0; delta_disks 1968 drivers/md/md.c sb->delta_disks = cpu_to_le32(mddev->delta_disks); delta_disks 1971 drivers/md/md.c if (mddev->delta_disks == 0 && delta_disks 2587 drivers/md/md.c mddev->delta_disks >= 0 && delta_disks 3091 drivers/md/md.c slot >= rdev->mddev->raid_disks + rdev->mddev->delta_disks) delta_disks 3113 drivers/md/md.c slot >= rdev->mddev->raid_disks + rdev->mddev->delta_disks) delta_disks 3687 drivers/md/md.c (mddev->raid_disks - min(0, mddev->delta_disks)) && delta_disks 3883 drivers/md/md.c mddev->raid_disks -= mddev->delta_disks; delta_disks 3884 drivers/md/md.c mddev->delta_disks = 0; delta_disks 3906 drivers/md/md.c mddev->delta_disks = 0; delta_disks 4044 drivers/md/md.c mddev->delta_disks != 0) delta_disks 4046 drivers/md/md.c mddev->raid_disks - mddev->delta_disks); delta_disks 4069 drivers/md/md.c int olddisks = mddev->raid_disks - mddev->delta_disks; delta_disks 4081 drivers/md/md.c mddev->delta_disks = n - olddisks; delta_disks 4083 drivers/md/md.c mddev->reshape_backwards = (mddev->delta_disks < 0); delta_disks 5091 drivers/md/md.c mddev->delta_disks = 0; delta_disks 5134 drivers/md/md.c if (mddev->delta_disks) delta_disks 5978 drivers/md/md.c mddev->delta_disks = 0; delta_disks 6979 drivers/md/md.c mddev->delta_disks = 0; delta_disks 7066 drivers/md/md.c mddev->delta_disks = raid_disks - mddev->raid_disks; delta_disks 7067 drivers/md/md.c if (mddev->delta_disks < 0) delta_disks 7069 drivers/md/md.c else if (mddev->delta_disks > 0) delta_disks 7074 drivers/md/md.c mddev->delta_disks = 0; delta_disks 8771 drivers/md/md.c mddev->delta_disks >= 0 && delta_disks 8790 drivers/md/md.c mddev->delta_disks > 0 && delta_disks 332 drivers/md/md.h int delta_disks, new_level, new_layout; delta_disks 673 drivers/md/raid0.c mddev->delta_disks = -1; delta_disks 714 drivers/md/raid0.c mddev->delta_disks = - mddev->raid_disks / 2; delta_disks 715 drivers/md/raid0.c mddev->raid_disks += mddev->delta_disks; delta_disks 758 drivers/md/raid0.c mddev->delta_disks = 1 - mddev->raid_disks; delta_disks 3263 drivers/md/raid1.c raid_disks = mddev->raid_disks + mddev->delta_disks; delta_disks 3323 drivers/md/raid1.c mddev->delta_disks = 0; delta_disks 3583 drivers/md/raid10.c disks = mddev->raid_disks - mddev->delta_disks; delta_disks 3595 drivers/md/raid10.c disks = mddev->raid_disks + mddev->delta_disks; delta_disks 3658 drivers/md/raid10.c conf->mirrors = kcalloc(mddev->raid_disks + max(0, -mddev->delta_disks), delta_disks 4027 drivers/md/raid10.c mddev->delta_disks = mddev->raid_disks; delta_disks 4106 drivers/md/raid10.c if (mddev->delta_disks > 0) { delta_disks 4109 drivers/md/raid10.c kcalloc(mddev->raid_disks + mddev->delta_disks, delta_disks 4227 drivers/md/raid10.c if (spares < mddev->delta_disks) delta_disks 4258 drivers/md/raid10.c if (mddev->delta_disks && mddev->bitmap) { delta_disks 4299 drivers/md/raid10.c if (mddev->delta_disks > 0) { delta_disks 4882 drivers/md/raid10.c if (mddev->delta_disks > 0) { delta_disks 4892 drivers/md/raid10.c d < conf->geo.raid_disks - mddev->delta_disks; delta_disks 4906 drivers/md/raid10.c mddev->delta_disks = 0; delta_disks 6971 drivers/md/raid5.c conf->previous_raid_disks = mddev->raid_disks - mddev->delta_disks; delta_disks 7226 drivers/md/raid5.c old_disks = mddev->raid_disks - mddev->delta_disks; delta_disks 7248 drivers/md/raid5.c if (mddev->delta_disks == 0) { delta_disks 7280 drivers/md/raid5.c BUG_ON(mddev->delta_disks != 0); delta_disks 7824 drivers/md/raid5.c if (mddev->delta_disks == 0 && delta_disks 7830 drivers/md/raid5.c if (mddev->delta_disks < 0 && mddev->reshape_position == MaxSector) { delta_disks 7839 drivers/md/raid5.c if (mddev->raid_disks + mddev->delta_disks < min) delta_disks 7847 drivers/md/raid5.c mddev->delta_disks > 0) delta_disks 7850 drivers/md/raid5.c + max(0, mddev->delta_disks), delta_disks 7856 drivers/md/raid5.c if (conf->previous_raid_disks + mddev->delta_disks <= conf->pool_size) delta_disks 7859 drivers/md/raid5.c + mddev->delta_disks)); delta_disks 7884 drivers/md/raid5.c if (spares - mddev->degraded < mddev->delta_disks - conf->max_degraded) delta_disks 7894 drivers/md/raid5.c if (raid5_size(mddev, 0, conf->raid_disks + mddev->delta_disks) delta_disks 7905 drivers/md/raid5.c conf->raid_disks += mddev->delta_disks; delta_disks 7937 drivers/md/raid5.c if (mddev->delta_disks >= 0) { delta_disks 8045 drivers/md/raid5.c if (mddev->delta_disks <= 0) { delta_disks 8051 drivers/md/raid5.c d < conf->raid_disks - mddev->delta_disks; delta_disks 8064 drivers/md/raid5.c mddev->delta_disks = 0; delta_disks 8120 drivers/md/raid5.c mddev->delta_disks = 1; delta_disks 8187 drivers/md/raid5.c mddev->delta_disks = -1; delta_disks 8335 drivers/md/raid5.c mddev->delta_disks = 1; delta_disks 184 include/uapi/linux/raid/md_p.h __u32 delta_disks; /* 15 change in number of raid_disks */ delta_disks 262 include/uapi/linux/raid/md_p.h __le32 delta_disks; /* change in number of raid_disks */