Lines Matching refs:In_sync
703 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
729 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2856 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2871 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2973 clear_bit(In_sync, &rdev->flags); in raid5_error()
3673 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3801 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3808 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3830 && !test_bit(In_sync, &rdev->flags) in want_replace()
4798 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
5529 !(test_bit(In_sync, &rdev->flags) || in raid5_read_one_chunk()
6402 !test_bit(In_sync, &rdev->flags) && in reshape_request()
6511 !test_bit(In_sync, &rdev->flags) && in reshape_request()
7661 if (test_bit(In_sync, &rdev->flags)) { in setup_conf()
7960 if (test_bit(In_sync, &rdev->flags)) in raid5_run()
8144 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid5_status()
8190 && !test_and_set_bit(In_sync, &replacement->flags)) { in raid5_spare_active()
8193 || !test_and_clear_bit(In_sync, &rdev->flags)) in raid5_spare_active()
8208 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid5_spare_active()
8257 clear_bit(In_sync, &rdev->flags); in raid5_remove_disk()
8259 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
8364 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8381 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8523 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
8588 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8598 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8662 !test_bit(In_sync, &rdev->flags)) in end_reshape()
8693 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()
8697 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()