Lines Matching defs:path_selector
25 struct path_selector {
56 int (*create)(struct path_selector *ps, unsigned int argc, char **argv);
57 void (*destroy)(struct path_selector *ps);
63 int (*add_path)(struct path_selector *ps, struct dm_path *path,
70 struct dm_path *(*select_path)(struct path_selector *ps, size_t nr_bytes);
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,