Lines Matching refs:In_sync
647 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
673 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2767 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2782 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2886 clear_bit(In_sync, &rdev->flags); in raid5_error()
3562 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3690 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3697 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3719 && !test_bit(In_sync, &rdev->flags) in want_replace()
4686 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
5431 !(test_bit(In_sync, &rdev->flags) || in raid5_read_one_chunk()
6081 !test_bit(In_sync, &rdev->flags) && in reshape_request()
6188 !test_bit(In_sync, &rdev->flags) && in reshape_request()
7332 if (test_bit(In_sync, &rdev->flags)) { in setup_conf()
7630 if (test_bit(In_sync, &rdev->flags)) { in raid5_run()
7817 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid5_status()
7860 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid5_spare_active()
7863 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid5_spare_active()
7878 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid5_spare_active()
7923 clear_bit(In_sync, &rdev->flags); in raid5_remove_disk()
7925 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
8026 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8041 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8175 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
8240 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8250 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8314 !test_bit(In_sync, &rdev->flags)) in end_reshape()
8343 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()
8346 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()