Searched refs:path_selector (Results 1 - 5 of 5) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/
H A Ddm-path-selector.h24 struct path_selector { struct
40 int (*create) (struct path_selector *ps, unsigned argc, char **argv);
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 *p
[all...]
H A Ddm-round-robin.c62 static int rr_create(struct path_selector *ps, unsigned argc, char **argv)
74 static void rr_destroy(struct path_selector *ps)
84 static int rr_status(struct path_selector *ps, struct dm_path *path,
110 static int rr_add_path(struct path_selector *ps, struct dm_path *path,
145 static void rr_fail_path(struct path_selector *ps, struct dm_path *p)
153 static int rr_reinstate_path(struct path_selector *ps, struct dm_path *p)
163 static struct dm_path *rr_select_path(struct path_selector *ps,
H A Ddm-queue-length.c53 static int ql_create(struct path_selector *ps, unsigned argc, char **argv)
74 static void ql_destroy(struct path_selector *ps)
84 static int ql_status(struct path_selector *ps, struct dm_path *path,
109 static int ql_add_path(struct path_selector *ps, struct dm_path *path,
149 static void ql_fail_path(struct path_selector *ps, struct dm_path *path)
157 static int ql_reinstate_path(struct path_selector *ps, struct dm_path *path)
170 static struct dm_path *ql_select_path(struct path_selector *ps,
199 static int ql_start_io(struct path_selector *ps, struct dm_path *path,
209 static int ql_end_io(struct path_selector *ps, struct dm_path *path,
H A Ddm-service-time.c48 static int st_create(struct path_selector *ps, unsigned argc, char **argv)
69 static void st_destroy(struct path_selector *ps)
79 static int st_status(struct path_selector *ps, struct dm_path *path,
105 static int st_add_path(struct path_selector *ps, struct dm_path *path,
161 static void st_fail_path(struct path_selector *ps, struct dm_path *path)
169 static int st_reinstate_path(struct path_selector *ps, struct dm_path *path)
256 static struct dm_path *st_select_path(struct path_selector *ps,
280 static int st_start_io(struct path_selector *ps, struct dm_path *path,
290 static int st_end_io(struct path_selector *ps, struct dm_path *path,
H A Ddm-mpath.c49 struct path_selector ps;
170 struct path_selector *ps = &pg->ps;
582 static struct pgpath *parse_path(struct arg_set *as, struct path_selector *ps,
1284 struct path_selector *ps;

Completed in 64 milliseconds