Lines Matching refs:major_version
1206 if (sb->major_version != 0 || in super_90_load()
1210 sb->major_version, sb->minor_version, b); in super_90_load()
1299 mddev->major_version = 0; in super_90_validate()
1441 sb->major_version = mddev->major_version; in super_90_sync()
1658 sb->major_version != cpu_to_le32(1) || in super_1_load()
1813 mddev->major_version = 1; in super_1_validate()
2270 BUG_ON(mddev->major_version >= ARRAY_SIZE(super_types)); in sync_super()
2272 super_types[mddev->major_version].sync_super(mddev, rdev); in sync_super()
2574 mddev->major_version = 0; in export_array()
2871 super_types[mddev->major_version]. in add_bound_rdev()
3316 !super_types[mddev->major_version] in new_offset_store()
3380 sectors = super_types[my_mddev->major_version]. in rdev_size_store()
3535 if (rdev->mddev->major_version == 0) in ppl_sector_store()
3572 if (rdev->mddev->major_version == 0) in ppl_size_store()
3758 switch (super_types[mddev->major_version]. in analyze_sbs()
3777 super_types[mddev->major_version]. in analyze_sbs()
3792 if (super_types[mddev->major_version]. in analyze_sbs()
4597 rdev = md_import_device(dev, mddev->major_version, in new_dev_store()
4603 err = super_types[mddev->major_version] in new_dev_store()
4717 mddev->major_version, mddev->minor_version); in metadata_show()
4748 mddev->major_version = 0; in metadata_store()
4762 mddev->major_version = 0; in metadata_store()
4777 mddev->major_version = major; in metadata_store()
5278 mddev->major_version == 0) in reshape_direction_store()
6516 else if (mddev->raid_disks || mddev->major_version in autorun_devices()
6584 info.major_version = mddev->major_version; in get_array_info()
6710 rdev = md_import_device(dev, mddev->major_version, mddev->minor_version); in md_add_new_disk()
6720 err = super_types[mddev->major_version] in md_add_new_disk()
6749 rdev = md_import_device(dev, mddev->major_version, in md_add_new_disk()
6769 super_types[mddev->major_version]. in md_add_new_disk()
6853 if (mddev->major_version != 0) { in md_add_new_disk()
6949 if (mddev->major_version != 0) { in hot_add_disk()
7113 if (info->major_version < 0 || in md_set_array_info()
7114 info->major_version >= ARRAY_SIZE(super_types) || in md_set_array_info()
7115 super_types[info->major_version].name == NULL) { in md_set_array_info()
7118 info->major_version); in md_set_array_info()
7121 mddev->major_version = info->major_version; in md_set_array_info()
7131 mddev->major_version = MD_MAJOR_VERSION; in md_set_array_info()
7297 if (mddev->major_version != info->major_version || in update_array_info()
8264 if (mddev->major_version != 0 || in md_seq_show()
8267 mddev->major_version, in md_seq_show()
9722 err = super_types[mddev->major_version]. in read_rdev()