Searched refs:task_list (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/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-6.6.21/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); \
|
D | io_uring_types.h | 66 struct llist_head task_list; member
|
/linux-6.6.21/io_uring/ |
D | tctx.c | 89 init_llist_head(&tctx->task_list); in io_uring_alloc_task_context()
|
D | io_uring.c | 1250 struct llist_node *node = llist_del_all(&tctx->task_list); in io_fallback_tw() 1294 node = io_llist_xchg(&tctx->task_list, &fake); in tctx_task_work() 1298 if (READ_ONCE(tctx->task_list.first) != &fake) in tctx_task_work() 1302 if (READ_ONCE(tctx->task_list.first) != &fake) in tctx_task_work() 1305 node = io_llist_cmpxchg(&tctx->task_list, &fake, NULL); in tctx_task_work() 1374 if (!llist_add(&req->io_task_work.node, &tctx->task_list)) in io_req_normal_work_add()
|