Searched refs:prev (Results 1 – 3 of 3) sorted by relevance
/io_uring/ |
D | io-wq.c | 471 struct io_wq_work_node *node, *prev; in io_get_next_work() local 476 wq_list_for_each(node, prev, &acct->work_list) { in io_get_next_work() 483 wq_list_del(&acct->work_list, node, prev); in io_get_next_work() 494 wq_list_cut(&acct->work_list, &tail->list, prev); in io_get_next_work() 1004 struct io_wq_work_node *prev) in io_wqe_remove_pending() argument 1011 if (prev) in io_wqe_remove_pending() 1012 prev_work = container_of(prev, struct io_wq_work, list); in io_wqe_remove_pending() 1018 wq_list_del(&acct->work_list, &work->list, prev); in io_wqe_remove_pending() 1026 struct io_wq_work_node *node, *prev; in io_acct_cancel_pending_work() local 1029 wq_list_for_each(node, prev, &acct->work_list) { in io_acct_cancel_pending_work() [all …]
|
D | io-wq.h | 59 struct io_wq_work_node *prev) in wq_list_cut() argument 62 if (!prev) in wq_list_cut() 65 prev->next = last->next; in wq_list_cut() 68 list->last = prev; in wq_list_cut() 74 struct io_wq_work_node *prev) in wq_list_del() argument 76 wq_list_cut(list, node, prev); in wq_list_del()
|
D | io_uring.c | 546 struct io_kiocb *prev; member 6456 entry = ctx->timeout_list.prev; in io_timeout() 7175 struct io_kiocb *prev = req->timeout.prev; in io_req_task_link_timeout() local 7178 if (prev) { in io_req_task_link_timeout() 7180 ret = io_try_cancel_userdata(req, prev->user_data); in io_req_task_link_timeout() 7182 io_put_req(prev); in io_req_task_link_timeout() 7192 struct io_kiocb *prev, *req = data->req; in io_link_timeout_fn() local 7197 prev = req->timeout.head; in io_link_timeout_fn() 7204 if (prev) { in io_link_timeout_fn() 7205 io_remove_next_linked(prev); in io_link_timeout_fn() [all …]
|