Lines Matching refs:multipath
55 struct multipath *m; /* Owning multipath instance */
66 struct multipath { struct
182 static struct multipath *alloc_multipath(struct dm_target *ti) in alloc_multipath()
184 struct multipath *m; in alloc_multipath()
203 static int alloc_multipath_stage2(struct dm_target *ti, struct multipath *m) in alloc_multipath_stage2()
231 static void free_multipath(struct multipath *m) in free_multipath()
284 static int __pg_init_all_paths(struct multipath *m) in __pg_init_all_paths()
315 static int pg_init_all_paths(struct multipath *m) in pg_init_all_paths()
327 static void __switch_pg(struct multipath *m, struct priority_group *pg) in __switch_pg()
343 static struct pgpath *choose_path_in_pg(struct multipath *m, in choose_path_in_pg()
368 static struct pgpath *choose_pgpath(struct multipath *m, size_t nr_bytes) in choose_pgpath()
457 static bool __must_push_back(struct multipath *m, unsigned long flags) in __must_push_back()
468 static bool must_push_back_rq(struct multipath *m) in must_push_back_rq()
474 static bool must_push_back_bio(struct multipath *m) in must_push_back_bio()
487 struct multipath *m = ti->private; in multipath_clone_and_map()
571 static struct pgpath *__map_bio(struct multipath *m, struct bio *bio) in __map_bio()
602 static int __multipath_map_bio(struct multipath *m, struct bio *bio, in __multipath_map_bio()
632 struct multipath *m = ti->private; in multipath_map_bio()
639 static void process_queued_io_list(struct multipath *m) in process_queued_io_list()
654 struct multipath *m = in process_queued_bios()
655 container_of(work, struct multipath, process_queued_bios); in process_queued_bios()
700 static int queue_if_no_path(struct multipath *m, bool queue_if_no_path, in queue_if_no_path()
726 struct multipath *m = in trigger_event()
727 container_of(work, struct multipath, trigger_event); in trigger_event()
778 static int setup_scsi_dh(struct block_device *bdev, struct multipath *m, in setup_scsi_dh()
839 struct multipath *m = ti->private; in parse_path()
885 struct multipath *m) in parse_priority_group()
957 static int parse_hw_handler(struct dm_arg_set *as, struct multipath *m) in parse_hw_handler()
1008 static int parse_features(struct dm_arg_set *as, struct multipath *m) in parse_features()
1089 struct multipath *m; in multipath_ctr()
1173 static void multipath_wait_for_pg_init_completion(struct multipath *m) in multipath_wait_for_pg_init_completion()
1188 static void flush_multipath_work(struct multipath *m) in flush_multipath_work()
1209 struct multipath *m = ti->private; in multipath_dtr()
1221 struct multipath *m = pgpath->pg->m; in fail_path()
1257 struct multipath *m = pgpath->pg->m; in reinstate_path()
1300 static int action_dev(struct multipath *m, struct dm_dev *dev, in action_dev()
1320 static void bypass_pg(struct multipath *m, struct priority_group *pg, in bypass_pg()
1339 static int switch_pg_num(struct multipath *m, const char *pgstr) in switch_pg_num()
1372 static int bypass_pg_num(struct multipath *m, const char *pgstr, bool bypassed) in bypass_pg_num()
1396 static bool pg_init_limit_reached(struct multipath *m, struct pgpath *pgpath) in pg_init_limit_reached()
1418 struct multipath *m = pg->m; in pg_init_done()
1538 struct multipath *m = ti->private; in multipath_end_io()
1570 struct multipath *m = ti->private; in multipath_end_io_bio()
1619 struct multipath *m = ti->private; in multipath_presuspend()
1626 struct multipath *m = ti->private; in multipath_postsuspend()
1638 struct multipath *m = ti->private; in multipath_resume()
1668 struct multipath *m = ti->private; in multipath_status()
1790 struct multipath *m = ti->private; in multipath_message()
1852 struct multipath *m = ti->private; in multipath_prepare_ioctl()
1898 struct multipath *m = ti->private; in multipath_iterate_devices()
1933 struct multipath *m = ti->private; in multipath_busy()