Lines Matching refs:In_sync

531 		if (test_bit(In_sync, &rdev->flags) &&  in raid10_end_write_request()
793 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1959 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1992 test_bit(In_sync, &rdev->flags)) in _enough()
2039 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error()
2047 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
2081 i, !test_bit(In_sync, &rdev->flags), in print_conf()
2112 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
2115 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
2130 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
2199 clear_bit(In_sync, &rdev->flags); in raid10_add_disk()
2233 if (test_bit(In_sync, &rdev->flags) || in raid10_remove_disk()
2774 test_bit(In_sync, &rdev->flags) && in fix_read_error()
2828 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
2862 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
3463 test_bit(In_sync, &mrdev->flags))) in raid10_sync_request()
3548 !test_bit(In_sync, &rdev->flags)) in raid10_sync_request()
3635 if (mrdev && !test_bit(In_sync, in raid10_sync_request()
3682 test_bit(In_sync, in raid10_sync_request()
4260 !test_bit(In_sync, &disk->rdev->flags)) { in raid10_run()
4269 !test_bit(In_sync, &disk->replacement->flags) && in raid10_run()
4522 else if (!test_bit(In_sync, &rdev->flags)) in calc_degraded()
4538 else if (!test_bit(In_sync, &rdev->flags)) { in calc_degraded()
4587 if (!test_bit(In_sync, &rdev->flags) in raid10_start_reshape()
4685 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4695 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
5167 !test_bit(In_sync, &rdev->flags)) in handle_reshape_read_error()
5261 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()
5264 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()