Home
last modified time | relevance | path

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

/drivers/md/
Ddm-ps-round-robin.c47 struct list_head valid_paths; member
57 INIT_LIST_HEAD(&s->valid_paths); in alloc_selector()
81 free_paths(&s->valid_paths); in rr_destroy()
155 list_add_tail(&pi->list, &s->valid_paths); in rr_add_path()
179 list_move(&pi->list, &s->valid_paths); in rr_reinstate_path()
192 if (!list_empty(&s->valid_paths)) { in rr_select_path()
193 pi = list_entry(s->valid_paths.next, struct path_info, list); in rr_select_path()
194 list_move_tail(&pi->list, &s->valid_paths); in rr_select_path()
Ddm-ps-queue-length.c30 struct list_head valid_paths; member
47 INIT_LIST_HEAD(&s->valid_paths); in alloc_selector()
80 ql_free_paths(&s->valid_paths); in ql_destroy()
157 list_add_tail(&pi->list, &s->valid_paths); in ql_add_path()
181 list_move_tail(&pi->list, &s->valid_paths); in ql_reinstate_path()
198 if (list_empty(&s->valid_paths)) in ql_select_path()
201 list_for_each_entry(pi, &s->valid_paths, list) { in ql_select_path()
214 list_move_tail(&best->list, &s->valid_paths); in ql_select_path()
Ddm-ps-service-time.c25 struct list_head valid_paths; member
43 INIT_LIST_HEAD(&s->valid_paths); in alloc_selector()
76 free_paths(&s->valid_paths); in st_destroy()
169 list_add_tail(&pi->list, &s->valid_paths); in st_add_path()
193 list_move_tail(&pi->list, &s->valid_paths); in st_reinstate_path()
284 if (list_empty(&s->valid_paths)) in st_select_path()
287 list_for_each_entry(pi, &s->valid_paths, list) in st_select_path()
295 list_move_tail(&best->list, &s->valid_paths); in st_select_path()
Ddm-ps-historical-service-time.c45 struct list_head valid_paths; member
135 INIT_LIST_HEAD(&s->valid_paths); in alloc_selector()
231 free_paths(&s->valid_paths); in hst_destroy()
312 list_add_tail(&pi->list, &s->valid_paths); in hst_add_path()
338 list_move_tail(&pi->list, &s->valid_paths); in hst_reinstate_path()
440 if (list_empty(&s->valid_paths)) in hst_select_path()
443 list_for_each_entry(pi, &s->valid_paths, list) { in hst_select_path()
452 list_move_tail(&best->list, &s->valid_paths); in hst_select_path()