Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/vhost/vhost.c vhost_dev_ioctl() -> vhost_dev_set_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 |
| DATA_SOURCE | 0 | dev | $0 |
| HALF_LOCKED2 | &d->mutex | ||
| HALF_LOCKED2 | &vs->dev.mutex | ||
| HALF_LOCKED2 | &vsock->dev.mutex | ||
| TYPE_LOCK | (struct vhost_dev)->mutex |
drivers/vhost/net.c vhost_net_set_owner() -> vhost_dev_set_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->mm | 0 |
| 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 |
| LOCK2 | &n->dev.mutex | ||
| TYPE_LOCK | (struct vhost_dev)->mutex |