Lines Matching refs:new_chunk_sectors
7461 if (!mddev->new_chunk_sectors || in setup_conf()
7462 (mddev->new_chunk_sectors << 9) % PAGE_SIZE || in setup_conf()
7463 !is_power_of_2(mddev->new_chunk_sectors)) { in setup_conf()
7465 mdname(mddev), mddev->new_chunk_sectors << 9); in setup_conf()
7576 conf->chunk_sectors = mddev->new_chunk_sectors; in setup_conf()
7634 ((mddev->new_chunk_sectors << 9) / RAID5_STRIPE_SIZE(conf)) * 4); in setup_conf()
7812 chunk_sectors = max(mddev->chunk_sectors, mddev->new_chunk_sectors); in raid5_run()
7835 abs(min_offset_diff) >= mddev->new_chunk_sectors) in raid5_run()
7859 BUG_ON(mddev->chunk_sectors != mddev->new_chunk_sectors); in raid5_run()
8403 ((mddev->new_chunk_sectors << 9) / RAID5_STRIPE_SIZE(conf)) * 4 in check_stripe_cache()
8407 ((max(mddev->chunk_sectors, mddev->new_chunk_sectors) << 9) in check_stripe_cache()
8422 mddev->new_chunk_sectors == mddev->chunk_sectors) in check_reshape()
8442 if (mddev->new_chunk_sectors > mddev->chunk_sectors || in check_reshape()
8447 max(mddev->new_chunk_sectors, in check_reshape()
8503 conf->chunk_sectors = mddev->new_chunk_sectors; in raid5_start_reshape()
8577 mddev->new_chunk_sectors = in raid5_start_reshape()
8712 mddev->new_chunk_sectors = mddev->chunk_sectors; in raid45_takeover_raid0()
8744 mddev->new_chunk_sectors = chunksect; in raid5_takeover_raid1()
8794 int new_chunk = mddev->new_chunk_sectors; in raid5_check_reshape()
8828 int new_chunk = mddev->new_chunk_sectors; in raid6_check_reshape()