Lines Matching refs:Faulty

482 		    !test_bit(Faulty, &rdev->flags)) {  in md_flush_request()
786 if (!test_bit(Faulty, &rdev->flags) in super_written()
815 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
1138 clear_bit(Faulty, &rdev->flags); in super_90_validate()
1231 set_bit(Faulty, &rdev->flags); in super_90_validate()
1344 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1360 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1635 clear_bit(Faulty, &rdev->flags); in super_1_validate()
1754 set_bit(Faulty, &rdev->flags); in super_1_validate()
1944 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync()
2071 if (test_bit(Faulty, &rdev->flags) || in match_mddev_units()
2076 if (test_bit(Faulty, &rdev2->flags) || in match_mddev_units()
2110 if (test_bit(Faulty, &rdev->flags)) in md_integrity_register()
2405 if ((rdev->raid_disk >= 0) && !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2418 !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2421 if (test_bit(Faulty, &rdev->flags) && (role < 0xfffd)) in does_sb_need_changing()
2558 if (test_bit(Faulty, &rdev->flags)) in md_update_sb()
2578 if (!test_bit(Faulty, &rdev->flags)) { in md_update_sb()
2697 if (test_bit(Faulty, &flags) || in state_show()
2709 && !test_bit(Faulty, &flags))) in state_show()
2711 if (!test_bit(Faulty, &flags) && in state_show()
2752 if (test_bit(Faulty, &rdev->flags)) in state_store()
2788 if (!test_bit(Faulty, &rdev->flags) && in state_store()
2864 if (test_bit(Faulty, &rdev->flags) && (rdev->raid_disk == -1) && in state_store()
2874 clear_bit(Faulty, &rdev->flags); in state_store()
3002 clear_bit(Faulty, &rdev->flags); in slot_store()
5470 if (test_bit(Faulty, &rdev->flags)) in md_run()
5771 !test_bit(Faulty, &rdev->flags)) in restart_array()
6219 if (test_bit(Faulty, &rdev->flags)) in get_array_info()
6316 if (test_bit(Faulty, &rdev->flags)) in get_disk_info()
6622 if (test_bit(Faulty, &rdev->flags)) { in hot_add_disk()
7071 if (!test_bit(Faulty, &rdev->flags)) in set_disk_faulty()
7616 if (!rdev || test_bit(Faulty, &rdev->flags)) in md_error()
7685 !test_bit(Faulty, &rdev->flags) && in status_resync()
7882 if (test_bit(Faulty, &rdev->flags)) { in md_seq_show()
8383 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
8602 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
8664 test_bit(Faulty, &rdev->flags) && in remove_and_add_spares()
8712 !test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
8716 if (test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9187 if (test_bit(Faulty, &rdev2->flags)) in check_sb_changes()
9306 if (!test_bit(Faulty, &rdev->flags)) in md_reload_sb()
9365 if (test_bit(Faulty, &rdev->flags)) in autostart_arrays()