Lines Matching refs:Faulty
565 if (rdev && test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded()
567 if (!rdev || test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded()
591 if (rdev && test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded()
593 if (!rdev || test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded()
1042 if (rdev && test_bit(Faulty, &rdev->flags)) in ops_run_io()
1046 if (rrdev && test_bit(Faulty, &rrdev->flags)) in ops_run_io()
2554 if (!test_bit(Faulty, &rdev->flags)) { in raid5_end_read_request()
2691 set_bit(Faulty, &rdev->flags); in raid5_error()
3363 !test_bit(Faulty, &rdev->flags)) in handle_failed_stripe()
3489 && !test_bit(Faulty, &rdev->flags) in handle_failed_sync()
3496 && !test_bit(Faulty, &rdev->flags) in handle_failed_sync()
3518 && !test_bit(Faulty, &rdev->flags) in want_replace()
4437 if (rdev && !test_bit(Faulty, &rdev->flags) && in analyse_stripe()
4443 if (rdev && !test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4450 if (rdev && test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4498 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4509 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4518 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4535 if (rdev && !test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4540 if (rdev && !test_bit(Faulty, &rdev->flags)) in analyse_stripe()
5238 if (!rdev || test_bit(Faulty, &rdev->flags) || in raid5_read_one_chunk()
5242 (test_bit(Faulty, &rdev->flags) || in raid5_read_one_chunk()
6100 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) in raid5_sync_request()
7547 i, !test_bit(Faulty, &tmp->rdev->flags), in print_raid5_conf()
7564 && !test_bit(Faulty, &tmp->replacement->flags) in raid5_spare_active()
7575 set_bit(Faulty, &tmp->rdev->flags); in raid5_spare_active()
7582 && !test_bit(Faulty, &tmp->rdev->flags) in raid5_spare_active()
7638 if (!test_bit(Faulty, &rdev->flags) && in raid5_remove_disk()
7880 && !test_bit(Faulty, &rdev->flags)) in raid5_start_reshape()
7940 !test_bit(Faulty, &rdev->flags)) { in raid5_start_reshape()
7952 && !test_bit(Faulty, &rdev->flags)) { in raid5_start_reshape()