Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm-path-selector.h47 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,
Ddm-queue-length.c37 struct dm_path *path;
86 static int ql_status(struct path_selector *ps, struct dm_path *path, in ql_status()
111 static int ql_add_path(struct path_selector *ps, struct dm_path *path, in ql_add_path()
160 static void ql_fail_path(struct path_selector *ps, struct dm_path *path) in ql_fail_path()
171 static int ql_reinstate_path(struct path_selector *ps, struct dm_path *path) in ql_reinstate_path()
187 static struct dm_path *ql_select_path(struct path_selector *ps, size_t nr_bytes) in ql_select_path()
191 struct dm_path *ret = NULL; in ql_select_path()
219 static int ql_start_io(struct path_selector *ps, struct dm_path *path, in ql_start_io()
229 static int ql_end_io(struct path_selector *ps, struct dm_path *path, in ql_end_io()
Ddm-service-time.c32 struct dm_path *path;
82 static int st_status(struct path_selector *ps, struct dm_path *path, in st_status()
108 static int st_add_path(struct path_selector *ps, struct dm_path *path, in st_add_path()
173 static void st_fail_path(struct path_selector *ps, struct dm_path *path) in st_fail_path()
184 static int st_reinstate_path(struct path_selector *ps, struct dm_path *path) in st_reinstate_path()
274 static struct dm_path *st_select_path(struct path_selector *ps, size_t nr_bytes) in st_select_path()
278 struct dm_path *ret = NULL; in st_select_path()
301 static int st_start_io(struct path_selector *ps, struct dm_path *path, in st_start_io()
311 static int st_end_io(struct path_selector *ps, struct dm_path *path, in st_end_io()
Ddm-round-robin.c28 struct dm_path *path;
87 static int rr_status(struct path_selector *ps, struct dm_path *path, in rr_status()
113 static int rr_add_path(struct path_selector *ps, struct dm_path *path, in rr_add_path()
157 static void rr_fail_path(struct path_selector *ps, struct dm_path *p) in rr_fail_path()
168 static int rr_reinstate_path(struct path_selector *ps, struct dm_path *p) in rr_reinstate_path()
181 static struct dm_path *rr_select_path(struct path_selector *ps, size_t nr_bytes) in rr_select_path()
Ddm-mpath.h14 struct dm_path { struct
20 void dm_pg_init_complete(struct dm_path *path, unsigned err_flags); argument
Ddm-mpath.c40 struct dm_path path;
348 struct dm_path *path; in choose_path_in_pg()