Lines Matching refs:Faulty

596 		if (rdev && test_bit(Faulty, &rdev->flags))  in calc_degraded()
598 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
622 if (rdev && test_bit(Faulty, &rdev->flags)) in calc_degraded()
624 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
944 if (rdev && test_bit(Faulty, &rdev->flags)) in ops_run_io()
948 if (rrdev && test_bit(Faulty, &rrdev->flags)) in ops_run_io()
2518 set_bit(Faulty, &rdev->flags); in error()
3218 && !test_bit(Faulty, &rdev->flags) in handle_failed_sync()
3225 && !test_bit(Faulty, &rdev->flags) in handle_failed_sync()
3245 && !test_bit(Faulty, &rdev->flags) in want_replace()
4073 if (rdev && !test_bit(Faulty, &rdev->flags) && in analyse_stripe()
4079 if (rdev && !test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4086 if (rdev && test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4134 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4145 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4154 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4171 if (rdev && !test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4816 if (!rdev || test_bit(Faulty, &rdev->flags) || in raid5_read_one_chunk()
4820 (test_bit(Faulty, &rdev->flags) || in raid5_read_one_chunk()
5660 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) in sync_request()
7094 i, !test_bit(Faulty, &tmp->rdev->flags), in print_raid5_conf()
7111 && !test_bit(Faulty, &tmp->replacement->flags) in raid5_spare_active()
7122 set_bit(Faulty, &tmp->rdev->flags); in raid5_spare_active()
7129 && !test_bit(Faulty, &tmp->rdev->flags) in raid5_spare_active()
7179 if (!test_bit(Faulty, &rdev->flags) && in raid5_remove_disk()
7393 && !test_bit(Faulty, &rdev->flags)) in raid5_start_reshape()
7453 !test_bit(Faulty, &rdev->flags)) { in raid5_start_reshape()
7465 && !test_bit(Faulty, &rdev->flags)) { in raid5_start_reshape()