Lines Matching defs:path
10 * Round-robin path selector.
15 #include "dm-path-selector.h"
31 struct dm_path *path;
91 static int rr_status(struct path_selector *ps, struct dm_path *path,
97 if (!path)
104 pi = path->pscontext;
118 * Called during initialisation to register each path with an
121 static int rr_add_path(struct path_selector *ps, struct dm_path *path,
135 /* First path argument is number of I/Os before switching path */
146 /* allocate the path */
149 *error = "round-robin ps: Error allocating path context";
153 pi->path = path;
156 path->pscontext = pi;
202 return pi ? pi->path : NULL;
242 MODULE_DESCRIPTION(DM_NAME " round-robin multipath path selector");