Lines Matching refs:major_version
1219 if (sb->major_version != 0 || in super_90_load()
1223 sb->major_version, sb->minor_version, rdev->bdev); in super_90_load()
1319 mddev->major_version = 0; in super_90_validate()
1458 sb->major_version = mddev->major_version; in super_90_sync()
1673 sb->major_version != cpu_to_le32(1) || in super_1_load()
1823 mddev->major_version = 1; in super_1_validate()
2315 BUG_ON(mddev->major_version >= ARRAY_SIZE(super_types)); in sync_super()
2317 super_types[mddev->major_version].sync_super(mddev, rdev); in sync_super()
2528 mddev->major_version = 0; in export_array()
2820 super_types[mddev->major_version]. in add_bound_rdev()
3267 !super_types[mddev->major_version] in new_offset_store()
3352 sectors = super_types[my_mddev->major_version]. in rdev_size_store()
3482 if (rdev->mddev->major_version == 0) in ppl_sector_store()
3519 if (rdev->mddev->major_version == 0) in ppl_size_store()
3731 switch (super_types[mddev->major_version]. in analyze_sbs()
3750 super_types[mddev->major_version]. in analyze_sbs()
3765 if (super_types[mddev->major_version]. in analyze_sbs()
4596 rdev = md_import_device(dev, mddev->major_version, in new_dev_store()
4602 err = super_types[mddev->major_version] in new_dev_store()
4722 mddev->major_version, mddev->minor_version); in metadata_show()
4753 mddev->major_version = 0; in metadata_store()
4767 mddev->major_version = 0; in metadata_store()
4782 mddev->major_version = major; in metadata_store()
5443 mddev->major_version == 0) in reshape_direction_store()
6689 else if (mddev->raid_disks || mddev->major_version in autorun_devices()
6757 info.major_version = mddev->major_version; in get_array_info()
6882 rdev = md_import_device(dev, mddev->major_version, mddev->minor_version); in md_add_new_disk()
6892 err = super_types[mddev->major_version] in md_add_new_disk()
6921 rdev = md_import_device(dev, mddev->major_version, in md_add_new_disk()
6940 super_types[mddev->major_version]. in md_add_new_disk()
7024 if (mddev->major_version != 0) { in md_add_new_disk()
7116 if (mddev->major_version != 0) { in hot_add_disk()
7281 if (info->major_version < 0 || in md_set_array_info()
7282 info->major_version >= ARRAY_SIZE(super_types) || in md_set_array_info()
7283 super_types[info->major_version].name == NULL) { in md_set_array_info()
7286 info->major_version); in md_set_array_info()
7289 mddev->major_version = info->major_version; in md_set_array_info()
7299 mddev->major_version = MD_MAJOR_VERSION; in md_set_array_info()
7462 if (mddev->major_version != info->major_version || in update_array_info()
8427 if (mddev->major_version != 0 || in md_seq_show()
8430 mddev->major_version, in md_seq_show()
10069 err = super_types[mddev->major_version]. in read_rdev()