Home
last modified time | relevance | path

Searched refs:submitter_task (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/io_uring/
Dio_uring.h108 } else if (ctx->submitter_task) { in io_lockdep_assert_cq_locked()
115 if (ctx->submitter_task->flags & PF_EXITING) in io_lockdep_assert_cq_locked()
118 lockdep_assert(current == ctx->submitter_task); in io_lockdep_assert_cq_locked()
378 return likely(ctx->submitter_task == current); in io_allowed_defer_tw_run()
384 ctx->submitter_task == current); in io_allowed_run_tw()
Dmsg_ring.c73 return current != target_ctx->submitter_task; in io_msg_need_remote()
80 struct task_struct *task = READ_ONCE(ctx->submitter_task); in io_msg_exec_remote()
86 if (task_work_add(ctx->submitter_task, &msg->tw, TWA_SIGNAL)) in io_msg_exec_remote()
Dio_uring.c1033 if (req->ctx->task_complete && req->ctx->submitter_task != current) { in io_req_complete_post()
1365 wake_up_state(ctx->submitter_task, TASK_INTERRUPTIBLE); in io_req_local_work_add()
1417 if (WARN_ON_ONCE(ctx->submitter_task != current)) in __io_run_local_work()
2939 if (ctx->submitter_task) in io_ring_ctx_free()
2940 put_task_struct(ctx->submitter_task); in io_ring_ctx_free()
3001 if (!ctx->submitter_task) in io_activate_pollwq()
3009 if (task_work_add(ctx->submitter_task, &ctx->poll_wq_task_work, TWA_SIGNAL)) in io_activate_pollwq()
3411 WARN_ON_ONCE(node->ctx->submitter_task && in io_uring_cancel_generic()
3412 node->ctx->submitter_task != current); in io_uring_cancel_generic()
4041 WRITE_ONCE(ctx->submitter_task, get_task_struct(current)); in io_uring_create()
[all …]
Dtctx.c141 && ctx->submitter_task != current) in __io_uring_add_tctx_node_from_submit()
/linux-6.6.21/include/linux/
Dio_uring_types.h213 struct task_struct *submitter_task; member