Lines Matching refs:Faulty
607 !test_bit(Faulty, &rdev->flags)) { in submit_flushes()
964 if (!test_bit(Faulty, &rdev->flags) in super_written()
993 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
1328 clear_bit(Faulty, &rdev->flags); in super_90_validate()
1423 set_bit(Faulty, &rdev->flags); in super_90_validate()
1536 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1552 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1842 clear_bit(Faulty, &rdev->flags); in super_1_validate()
1965 set_bit(Faulty, &rdev->flags); in super_1_validate()
2162 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync()
2316 if (test_bit(Faulty, &rdev->flags) || in match_mddev_units()
2321 if (test_bit(Faulty, &rdev2->flags) || in match_mddev_units()
2354 if (test_bit(Faulty, &rdev->flags)) in md_integrity_register()
2659 if ((rdev->raid_disk >= 0) && !test_bit(Faulty, &rdev->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()
3006 if (test_bit(Faulty, &rdev->flags)) in state_store()
3044 if (!test_bit(Faulty, &rdev->flags) && in state_store()
3122 else if (test_bit(Faulty, &rdev->flags) && (rdev->raid_disk == -1) && in state_store()
3132 clear_bit(Faulty, &rdev->flags); in state_store()
3259 clear_bit(Faulty, &rdev->flags); in slot_store()
5856 if (test_bit(Faulty, &rdev->flags)) in md_run()
6156 !test_bit(Faulty, &rdev->flags)) in restart_array()
6600 if (test_bit(Faulty, &rdev->flags)) in get_array_info()
6697 if (test_bit(Faulty, &rdev->flags)) in get_disk_info()
7003 if (test_bit(Faulty, &rdev->flags)) { in hot_add_disk()
7456 if (!test_bit(Faulty, &rdev->flags)) in set_disk_faulty()
7990 if (!rdev || test_bit(Faulty, &rdev->flags)) in md_error()
8059 !test_bit(Faulty, &rdev->flags) && in status_resync()
8264 if (test_bit(Faulty, &rdev->flags)) { in md_seq_show()
8775 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
8994 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9058 test_bit(Faulty, &rdev->flags) && in remove_and_add_spares()
9106 !test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9110 if (test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9601 if (test_bit(Faulty, &rdev2->flags)) in check_sb_changes()
9747 if (!test_bit(Faulty, &rdev->flags)) in md_reload_sb()
9806 if (test_bit(Faulty, &rdev->flags)) in md_autostart_arrays()