Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/vhost/scsi.c vhost_scsi_clear_endpoint() -> vhost_scsi_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vs | 4096-ptr_max |
| PARAM_VALUE | 0 | vs->dev.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vs->dev.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vs->dev.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vs->dev.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vs->dev.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vs->dev.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vs->dev.mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vs->vs_tpg | 4096-ptr_max |
| BUF_SIZE | 0 | vs | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | vs | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | vs->dev.nvqs | 1 |
| CAPPED_DATA | 0 | &vs->dev.mutex | 1 |
| DATA_SOURCE | 0 | vs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &vs->dev.mutex | |
| TYPE_LOCK | (struct vhost_dev)->mutex |
drivers/vhost/scsi.c vhost_scsi_clear_endpoint() -> vhost_scsi_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vs | 4096-ptr_max |
| PARAM_VALUE | 0 | vs->dev.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vs->dev.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vs->dev.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vs->dev.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vs->dev.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vs->dev.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vs->dev.mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vs->vs_tpg | 4096-ptr_max |
| BUF_SIZE | 0 | vs | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | vs | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | vs->dev.nvqs | 1 |
| CAPPED_DATA | 0 | &vs->dev.mutex | 1 |
| DATA_SOURCE | 0 | vs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &vs->dev.mutex | |
| TYPE_LOCK | (struct vhost_dev)->mutex |
drivers/vhost/scsi.c vhost_scsi_ioctl() -> vhost_scsi_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vs | 4096-ptr_max |
| PARAM_VALUE | 0 | vs->dev.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vs->dev.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vs->dev.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vs->dev.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vs->dev.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vs->dev.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vs->dev.mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vs->vqs | 4096-ptr_max |
| BUF_SIZE | 0 | vs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vs | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | vs->dev.mm | 1 |
| CAPPED_DATA | 0 | &vs->dev.mutex | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | vs->dev.fork_owner | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | vs->dev.iov_limit | |
| LOCK2 | 0 | &vs->dev.mutex | |
| TYPE_LOCK | (struct vhost_dev)->mutex |
drivers/vhost/scsi.c vhost_scsi_set_endpoint() -> vhost_scsi_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vs | 4096-ptr_max |
| PARAM_VALUE | 0 | vs->dev.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vs->dev.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vs->dev.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vs->dev.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vs->dev.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vs->dev.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vs->dev.mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vs->vqs | 4096-ptr_max |
| PARAM_VALUE | 0 | vs->vs_tpg | 0 |
| BUF_SIZE | 0 | vs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vs | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | vs->dev.nvqs | 1 |
| CAPPED_DATA | 0 | &vs->dev.mutex | 1 |
| DATA_SOURCE | 0 | vs | $0 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *vs->vs_vhost_wwpn | 0-255 |
| USER_PTR | 0 | vs->vs_vhost_wwpn | |
| LOCK2 | 0 | &vs->dev.mutex | |
| TYPE_LOCK | (struct vhost_dev)->mutex |