Lines Matching defs:repl
1690 struct md_rdev *repl = conf->mirrors[conf->raid_disks + i].rdev;
1691 if (repl
1692 && !test_bit(Candidate, &repl->flags)
1693 && repl->recovery_offset == MaxSector
1694 && !test_bit(Faulty, &repl->flags)
1695 && !test_and_set_bit(In_sync, &repl->flags)) {
1833 struct md_rdev *repl =
1836 if (atomic_read(&repl->nr_pending)) {
1838 * hold repl. Thus, we cannot set replacement
1847 clear_bit(Replacement, &repl->flags);
1848 p->rdev = repl;