Searched refs:link (Results 1 – 4 of 4) sorted by relevance
106 static void io_req_tw_fail_links(struct io_kiocb *link, bool *locked) in io_req_tw_fail_links() argument108 io_tw_lock(link->ctx, locked); in io_req_tw_fail_links()109 while (link) { in io_req_tw_fail_links()110 struct io_kiocb *nxt = link->link; in io_req_tw_fail_links()113 if (link->flags & REQ_F_FAIL) in io_req_tw_fail_links()114 res = link->cqe.res; in io_req_tw_fail_links()115 link->link = NULL; in io_req_tw_fail_links()116 io_req_set_res(link, res, 0); in io_req_tw_fail_links()117 io_req_task_complete(link, locked); in io_req_tw_fail_links()118 link = nxt; in io_req_tw_fail_links()[all …]
12 struct io_kiocb *link);16 struct io_kiocb *link = req->link; in io_disarm_linked_timeout() local18 if (link && link->opcode == IORING_OP_LINK_TIMEOUT) in io_disarm_linked_timeout()19 return __io_disarm_linked_timeout(req, link); in io_disarm_linked_timeout()
376 if (WARN_ON_ONCE(!req->link)) in __io_prep_linked_timeout()384 __io_req_set_refcount(req->link, 2); in __io_prep_linked_timeout()385 return req->link; in __io_prep_linked_timeout()453 struct io_kiocb *link = io_prep_linked_timeout(req); in io_queue_iowq() local474 if (link) in io_queue_iowq()475 io_queue_linked_timeout(link); in io_queue_iowq()843 if (req->link) { in io_req_complete_post()844 io_req_task_queue(req->link); in io_req_complete_post()845 req->link = NULL; in io_req_complete_post()889 req->link = NULL; in io_preinit_req()[all …]
91 for (pos = (head); pos; pos = pos->link)