Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
io_uring/zcrx.c io_get_cqe() -> io_get_cqe_overflow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->int_flags | 64-u32max |
| PARAM_VALUE | 0 | ctx->submit_state.cq_flush | 1 |
| PARAM_VALUE | 1 | ret | 1073359379563278336 |
| PARAM_VALUE | 2 | overflow | 0 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | ret | $1 |
| DATA_SOURCE | 3 | cqe32 | $2 |
| BIT_INFO | 3 | cqe32 | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ctx | unit_byte |
io_uring/io_uring.c __io_cqring_overflow_flush() -> io_get_cqe_overflow()
| 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->loop_step | 0-1 |
| 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 |
| PARAM_VALUE | 1 | ret | 1846772195834060800 |
| PARAM_VALUE | 2 | overflow | 1 |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx | 1 |
| CAPPED_DATA | 0 | ctx->rings_rcu | 1 |
| CAPPED_DATA | 0 | &ctx->cq_overflow_list | 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 |
| PREEMPT_ADD | <- disables preempt | ||
| USER_DATA | 0 | ctx->submit_state.need_plug | 0-1 |
| LOCK2 | 0 | &ctx->completion_lock | |
| LOCK2 | 0 | &ctx->uring_lock | |
| TYPE_LOCK | (struct io_ring_ctx)->completion_lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
io_uring/io_uring.c io_get_cqe() -> io_get_cqe_overflow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ret | 946682286491566080,1856836560930557952,3724489102555774976 |
| PARAM_VALUE | 2 | overflow | 0 |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | ret | $1 |
| DATA_SOURCE | 3 | cqe32 | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->nr_req_allocated | |
| UNITS | 0 | ctx | unit_byte |
| HALF_LOCKED2 | 0 | &ctx->completion_lock | |
| HALF_LOCKED2 | 0 | &ctx->uring_lock |