Lines Matching refs:In_sync
1329 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1426 set_bit(In_sync, &rdev->flags); in super_90_validate()
1443 set_bit(In_sync, &rdev->flags); in super_90_validate()
1526 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1556 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1843 clear_bit(In_sync, &rdev->flags); in super_1_validate()
1992 set_bit(In_sync, &rdev->flags); in super_1_validate()
2004 set_bit(In_sync, &rdev->flags); in super_1_validate()
2057 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2164 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
2735 !test_bit(In_sync, &rdev->flags) && in md_update_sb()
2955 if (test_bit(In_sync, &flags)) in state_show()
2967 !test_bit(In_sync, &flags)) in state_show()
3060 set_bit(In_sync, &rdev->flags); in state_store()
3071 clear_bit(In_sync, &rdev->flags); in state_store()
3238 if (test_bit(In_sync, &rdev->flags)) in slot_store()
3242 clear_bit(In_sync, &rdev->flags); in slot_store()
3261 set_bit(In_sync, &rdev->flags); in slot_store()
3470 if (test_bit(In_sync, &rdev->flags) || in recovery_start_show()
3492 set_bit(In_sync, &rdev->flags); in recovery_start_store()
3494 clear_bit(In_sync, &rdev->flags); in recovery_start_store()
3827 set_bit(In_sync, &rdev->flags); in analyze_sbs()
3832 clear_bit(In_sync, &rdev->flags); in analyze_sbs()
4104 clear_bit(In_sync, &rdev->flags); in level_store()
6604 if (test_bit(In_sync, &rdev->flags)) in get_array_info()
6699 else if (test_bit(In_sync, &rdev->flags)) { in get_disk_info()
6794 set_bit(In_sync, &rdev->flags); in md_add_new_disk()
6811 clear_bit(In_sync, &rdev->flags); /* just to be sure */ in md_add_new_disk()
6905 set_bit(In_sync, &rdev->flags); in md_add_new_disk()
7010 clear_bit(In_sync, &rdev->flags); in hot_add_disk()
8776 !test_bit(In_sync, &rdev->flags) && in md_do_sync()
8995 !test_bit(In_sync, &rdev->flags) && in md_do_sync()
9077 (!test_bit(In_sync, &rdev->flags) && in remove_and_add_spares()
9104 !test_bit(In_sync, &rdev->flags) && in remove_and_add_spares()
9715 !test_bit(In_sync, &rdev->flags) && in read_rdev()