Lines Matching full:ps
55 static int ql_create(struct path_selector *ps, unsigned argc, char **argv) in ql_create() argument
62 ps->context = s; in ql_create()
76 static void ql_destroy(struct path_selector *ps) in ql_destroy() argument
78 struct selector *s = ps->context; in ql_destroy()
83 ps->context = NULL; in ql_destroy()
86 static int ql_status(struct path_selector *ps, struct dm_path *path, in ql_status() argument
111 static int ql_add_path(struct path_selector *ps, struct dm_path *path, in ql_add_path() argument
114 struct selector *s = ps->context; in ql_add_path()
126 *error = "queue-length ps: incorrect number of arguments"; in ql_add_path()
131 *error = "queue-length ps: invalid repeat count"; in ql_add_path()
143 *error = "queue-length ps: Error allocating path information"; in ql_add_path()
160 static void ql_fail_path(struct path_selector *ps, struct dm_path *path) in ql_fail_path() argument
162 struct selector *s = ps->context; in ql_fail_path()
171 static int ql_reinstate_path(struct path_selector *ps, struct dm_path *path) in ql_reinstate_path() argument
173 struct selector *s = ps->context; in ql_reinstate_path()
187 static struct dm_path *ql_select_path(struct path_selector *ps, size_t nr_bytes) in ql_select_path() argument
189 struct selector *s = ps->context; in ql_select_path()
219 static int ql_start_io(struct path_selector *ps, struct dm_path *path, in ql_start_io() argument
229 static int ql_end_io(struct path_selector *ps, struct dm_path *path, in ql_end_io() argument