Searched refs:task_list (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/kernel/sched/ |
D | swait.c | 11 INIT_LIST_HEAD(&q->task_list); in __init_swait_queue_head() 25 if (list_empty(&q->task_list)) in swake_up_locked() 28 curr = list_first_entry(&q->task_list, typeof(*curr), task_list); in swake_up_locked() 30 list_del_init(&curr->task_list); in swake_up_locked() 43 while (!list_empty(&q->task_list)) in swake_up_all_locked() 67 list_splice_init(&q->task_list, &tmp); in swake_up_all() 69 curr = list_first_entry(&tmp, typeof(*curr), task_list); in swake_up_all() 72 list_del_init(&curr->task_list); in swake_up_all() 87 if (list_empty(&wait->task_list)) in __prepare_to_swait() 88 list_add_tail(&wait->task_list, &q->task_list); in __prepare_to_swait() [all …]
|
/linux-5.19.10/include/linux/ |
D | swait.h | 45 struct list_head task_list; member 50 struct list_head task_list; member 55 .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); \
|
/linux-5.19.10/io_uring/ |
D | io_uring.c | 548 struct io_wq_work_list task_list; member 2737 node2 = tctx->task_list.first; in tctx_task_work() 2738 INIT_WQ_LIST(&tctx->task_list); in tctx_task_work() 2752 if (data_race(!tctx->task_list.first) && in tctx_task_work() 2792 node = wq_list_merge(&tctx->prio_task_list, &tctx->task_list); in __io_req_task_work_add() 2808 __io_req_task_work_add(req, tctx, &tctx->task_list); in io_req_task_work_add() 2818 __io_req_task_work_add(req, tctx, &tctx->task_list); in io_req_task_prio_work_add() 9953 INIT_WQ_LIST(&tctx->task_list); in io_uring_alloc_task_context()
|