Home
last modified time | relevance | path

Searched refs:path_selector (Results 1 – 7 of 7) sorted by relevance

/drivers/md/
Ddm-path-selector.h24 struct path_selector { struct
55 int (*create) (struct path_selector *ps, unsigned int argc, char **argv);
56 void (*destroy) (struct path_selector *ps);
62 int (*add_path) (struct path_selector *ps, struct dm_path *path,
69 struct dm_path *(*select_path) (struct path_selector *ps,
75 void (*fail_path) (struct path_selector *ps, struct dm_path *p);
80 int (*reinstate_path) (struct path_selector *ps, struct dm_path *p);
86 int (*status) (struct path_selector *ps, struct dm_path *path,
89 int (*start_io) (struct path_selector *ps, struct dm_path *path,
91 int (*end_io) (struct path_selector *ps, struct dm_path *path,
Ddm-ps-queue-length.c55 static int ql_create(struct path_selector *ps, unsigned int argc, char **argv) in ql_create()
76 static void ql_destroy(struct path_selector *ps) in ql_destroy()
86 static int ql_status(struct path_selector *ps, struct dm_path *path, in ql_status()
114 static int ql_add_path(struct path_selector *ps, struct dm_path *path, in ql_add_path()
163 static void ql_fail_path(struct path_selector *ps, struct dm_path *path) in ql_fail_path()
174 static int ql_reinstate_path(struct path_selector *ps, struct dm_path *path) in ql_reinstate_path()
190 static struct dm_path *ql_select_path(struct path_selector *ps, size_t nr_bytes) in ql_select_path()
222 static int ql_start_io(struct path_selector *ps, struct dm_path *path, in ql_start_io()
232 static int ql_end_io(struct path_selector *ps, struct dm_path *path, in ql_end_io()
Ddm-ps-historical-service-time.c147 static u64 hst_weight(struct path_selector *ps, u64 delta) in hst_weight()
162 static void hst_set_weights(struct path_selector *ps, unsigned int base) in hst_set_weights()
175 static int hst_create(struct path_selector *ps, unsigned int argc, char **argv) in hst_create()
227 static void hst_destroy(struct path_selector *ps) in hst_destroy()
237 static int hst_status(struct path_selector *ps, struct dm_path *path, in hst_status()
267 static int hst_add_path(struct path_selector *ps, struct dm_path *path, in hst_add_path()
319 static void hst_fail_path(struct path_selector *ps, struct dm_path *path) in hst_fail_path()
331 static int hst_reinstate_path(struct path_selector *ps, struct dm_path *path) in hst_reinstate_path()
368 u64 time_now, struct path_selector *ps) in hst_compare()
430 static struct dm_path *hst_select_path(struct path_selector *ps, in hst_select_path()
[all …]
Ddm-ps-service-time.c51 static int st_create(struct path_selector *ps, unsigned int argc, char **argv) in st_create()
72 static void st_destroy(struct path_selector *ps) in st_destroy()
82 static int st_status(struct path_selector *ps, struct dm_path *path, in st_status()
111 static int st_add_path(struct path_selector *ps, struct dm_path *path, in st_add_path()
175 static void st_fail_path(struct path_selector *ps, struct dm_path *path) in st_fail_path()
186 static int st_reinstate_path(struct path_selector *ps, struct dm_path *path) in st_reinstate_path()
276 static struct dm_path *st_select_path(struct path_selector *ps, size_t nr_bytes) in st_select_path()
303 static int st_start_io(struct path_selector *ps, struct dm_path *path, in st_start_io()
313 static int st_end_io(struct path_selector *ps, struct dm_path *path, in st_end_io()
Ddm-ps-round-robin.c65 static int rr_create(struct path_selector *ps, unsigned int argc, char **argv) in rr_create()
77 static void rr_destroy(struct path_selector *ps) in rr_destroy()
87 static int rr_status(struct path_selector *ps, struct dm_path *path, in rr_status()
117 static int rr_add_path(struct path_selector *ps, struct dm_path *path, in rr_add_path()
161 static void rr_fail_path(struct path_selector *ps, struct dm_path *p) in rr_fail_path()
172 static int rr_reinstate_path(struct path_selector *ps, struct dm_path *p) in rr_reinstate_path()
185 static struct dm_path *rr_select_path(struct path_selector *ps, size_t nr_bytes) in rr_select_path()
Ddm-ps-io-affinity.c43 static int ioa_add_path(struct path_selector *ps, struct dm_path *path, in ioa_add_path()
111 static int ioa_create(struct path_selector *ps, unsigned int argc, char **argv) in ioa_create()
138 static void ioa_destroy(struct path_selector *ps) in ioa_destroy()
153 static int ioa_status(struct path_selector *ps, struct dm_path *path, in ioa_status()
181 static void ioa_fail_path(struct path_selector *ps, struct dm_path *p) in ioa_fail_path()
188 static int ioa_reinstate_path(struct path_selector *ps, struct dm_path *p) in ioa_reinstate_path()
196 static struct dm_path *ioa_select_path(struct path_selector *ps, in ioa_select_path()
Ddm-mpath.c60 struct path_selector ps;
193 struct path_selector *ps = &pg->ps; in free_priority_group()
927 static struct pgpath *parse_path(struct dm_arg_set *as, struct path_selector *ps, in parse_path()
1673 struct path_selector *ps = &pgpath->pg->ps; in multipath_end_io()
1717 struct path_selector *ps = &pgpath->pg->ps; in multipath_end_io_bio()