Lines Matching refs:new_chunk
5774 int new_chunk = mddev->new_chunk_sectors; in raid5_check_reshape() local
5778 if (new_chunk > 0) { in raid5_check_reshape()
5779 if (!is_power_of_2(new_chunk)) in raid5_check_reshape()
5781 if (new_chunk < (PAGE_SIZE>>9)) in raid5_check_reshape()
5783 if (mddev->array_sectors & (new_chunk-1)) in raid5_check_reshape()
5796 if (new_chunk > 0) { in raid5_check_reshape()
5797 conf->chunk_sectors = new_chunk ; in raid5_check_reshape()
5798 mddev->chunk_sectors = new_chunk; in raid5_check_reshape()
5808 int new_chunk = mddev->new_chunk_sectors; in raid6_check_reshape() local
5812 if (new_chunk > 0) { in raid6_check_reshape()
5813 if (!is_power_of_2(new_chunk)) in raid6_check_reshape()
5815 if (new_chunk < (PAGE_SIZE >> 9)) in raid6_check_reshape()
5817 if (mddev->array_sectors & (new_chunk-1)) in raid6_check_reshape()