Searched refs:dm_path (Results 1 – 8 of 8) sorted by relevance
/drivers/md/ |
D | dm-path-selector.h | 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,
|
D | dm-ps-queue-length.c | 37 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()
|
D | dm-ps-service-time.c | 32 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() 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() 280 struct dm_path *ret = NULL; 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()
|
D | dm-ps-round-robin.c | 28 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()
|
D | dm-ps-historical-service-time.c | 56 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()
|
D | dm-ps-io-affinity.c | 15 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()
|
D | dm-mpath.h | 14 struct dm_path { struct 20 void dm_pg_init_complete(struct dm_path *path, unsigned int err_flags); argument
|
D | dm-mpath.c | 44 struct dm_path path; 375 struct dm_path *path; in choose_path_in_pg()
|