Home
last modified time | relevance | path

Searched refs:in_sync (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/include/linux/
Ddm-dirty-log.h70 int (*in_sync)(struct dm_dirty_log *log, region_t region, member
108 region_t region, int in_sync);
/linux-4.4.14/drivers/md/
Ddm-log-userspace-base.c440 int64_t in_sync; in userspace_in_sync() local
460 rdata_size = sizeof(in_sync); in userspace_in_sync()
463 (char *)&in_sync, &rdata_size); in userspace_in_sync()
464 return (r) ? 0 : (int)in_sync; in userspace_in_sync()
741 region_t region, int in_sync) in userspace_set_region_sync() argument
750 pkg.i = (int64_t)in_sync; in userspace_set_region_sync()
880 .in_sync = userspace_in_sync,
Ddm-raid1.c69 int in_sync; member
234 if (!ms->in_sync && !keep_log(ms)) { in fail_mirror()
409 if (!ms->in_sync && in do_recovery()
413 ms->in_sync = 1; in do_recovery()
448 if (log->type->in_sync(log, region, 0)) in mirror_available()
817 ms->in_sync = 0; in do_failures()
905 ms->in_sync = 0; in alloc_context()
1209 r = log->type->in_sync(log, dm_rh_bio_to_region(ms->rh, bio), 0); in mirror_map()
Ddm-log.c754 int in_sync) in core_set_region_sync() argument
759 if (in_sync) { in core_set_region_sync()
831 .in_sync = core_in_sync,
850 .in_sync = core_in_sync,
Dmd.c1226 if (mddev->in_sync) in super_90_sync()
1701 if (mddev->in_sync) in super_1_sync()
2367 sync_req = mddev->in_sync; in md_update_sb()
2372 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
2401 mdname(mddev), mddev->in_sync); in md_update_sb()
2438 if (mddev->in_sync != sync_req || in md_update_sb()
3558 mddev->in_sync = 0; in level_store()
3610 mddev->in_sync = 1; in level_store()
3884 if (mddev->in_sync) in array_state_show()
3928 if (mddev->in_sync == 0) { in array_state_store()
[all …]
Ddm-region-hash.c294 nreg->state = rh->log->type->in_sync(rh->log, region, 1) ? in __rh_alloc()
352 r = rh->log->type->in_sync(rh->log, region, may_block); in dm_rh_get_state()
Dmd.h366 int in_sync; /* know to not need resync */ member
Ddm-raid.c1292 rs->md.in_sync = 0; /* Assume already marked dirty */ in raid_ctr()
/linux-4.4.14/arch/s390/kernel/
Dtime.c717 int in_sync; member
733 while (sync->in_sync == 0) { in clock_sync_cpu()
741 if (sync->in_sync != 1) in clock_sync_cpu()
805 etr_sync->in_sync = -EAGAIN; in etr_sync_clock()
808 etr_sync->in_sync = 1; in etr_sync_clock()
816 etr_sync->in_sync = -EAGAIN; in etr_sync_clock()
1579 stp_sync->in_sync = -EAGAIN; in stp_sync_clock()
1581 stp_sync->in_sync = 1; in stp_sync_clock()
/linux-4.4.14/Documentation/
Dmd.txt365 in_sync - device is a fully in-sync member of the array
393 Writing "in_sync" sets the in_sync flag.
440 When the device is not 'in_sync', this records the number of
452 Setting this to 'none' is equivalent to setting 'in_sync'.
453 Setting to any other value also clears the 'in_sync' flag.
481 will show 'in_sync' on every line.