Lines Matching refs:Faulty

505 		    !test_bit(Faulty, &rdev->flags)) {  in submit_flushes()
848 if (!test_bit(Faulty, &rdev->flags) in super_written()
877 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
1199 clear_bit(Faulty, &rdev->flags); in super_90_validate()
1294 set_bit(Faulty, &rdev->flags); in super_90_validate()
1407 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1423 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1701 clear_bit(Faulty, &rdev->flags); in super_1_validate()
1824 set_bit(Faulty, &rdev->flags); in super_1_validate()
2021 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync()
2148 if (test_bit(Faulty, &rdev->flags) || in match_mddev_units()
2153 if (test_bit(Faulty, &rdev2->flags) || in match_mddev_units()
2187 if (test_bit(Faulty, &rdev->flags)) in md_integrity_register()
2484 if ((rdev->raid_disk >= 0) && !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2497 !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2500 if (test_bit(Faulty, &rdev->flags) && (role < 0xfffd)) in does_sb_need_changing()
2637 if (test_bit(Faulty, &rdev->flags)) in md_update_sb()
2657 if (!test_bit(Faulty, &rdev->flags)) { in md_update_sb()
2776 if (test_bit(Faulty, &flags) || in state_show()
2788 && !test_bit(Faulty, &flags))) in state_show()
2790 if (!test_bit(Faulty, &flags) && in state_show()
2831 if (test_bit(Faulty, &rdev->flags)) in state_store()
2869 if (!test_bit(Faulty, &rdev->flags) && in state_store()
2947 else if (test_bit(Faulty, &rdev->flags) && (rdev->raid_disk == -1) && in state_store()
2957 clear_bit(Faulty, &rdev->flags); in state_store()
3085 clear_bit(Faulty, &rdev->flags); in slot_store()
5588 if (test_bit(Faulty, &rdev->flags)) in md_run()
5888 !test_bit(Faulty, &rdev->flags)) in restart_array()
6330 if (test_bit(Faulty, &rdev->flags)) in get_array_info()
6427 if (test_bit(Faulty, &rdev->flags)) in get_disk_info()
6733 if (test_bit(Faulty, &rdev->flags)) { in hot_add_disk()
7185 if (!test_bit(Faulty, &rdev->flags)) in set_disk_faulty()
7730 if (!rdev || test_bit(Faulty, &rdev->flags)) in md_error()
7799 !test_bit(Faulty, &rdev->flags) && in status_resync()
8004 if (test_bit(Faulty, &rdev->flags)) { in md_seq_show()
8512 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
8731 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
8795 test_bit(Faulty, &rdev->flags) && in remove_and_add_spares()
8843 !test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
8847 if (test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9335 if (test_bit(Faulty, &rdev2->flags)) in check_sb_changes()
9481 if (!test_bit(Faulty, &rdev->flags)) in md_reload_sb()
9540 if (test_bit(Faulty, &rdev->flags)) in autostart_arrays()