Lines Matching refs:sqd
3089 struct io_sq_data *sqd = ctx->sq_data;
3092 io_sq_thread_park(sqd);
3093 tsk = sqd->thread;
3097 io_sq_thread_unpark(sqd);
3323 * requests. @sqd should be not-null IFF it's an SQPOLL thread cancellation.
3325 __cold void io_uring_cancel_generic(bool cancel_all, struct io_sq_data *sqd)
3334 WARN_ON_ONCE(sqd && sqd->thread != current);
3351 if (!sqd) {
3360 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list)
4287 struct io_sq_data *sqd = NULL;
4298 sqd = ctx->sq_data;
4299 if (sqd) {
4301 * Observe the correct sqd->lock -> ctx->uring_lock
4305 refcount_inc(&sqd->refs);
4307 mutex_lock(&sqd->lock);
4309 if (sqd->thread)
4310 tctx = sqd->thread->io_uring;
4331 if (sqd) {
4332 mutex_unlock(&sqd->lock);
4333 io_put_sq_data(sqd);
4340 if (sqd)
4357 if (sqd) {
4358 mutex_unlock(&sqd->lock);
4359 io_put_sq_data(sqd);