Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/vhost/vsock.c vhost_vsock_dev_ioctl() -> vhost_vsock_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsock | 4096-ptr_max |
| PARAM_VALUE | 0 | vsock->dev.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vsock->dev.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vsock->dev.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vsock->dev.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vsock->dev.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vsock->dev.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vsock->dev.mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | vsock | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vsock | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | vsock->dev.mm | 1 |
| CAPPED_DATA | 0 | &vsock->dev.mutex | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | vsock->dev.fork_owner | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | vsock->dev.iov_limit | |
| LOCK2 | 0 | &vsock->dev.mutex | |
| TYPE_LOCK | (struct vhost_dev)->mutex |
drivers/vhost/vsock.c vhost_vsock_dev_release() -> vhost_vsock_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsock | 4096-ptr_max |
| PARAM_VALUE | 0 | vsock->dev.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vsock->dev.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vsock->dev.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vsock->dev.mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vsock->dev.mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | vsock->dev.mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | vsock->dev.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | vsock->dev.mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | vsock->dev.mutex.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | vsock | (-1),26 |
| BUF_SIZE | 0 | vsock | (-1),26 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/vhost/vsock.c vhost_vsock_reset_owner() -> vhost_vsock_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsock | 4096-ptr_max |
| PARAM_VALUE | 0 | vsock->dev.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vsock->dev.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vsock->dev.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vsock->dev.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vsock->dev.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vsock->dev.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vsock->dev.mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | vsock | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vsock | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | vsock->dev.mm | 1 |
| CAPPED_DATA | 0 | &vsock->dev.mutex | 1 |
| DATA_SOURCE | 0 | vsock | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &vsock->dev.mutex | |
| TYPE_LOCK | (struct vhost_dev)->mutex |