Searched refs:prev (Results 1 – 5 of 5) sorted by relevance
/io_uring/ |
D | slist.h | 76 struct io_wq_work_node *prev) in wq_list_cut() argument 79 if (!prev) in wq_list_cut() 82 prev->next = last->next; in wq_list_cut() 85 list->last = prev; in wq_list_cut() 116 struct io_wq_work_node *prev) in wq_list_del() argument 118 wq_list_cut(list, node, prev); in wq_list_del()
|
D | timeout.c | 24 struct io_kiocb *prev; member 274 struct io_kiocb *prev = timeout->prev; in io_req_task_link_timeout() local 277 if (prev) { in io_req_task_link_timeout() 281 .data = prev->cqe.user_data, in io_req_task_link_timeout() 288 io_put_req(prev); in io_req_task_link_timeout() 299 struct io_kiocb *prev, *req = data->req; in io_link_timeout_fn() local 305 prev = timeout->head; in io_link_timeout_fn() 312 if (prev) { in io_link_timeout_fn() 313 io_remove_next_linked(prev); in io_link_timeout_fn() 314 if (!req_ref_inc_not_zero(prev)) in io_link_timeout_fn() [all …]
|
D | io-wq.c | 480 struct io_wq_work_node *node, *prev; in io_get_next_work() local 485 wq_list_for_each(node, prev, &acct->work_list) { in io_get_next_work() 492 wq_list_del(&acct->work_list, node, prev); in io_get_next_work() 503 wq_list_cut(&acct->work_list, &tail->list, prev); in io_get_next_work() 1017 struct io_wq_work_node *prev) in io_wqe_remove_pending() argument 1024 if (prev) in io_wqe_remove_pending() 1025 prev_work = container_of(prev, struct io_wq_work, list); in io_wqe_remove_pending() 1031 wq_list_del(&acct->work_list, &work->list, prev); in io_wqe_remove_pending() 1038 struct io_wq_work_node *node, *prev; in io_acct_cancel_pending_work() local 1042 wq_list_for_each(node, prev, &acct->work_list) { in io_acct_cancel_pending_work() [all …]
|
D | rw.c | 998 struct io_wq_work_node *pos, *start, *prev; in io_do_iopoll() local 1050 prev = start; in io_do_iopoll() 1051 wq_list_for_each_resume(pos, prev) { in io_do_iopoll() 1075 wq_list_cut(&ctx->iopoll_list, prev, start); in io_do_iopoll()
|
D | io_uring.c | 1331 struct io_wq_work_node *node, *prev; in __io_submit_flush_completions() local 1335 wq_list_for_each(node, prev, &state->compl_reqs) { in __io_submit_flush_completions()
|