Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

io_uring/wait.c io_cqring_wait() -> io_allowed_run_tw()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
CAPPED_DATA 0 ctx 1
DATA_SOURCE 0 ctx $0
BIT_INFO 0 ctx->int_flags 0x0,0xfffffeff
USER_DATA 0 ctx->submit_state.need_plug 0-1

io_uring/io_uring.c io_iopoll_check() -> io_allowed_run_tw()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
CAPPED_DATA 0 ctx 1
DATA_SOURCE 0 ctx $0
BIT_INFO 0 ctx->int_flags 0x100,0xffffffffffffffff
USER_DATA 0 ctx->submit_state.need_plug 0-1
LOCK2 0 &ctx->uring_lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/loop.c io_run_loop() -> io_allowed_run_tw()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
DATA_SOURCE 0 ctx $0