Lines Matching defs:repl
1877 struct md_rdev *repl = conf->mirrors[conf->raid_disks + i].rdev;
1878 if (repl
1879 && !test_bit(Candidate, &repl->flags)
1880 && repl->recovery_offset == MaxSector
1881 && !test_bit(Faulty, &repl->flags)
1882 && !test_and_set_bit(In_sync, &repl->flags)) {
2040 struct md_rdev *repl =
2043 if (atomic_read(&repl->nr_pending)) {
2045 * hold repl. Thus, we cannot set replacement
2054 clear_bit(Replacement, &repl->flags);
2055 WRITE_ONCE(p->rdev, repl);