Lines Matching refs:in_sync
1548 if (mddev->in_sync)
2054 * be in_sync with rest of array.
2089 if (mddev->in_sync)
2581 if (!mddev->in_sync) {
2586 if (!mddev->in_sync &&
2588 mddev->in_sync = 1;
2590 * Ensure ->in_sync is visible before we clear
2602 return mddev->in_sync;
2765 sync_req = mddev->in_sync;
2770 && (mddev->in_sync && mddev->resync_offset == MaxSector)
2799 mdname(mddev), mddev->in_sync);
2835 if (mddev->in_sync != sync_req ||
2923 len += sprintf(page+len, "in_sync%s", sep);
4048 mddev->in_sync = 0;
4100 * it must always be in_sync
4102 mddev->in_sync = 1;
4417 else if (mddev->in_sync)
6291 mddev->in_sync = 1;
6457 mddev->in_sync = 0;
6484 ((!mddev->in_sync && !mddev_is_clustered(mddev)) ||
6488 mddev->in_sync = 1;
6832 if (mddev->in_sync)
8732 if (mddev->in_sync || mddev->sync_checkers) {
8734 if (mddev->in_sync) {
8735 mddev->in_sync = 0;
8765 WARN_ON_ONCE(mddev->in_sync || !md_is_rdwr(mddev));
8908 if (mddev->in_sync) {
8909 mddev->in_sync = 0;
9601 * - add already-in_sync devices if the array itself is in-sync.
9729 && !mddev->in_sync && mddev->resync_offset == MaxSector)
9747 if (!mddev->external && mddev->in_sync)
9792 if (try_set_sync && !mddev->external && !mddev->in_sync) {