Home
last modified time | relevance | path

Searched refs:valid_paths (Results 1 – 3 of 3) sorted by relevance

/drivers/md/
Ddm-queue-length.c30 struct list_head valid_paths; member
46 INIT_LIST_HEAD(&s->valid_paths); in alloc_selector()
78 ql_free_paths(&s->valid_paths); in ql_destroy()
145 list_add_tail(&pi->list, &s->valid_paths); in ql_add_path()
163 list_move_tail(&pi->list, &s->valid_paths); in ql_reinstate_path()
177 if (list_empty(&s->valid_paths)) in ql_select_path()
181 list_move_tail(s->valid_paths.next, &s->valid_paths); in ql_select_path()
183 list_for_each_entry(pi, &s->valid_paths, list) { in ql_select_path()
Ddm-round-robin.c47 struct list_head valid_paths; member
56 INIT_LIST_HEAD(&s->valid_paths); in alloc_selector()
79 free_paths(&s->valid_paths); in rr_destroy()
142 list_add_tail(&pi->list, &s->valid_paths); in rr_add_path()
160 list_move(&pi->list, &s->valid_paths); in rr_reinstate_path()
171 if (!list_empty(&s->valid_paths)) { in rr_select_path()
172 pi = list_entry(s->valid_paths.next, struct path_info, list); in rr_select_path()
173 list_move_tail(&pi->list, &s->valid_paths); in rr_select_path()
Ddm-service-time.c25 struct list_head valid_paths; member
42 INIT_LIST_HEAD(&s->valid_paths); in alloc_selector()
74 free_paths(&s->valid_paths); in st_destroy()
158 list_add_tail(&pi->list, &s->valid_paths); in st_add_path()
176 list_move_tail(&pi->list, &s->valid_paths); in st_reinstate_path()
264 if (list_empty(&s->valid_paths)) in st_select_path()
268 list_move_tail(s->valid_paths.next, &s->valid_paths); in st_select_path()
270 list_for_each_entry(pi, &s->valid_paths, list) in st_select_path()