Searched refs:task_list (Results 1 – 2 of 2) sorted by relevance
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()44 while (!list_empty(&q->task_list)) in swake_up_all_locked()68 list_splice_init(&q->task_list, &tmp); in swake_up_all()70 curr = list_first_entry(&tmp, typeof(*curr), task_list); in swake_up_all()73 list_del_init(&curr->task_list); in swake_up_all()88 if (list_empty(&wait->task_list)) in __prepare_to_swait()89 list_add_tail(&wait->task_list, &q->task_list); in __prepare_to_swait()[all …]
45 struct list_head task_list; member50 struct list_head task_list; member55 .task_list = LIST_HEAD_INIT((name).task_list), \63 .task_list = LIST_HEAD_INIT((name).task_list), \123 return !list_empty(&wq->task_list); in swait_active()164 INIT_LIST_HEAD(&__wait.task_list); \