Home
last modified time | relevance | path

Searched refs:rdev2 (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/md/
Draid0.c33 mdk_rdev_t *smallest, *rdev1, *rdev2, *rdev; in create_strip_zones() local
43 ITERATE_RDEV_ORDERED(mddev,rdev2,j2) { in create_strip_zones()
44 …with %s(%ld)\n", partition_name(rdev1->dev), rdev1->size, partition_name(rdev2->dev), rdev2->size); in create_strip_zones()
45 if (rdev2 == rdev1) { in create_strip_zones()
49 if (rdev2->size == rdev1->size) in create_strip_zones()
Dmd.c885 static int uuid_equal(mdk_rdev_t *rdev1, mdk_rdev_t *rdev2) in uuid_equal() argument
887 if ( (rdev1->sb->set_uuid0 == rdev2->sb->set_uuid0) && in uuid_equal()
888 (rdev1->sb->set_uuid1 == rdev2->sb->set_uuid1) && in uuid_equal()
889 (rdev1->sb->set_uuid2 == rdev2->sb->set_uuid2) && in uuid_equal()
890 (rdev1->sb->set_uuid3 == rdev2->sb->set_uuid3)) in uuid_equal()
1188 mdk_rdev_t *rdev, *rdev2, *freshest; in analyze_sbs() local
1499 ITERATE_RDEV(mddev,rdev2,tmp2) { in analyze_sbs()
1500 if ((rdev2 != rdev) && in analyze_sbs()
1501 (rdev2->desc_nr == rdev->desc_nr)) { in analyze_sbs()
1509 ITERATE_RDEV(mddev,rdev2,tmp2) { in analyze_sbs()
[all …]