Lines Matching defs:ms
46 struct mirror_set *ms; member
94 struct mirror_set *ms = context; in wakeup_mirrord() local
101 struct mirror_set *ms = from_timer(ms, t, timer); in delayed_wake_fn() local
107 static void delayed_wake(struct mirror_set *ms) in delayed_wake()
121 static void queue_bio(struct mirror_set *ms, struct bio *bio, int rw) in queue_bio()
139 struct mirror_set *ms = context; in dispatch_bios() local
173 static struct mirror *get_default_mirror(struct mirror_set *ms) in get_default_mirror()
180 struct mirror_set *ms = m->ms; in set_default_mirror() local
186 static struct mirror *get_valid_mirror(struct mirror_set *ms) in get_valid_mirror()
213 struct mirror_set *ms = m->ms; in fail_mirror() local
256 struct mirror_set *ms = ti->private; in mirror_flush() local
299 struct mirror_set *ms = dm_rh_region_context(reg); in recovery_complete() local
328 static void recover(struct mirror_set *ms, struct dm_region *reg) in recover()
372 static void reset_ms_flags(struct mirror_set *ms) in reset_ms_flags()
383 static void do_recovery(struct mirror_set *ms) in do_recovery()
414 static struct mirror *choose_mirror(struct mirror_set *ms, sector_t sector) in choose_mirror()
436 static int mirror_available(struct mirror_set *ms, struct bio *bio) in mirror_available()
471 static void hold_bio(struct mirror_set *ms, struct bio *bio) in hold_bio()
550 static inline int region_in_sync(struct mirror_set *ms, region_t region, in region_in_sync()
557 static void do_reads(struct mirror_set *ms, struct bio_list *reads) in do_reads()
598 struct mirror_set *ms; in write_callback() local
644 static void do_write(struct mirror_set *ms, struct bio *bio) in do_write()
677 static void do_writes(struct mirror_set *ms, struct bio_list *writes) in do_writes()
785 static void do_failures(struct mirror_set *ms, struct bio_list *failures) in do_failures()
839 struct mirror_set *ms = in trigger_event() local
850 struct mirror_set *ms = container_of(work, struct mirror_set, in do_mirror() local
879 struct mirror_set *ms = in alloc_context() local
923 static void free_context(struct mirror_set *ms, struct dm_target *ti, in free_context()
934 static int get_mirror(struct mirror_set *ms, struct dm_target *ti, in get_mirror()
1000 static int parse_features(struct mirror_set *ms, unsigned argc, char **argv, in parse_features()
1065 struct mirror_set *ms; in mirror_ctr() local
1169 struct mirror_set *ms = (struct mirror_set *) ti->private; in mirror_dtr() local
1186 struct mirror_set *ms = ti->private; in mirror_map() local
1235 struct mirror_set *ms = (struct mirror_set *) ti->private; in mirror_end_io() local
1300 struct mirror_set *ms = (struct mirror_set *) ti->private; in mirror_presuspend() local
1346 struct mirror_set *ms = ti->private; in mirror_postsuspend() local
1356 struct mirror_set *ms = ti->private; in mirror_resume() local
1396 struct mirror_set *ms = (struct mirror_set *) ti->private; in mirror_status() local
1459 struct mirror_set *ms = ti->private; in mirror_iterate_devices() local