Searched refs:sqd (Results 1 – 1 of 1) sorted by relevance
1087 static void io_uring_cancel_generic(bool cancel_all, struct io_sq_data *sqd);7602 static inline bool io_sqd_events_pending(struct io_sq_data *sqd) in io_sqd_events_pending() argument7604 return READ_ONCE(sqd->state); in io_sqd_events_pending()7663 static void io_sqd_update_thread_idle(struct io_sq_data *sqd) in io_sqd_update_thread_idle() argument7668 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list) in io_sqd_update_thread_idle()7670 sqd->sq_thread_idle = sq_thread_idle; in io_sqd_update_thread_idle()7673 static bool io_sqd_handle_event(struct io_sq_data *sqd) in io_sqd_handle_event() argument7678 if (test_bit(IO_SQ_THREAD_SHOULD_PARK, &sqd->state) || in io_sqd_handle_event()7680 mutex_unlock(&sqd->lock); in io_sqd_handle_event()7684 mutex_lock(&sqd->lock); in io_sqd_handle_event()[all …]