Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/vhost/net.c, line 1664
- drivers/vhost/test.c, line 241
- drivers/vhost/vdpa.c, line 908
- drivers/vhost/vhost.c, line 1179
- drivers/vhost/vsock.c, line 923
Smatch caller information:
drivers/vhost/vdpa.c vhost_vdpa_unlocked_ioctl() -> vhost_dev_reset_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | umem | 0 |
| BUF_SIZE | 0 | dev | 512 |
| CAPPED_DATA | 0 | &dev->mutex | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dev->mutex | |
| TYPE_LOCK | (struct vhost_dev)->mutex |
drivers/vhost/net.c vhost_net_reset_owner() -> vhost_dev_reset_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | umem | 4096-ptr_max |
| BUF_SIZE | 1 | umem | 48 |
| DATA_SOURCE | 1 | umem | r vhost_dev_reset_owner_prepare |
| NOCHECK_CALL | |||
| LOCK2 | &n->dev.mutex | ||
| TYPE_LOCK | (struct vhost_dev)->mutex |
drivers/vhost/vsock.c vhost_vsock_reset_owner() -> vhost_dev_reset_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | umem | 4096-ptr_max |
| BUF_SIZE | 1 | umem | 48 |
| DATA_SOURCE | 1 | umem | r vhost_dev_reset_owner_prepare |
| NOCHECK_CALL | |||
| LOCK2 | &vsock->dev.mutex | ||
| TYPE_LOCK | (struct vhost_dev)->mutex |