Lines Matching refs:task_list
12 INIT_LIST_HEAD(&q->task_list); in __init_swait_queue_head()
26 if (list_empty(&q->task_list)) in swake_up_locked()
29 curr = list_first_entry(&q->task_list, typeof(*curr), task_list); in swake_up_locked()
31 list_del_init(&curr->task_list); in swake_up_locked()
55 list_splice_init(&q->task_list, &tmp); in swake_up_all()
57 curr = list_first_entry(&tmp, typeof(*curr), task_list); in swake_up_all()
60 list_del_init(&curr->task_list); in swake_up_all()
75 if (list_empty(&wait->task_list)) in __prepare_to_swait()
76 list_add_tail(&wait->task_list, &q->task_list); in __prepare_to_swait()
101 list_del_init(&wait->task_list); in prepare_to_swait_event()
116 if (!list_empty(&wait->task_list)) in __finish_swait()
117 list_del_init(&wait->task_list); in __finish_swait()
126 if (!list_empty_careful(&wait->task_list)) { in finish_swait()
128 list_del_init(&wait->task_list); in finish_swait()