Lines Matching refs:tctx
15 #include "tctx.h"
75 static int io_async_cancel_one(struct io_uring_task *tctx,
82 if (!tctx || !tctx->io_wq)
86 cancel_ret = io_wq_cancel_cb(tctx->io_wq, io_cancel_cb, cd, all);
102 int io_try_cancel(struct io_uring_task *tctx, struct io_cancel_data *cd,
108 WARN_ON_ONCE(!io_wq_current_is_worker() && tctx != current->io_uring);
110 ret = io_async_cancel_one(tctx, cd);
157 struct io_uring_task *tctx,
166 ret = io_try_cancel(tctx, cd, issue_flags);
178 struct io_uring_task *tctx = node->task->io_uring;
180 ret = io_async_cancel_one(tctx, cd);
201 struct io_uring_task *tctx = req->task->io_uring;
220 ret = __io_async_cancel(&cd, tctx, issue_flags);
238 static int __io_sync_cancel(struct io_uring_task *tctx,
254 return __io_async_cancel(cd, tctx, 0);