Lines Matching refs:new_chunk
8169 int new_chunk = mddev->new_chunk_sectors; in raid5_check_reshape() local
8173 if (new_chunk > 0) { in raid5_check_reshape()
8174 if (!is_power_of_2(new_chunk)) in raid5_check_reshape()
8176 if (new_chunk < (PAGE_SIZE>>9)) in raid5_check_reshape()
8178 if (mddev->array_sectors & (new_chunk-1)) in raid5_check_reshape()
8191 if (new_chunk > 0) { in raid5_check_reshape()
8192 conf->chunk_sectors = new_chunk ; in raid5_check_reshape()
8193 mddev->chunk_sectors = new_chunk; in raid5_check_reshape()
8203 int new_chunk = mddev->new_chunk_sectors; in raid6_check_reshape() local
8207 if (new_chunk > 0) { in raid6_check_reshape()
8208 if (!is_power_of_2(new_chunk)) in raid6_check_reshape()
8210 if (new_chunk < (PAGE_SIZE >> 9)) in raid6_check_reshape()
8212 if (mddev->array_sectors & (new_chunk-1)) in raid6_check_reshape()