Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/drivers/md/
Ddm-log-userspace-base.c441 int64_t in_sync; in userspace_in_sync() local
461 rdata_size = sizeof(in_sync); in userspace_in_sync()
464 (char *)&in_sync, &rdata_size); in userspace_in_sync()
465 return (r) ? 0 : (int)in_sync; in userspace_in_sync()
742 region_t region, int in_sync) in userspace_set_region_sync() argument
751 pkg.i = (int64_t)in_sync; in userspace_set_region_sync()
881 .in_sync = userspace_in_sync,
Ddm-raid1.c67 int in_sync; member
232 if (!ms->in_sync) { in fail_mirror()
396 if (!ms->in_sync && in do_recovery()
400 ms->in_sync = 1; in do_recovery()
434 if (log->type->in_sync(log, region, 0)) in mirror_available()
800 ms->in_sync = 0; in do_failures()
883 ms->in_sync = 0; in alloc_context()
1174 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.c1241 if (mddev->in_sync) in super_90_sync()
1700 if (mddev->in_sync) in super_1_sync()
2289 sync_req = mddev->in_sync; in md_update_sb()
2294 && (mddev->in_sync && mddev->recovery_cp == MaxSector) in md_update_sb()
2323 mdname(mddev), mddev->in_sync); in md_update_sb()
2360 if (mddev->in_sync != sync_req || in md_update_sb()
3463 mddev->in_sync = 0; in level_store()
3515 mddev->in_sync = 1; in level_store()
3784 if (mddev->in_sync) in array_state_show()
3828 if (mddev->in_sync == 0) { in array_state_store()
[all …]
Ddm-region-hash.c296 nreg->state = rh->log->type->in_sync(rh->log, region, 1) ? in __rh_alloc()
354 r = rh->log->type->in_sync(rh->log, region, may_block); in dm_rh_get_state()
Dmd.h356 int in_sync; /* know to not need resync */ member
Ddm-raid.c1286 rs->md.in_sync = 0; /* Assume already marked dirty */ in raid_ctr()
/linux-4.1.27/arch/s390/kernel/
Dtime.c713 int in_sync; member
729 while (sync->in_sync == 0) { in clock_sync_cpu()
737 if (sync->in_sync != 1) in clock_sync_cpu()
798 etr_sync->in_sync = -EAGAIN; in etr_sync_clock()
801 etr_sync->in_sync = 1; in etr_sync_clock()
809 etr_sync->in_sync = -EAGAIN; in etr_sync_clock()
1564 stp_sync->in_sync = -EAGAIN; in stp_sync_clock()
1566 stp_sync->in_sync = 1; in stp_sync_clock()
/linux-4.1.27/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.