Lines Matching refs:In_sync
871 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) &&
898 if (!test_bit(In_sync, &rs->dev[i].rdev.flags))
1010 ((!test_bit(In_sync, &rs->dev[i].rdev.flags) ||
1057 !test_bit(In_sync, &rs->dev[i].rdev.flags)) &&
1083 !test_bit(In_sync, &rs->dev[i].rdev.flags)) &&
1163 * We set each individual device as In_sync with a completed
1180 set_bit(In_sync, &rs->dev[i].rdev.flags);
1323 clear_bit(In_sync, &rd->rdev.flags);
2181 * 2) Device specified for rebuild (!In_sync w/ offset == 0)
2184 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) {
2315 * devices must have their In_sync bit set. Also,
2319 * case the In_sync bit will /not/ be set and
2334 if (!test_bit(In_sync, &r->flags)) {
2475 set_bit(In_sync, &rdev->flags);
2481 clear_bit(In_sync, &rdev->flags); /* Mandatory for recovery */
2485 * If a device comes back, set it as not In_sync and no longer faulty.
2489 clear_bit(In_sync, &rdev->flags);
2739 clear_bit(In_sync, &rdev->flags);
2880 clear_bit(In_sync, &rdev->flags);
3416 !test_bit(In_sync, &rdev->flags)))
3486 * If all the devices are In_sync, then it is the raid set
3494 !test_bit(In_sync, &rdev->flags)) {
3817 clear_bit(In_sync, &r->flags); /* Mandatory for hot remove. */
3835 clear_bit(In_sync, &r->flags);