Lines Matching refs:in_sync
1314 if (mddev->in_sync)
1807 if (mddev->in_sync)
2350 if (!mddev->in_sync) {
2355 if (!mddev->in_sync &&
2357 mddev->in_sync = 1;
2359 * Ensure ->in_sync is visible before we clear
2371 return mddev->in_sync;
2532 sync_req = mddev->in_sync;
2537 && (mddev->in_sync && mddev->recovery_cp == MaxSector)
2566 mdname(mddev), mddev->in_sync);
2609 if (mddev->in_sync != sync_req ||
2702 len += sprintf(page+len, "in_sync%s", sep);
3801 mddev->in_sync = 0;
3851 * it must always be in_sync
3853 mddev->in_sync = 1;
4130 else if (mddev->in_sync)
5668 mddev->in_sync = 1;
5829 mddev->in_sync = 0;
5862 ((!mddev->in_sync && !mddev_is_clustered(mddev)) ||
5866 mddev->in_sync = 1;
6249 if (mddev->in_sync)
8139 if (mddev->in_sync || mddev->sync_checkers) {
8141 if (mddev->in_sync) {
8142 mddev->in_sync = 0;
8178 WARN_ON_ONCE(mddev->in_sync || mddev->ro);
8216 if (mddev->in_sync) {
8217 mddev->in_sync = 0;
8816 && !mddev->in_sync && mddev->recovery_cp == MaxSector)
8828 if (!mddev->external && mddev->in_sync)
8838 * - add already-in_sync devices if the array itself
8867 if (!mddev->external && !mddev->in_sync) {