Lines Matching defs:repl
1734 struct md_rdev *repl = conf->mirrors[conf->raid_disks + i].rdev;
1735 if (repl
1736 && !test_bit(Candidate, &repl->flags)
1737 && repl->recovery_offset == MaxSector
1738 && !test_bit(Faulty, &repl->flags)
1739 && !test_and_set_bit(In_sync, &repl->flags)) {
1879 struct md_rdev *repl =
1882 if (atomic_read(&repl->nr_pending)) {
1884 * hold repl. Thus, we cannot set replacement
1893 clear_bit(Replacement, &repl->flags);
1894 p->rdev = repl;