Lines Matching refs:chunk_sectors
716 mddev->new_chunk_sectors = mddev->chunk_sectors; in rs_set_cur()
729 mddev->chunk_sectors = mddev->new_chunk_sectors; in rs_set_new()
978 if (region_size < rs->md.chunk_sectors) { in validate_region_size()
1159 rs->md.new_chunk_sectors = rs->md.chunk_sectors = value; in parse_raid_params()
1489 if (rs->md.chunk_sectors) in parse_raid_params()
1490 max_io_len = rs->md.chunk_sectors; in parse_raid_params()
1539 uint32_t min_stripes = max(mddev->chunk_sectors, mddev->new_chunk_sectors) / 2; in rs_set_raid456_stripe_cache()
1879 rs->md.new_chunk_sectors != rs->md.chunk_sectors; in rs_is_layout_change()
2121 sb->stripe_sectors = cpu_to_le32(mddev->chunk_sectors); in super_sync()
2233 mddev->chunk_sectors = le32_to_cpu(sb->stripe_sectors); in super_init_validation()
2288 if (mddev->chunk_sectors != mddev->new_chunk_sectors) in super_init_validation()
2290 mddev->chunk_sectors, mddev->new_chunk_sectors); in super_init_validation()
3787 unsigned int chunk_size_bytes = to_bytes(rs->md.chunk_sectors); in raid_io_hints()