Lines Matching refs:sync
234 enum sync { enum
238 } sync; member
325 if (log->sync != DEFAULTSYNC || log->header.magic != MIRROR_MAGIC) { in read_header()
365 enum sync sync = DEFAULTSYNC; in create_log_context() local
381 sync = FORCESYNC; in create_log_context()
383 sync = NOSYNC; in create_log_context()
411 lc->sync = sync; in create_log_context()
493 memset(lc->sync_bits, (sync == NOSYNC) ? -1 : 0, bitset_size); in create_log_context()
494 lc->sync_count = (sync == NOSYNC) ? region_count : 0; in create_log_context()
607 if (lc->sync == NOSYNC) in disk_resume()
776 if (lc->sync != DEFAULTSYNC) \
777 DMEMIT("%ssync ", lc->sync == NOSYNC ? "no" : "")
792 lc->sync == DEFAULTSYNC ? 1 : 2, lc->region_size); in core_status()
815 lc->sync == DEFAULTSYNC ? 2 : 3, lc->log_dev->name, in disk_status()