Lines Matching refs:Faulty
550 !test_bit(Faulty, &rdev->flags)) { in submit_flushes()
929 if (!test_bit(Faulty, &rdev->flags) in super_written()
958 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
1293 clear_bit(Faulty, &rdev->flags); in super_90_validate()
1388 set_bit(Faulty, &rdev->flags); in super_90_validate()
1501 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1517 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1807 clear_bit(Faulty, &rdev->flags); in super_1_validate()
1930 set_bit(Faulty, &rdev->flags); in super_1_validate()
2127 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync()
2281 if (test_bit(Faulty, &rdev->flags) || in match_mddev_units()
2286 if (test_bit(Faulty, &rdev2->flags) || in match_mddev_units()
2319 if (test_bit(Faulty, &rdev->flags)) in md_integrity_register()
2635 if ((rdev->raid_disk >= 0) && !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2648 !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2651 if (test_bit(Faulty, &rdev->flags) && (role < 0xfffd)) in does_sb_need_changing()
2788 if (test_bit(Faulty, &rdev->flags)) in md_update_sb()
2808 if (!test_bit(Faulty, &rdev->flags)) { in md_update_sb()
2927 if (test_bit(Faulty, &flags) || in state_show()
2939 && !test_bit(Faulty, &flags))) in state_show()
2941 if (!test_bit(Faulty, &flags) && in state_show()
2982 if (test_bit(Faulty, &rdev->flags)) in state_store()
3020 if (!test_bit(Faulty, &rdev->flags) && in state_store()
3098 else if (test_bit(Faulty, &rdev->flags) && (rdev->raid_disk == -1) && in state_store()
3108 clear_bit(Faulty, &rdev->flags); in state_store()
3235 clear_bit(Faulty, &rdev->flags); in slot_store()
5817 if (test_bit(Faulty, &rdev->flags)) in md_run()
6126 !test_bit(Faulty, &rdev->flags)) in restart_array()
6569 if (test_bit(Faulty, &rdev->flags)) in get_array_info()
6666 if (test_bit(Faulty, &rdev->flags)) in get_disk_info()
6974 if (test_bit(Faulty, &rdev->flags)) { in hot_add_disk()
7428 if (!test_bit(Faulty, &rdev->flags)) in set_disk_faulty()
7964 if (!rdev || test_bit(Faulty, &rdev->flags)) in md_error()
8033 !test_bit(Faulty, &rdev->flags) && in status_resync()
8242 if (test_bit(Faulty, &rdev->flags)) { in md_seq_show()
8808 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9027 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9090 test_bit(Faulty, &rdev->flags) && in remove_and_add_spares()
9138 !test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9142 if (test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9630 if (test_bit(Faulty, &rdev2->flags)) in check_sb_changes()
9779 if (!test_bit(Faulty, &rdev->flags)) in md_reload_sb()
9838 if (test_bit(Faulty, &rdev->flags)) in md_autostart_arrays()