Lines Matching refs:In_sync

569 		else if (test_bit(In_sync, &rdev->flags))  in raid5_calc_degraded()
595 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2564 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2579 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2680 if (test_bit(In_sync, &rdev->flags) && in raid5_error()
2692 clear_bit(In_sync, &rdev->flags); in raid5_error()
3362 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3490 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3497 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3519 && !test_bit(In_sync, &rdev->flags) in want_replace()
4478 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
5243 !(test_bit(In_sync, &rdev->flags) || in raid5_read_one_chunk()
5894 !test_bit(In_sync, &rdev->flags) && in reshape_request()
6001 !test_bit(In_sync, &rdev->flags) && in reshape_request()
7040 if (test_bit(In_sync, &rdev->flags)) { in setup_conf()
7332 if (test_bit(In_sync, &rdev->flags)) { in raid5_run()
7522 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid5_status()
7565 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid5_spare_active()
7568 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid5_spare_active()
7583 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid5_spare_active()
7628 clear_bit(In_sync, &rdev->flags); in raid5_remove_disk()
7630 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
7730 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
7745 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
7879 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
7944 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
7954 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8018 !test_bit(In_sync, &rdev->flags)) in end_reshape()
8055 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()
8058 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()