Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

io_uring/io-wq.c io_wq_worker_stopped() -> io_wq_current_is_worker()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

io_uring/io_uring.c io_req_post_cqe() -> io_wq_current_is_worker()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

io_uring/io_uring.c io_req_post_cqe32() -> io_wq_current_is_worker()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->uring_lock

io_uring/cancel.c io_try_cancel() -> io_wq_current_is_worker()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->uring_lock

io_uring/eventfd.c io_eventfd_trigger() -> io_wq_current_is_worker()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

io_uring/rw.c io_rw_should_reissue() -> io_wq_current_is_worker()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &epdata->dev->lock