mddev2 2174 drivers/md/md.c static int match_mddev_units(struct mddev *mddev1, struct mddev *mddev2) mddev2 2184 drivers/md/md.c rdev_for_each_rcu(rdev2, mddev2) { mddev2 5463 drivers/md/md.c struct mddev *mddev2; mddev2 5466 drivers/md/md.c list_for_each_entry(mddev2, &all_mddevs, all_mddevs) mddev2 5467 drivers/md/md.c if (mddev2->gendisk && mddev2 5468 drivers/md/md.c strcmp(mddev2->gendisk->disk_name, name) == 0) { mddev2 8404 drivers/md/md.c struct mddev *mddev2; mddev2 8481 drivers/md/md.c for_each_mddev(mddev2, tmp) { mddev2 8482 drivers/md/md.c if (mddev2 == mddev) mddev2 8485 drivers/md/md.c && mddev2->curr_resync mddev2 8486 drivers/md/md.c && match_mddev_units(mddev, mddev2)) { mddev2 8488 drivers/md/md.c if (mddev < mddev2 && mddev->curr_resync == 2) { mddev2 8493 drivers/md/md.c if (mddev > mddev2 && mddev->curr_resync == 1) mddev2 8504 drivers/md/md.c mddev2->curr_resync >= mddev->curr_resync) { mddev2 8505 drivers/md/md.c if (mddev2_minor != mddev2->md_minor) { mddev2 8506 drivers/md/md.c mddev2_minor = mddev2->md_minor; mddev2 8509 drivers/md/md.c mdname(mddev2)); mddev2 8511 drivers/md/md.c mddev_put(mddev2);