Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/vhost/scsi.c vhost_scsi_mapal() -> vhost_scsi_map_iov_to_sgl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->inflight | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->prot_table.sgl->dma_address | 0 |
| PARAM_VALUE | 0 | cmd->prot_table.sgl->dma_flags | 0 |
| PARAM_VALUE | 0 | cmd->prot_table.sgl->dma_length | 0 |
| PARAM_VALUE | 0 | cmd->prot_table.sgl->length | 0 |
| PARAM_VALUE | 0 | cmd->prot_table.sgl->offset | 0 |
| PARAM_VALUE | 0 | cmd->prot_table.sgl->page_link | 0 |
| PARAM_VALUE | 0 | cmd->tvc_prot_sgl_count | 1-2048 |
| PARAM_VALUE | 0 | cmd->tvc_se_cmd.map_tag | 0-s32max |
| PARAM_VALUE | 0 | cmd->tvc_se_cmd.se_dev->caw_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | cmd->tvc_vq | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->tvc_vq->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cmd->tvc_vq->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cmd->tvc_vq->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cmd->tvc_vq->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | iter | 4275195661457571840 |
| PARAM_VALUE | 2 | sg_table | 4096-ptr_max |
| PARAM_VALUE | 3 | sg_count | 1-2048 |
| PARAM_VALUE | 4 | is_prot | 1 |
| CAPPED_DATA | 0 | cmd->tvc_prot_sgl_count | 1 |
| CAPPED_DATA | 0 | cmd->tvc_se_cmd.map_tag | 1 |
| CAPPED_DATA | 3 | sg_count | 1 |
| DATA_SOURCE | 0 | cmd | $1 |
| DATA_SOURCE | 1 | iter | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cmd->tvc_prot_sgl_count | 1-2048[c] |
| HOST_DATA | 0 | cmd->tvc_vq->avail_idx | 0-u16max |
| HOST_DATA | 0 | cmd->tvc_vq->last_used_idx | 0-u16max |
| HOST_DATA | 1 | iter->count | 0-18446744073709551614[c] |
| HOST_DATA | 1 | iter->iov_offset | 0-u64max[c] |
| HOST_DATA | 3 | sg_count | 2-2048[c] |
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
drivers/vhost/scsi.c vhost_scsi_mapal() -> vhost_scsi_map_iov_to_sgl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->inflight | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->table.sgl->dma_address | 0 |
| PARAM_VALUE | 0 | cmd->table.sgl->dma_flags | 0 |
| PARAM_VALUE | 0 | cmd->table.sgl->dma_length | 0 |
| PARAM_VALUE | 0 | cmd->table.sgl->length | 0 |
| PARAM_VALUE | 0 | cmd->table.sgl->offset | 0 |
| PARAM_VALUE | 0 | cmd->table.sgl->page_link | 0 |
| PARAM_VALUE | 0 | cmd->tvc_se_cmd.map_tag | 0-s32max |
| PARAM_VALUE | 0 | cmd->tvc_se_cmd.se_dev->caw_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | cmd->tvc_sgl_count | 1-2048 |
| PARAM_VALUE | 0 | cmd->tvc_vq | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->tvc_vq->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cmd->tvc_vq->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cmd->tvc_vq->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cmd->tvc_vq->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | iter | 6099215618416902144 |
| PARAM_VALUE | 2 | sg_table | 4096-ptr_max |
| PARAM_VALUE | 3 | sg_count | 1-2048 |
| PARAM_VALUE | 4 | is_prot | 0 |
| CAPPED_DATA | 0 | cmd->tvc_se_cmd.map_tag | 1 |
| CAPPED_DATA | 0 | cmd->tvc_sgl_count | 1 |
| CAPPED_DATA | 3 | sg_count | 1 |
| DATA_SOURCE | 0 | cmd | $1 |
| DATA_SOURCE | 1 | iter | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cmd->tvc_prot_sgl_count | 1-2048[c] |
| HOST_DATA | 0 | cmd->tvc_sgl_count | 1-2048[c] |
| HOST_DATA | 0 | cmd->tvc_vq->avail_idx | 0-u16max |
| HOST_DATA | 0 | cmd->tvc_vq->last_used_idx | 0-u16max |
| HOST_DATA | 1 | iter->count | 0-u64max[c] |
| HOST_DATA | 1 | iter->iov_offset | 0-u64max[c] |
| HOST_DATA | 3 | sg_count | 2-2048[c] |
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |