Lines Matching refs:In_sync
505 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
759 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1559 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1592 test_bit(In_sync, &rdev->flags)) in _enough()
1630 if (test_bit(In_sync, &rdev->flags) && !mddev->fail_last_dev in raid10_error()
1638 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
1675 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1706 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
1709 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
1724 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
1773 clear_bit(In_sync, &rdev->flags); in raid10_add_disk()
1821 if (test_bit(In_sync, &rdev->flags) || in raid10_remove_disk()
2364 test_bit(In_sync, &rdev->flags) && in fix_read_error()
2420 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
2456 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
3043 !test_bit(In_sync, &mrdev->flags)) in raid10_sync_request()
3130 !test_bit(In_sync, &rdev->flags)) in raid10_sync_request()
3217 if (!test_bit(In_sync, in raid10_sync_request()
3260 test_bit(In_sync, in raid10_sync_request()
3844 !test_bit(In_sync, &disk->rdev->flags)) { in raid10_run()
3853 !test_bit(In_sync, &disk->replacement->flags) && in raid10_run()
4118 else if (!test_bit(In_sync, &rdev->flags)) in calc_degraded()
4134 else if (!test_bit(In_sync, &rdev->flags)) { in calc_degraded()
4183 if (!test_bit(In_sync, &rdev->flags) in raid10_start_reshape()
4281 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4291 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4769 !test_bit(In_sync, &rdev->flags)) in handle_reshape_read_error()
4863 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()
4866 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()