Lines Matching defs:multipath

33 #define DM_MSG_PREFIX "multipath"
62 struct multipath *m; /* Owning multipath instance */
73 struct multipath {
136 static bool mpath_double_check_test_bit(int MPATHF_bit, struct multipath *m)
210 static struct multipath *alloc_multipath(struct dm_target *ti)
212 struct multipath *m;
233 static int alloc_multipath_stage2(struct dm_target *ti, struct multipath *m)
261 static void free_multipath(struct multipath *m)
316 static int __pg_init_all_paths(struct multipath *m)
347 static int pg_init_all_paths(struct multipath *m)
359 static void __switch_pg(struct multipath *m, struct priority_group *pg)
377 static struct pgpath *choose_path_in_pg(struct multipath *m,
402 static struct pgpath *choose_pgpath(struct multipath *m, size_t nr_bytes)
487 static bool __must_push_back(struct multipath *m)
492 static bool must_push_back_rq(struct multipath *m)
505 * Map cloned requests (request-based multipath)
511 struct multipath *m = ti->private;
592 * Map cloned bios (bio-based multipath)
595 static void __multipath_queue_bio(struct multipath *m, struct bio *bio)
603 static void multipath_queue_bio(struct multipath *m, struct bio *bio)
612 static struct pgpath *__map_bio(struct multipath *m, struct bio *bio)
640 static int __multipath_map_bio(struct multipath *m, struct bio *bio,
673 struct multipath *m = ti->private;
680 static void process_queued_io_list(struct multipath *m)
695 struct multipath *m =
696 container_of(work, struct multipath, process_queued_bios);
742 static int queue_if_no_path(struct multipath *m, bool f_queue_if_no_path,
791 struct multipath *m = from_timer(m, t, nopath_timer);
802 static void enable_nopath_timeout(struct multipath *m)
817 static void disable_nopath_timeout(struct multipath *m)
828 struct multipath *m =
829 container_of(work, struct multipath, trigger_event);
837 * <#multipath feature args> [<arg>]*
882 static int setup_scsi_dh(struct block_device *bdev, struct multipath *m,
940 struct multipath *m = ti->private;
986 struct multipath *m)
1058 static int parse_hw_handler(struct dm_arg_set *as, struct multipath *m)
1076 DMERR("bio-based multipath doesn't allow hardware handler args");
1109 static int parse_features(struct dm_arg_set *as, struct multipath *m)
1174 ti->error = "Unrecognised multipath feature request";
1190 struct multipath *m;
1201 ti->error = "can't allocate multipath";
1278 static void multipath_wait_for_pg_init_completion(struct multipath *m)
1293 static void flush_multipath_work(struct multipath *m)
1322 struct multipath *m = ti->private;
1335 struct multipath *m = pgpath->pg->m;
1375 struct multipath *m = pgpath->pg->m;
1423 static int action_dev(struct multipath *m, struct dm_dev *dev,
1443 static void bypass_pg(struct multipath *m, struct priority_group *pg,
1462 static int switch_pg_num(struct multipath *m, const char *pgstr)
1495 static int bypass_pg_num(struct multipath *m, const char *pgstr, bool bypassed)
1519 static bool pg_init_limit_reached(struct multipath *m, struct pgpath *pgpath)
1541 struct multipath *m = pg->m;
1650 * We don't queue any clone request inside the multipath target
1652 * bio clones. If we queue them inside the multipath target,
1661 struct multipath *m = ti->private;
1694 struct multipath *m = ti->private;
1745 struct multipath *m = ti->private;
1754 struct multipath *m = ti->private;
1766 struct multipath *m = ti->private;
1804 struct multipath *m = ti->private;
1964 struct multipath *m = ti->private;
1990 DMWARN("Invalid multipath message arguments. Expected 2 arguments, got %d.", argc);
2008 DMWARN("Unrecognised multipath message received: %s", argv[0]);
2031 struct multipath *m = ti->private;
2081 struct multipath *m = ti->private;
2116 struct multipath *m = ti->private;
2186 .name = "multipath",
2268 MODULE_DESCRIPTION(DM_NAME " multipath target");