Lines Matching defs:path
9 * Round-robin path selector.
13 #include "dm-path-selector.h"
24 struct dm_path *path;
83 static int rr_status(struct path_selector *ps, struct dm_path *path,
89 if (!path)
96 pi = path->pscontext;
106 * Called during initialisation to register each path with an
109 static int rr_add_path(struct path_selector *ps, struct dm_path *path,
121 /* First path argument is number of I/Os before switching path */
127 /* allocate the path */
130 *error = "round-robin ps: Error allocating path context";
134 pi->path = path;
137 path->pscontext = pi;
174 return pi ? pi->path : NULL;
214 MODULE_DESCRIPTION(DM_NAME " round-robin multipath path selector");