Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

io_uring/io_uring.c __io_cqring_overflow_flush() -> io_cq_lock()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->io_ev_fd->last_cq_tail 0-4294967295
PARAM_VALUE 0 ctx->uring_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->uring_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->uring_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctx->uring_lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
CAPPED_DATA 0 ctx 1
DATA_SOURCE 0 ctx $0
NOCHECK_CALL
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/io_uring.c __io_cqring_overflow_flush() -> io_cq_lock()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->completion_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->io_ev_fd->last_cq_tail 0-4294967295
PARAM_VALUE 0 ctx->io_ev_fd->ops.counter 0-s32max
PARAM_VALUE 0 ctx->io_ev_fd->rcu.next 0
PARAM_VALUE 0 ctx->io_ev_fd->refs.refs.counter s32min-s32max
PARAM_VALUE 0 ctx->timeout_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->timeout_lock.owner (-1)
PARAM_VALUE 0 ctx->timeout_lock.owner_cpu u32max
PARAM_VALUE 0 ctx->uring_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->uring_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->uring_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->uring_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->uring_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->uring_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctx->uring_lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
CAPPED_DATA 0 ctx 1
CAPPED_DATA 0 &ctx->cq_overflow_list 1
CAPPED_DATA 0 &ctx->uring_lock 1
DATA_SOURCE 0 ctx $0
PARAM_COMPARE 0 &ctx->cq_overflow_list != $0->cq_overflow_list.next
BIT_INFO 0 ctx->flags 0x0,0xffffffff
NOCHECK_CALL
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/io_uring.c io_post_aux_cqe() -> io_cq_lock()

Type Parameter Key Value
BUF_SIZE 0 ctx s32min-(-1),1-s32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 ctx->buf_table.nr 1-16384[c]
USER_DATA 0 ctx->file_table.data.nr 1-1048576[c]
USER_DATA 0 ctx->submit_state.need_plug 0-1
USER_DATA 0 ctx->submit_state.submit_nr 1-u16max[c]
NO_OVERFLOW_SIMPLE 0 ctx->buf_table.nr
NO_OVERFLOW_SIMPLE 0 ctx->nr_req_allocated
UNITS 0 ctx unit_byte
HALF_LOCKED2 0 &ctx->uring_lock

io_uring/io_uring.c io_req_complete_post() -> io_cq_lock()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
BIT_INFO 0 ctx->int_flags 0x0,0xffffff7f
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 ctx->submit_state.need_plug 0-1
USER_DATA 0 ctx->submit_state.submit_nr 1-u16max[c]
UNITS 0 ctx unit_byte