Lines Matching refs:sync
237 enum sync { enum
241 } sync; member
330 if (log->sync != DEFAULTSYNC || log->header.magic != MIRROR_MAGIC) { in read_header()
372 enum sync sync = DEFAULTSYNC; in create_log_context() local
388 sync = FORCESYNC; in create_log_context()
390 sync = NOSYNC; in create_log_context()
417 lc->sync = sync; in create_log_context()
497 memset(lc->sync_bits, (sync == NOSYNC) ? -1 : 0, bitset_size); in create_log_context()
498 lc->sync_count = (sync == NOSYNC) ? region_count : 0; in create_log_context()
613 if (lc->sync == NOSYNC) in disk_resume()
789 if (lc->sync != DEFAULTSYNC) \
790 DMEMIT("%ssync ", lc->sync == NOSYNC ? "no" : ""); \
806 lc->sync == DEFAULTSYNC ? 1 : 2, lc->region_size); in core_status()
834 lc->sync == DEFAULTSYNC ? 2 : 3, lc->log_dev->name, in disk_status()