Lines Matching refs:repl
1817 struct md_rdev *repl = conf->mirrors[conf->raid_disks + i].rdev;
1818 if (repl
1819 && !test_bit(Candidate, &repl->flags)
1820 && repl->recovery_offset == MaxSector
1821 && !test_bit(Faulty, &repl->flags)
1822 && !test_and_set_bit(In_sync, &repl->flags)) {
1987 struct md_rdev *repl =
1990 if (atomic_read(&repl->nr_pending)) {
1992 * hold repl. Thus, we cannot set replacement
2001 clear_bit(Replacement, &repl->flags);
2002 WRITE_ONCE(p->rdev, repl);