Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
io_uring/wait.c io_cqring_wait() -> io_run_local_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->loop_step | 0 |
| PARAM_VALUE | 2 | max_events | 20-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx | 1 |
| CAPPED_DATA | 1 | min_events | 1 |
| CAPPED_DATA | 2 | max_events | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | min_events | $1 [m] |
| PARAM_COMPARE | 0 | &ctx->work_list.stub | != $0->work_list.tail |
| BIT_INFO | 0 | ctx->int_flags | 0x0,0xfffffeff |
| NOCHECK_CALL | |||
| USER_DATA | 0 | ctx->submit_state.need_plug | 0-1 |
| USER_DATA | 1 | min_events | s32min-2147483646[c] |
| USER_DATA | 2 | max_events | 20-2147483646[c] |
io_uring/wait.c io_cqring_wait() -> io_run_local_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->cq_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->cq_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->cq_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->cq_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->cq_wait_nr.counter | (-1) |
| PARAM_VALUE | 0 | ctx->loop_step | 0 |
| PARAM_VALUE | 0 | ctx->work_list.tail | 4096-ptr_max |
| 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 |
| DATA_SOURCE | 0 | ctx | $0 |
| PARAM_COMPARE | 0 | &ctx->work_list.stub | != $0->work_list.tail |
| BIT_INFO | 0 | ctx->flags | 0x0,0xffffffff |
| BIT_INFO | 0 | ctx->int_flags | 0x0,0xfffffeff |
| NOCHECK_CALL | |||
| USER_DATA | 0 | ctx->submit_state.need_plug | 0-1 |
io_uring/wait.c io_run_task_work_sig() -> io_run_local_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->cq_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->int_flags | 4-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.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->uring_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->uring_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->uring_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->uring_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->uring_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| 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 | 1 | min_events | s32max |
| PARAM_VALUE | 2 | max_events | 20 |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx->submitter_task | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| PARAM_COMPARE | 0 | &ctx->work_list.stub | != $0->work_list.tail |
io_uring/cancel.c io_uring_try_cancel_requests() -> io_run_local_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->cq_wait_nr.counter | 1 |
| PARAM_VALUE | 0 | ctx->rings | 1-u64max |
| PARAM_VALUE | 1 | min_events | s32max |
| PARAM_VALUE | 2 | max_events | s32max |
| CAPPED_DATA | 0 | ctx | 1 |
| CAPPED_DATA | 0 | ctx->submitter_task | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| BIT_INFO | 0 | ctx->flags | 0x2000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ctx | unit_byte |
| HALF_LOCKED2 | &sqd->lock |