Lines Matching refs:major_version
1243 if (sb->major_version != 0 || in super_90_load()
1247 sb->major_version, sb->minor_version, rdev->bdev); in super_90_load()
1343 mddev->major_version = 0; in super_90_validate()
1482 sb->major_version = mddev->major_version; in super_90_sync()
1697 sb->major_version != cpu_to_le32(1) || in super_1_load()
1847 mddev->major_version = 1; in super_1_validate()
2339 BUG_ON(mddev->major_version >= ARRAY_SIZE(super_types)); in sync_super()
2341 super_types[mddev->major_version].sync_super(mddev, rdev); in sync_super()
2539 mddev->major_version = 0; in export_array()
2831 super_types[mddev->major_version]. in add_bound_rdev()
3278 !super_types[mddev->major_version] in new_offset_store()
3363 sectors = super_types[my_mddev->major_version]. in rdev_size_store()
3493 if (rdev->mddev->major_version == 0) in ppl_sector_store()
3530 if (rdev->mddev->major_version == 0) in ppl_size_store()
3742 switch (super_types[mddev->major_version]. in analyze_sbs()
3761 super_types[mddev->major_version]. in analyze_sbs()
3776 if (super_types[mddev->major_version]. in analyze_sbs()
4603 rdev = md_import_device(dev, mddev->major_version, in new_dev_store()
4609 err = super_types[mddev->major_version] in new_dev_store()
4729 mddev->major_version, mddev->minor_version); in metadata_show()
4760 mddev->major_version = 0; in metadata_store()
4774 mddev->major_version = 0; in metadata_store()
4789 mddev->major_version = major; in metadata_store()
5450 mddev->major_version == 0) in reshape_direction_store()
6687 else if (mddev->raid_disks || mddev->major_version in autorun_devices()
6755 info.major_version = mddev->major_version; in get_array_info()
6880 rdev = md_import_device(dev, mddev->major_version, mddev->minor_version); in md_add_new_disk()
6890 err = super_types[mddev->major_version] in md_add_new_disk()
6919 rdev = md_import_device(dev, mddev->major_version, in md_add_new_disk()
6938 super_types[mddev->major_version]. in md_add_new_disk()
7022 if (mddev->major_version != 0) { in md_add_new_disk()
7113 if (mddev->major_version != 0) { in hot_add_disk()
7278 if (info->major_version < 0 || in md_set_array_info()
7279 info->major_version >= ARRAY_SIZE(super_types) || in md_set_array_info()
7280 super_types[info->major_version].name == NULL) { in md_set_array_info()
7283 info->major_version); in md_set_array_info()
7286 mddev->major_version = info->major_version; in md_set_array_info()
7296 mddev->major_version = MD_MAJOR_VERSION; in md_set_array_info()
7481 if (mddev->major_version != info->major_version || in update_array_info()
8453 if (mddev->major_version != 0 || in md_seq_show()
8456 mddev->major_version, in md_seq_show()
10096 err = super_types[mddev->major_version]. in read_rdev()