Lines Matching refs:Faulty
599 if (rdev->raid_disk < 0 || test_bit(Faulty, &rdev->flags)) in md_flush_request()
1003 if (!test_bit(Faulty, &rdev->flags) in super_written()
1033 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
1373 clear_bit(Faulty, &rdev->flags); in super_90_validate()
1467 set_bit(Faulty, &rdev->flags); in super_90_validate()
1578 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1594 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1877 clear_bit(Faulty, &rdev->flags); in super_1_validate()
2031 set_bit(Faulty, &rdev->flags); in super_1_validate()
2226 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync()
2386 if (test_bit(Faulty, &rdev->flags) || in match_mddev_units()
2391 if (test_bit(Faulty, &rdev2->flags) || in match_mddev_units()
2636 if ((iter->raid_disk >= 0) && !test_bit(Faulty, &iter->flags)) { in does_sb_need_changing()
2651 !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2654 if (test_bit(Faulty, &rdev->flags) && (role < MD_DISK_ROLE_MAX)) in does_sb_need_changing()
2791 if (test_bit(Faulty, &rdev->flags)) in md_update_sb()
2808 if (!test_bit(Faulty, &rdev->flags)) { in md_update_sb()
2918 if (test_bit(Faulty, &flags) || in state_show()
2930 && !test_bit(Faulty, &flags))) in state_show()
2932 if (!test_bit(Faulty, &flags) && in state_show()
3015 if (!test_bit(Faulty, &rdev->flags) && in state_store()
3093 else if (test_bit(Faulty, &rdev->flags) && (rdev->raid_disk == -1) && in state_store()
3103 clear_bit(Faulty, &rdev->flags); in state_store()
3234 clear_bit(Faulty, &rdev->flags); in slot_store()
6120 if (test_bit(Faulty, &rdev->flags)) in md_run()
6397 !test_bit(Faulty, &rdev->flags)) in restart_array()
6802 if (test_bit(Faulty, &rdev->flags)) in get_array_info()
6899 if (test_bit(Faulty, &rdev->flags)) in get_disk_info()
7200 if (test_bit(Faulty, &rdev->flags)) { in hot_add_disk()
8200 if (!rdev || test_bit(Faulty, &rdev->flags)) in md_error()
8300 !test_bit(Faulty, &rdev->flags) && in status_resync()
8493 if (test_bit(Faulty, &rdev->flags)) { in md_seq_show()
8973 !test_bit(Faulty, &rdev->flags) && in md_sync_position()
9337 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9402 if (test_bit(Faulty, &rdev->flags)) in rdev_removeable()
9425 !test_bit(Faulty, &rdev->flags); in rdev_is_spare()
9438 test_bit(Faulty, &rdev->flags)) in rdev_addable()
9942 if (test_bit(Faulty, &rdev->flags)) in rdev_set_badblocks()
10093 if (test_bit(Faulty, &rdev2->flags)) { in check_sb_changes()
10259 if (!test_bit(Faulty, &rdev->flags)) in md_reload_sb()
10318 if (test_bit(Faulty, &rdev->flags)) in md_autostart_arrays()