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);
741 static int queue_if_no_path(struct multipath *m, bool f_queue_if_no_path,
790 struct multipath *m = from_timer(m, t, nopath_timer);
801 static void enable_nopath_timeout(struct multipath *m)
816 static void disable_nopath_timeout(struct multipath *m)
827 struct multipath *m =
828 container_of(work, struct multipath, trigger_event);
836 * <#multipath feature args> [<arg>]*
881 static int setup_scsi_dh(struct block_device *bdev, struct multipath *m,
939 struct multipath *m = ti->private;
985 struct multipath *m)
1057 static int parse_hw_handler(struct dm_arg_set *as, struct multipath *m)
1075 DMERR("bio-based multipath doesn't allow hardware handler args");
1108 static int parse_features(struct dm_arg_set *as, struct multipath *m)
1173 ti->error = "Unrecognised multipath feature request";
1189 struct multipath *m;
1200 ti->error = "can't allocate multipath";
1277 static void multipath_wait_for_pg_init_completion(struct multipath *m)
1292 static void flush_multipath_work(struct multipath *m)
1321 struct multipath *m = ti->private;
1334 struct multipath *m = pgpath->pg->m;
1374 struct multipath *m = pgpath->pg->m;
1422 static int action_dev(struct multipath *m, struct dm_dev *dev,
1442 static void bypass_pg(struct multipath *m, struct priority_group *pg,
1461 static int switch_pg_num(struct multipath *m, const char *pgstr)
1494 static int bypass_pg_num(struct multipath *m, const char *pgstr, bool bypassed)
1518 static bool pg_init_limit_reached(struct multipath *m, struct pgpath *pgpath)
1540 struct multipath *m = pg->m;
1649 * We don't queue any clone request inside the multipath target
1651 * bio clones. If we queue them inside the multipath target,
1660 struct multipath *m = ti->private;
1693 struct multipath *m = ti->private;
1744 struct multipath *m = ti->private;
1753 struct multipath *m = ti->private;
1765 struct multipath *m = ti->private;
1803 struct multipath *m = ti->private;
1963 struct multipath *m = ti->private;
1989 DMWARN("Invalid multipath message arguments. Expected 2 arguments, got %d.", argc);
2007 DMWARN("Unrecognised multipath message received: %s", argv[0]);
2030 struct multipath *m = ti->private;
2080 struct multipath *m = ti->private;
2115 struct multipath *m = ti->private;
2185 .name = "multipath",
2267 MODULE_DESCRIPTION(DM_NAME " multipath target");