Lines Matching refs:new_chunk
8794 int new_chunk = mddev->new_chunk_sectors; in raid5_check_reshape() local
8798 if (new_chunk > 0) { in raid5_check_reshape()
8799 if (!is_power_of_2(new_chunk)) in raid5_check_reshape()
8801 if (new_chunk < (PAGE_SIZE>>9)) in raid5_check_reshape()
8803 if (mddev->array_sectors & (new_chunk-1)) in raid5_check_reshape()
8816 if (new_chunk > 0) { in raid5_check_reshape()
8817 conf->chunk_sectors = new_chunk ; in raid5_check_reshape()
8818 mddev->chunk_sectors = new_chunk; in raid5_check_reshape()
8828 int new_chunk = mddev->new_chunk_sectors; in raid6_check_reshape() local
8832 if (new_chunk > 0) { in raid6_check_reshape()
8833 if (!is_power_of_2(new_chunk)) in raid6_check_reshape()
8835 if (new_chunk < (PAGE_SIZE >> 9)) in raid6_check_reshape()
8837 if (mddev->array_sectors & (new_chunk-1)) in raid6_check_reshape()