Lines Matching defs:path
9 * Round-robin path selector.
14 #include "dm-path-selector.h"
28 struct dm_path *path;
87 static int rr_status(struct path_selector *ps, struct dm_path *path,
93 if (!path)
100 pi = path->pscontext;
110 * Called during initialisation to register each path with an
113 static int rr_add_path(struct path_selector *ps, struct dm_path *path,
127 /* First path argument is number of I/Os before switching path */
138 /* allocate the path */
141 *error = "round-robin ps: Error allocating path context";
145 pi->path = path;
148 path->pscontext = pi;
194 return pi ? pi->path : NULL;
234 MODULE_DESCRIPTION(DM_NAME " round-robin multipath path selector");