Lines Matching refs:sqd
2986 struct io_sq_data *sqd = ctx->sq_data;
2989 io_sq_thread_park(sqd);
2990 tsk = sqd->thread;
2994 io_sq_thread_unpark(sqd);
3197 * requests. @sqd should be not-null IFF it's an SQPOLL thread cancellation.
3199 __cold void io_uring_cancel_generic(bool cancel_all, struct io_sq_data *sqd)
3206 WARN_ON_ONCE(sqd && sqd->thread != current);
3223 if (!sqd) {
3235 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list)
4060 struct io_sq_data *sqd = NULL;
4071 sqd = ctx->sq_data;
4072 if (sqd) {
4074 * Observe the correct sqd->lock -> ctx->uring_lock
4078 refcount_inc(&sqd->refs);
4080 mutex_lock(&sqd->lock);
4082 if (sqd->thread)
4083 tctx = sqd->thread->io_uring;
4104 if (sqd) {
4105 mutex_unlock(&sqd->lock);
4106 io_put_sq_data(sqd);
4113 if (sqd)
4130 if (sqd) {
4131 mutex_unlock(&sqd->lock);
4132 io_put_sq_data(sqd);