Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-path-selector.h25 struct path_selector { struct
56 int (*create)(struct path_selector *ps, unsigned int argc, char **argv);
57 void (*destroy)(struct path_selector *ps);
63 int (*add_path)(struct path_selector *ps, struct dm_path *path,
70 struct dm_path *(*select_path)(struct path_selector *ps, size_t nr_bytes);
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,
H A Ddm-ps-queue-length.c56 static int ql_create(struct path_selector *ps, unsigned int argc, char **argv) in ql_create()
77 static void ql_destroy(struct path_selector *ps) in ql_destroy()
87 static int ql_status(struct path_selector *ps, struct dm_path *path, in ql_status()
115 static int ql_add_path(struct path_selector *ps, struct dm_path *path, in ql_add_path()
164 static void ql_fail_path(struct path_selector *ps, struct dm_path *path) in ql_fail_path()
175 static int ql_reinstate_path(struct path_selector *ps, struct dm_path *path) in ql_reinstate_path()
191 static struct dm_path *ql_select_path(struct path_selector *ps, size_t nr_bytes) in ql_select_path()
223 static int ql_start_io(struct path_selector *ps, struct dm_path *path, in ql_start_io()
233 static int ql_end_io(struct path_selector *ps, struct dm_path *path, in ql_end_io()
H A Ddm-ps-round-robin.c69 static int rr_create(struct path_selector *ps, unsigned int argc, char **argv) in rr_create()
81 static void rr_destroy(struct path_selector *ps) in rr_destroy()
91 static int rr_status(struct path_selector *ps, struct dm_path *path, in rr_status()
121 static int rr_add_path(struct path_selector *ps, struct dm_path *path, in rr_add_path()
165 static void rr_fail_path(struct path_selector *ps, struct dm_path *p) in rr_fail_path()
176 static int rr_reinstate_path(struct path_selector *ps, struct dm_path *p) in rr_reinstate_path()
189 static struct dm_path *rr_select_path(struct path_selector *ps, size_t nr_bytes) in rr_select_path()
H A Ddm-ps-service-time.c52 static int st_create(struct path_selector *ps, unsigned int argc, char **argv) in st_create()
73 static void st_destroy(struct path_selector *ps) in st_destroy()
83 static int st_status(struct path_selector *ps, struct dm_path *path, in st_status()
112 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()
H A 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()
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()
461 static int hst_start_io(struct path_selector *ps, struct dm_path *path, in hst_start_io()
[all …]
H 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 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()
H A Ddm-mpath.c63 struct path_selector ps;
199 struct path_selector *ps = &pg->ps; in free_priority_group()
935 static struct pgpath *parse_path(struct dm_arg_set *as, struct path_selector *ps, in parse_path()
1681 struct path_selector *ps = &pgpath->pg->ps; in multipath_end_io()
1725 struct path_selector *ps = &pgpath->pg->ps; in multipath_end_io_bio()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/multipath-tools/files/
H A Dmultipath.conf.example62 # path_selector "round-robin 0"
79 # path_selector "round-robin 0"