Lines Matching refs:Faulty

550 		    !test_bit(Faulty, &rdev->flags)) {  in submit_flushes()
928 if (!test_bit(Faulty, &rdev->flags) in super_written()
957 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
1292 clear_bit(Faulty, &rdev->flags); in super_90_validate()
1387 set_bit(Faulty, &rdev->flags); in super_90_validate()
1500 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1516 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1804 clear_bit(Faulty, &rdev->flags); in super_1_validate()
1927 set_bit(Faulty, &rdev->flags); in super_1_validate()
2124 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync()
2278 if (test_bit(Faulty, &rdev->flags) || in match_mddev_units()
2283 if (test_bit(Faulty, &rdev2->flags) || in match_mddev_units()
2316 if (test_bit(Faulty, &rdev->flags)) in md_integrity_register()
2632 if ((rdev->raid_disk >= 0) && !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2645 !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2648 if (test_bit(Faulty, &rdev->flags) && (role < 0xfffd)) in does_sb_need_changing()
2785 if (test_bit(Faulty, &rdev->flags)) in md_update_sb()
2805 if (!test_bit(Faulty, &rdev->flags)) { in md_update_sb()
2924 if (test_bit(Faulty, &flags) || in state_show()
2936 && !test_bit(Faulty, &flags))) in state_show()
2938 if (!test_bit(Faulty, &flags) && in state_show()
2983 if (test_bit(Faulty, &rdev->flags)) in state_store()
3022 if (!test_bit(Faulty, &rdev->flags) && in state_store()
3102 else if (test_bit(Faulty, &rdev->flags) && (rdev->raid_disk == -1) && in state_store()
3112 clear_bit(Faulty, &rdev->flags); in state_store()
3241 clear_bit(Faulty, &rdev->flags); in slot_store()
5830 if (test_bit(Faulty, &rdev->flags)) in md_run()
6139 !test_bit(Faulty, &rdev->flags)) in restart_array()
6583 if (test_bit(Faulty, &rdev->flags)) in get_array_info()
6680 if (test_bit(Faulty, &rdev->flags)) in get_disk_info()
6988 if (test_bit(Faulty, &rdev->flags)) { in hot_add_disk()
7442 if (!test_bit(Faulty, &rdev->flags)) in set_disk_faulty()
7978 if (!rdev || test_bit(Faulty, &rdev->flags)) in md_error()
8047 !test_bit(Faulty, &rdev->flags) && in status_resync()
8256 if (test_bit(Faulty, &rdev->flags)) { in md_seq_show()
8822 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9041 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9104 test_bit(Faulty, &rdev->flags) && in remove_and_add_spares()
9152 !test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9156 if (test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9644 if (test_bit(Faulty, &rdev2->flags)) in check_sb_changes()
9793 if (!test_bit(Faulty, &rdev->flags)) in md_reload_sb()
9852 if (test_bit(Faulty, &rdev->flags)) in md_autostart_arrays()