Lines Matching refs:Faulty
643 if (rdev && test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded()
645 if (!rdev || test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded()
669 if (rdev && test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded()
671 if (!rdev || test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded()
1120 if (rdev && test_bit(Faulty, &rdev->flags)) in ops_run_io()
1124 if (rrdev && test_bit(Faulty, &rrdev->flags)) in ops_run_io()
2756 if (!test_bit(Faulty, &rdev->flags)) { in raid5_end_read_request()
2884 set_bit(Faulty, &rdev->flags); in raid5_error()
3562 !test_bit(Faulty, &rdev->flags)) in handle_failed_stripe()
3688 && !test_bit(Faulty, &rdev->flags) in handle_failed_sync()
3695 && !test_bit(Faulty, &rdev->flags) in handle_failed_sync()
3717 && !test_bit(Faulty, &rdev->flags) in want_replace()
4644 if (rdev && !test_bit(Faulty, &rdev->flags) && in analyse_stripe()
4650 if (rdev && !test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4657 if (rdev && test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4705 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4716 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4725 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4742 if (rdev && !test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4747 if (rdev && !test_bit(Faulty, &rdev->flags)) in analyse_stripe()
5425 if (!rdev || test_bit(Faulty, &rdev->flags) || in raid5_read_one_chunk()
5429 (test_bit(Faulty, &rdev->flags) || in raid5_read_one_chunk()
6287 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) in raid5_sync_request()
7841 i, !test_bit(Faulty, &tmp->rdev->flags), in print_raid5_conf()
7858 && !test_bit(Faulty, &tmp->replacement->flags) in raid5_spare_active()
7869 set_bit(Faulty, &tmp->rdev->flags); in raid5_spare_active()
7876 && !test_bit(Faulty, &tmp->rdev->flags) in raid5_spare_active()
7932 if (!test_bit(Faulty, &rdev->flags) && in raid5_remove_disk()
8175 && !test_bit(Faulty, &rdev->flags)) in raid5_start_reshape()
8235 !test_bit(Faulty, &rdev->flags)) { in raid5_start_reshape()
8247 && !test_bit(Faulty, &rdev->flags)) { in raid5_start_reshape()