Home
last modified time | relevance | path

Searched refs:task_list (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/kernel/sched/
Dswait.c11 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-6.1.9/include/linux/
Dswait.h45 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); \
Dio_uring_types.h66 struct llist_head task_list; member
/linux-6.1.9/io_uring/
Dtctx.c89 init_llist_head(&tctx->task_list); in io_uring_alloc_task_context()
Dio_uring.c1079 struct llist_node *node = io_llist_xchg(&tctx->task_list, &fake); in tctx_task_work()
1083 node = io_llist_cmpxchg(&tctx->task_list, &fake, NULL); in tctx_task_work()
1086 node = io_llist_xchg(&tctx->task_list, &fake); in tctx_task_work()
1088 node = io_llist_cmpxchg(&tctx->task_list, &fake, NULL); in tctx_task_work()
1140 if (!llist_add(&req->io_task_work.node, &tctx->task_list)) in __io_req_task_work_add()
1149 node = llist_del_all(&tctx->task_list); in __io_req_task_work_add()