Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/ublk_drv.c ublk_ch_uring_cmd_local() -> ublk_apply_io_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ub | 4096-ptr_max |
| PARAM_VALUE | 1 | io | 4096-ptr_max |
| PARAM_VALUE | 1 | io->flags | 1-u32max |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 4 | auto_buf | 6688394356780969984 |
| PARAM_VALUE | 5 | buf_idx | 8447954209776881664 |
| PARAM_VALUE | 5 | *buf_idx | u16max |
| BUF_SIZE | 0 | ub | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ub | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | cmd | (-1),64 |
| BUF_SIZE | 2 | cmd | (-1),64 |
| DATA_SOURCE | 2 | cmd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->uring_lock |
drivers/block/ublk_drv.c ublk_fetch() -> ublk_apply_io_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ub | 4096-ptr_max |
| PARAM_VALUE | 1 | io | 4096-ptr_max |
| PARAM_VALUE | 1 | io->flags | 1-u32max |
| PARAM_VALUE | 2 | cmd | 4096-ptr_max |
| PARAM_VALUE | 4 | auto_buf | 7634224004323016704 |
| PARAM_VALUE | 5 | buf_idx | 0 |
| BUF_SIZE | 0 | ub | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ub | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ub->dev_info.nr_hw_queues | 1 |
| CAPPED_DATA | 0 | &ub->mutex | 1 |
| DATA_SOURCE | 0 | ub | $1 |
| DATA_SOURCE | 1 | io | $2 |
| DATA_SOURCE | 2 | cmd | $0 |
| DATA_SOURCE | 3 | buf_addr | $3 |
| PARAM_COMPARE | 0 | ub->dev_info.nr_hw_queues | != $0->nr_queue_ready |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &ub->mutex | |
| HALF_LOCKED2 | &ctx->uring_lock | ||
| TYPE_LOCK | (struct ublk_device)->mutex |