Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/ !
Ddm-path-selector.h62 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.c37 struct dm_path *path;
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()
194 struct dm_path *ret = NULL; 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-service-time.c32 struct dm_path *path;
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()
281 struct dm_path *ret = NULL; 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()
Ddm-ps-round-robin.c28 struct dm_path *path;
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.c15 struct dm_path *path;
43 static int ioa_add_path(struct path_selector *ps, struct dm_path *path, in ioa_add_path()
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-ps-historical-service-time.c56 struct dm_path *path;
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()
430 static struct dm_path *hst_select_path(struct path_selector *ps, in hst_select_path()
436 struct dm_path *ret = NULL; in hst_select_path()
461 static int hst_start_io(struct path_selector *ps, struct dm_path *path, in hst_start_io()
492 static int hst_end_io(struct path_selector *ps, struct dm_path *path, in hst_end_io()
Ddm-mpath.h14 struct dm_path { struct
20 void dm_pg_init_complete(struct dm_path *path, unsigned err_flags); argument
Ddm-mpath.c44 struct dm_path path;
375 struct dm_path *path; in choose_path_in_pg()