Lines Matching refs:Faulty
537 !test_bit(Faulty, &rdev->flags)) { in submit_flushes()
911 if (!test_bit(Faulty, &rdev->flags) in super_written()
941 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
1272 clear_bit(Faulty, &rdev->flags); in super_90_validate()
1367 set_bit(Faulty, &rdev->flags); in super_90_validate()
1480 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1496 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1783 clear_bit(Faulty, &rdev->flags); in super_1_validate()
1906 set_bit(Faulty, &rdev->flags); in super_1_validate()
2103 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync()
2257 if (test_bit(Faulty, &rdev->flags) || in match_mddev_units()
2262 if (test_bit(Faulty, &rdev2->flags) || in match_mddev_units()
2295 if (test_bit(Faulty, &rdev->flags)) in md_integrity_register()
2606 if ((iter->raid_disk >= 0) && !test_bit(Faulty, &iter->flags)) { in does_sb_need_changing()
2621 !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2624 if (test_bit(Faulty, &rdev->flags) && (role < MD_DISK_ROLE_MAX)) in does_sb_need_changing()
2761 if (test_bit(Faulty, &rdev->flags)) in md_update_sb()
2779 if (!test_bit(Faulty, &rdev->flags)) { in md_update_sb()
2898 if (test_bit(Faulty, &flags) || in state_show()
2910 && !test_bit(Faulty, &flags))) in state_show()
2912 if (!test_bit(Faulty, &flags) && in state_show()
2997 if (!test_bit(Faulty, &rdev->flags) && in state_store()
3077 else if (test_bit(Faulty, &rdev->flags) && (rdev->raid_disk == -1) && in state_store()
3087 clear_bit(Faulty, &rdev->flags); in state_store()
3216 clear_bit(Faulty, &rdev->flags); in slot_store()
5817 if (test_bit(Faulty, &rdev->flags)) in md_run()
6119 !test_bit(Faulty, &rdev->flags)) in restart_array()
6560 if (test_bit(Faulty, &rdev->flags)) in get_array_info()
6657 if (test_bit(Faulty, &rdev->flags)) in get_disk_info()
6962 if (test_bit(Faulty, &rdev->flags)) { in hot_add_disk()
7966 if (!rdev || test_bit(Faulty, &rdev->flags)) in md_error()
8046 !test_bit(Faulty, &rdev->flags) && in status_resync()
8265 if (test_bit(Faulty, &rdev->flags)) { in md_seq_show()
8849 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9068 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9131 test_bit(Faulty, &rdev->flags) && in remove_and_add_spares()
9179 !test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9183 if (test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9679 if (test_bit(Faulty, &rdev2->flags)) in check_sb_changes()
9832 if (!test_bit(Faulty, &rdev->flags)) in md_reload_sb()
9891 if (test_bit(Faulty, &rdev->flags)) in md_autostart_arrays()