Lines Matching refs:multipath
59 struct multipath *m; /* Owning multipath instance */
70 struct multipath { struct
131 static bool mpath_double_check_test_bit(int MPATHF_bit, struct multipath *m) in mpath_double_check_test_bit()
203 static struct multipath *alloc_multipath(struct dm_target *ti) in alloc_multipath()
205 struct multipath *m; in alloc_multipath()
226 static int alloc_multipath_stage2(struct dm_target *ti, struct multipath *m) in alloc_multipath_stage2()
254 static void free_multipath(struct multipath *m) in free_multipath()
307 static int __pg_init_all_paths(struct multipath *m) in __pg_init_all_paths()
338 static int pg_init_all_paths(struct multipath *m) in pg_init_all_paths()
350 static void __switch_pg(struct multipath *m, struct priority_group *pg) in __switch_pg()
368 static struct pgpath *choose_path_in_pg(struct multipath *m, in choose_path_in_pg()
393 static struct pgpath *choose_pgpath(struct multipath *m, size_t nr_bytes) in choose_pgpath()
480 static bool __must_push_back(struct multipath *m) in __must_push_back()
485 static bool must_push_back_rq(struct multipath *m) in must_push_back_rq()
504 struct multipath *m = ti->private; in multipath_clone_and_map()
589 static void __multipath_queue_bio(struct multipath *m, struct bio *bio) in __multipath_queue_bio()
597 static void multipath_queue_bio(struct multipath *m, struct bio *bio) in multipath_queue_bio()
606 static struct pgpath *__map_bio(struct multipath *m, struct bio *bio) in __map_bio()
634 static int __multipath_map_bio(struct multipath *m, struct bio *bio, in __multipath_map_bio()
664 struct multipath *m = ti->private; in multipath_map_bio()
671 static void process_queued_io_list(struct multipath *m) in process_queued_io_list()
686 struct multipath *m = in process_queued_bios()
687 container_of(work, struct multipath, process_queued_bios); in process_queued_bios()
732 static int queue_if_no_path(struct multipath *m, bool queue_if_no_path, in queue_if_no_path()
781 struct multipath *m = from_timer(m, t, nopath_timer); in queue_if_no_path_timeout_work()
792 static void enable_nopath_timeout(struct multipath *m) in enable_nopath_timeout()
807 static void disable_nopath_timeout(struct multipath *m) in disable_nopath_timeout()
818 struct multipath *m = in trigger_event()
819 container_of(work, struct multipath, trigger_event); in trigger_event()
870 static int setup_scsi_dh(struct block_device *bdev, struct multipath *m, in setup_scsi_dh()
931 struct multipath *m = ti->private; in parse_path()
977 struct multipath *m) in parse_priority_group()
1049 static int parse_hw_handler(struct dm_arg_set *as, struct multipath *m) in parse_hw_handler()
1100 static int parse_features(struct dm_arg_set *as, struct multipath *m) in parse_features()
1181 struct multipath *m; in multipath_ctr()
1270 static void multipath_wait_for_pg_init_completion(struct multipath *m) in multipath_wait_for_pg_init_completion()
1285 static void flush_multipath_work(struct multipath *m) in flush_multipath_work()
1314 struct multipath *m = ti->private; in multipath_dtr()
1327 struct multipath *m = pgpath->pg->m; in fail_path()
1367 struct multipath *m = pgpath->pg->m; in reinstate_path()
1415 static int action_dev(struct multipath *m, struct dm_dev *dev, in action_dev()
1435 static void bypass_pg(struct multipath *m, struct priority_group *pg, in bypass_pg()
1454 static int switch_pg_num(struct multipath *m, const char *pgstr) in switch_pg_num()
1487 static int bypass_pg_num(struct multipath *m, const char *pgstr, bool bypassed) in bypass_pg_num()
1511 static bool pg_init_limit_reached(struct multipath *m, struct pgpath *pgpath) in pg_init_limit_reached()
1533 struct multipath *m = pg->m; in pg_init_done()
1653 struct multipath *m = ti->private; in multipath_end_io()
1686 struct multipath *m = ti->private; in multipath_end_io_bio()
1736 struct multipath *m = ti->private; in multipath_presuspend()
1745 struct multipath *m = ti->private; in multipath_postsuspend()
1757 struct multipath *m = ti->private; in multipath_resume()
1795 struct multipath *m = ti->private; in multipath_status()
1917 struct multipath *m = ti->private; in multipath_message()
1984 struct multipath *m = ti->private; in multipath_prepare_ioctl()
2034 struct multipath *m = ti->private; in multipath_iterate_devices()
2069 struct multipath *m = ti->private; in multipath_busy()