Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/ublk_drv.c ublk_batch_commit_io() -> ublk_need_complete_req()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ub | 4096-ptr_max |
| PARAM_VALUE | 0 | ub->dev_info.queue_depth | 1-u16max |
| PARAM_VALUE | 1 | io | 4096-ptr_max |
| PARAM_VALUE | 1 | io->cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | io->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | io->req | 4096-ptr_max |
| BUF_SIZE | 0 | ub | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ub | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | io->res | s32min-s32max[u] |
| LOCK2 | 1 | &io->lock | |
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | 0 | &ub->mutex | |
| TYPE_LOCK | (struct ublk_io)->lock |
drivers/block/ublk_drv.c ublk_ch_uring_cmd_local() -> ublk_need_complete_req()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ub | 4096-ptr_max |
| PARAM_VALUE | 0 | ub->dev_info.nr_hw_queues | 1-u16max |
| PARAM_VALUE | 0 | ub->dev_info.queue_depth | 1-u16max |
| PARAM_VALUE | 1 | io | 4096-ptr_max |
| PARAM_VALUE | 1 | io->cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | io->req | 4096-ptr_max |
| BUF_SIZE | 0 | ub | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ub | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |