Searched refs:mddev2 (Results 1 – 1 of 1) sorted by relevance
2251 static int match_mddev_units(struct mddev *mddev1, struct mddev *mddev2) in match_mddev_units() argument2261 rdev_for_each_rcu(rdev2, mddev2) { in match_mddev_units()5644 struct mddev *mddev2; in md_alloc() local5647 list_for_each_entry(mddev2, &all_mddevs, all_mddevs) in md_alloc()5648 if (mddev2->gendisk && in md_alloc()5649 strcmp(mddev2->gendisk->disk_name, name) == 0) { in md_alloc()8699 struct mddev *mddev2; in md_do_sync() local8770 list_for_each_entry(mddev2, &all_mddevs, all_mddevs) { in md_do_sync()8771 if (test_bit(MD_DELETED, &mddev2->flags)) in md_do_sync()8773 if (mddev2 == mddev) in md_do_sync()[all …]