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()
1577 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1610 test_bit(In_sync, &rdev->flags)) in _enough()
1648 if (test_bit(In_sync, &rdev->flags) && !mddev->fail_last_dev in raid10_error()
1656 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
1693 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1724 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
1727 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
1742 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
1791 clear_bit(In_sync, &rdev->flags); in raid10_add_disk()
1839 if (test_bit(In_sync, &rdev->flags) || in raid10_remove_disk()
2382 test_bit(In_sync, &rdev->flags) && in fix_read_error()
2438 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
2474 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
3061 !test_bit(In_sync, &mrdev->flags)) in raid10_sync_request()
3148 !test_bit(In_sync, &rdev->flags)) in raid10_sync_request()
3235 if (!test_bit(In_sync, in raid10_sync_request()
3278 test_bit(In_sync, in raid10_sync_request()
3857 !test_bit(In_sync, &disk->rdev->flags)) { in raid10_run()
3866 !test_bit(In_sync, &disk->replacement->flags) && in raid10_run()
4144 else if (!test_bit(In_sync, &rdev->flags)) in calc_degraded()
4160 else if (!test_bit(In_sync, &rdev->flags)) { in calc_degraded()
4209 if (!test_bit(In_sync, &rdev->flags) in raid10_start_reshape()
4307 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4317 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4803 !test_bit(In_sync, &rdev->flags)) in handle_reshape_read_error()
4897 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()
4900 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()