Lines Matching refs:In_sync

523 		if (test_bit(In_sync, &rdev->flags) &&  in raid10_end_write_request()
767 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1922 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1953 test_bit(In_sync, &rdev->flags)) in _enough()
1999 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error()
2007 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
2040 i, !test_bit(In_sync, &rdev->flags), in print_conf()
2071 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
2074 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
2089 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
2154 clear_bit(In_sync, &rdev->flags); in raid10_add_disk()
2187 if (test_bit(In_sync, &rdev->flags) || in raid10_remove_disk()
2661 test_bit(In_sync, &rdev->flags) && in fix_read_error()
2712 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
2744 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
3333 test_bit(In_sync, &mrdev->flags))) in raid10_sync_request()
3411 !test_bit(In_sync, &rdev->flags)) in raid10_sync_request()
3497 if (mrdev && !test_bit(In_sync, in raid10_sync_request()
3544 test_bit(In_sync, in raid10_sync_request()
4131 !test_bit(In_sync, &disk->rdev->flags)) { in raid10_run()
4140 !test_bit(In_sync, &disk->replacement->flags) && in raid10_run()
4390 else if (!test_bit(In_sync, &rdev->flags)) in calc_degraded()
4405 else if (!test_bit(In_sync, &rdev->flags)) { in calc_degraded()
4453 if (!test_bit(In_sync, &rdev->flags) in raid10_start_reshape()
4551 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4561 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
5018 !test_bit(In_sync, &rdev->flags)) in handle_reshape_read_error()
5104 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()
5107 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()