Searched refs:io_wq_current_is_worker (Results 1 – 2 of 2) sorted by relevance
155 static inline bool io_wq_current_is_worker(void) in io_wq_current_is_worker() function
1590 return !ctx->eventfd_async || io_wq_current_is_worker(); in io_should_trigger_evfd()2613 if ((req->flags & REQ_F_NOWAIT) || (io_wq_current_is_worker() && in io_rw_should_reissue()2723 const bool in_async = io_wq_current_is_worker(); in io_iopoll_req_issued()6260 WARN_ON_ONCE(!io_wq_current_is_worker() && req->task != current); in io_try_cancel_userdata()