Home
last modified time | relevance | path

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

/linux/drivers/md/
A Ddm-path-selector.h24 struct path_selector { struct
40 int (*create) (struct path_selector *ps, unsigned argc, char **argv); argument
41 void (*destroy) (struct path_selector *ps);
47 int (*add_path) (struct path_selector *ps, struct dm_path *path,
54 struct dm_path *(*select_path) (struct path_selector *ps,
60 void (*fail_path) (struct path_selector *ps, struct dm_path *p);
65 int (*reinstate_path) (struct path_selector *ps, struct dm_path *p);
71 int (*status) (struct path_selector *ps, struct dm_path *path,
74 int (*start_io) (struct path_selector *ps, struct dm_path *path,
76 int (*end_io) (struct path_selector *ps, struct dm_path *path,
A Ddm-ps-queue-length.c55 static int ql_create(struct path_selector *ps, unsigned 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()
A Ddm-ps-historical-service-time.c148 static u64 hst_weight(struct path_selector *ps, u64 delta) in hst_weight()
163 static void hst_set_weights(struct path_selector *ps, unsigned int base) in hst_set_weights()
228 static void hst_destroy(struct path_selector *ps) in hst_destroy()
238 static int hst_status(struct path_selector *ps, struct dm_path *path, in hst_status()
268 static int hst_add_path(struct path_selector *ps, struct dm_path *path, in hst_add_path()
320 static void hst_fail_path(struct path_selector *ps, struct dm_path *path) in hst_fail_path()
332 static int hst_reinstate_path(struct path_selector *ps, struct dm_path *path) in hst_reinstate_path()
369 u64 time_now, struct path_selector *ps) in hst_compare()
431 static struct dm_path *hst_select_path(struct path_selector *ps, in hst_select_path()
462 static int hst_start_io(struct path_selector *ps, struct dm_path *path, in hst_start_io()
[all …]
A Ddm-ps-service-time.c51 static int st_create(struct path_selector *ps, unsigned 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()
176 static void st_fail_path(struct path_selector *ps, struct dm_path *path) in st_fail_path()
187 static int st_reinstate_path(struct path_selector *ps, struct dm_path *path) in st_reinstate_path()
277 static struct dm_path *st_select_path(struct path_selector *ps, size_t nr_bytes) in st_select_path()
304 static int st_start_io(struct path_selector *ps, struct dm_path *path, in st_start_io()
314 static int st_end_io(struct path_selector *ps, struct dm_path *path, in st_end_io()
A Ddm-ps-round-robin.c65 static int rr_create(struct path_selector *ps, unsigned 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()
A 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 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()
A Ddm-mpath.c60 struct path_selector ps;
192 struct path_selector *ps = &pg->ps; in free_priority_group()
926 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()

Completed in 13 milliseconds