Lines Matching refs:Faulty

576 		if (rdev->raid_disk < 0 || test_bit(Faulty, &rdev->flags))  in md_flush_request()
967 if (!test_bit(Faulty, &rdev->flags) in super_written()
997 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
1337 clear_bit(Faulty, &rdev->flags); in super_90_validate()
1431 set_bit(Faulty, &rdev->flags); in super_90_validate()
1542 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1558 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1841 clear_bit(Faulty, &rdev->flags); in super_1_validate()
1995 set_bit(Faulty, &rdev->flags); in super_1_validate()
2190 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync()
2350 if (test_bit(Faulty, &rdev->flags) || in match_mddev_units()
2355 if (test_bit(Faulty, &rdev2->flags) || in match_mddev_units()
2600 if ((iter->raid_disk >= 0) && !test_bit(Faulty, &iter->flags)) { in does_sb_need_changing()
2615 !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2618 if (test_bit(Faulty, &rdev->flags) && (role < MD_DISK_ROLE_MAX)) in does_sb_need_changing()
2755 if (test_bit(Faulty, &rdev->flags)) in md_update_sb()
2772 if (!test_bit(Faulty, &rdev->flags)) { in md_update_sb()
2882 if (test_bit(Faulty, &flags) || in state_show()
2894 && !test_bit(Faulty, &flags))) in state_show()
2896 if (!test_bit(Faulty, &flags) && in state_show()
2979 if (!test_bit(Faulty, &rdev->flags) && in state_store()
3057 else if (test_bit(Faulty, &rdev->flags) && (rdev->raid_disk == -1) && in state_store()
3067 clear_bit(Faulty, &rdev->flags); in state_store()
3198 clear_bit(Faulty, &rdev->flags); in slot_store()
6049 if (test_bit(Faulty, &rdev->flags)) in md_run()
6326 !test_bit(Faulty, &rdev->flags)) in restart_array()
6740 if (test_bit(Faulty, &rdev->flags)) in get_array_info()
6837 if (test_bit(Faulty, &rdev->flags)) in get_disk_info()
7138 if (test_bit(Faulty, &rdev->flags)) { in hot_add_disk()
8138 if (!rdev || test_bit(Faulty, &rdev->flags)) in md_error()
8238 !test_bit(Faulty, &rdev->flags) && in status_resync()
8431 if (test_bit(Faulty, &rdev->flags)) { in md_seq_show()
8906 !test_bit(Faulty, &rdev->flags) && in md_sync_position()
9252 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9317 if (test_bit(Faulty, &rdev->flags)) in rdev_removeable()
9340 !test_bit(Faulty, &rdev->flags); in rdev_is_spare()
9347 test_bit(Faulty, &rdev->flags)) in rdev_addable()
9841 if (test_bit(Faulty, &rdev->flags)) in rdev_set_badblocks()
9992 if (test_bit(Faulty, &rdev2->flags)) in check_sb_changes()
10155 if (!test_bit(Faulty, &rdev->flags)) in md_reload_sb()
10214 if (test_bit(Faulty, &rdev->flags)) in md_autostart_arrays()