Searched refs:io_wq_current_is_worker (Results 1 – 6 of 6) sorted by relevance
81 static inline bool io_wq_current_is_worker(void) in io_wq_current_is_worker() function
72 return !ev_fd->eventfd_async || io_wq_current_is_worker(); in io_eventfd_trigger()
111 WARN_ON_ONCE(!io_wq_current_is_worker() && tctx != current->io_uring); in io_try_cancel()
202 if (WARN_ON_ONCE(!io_wq_current_is_worker())) in io_wq_worker_stopped()
506 if ((req->flags & REQ_F_NOWAIT) || (io_wq_current_is_worker() && in io_rw_should_reissue()
866 lockdep_assert(!io_wq_current_is_worker()); in io_req_post_cqe()890 lockdep_assert(!io_wq_current_is_worker()); in io_req_post_cqe32()