Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

io_uring/loop.c __io_run_loop() -> io_loop_nr_cqes()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 1 lp 4536950906619875328
PARAM_VALUE 1 lp->cq_wait_idx 0
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
DATA_SOURCE 0 ctx $0
LOCK2 0 &ctx->uring_lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/loop.c io_loop_wait() -> io_loop_nr_cqes()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->rings 4096-ptr_max
PARAM_VALUE 1 lp 4536950906619875328
PARAM_VALUE 1 lp->cq_wait_idx 0
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
DATA_SOURCE 0 ctx $0
DATA_SOURCE 1 lp $1
PARAM_COMPARE 0 &ctx->work_list.stub == $0->work_list.tail
LOCK2 0 &ctx->uring_lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock