Lines Matching refs:major_version
1241 if (sb->major_version != 0 || in super_90_load()
1245 sb->major_version, sb->minor_version, b); in super_90_load()
1334 mddev->major_version = 0; in super_90_validate()
1476 sb->major_version = mddev->major_version; in super_90_sync()
1693 sb->major_version != cpu_to_le32(1) || in super_1_load()
1848 mddev->major_version = 1; in super_1_validate()
2305 BUG_ON(mddev->major_version >= ARRAY_SIZE(super_types)); in sync_super()
2307 super_types[mddev->major_version].sync_super(mddev, rdev); in sync_super()
2598 mddev->major_version = 0; in export_array()
2895 super_types[mddev->major_version]. in add_bound_rdev()
3340 !super_types[mddev->major_version] in new_offset_store()
3404 sectors = super_types[my_mddev->major_version]. in rdev_size_store()
3559 if (rdev->mddev->major_version == 0) in ppl_sector_store()
3596 if (rdev->mddev->major_version == 0) in ppl_size_store()
3782 switch (super_types[mddev->major_version]. in analyze_sbs()
3801 super_types[mddev->major_version]. in analyze_sbs()
3816 if (super_types[mddev->major_version]. in analyze_sbs()
4621 rdev = md_import_device(dev, mddev->major_version, in new_dev_store()
4627 err = super_types[mddev->major_version] in new_dev_store()
4741 mddev->major_version, mddev->minor_version); in metadata_show()
4772 mddev->major_version = 0; in metadata_store()
4786 mddev->major_version = 0; in metadata_store()
4801 mddev->major_version = major; in metadata_store()
5302 mddev->major_version == 0) in reshape_direction_store()
6547 else if (mddev->raid_disks || mddev->major_version in autorun_devices()
6615 info.major_version = mddev->major_version; in get_array_info()
6741 rdev = md_import_device(dev, mddev->major_version, mddev->minor_version); in md_add_new_disk()
6751 err = super_types[mddev->major_version] in md_add_new_disk()
6780 rdev = md_import_device(dev, mddev->major_version, in md_add_new_disk()
6800 super_types[mddev->major_version]. in md_add_new_disk()
6884 if (mddev->major_version != 0) { in md_add_new_disk()
6978 if (mddev->major_version != 0) { in hot_add_disk()
7142 if (info->major_version < 0 || in md_set_array_info()
7143 info->major_version >= ARRAY_SIZE(super_types) || in md_set_array_info()
7144 super_types[info->major_version].name == NULL) { in md_set_array_info()
7147 info->major_version); in md_set_array_info()
7150 mddev->major_version = info->major_version; in md_set_array_info()
7160 mddev->major_version = MD_MAJOR_VERSION; in md_set_array_info()
7325 if (mddev->major_version != info->major_version || in update_array_info()
8286 if (mddev->major_version != 0 || in md_seq_show()
8289 mddev->major_version, in md_seq_show()
9690 err = super_types[mddev->major_version]. in read_rdev()