Lines Matching refs:major_version

1279 	if (sb->major_version != 0 ||  in super_90_load()
1283 sb->major_version, sb->minor_version, rdev->bdev); in super_90_load()
1379 mddev->major_version = 0; in super_90_validate()
1518 sb->major_version = mddev->major_version; in super_90_sync()
1733 sb->major_version != cpu_to_le32(1) || in super_1_load()
1883 mddev->major_version = 1; in super_1_validate()
2375 BUG_ON(mddev->major_version >= ARRAY_SIZE(super_types)); in sync_super()
2377 super_types[mddev->major_version].sync_super(mddev, rdev); in sync_super()
2575 mddev->major_version = 0; in export_array()
2867 super_types[mddev->major_version]. in add_bound_rdev()
3314 !super_types[mddev->major_version] in new_offset_store()
3399 sectors = super_types[my_mddev->major_version]. in rdev_size_store()
3529 if (rdev->mddev->major_version == 0) in ppl_sector_store()
3566 if (rdev->mddev->major_version == 0) in ppl_size_store()
3778 switch (super_types[mddev->major_version]. in analyze_sbs()
3797 super_types[mddev->major_version]. in analyze_sbs()
3812 if (super_types[mddev->major_version]. in analyze_sbs()
4639 rdev = md_import_device(dev, mddev->major_version, in new_dev_store()
4645 err = super_types[mddev->major_version] in new_dev_store()
4765 mddev->major_version, mddev->minor_version); in metadata_show()
4796 mddev->major_version = 0; in metadata_store()
4810 mddev->major_version = 0; in metadata_store()
4825 mddev->major_version = major; in metadata_store()
5515 mddev->major_version == 0) in reshape_direction_store()
6749 else if (mddev->raid_disks || mddev->major_version in autorun_devices()
6817 info.major_version = mddev->major_version; in get_array_info()
6942 rdev = md_import_device(dev, mddev->major_version, mddev->minor_version); in md_add_new_disk()
6952 err = super_types[mddev->major_version] in md_add_new_disk()
6981 rdev = md_import_device(dev, mddev->major_version, in md_add_new_disk()
7000 super_types[mddev->major_version]. in md_add_new_disk()
7084 if (mddev->major_version != 0) { in md_add_new_disk()
7175 if (mddev->major_version != 0) { in hot_add_disk()
7340 if (info->major_version < 0 || in md_set_array_info()
7341 info->major_version >= ARRAY_SIZE(super_types) || in md_set_array_info()
7342 super_types[info->major_version].name == NULL) { in md_set_array_info()
7345 info->major_version); in md_set_array_info()
7348 mddev->major_version = info->major_version; in md_set_array_info()
7358 mddev->major_version = MD_MAJOR_VERSION; in md_set_array_info()
7543 if (mddev->major_version != info->major_version || in update_array_info()
8515 if (mddev->major_version != 0 || in md_seq_show()
8518 mddev->major_version, in md_seq_show()
10200 err = super_types[mddev->major_version]. in read_rdev()