Lines Matching refs:In_sync
646 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
672 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2766 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2781 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2882 if (test_bit(In_sync, &rdev->flags) && in raid5_error()
2894 clear_bit(In_sync, &rdev->flags); in raid5_error()
3564 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3692 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3699 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3721 && !test_bit(In_sync, &rdev->flags) in want_replace()
4688 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
5426 !(test_bit(In_sync, &rdev->flags) || in raid5_read_one_chunk()
6086 !test_bit(In_sync, &rdev->flags) && in reshape_request()
6193 !test_bit(In_sync, &rdev->flags) && in reshape_request()
7326 if (test_bit(In_sync, &rdev->flags)) { in setup_conf()
7624 if (test_bit(In_sync, &rdev->flags)) { in raid5_run()
7811 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid5_status()
7854 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid5_spare_active()
7857 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid5_spare_active()
7872 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid5_spare_active()
7917 clear_bit(In_sync, &rdev->flags); in raid5_remove_disk()
7919 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
8019 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8034 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8168 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
8233 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8243 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8307 !test_bit(In_sync, &rdev->flags)) in end_reshape()
8336 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()
8339 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()