Lines Matching refs:Faulty

580 		    !test_bit(Faulty, &rdev->flags)) {  in submit_flushes()
961 if (!test_bit(Faulty, &rdev->flags) in super_written()
990 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
1325 clear_bit(Faulty, &rdev->flags); in super_90_validate()
1420 set_bit(Faulty, &rdev->flags); in super_90_validate()
1533 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1549 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1839 clear_bit(Faulty, &rdev->flags); in super_1_validate()
1962 set_bit(Faulty, &rdev->flags); in super_1_validate()
2159 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync()
2314 if (test_bit(Faulty, &rdev->flags) || in match_mddev_units()
2319 if (test_bit(Faulty, &rdev2->flags) || in match_mddev_units()
2352 if (test_bit(Faulty, &rdev->flags)) in md_integrity_register()
2657 if ((iter->raid_disk >= 0) && !test_bit(Faulty, &iter->flags)) { in does_sb_need_changing()
2672 !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2675 if (test_bit(Faulty, &rdev->flags) && (role < 0xfffd)) in does_sb_need_changing()
2812 if (test_bit(Faulty, &rdev->flags)) in md_update_sb()
2832 if (!test_bit(Faulty, &rdev->flags)) { in md_update_sb()
2951 if (test_bit(Faulty, &flags) || in state_show()
2963 && !test_bit(Faulty, &flags))) in state_show()
2965 if (!test_bit(Faulty, &flags) && in state_show()
3010 if (test_bit(Faulty, &rdev->flags)) in state_store()
3049 if (!test_bit(Faulty, &rdev->flags) && in state_store()
3129 else if (test_bit(Faulty, &rdev->flags) && (rdev->raid_disk == -1) && in state_store()
3139 clear_bit(Faulty, &rdev->flags); in state_store()
3268 clear_bit(Faulty, &rdev->flags); in slot_store()
5854 if (test_bit(Faulty, &rdev->flags)) in md_run()
6154 !test_bit(Faulty, &rdev->flags)) in restart_array()
6597 if (test_bit(Faulty, &rdev->flags)) in get_array_info()
6694 if (test_bit(Faulty, &rdev->flags)) in get_disk_info()
7002 if (test_bit(Faulty, &rdev->flags)) { in hot_add_disk()
7456 if (!test_bit(Faulty, &rdev->flags)) in set_disk_faulty()
7997 if (!rdev || test_bit(Faulty, &rdev->flags)) in md_error()
8066 !test_bit(Faulty, &rdev->flags) && in status_resync()
8275 if (test_bit(Faulty, &rdev->flags)) { in md_seq_show()
8786 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9005 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9069 test_bit(Faulty, &rdev->flags) && in remove_and_add_spares()
9117 !test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9121 if (test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9613 if (test_bit(Faulty, &rdev2->flags)) in check_sb_changes()
9764 if (!test_bit(Faulty, &rdev->flags)) in md_reload_sb()
9823 if (test_bit(Faulty, &rdev->flags)) in md_autostart_arrays()