Lines Matching refs:cancel_all
145 bool cancel_all);
200 bool cancel_all) in io_match_task_safe() argument
206 if (cancel_all) in io_match_task_safe()
2835 bool cancel_all) in io_cancel_defer_files() argument
2842 if (io_match_task_safe(de->req, task, cancel_all)) { in io_cancel_defer_files()
2886 bool cancel_all) in io_uring_try_cancel_requests() argument
2888 struct io_task_cancel cancel = { .task = task, .all = cancel_all, }; in io_uring_try_cancel_requests()
2910 if ((!(ctx->flags & IORING_SETUP_SQPOLL) && cancel_all) || in io_uring_try_cancel_requests()
2920 ret |= io_cancel_defer_files(ctx, task, cancel_all); in io_uring_try_cancel_requests()
2922 ret |= io_poll_remove_all(ctx, task, cancel_all); in io_uring_try_cancel_requests()
2924 ret |= io_kill_timeouts(ctx, task, cancel_all); in io_uring_try_cancel_requests()
2941 __cold void io_uring_cancel_generic(bool cancel_all, struct io_sq_data *sqd) in io_uring_cancel_generic() argument
2961 inflight = tctx_inflight(tctx, !cancel_all); in io_uring_cancel_generic()
2974 current, cancel_all); in io_uring_cancel_generic()
2980 cancel_all); in io_uring_cancel_generic()
2997 if (inflight == tctx_inflight(tctx, !cancel_all)) in io_uring_cancel_generic()
3003 if (cancel_all) { in io_uring_cancel_generic()
3014 void __io_uring_cancel(bool cancel_all) in __io_uring_cancel() argument
3016 io_uring_cancel_generic(cancel_all, NULL); in __io_uring_cancel()