Searched refs:path_selector (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/md/ |
D | dm-path-selector.h | 24 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, 58 struct dm_path *(*select_path) (struct path_selector *ps, 65 void (*fail_path) (struct path_selector *ps, struct dm_path *p); 70 int (*reinstate_path) (struct path_selector *ps, struct dm_path *p); 76 int (*status) (struct path_selector *ps, struct dm_path *path, 79 int (*start_io) (struct path_selector *ps, struct dm_path *path, 81 int (*end_io) (struct path_selector *ps, struct dm_path *path,
|
D | dm-queue-length.c | 53 static int ql_create(struct path_selector *ps, unsigned argc, char **argv) in ql_create() 74 static void ql_destroy(struct path_selector *ps) in ql_destroy() 84 static int ql_status(struct path_selector *ps, struct dm_path *path, in ql_status() 109 static int ql_add_path(struct path_selector *ps, struct dm_path *path, in ql_add_path() 150 static void ql_fail_path(struct path_selector *ps, struct dm_path *path) in ql_fail_path() 158 static int ql_reinstate_path(struct path_selector *ps, struct dm_path *path) in ql_reinstate_path() 171 static struct dm_path *ql_select_path(struct path_selector *ps, in ql_select_path() 200 static int ql_start_io(struct path_selector *ps, struct dm_path *path, in ql_start_io() 210 static int ql_end_io(struct path_selector *ps, struct dm_path *path, in ql_end_io()
|
D | dm-round-robin.c | 63 static int rr_create(struct path_selector *ps, unsigned argc, char **argv) in rr_create() 75 static void rr_destroy(struct path_selector *ps) in rr_destroy() 85 static int rr_status(struct path_selector *ps, struct dm_path *path, in rr_status() 111 static int rr_add_path(struct path_selector *ps, struct dm_path *path, in rr_add_path() 147 static void rr_fail_path(struct path_selector *ps, struct dm_path *p) in rr_fail_path() 155 static int rr_reinstate_path(struct path_selector *ps, struct dm_path *p) in rr_reinstate_path() 165 static struct dm_path *rr_select_path(struct path_selector *ps, in rr_select_path()
|
D | dm-service-time.c | 49 static int st_create(struct path_selector *ps, unsigned argc, char **argv) in st_create() 70 static void st_destroy(struct path_selector *ps) in st_destroy() 80 static int st_status(struct path_selector *ps, struct dm_path *path, in st_status() 106 static int st_add_path(struct path_selector *ps, struct dm_path *path, in st_add_path() 163 static void st_fail_path(struct path_selector *ps, struct dm_path *path) in st_fail_path() 171 static int st_reinstate_path(struct path_selector *ps, struct dm_path *path) in st_reinstate_path() 258 static struct dm_path *st_select_path(struct path_selector *ps, in st_select_path() 282 static int st_start_io(struct path_selector *ps, struct dm_path *path, in st_start_io() 292 static int st_end_io(struct path_selector *ps, struct dm_path *path, in st_end_io()
|
D | dm-mpath.c | 53 struct path_selector ps; 176 struct path_selector *ps = &pg->ps; in free_priority_group() 553 static struct pgpath *parse_path(struct dm_arg_set *as, struct path_selector *ps, in parse_path() 1311 struct path_selector *ps; in multipath_end_io()
|