Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
io_uring/rsrc.c __io_sqe_buffers_update() -> io_reset_rsrc_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->buf_table.nr | 1-u32max |
| 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.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 | data->nr | 1-u32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctx->buf_table.nr | 1 |
| CAPPED_DATA | 0 | ctx->submitter_task | 1 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| NOSPEC | 2 | index | |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &ctx->uring_lock | |
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
io_uring/rsrc.c __io_sqe_files_update() -> io_reset_rsrc_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->file_table.data.nr | 1-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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | data->nr | 1-u32max |
| PARAM_VALUE | 2 | index | 0-2147483646 |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | ctx->file_table.data.nr | 1 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| NOSPEC | 2 | index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
| UNITS | 2 | index | unit_array_size |
| HALF_LOCKED2 | 0 | &ctx->uring_lock |
io_uring/filetable.c io_fixed_fd_remove() -> io_reset_rsrc_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->file_table.data.nr | 1-u32max |
| PARAM_VALUE | 0 | ctx->io_ev_fd->last_cq_tail | 0-4294967295 |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | data->nr | 1-u32max |
| PARAM_VALUE | 2 | index | 0-4294967294 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 2 | index | $1 |
| PARAM_COMPARE | 0 | ctx->file_table.data.nr | > $2 |
| PARAM_COMPARE | 2 | index | < $0->file_table.data.nr |
| 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 |
| UNITS | 2 | index | unit_array_size |
io_uring/filetable.c io_install_fixed_file() -> io_reset_rsrc_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->file_table.data.nr | 1-u32max |
| PARAM_VALUE | 1 | data->nr | 1-u32max |
| PARAM_VALUE | 2 | index | 0-4294967293 |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 2 | index | $2 |
| PARAM_COMPARE | 0 | ctx->file_table.data.nr | > $2 |
| PARAM_COMPARE | 2 | index | < $0->file_table.data.nr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
| UNITS | 2 | index | unit_array_size |
| HALF_LOCKED2 | 0 | &ctx->uring_lock |