Lines Matching defs:tctx
15 #include "tctx.h"
76 static int io_async_cancel_one(struct io_uring_task *tctx,
83 if (!tctx || !tctx->io_wq)
87 cancel_ret = io_wq_cancel_cb(tctx->io_wq, io_cancel_cb, cd, all);
103 int io_try_cancel(struct io_uring_task *tctx, struct io_cancel_data *cd,
109 WARN_ON_ONCE(!io_wq_current_is_worker() && tctx != current->io_uring);
111 ret = io_async_cancel_one(tctx, cd);
166 struct io_uring_task *tctx,
175 ret = io_try_cancel(tctx, cd, issue_flags);
187 struct io_uring_task *tctx = node->task->io_uring;
189 ret = io_async_cancel_one(tctx, cd);
210 struct io_uring_task *tctx = req->task->io_uring;
229 ret = __io_async_cancel(&cd, tctx, issue_flags);
247 static int __io_sync_cancel(struct io_uring_task *tctx,
263 return __io_async_cancel(cd, tctx, 0);