Lines Matching refs:thread
286 struct task_struct *thread; member
7765 sqd->thread = NULL; in io_sq_thread()
8215 WARN_ON_ONCE(sqd->thread == current); in io_sq_thread_unpark()
8230 WARN_ON_ONCE(sqd->thread == current); in io_sq_thread_park()
8235 if (sqd->thread) in io_sq_thread_park()
8236 wake_up_process(sqd->thread); in io_sq_thread_park()
8241 WARN_ON_ONCE(sqd->thread == current); in io_sq_thread_stop()
8246 if (sqd->thread) in io_sq_thread_stop()
8247 wake_up_process(sqd->thread); in io_sq_thread_stop()
8931 ret = (attached && !sqd->thread) ? -ENXIO : 0; in io_sq_offload_create()
8958 sqd->thread = tsk; in io_sq_offload_create()
9697 tsk = sqd->thread; in io_ring_exit_work()
9908 (ctx->sq_data && ctx->sq_data->thread == current)) { in io_uring_try_cancel_requests()
10046 WARN_ON_ONCE(sqd && sqd->thread != current); in io_uring_cancel_generic()
10270 if (unlikely(ctx->sq_data->thread == NULL)) { in SYSCALL_DEFINE6()
10375 if (sq->thread) { in __io_uring_show_fdinfo()
10376 sq_pid = task_pid_nr(sq->thread); in __io_uring_show_fdinfo()
10377 sq_cpu = task_cpu(sq->thread); in __io_uring_show_fdinfo()
10987 if (sqd->thread) in io_register_iowq_max_workers()
10988 tctx = sqd->thread->io_uring; in io_register_iowq_max_workers()