Lines Matching defs:sqd
313 struct io_sq_data *sqd = NULL;
324 sqd = ctx->sq_data;
325 if (sqd) {
327 * Observe the correct sqd->lock -> ctx->uring_lock
331 refcount_inc(&sqd->refs);
333 mutex_lock(&sqd->lock);
335 if (sqd->thread)
336 tctx = sqd->thread->io_uring;
357 if (sqd) {
358 mutex_unlock(&sqd->lock);
359 io_put_sq_data(sqd);
366 if (sqd)
383 if (sqd) {
384 mutex_unlock(&sqd->lock);
385 io_put_sq_data(sqd);