Searched refs:in_cancel (Results 1 – 3 of 3) sorted by relevance
86 atomic_set(&tctx->in_cancel, 0); in io_uring_alloc_task_context()
684 if (unlikely(atomic_read(&tctx->in_cancel))) in io_put_task_remote() 1138 /* relaxed read is enough as only the task itself sets ->in_cancel */ in tctx_task_work_run() 1139 if (unlikely(atomic_read(&tctx->in_cancel))) in tctx_task_work_run() 2871 * When @in_cancel, we're in cancellation and it's racy to remove the in io_tctx_exit_cb() 2876 if (tctx && !atomic_read(&tctx->in_cancel)) in io_tctx_exit_cb() 3165 atomic_inc(&tctx->in_cancel); in io_uring_cancel_generic() 3223 * ->in_cancel set for normal exit. in io_uring_cancel_generic() 3225 atomic_dec(&tctx->in_cancel); in io_uring_cancel_generic()
93 atomic_t in_cancel; member