Lines Matching refs:ps
49 static int st_create(struct path_selector *ps, unsigned argc, char **argv)
56 ps->context = s;
70 static void st_destroy(struct path_selector *ps)
72 struct selector *s = ps->context;
77 ps->context = NULL;
80 static int st_status(struct path_selector *ps, struct dm_path *path,
106 static int st_add_path(struct path_selector *ps, struct dm_path *path,
109 struct selector *s = ps->context;
128 *error = "service-time ps: incorrect number of arguments";
133 *error = "service-time ps: invalid repeat count";
140 *error = "service-time ps: invalid relative_throughput value";
147 *error = "service-time ps: Error allocating path context";
163 static void st_fail_path(struct path_selector *ps, struct dm_path *path)
165 struct selector *s = ps->context;
171 static int st_reinstate_path(struct path_selector *ps, struct dm_path *path)
173 struct selector *s = ps->context;
258 static struct dm_path *st_select_path(struct path_selector *ps,
261 struct selector *s = ps->context;
282 static int st_start_io(struct path_selector *ps, struct dm_path *path,
292 static int st_end_io(struct path_selector *ps, struct dm_path *path,