Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/vhost/net.c
- drivers/vhost/scsi.c
- drivers/vhost/test.c, line 95
- drivers/vhost/vhost.c, line 554
- drivers/vhost/vsock.c
Smatch caller information:
drivers/vhost/net.c handle_rx() -> vhost_exceeds_weight()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vq | 4096-ptr_max |
| PARAM_VALUE | 0 | vq->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vq->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vq->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vq->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vq->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vq->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vq->mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | vq | 18984 |
| CAPPED_DATA | 0 | &vq->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vq->avail_idx | 0-u16max |
| LOCK2 | 0 | &vq->mutex | |
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
drivers/vhost/net.c handle_tx_copy() -> vhost_exceeds_weight()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vq | 4096-ptr_max |
| BUF_SIZE | 0 | vq | 18984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vq->avail_idx | 0-u16max |
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
drivers/vhost/net.c handle_tx_zerocopy() -> vhost_exceeds_weight()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vq | 4096-ptr_max |
| PARAM_VALUE | 0 | vq->dev->iotlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vq->dev->read_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vq->dev->read_list.prev->next->next | 4096-ptr_max |
| BUF_SIZE | 0 | vq | 18984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vq->avail_idx | 0-u16max |
| HOST_DATA | 0 | vq->last_used_idx | 0-u16max |
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
drivers/vhost/vsock.c vhost_transport_do_send_pkt() -> vhost_exceeds_weight()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vq | 4096-ptr_max |
| PARAM_VALUE | 0 | vq->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vq->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vq->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vq->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vq->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vq->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vq->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vq->private_data | 1-u64max |
| BUF_SIZE | 0 | vq | (-1),37968 |
| BUF_SIZE | 0 | vq | (-1),37968 |
| CAPPED_DATA | 0 | &vq->mutex | 1 |
| DATA_SOURCE | 0 | vq | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vq->avail_idx | 0-u16max |
| HOST_DATA | 0 | vq->last_used_idx | 0-u16max |
| LOCK2 | 0 | &vq->mutex | |
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
drivers/vhost/vsock.c vhost_vsock_handle_tx_kick() -> vhost_exceeds_weight()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vq | 4096-ptr_max |
| PARAM_VALUE | 0 | vq->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vq->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vq->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vq->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vq->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vq->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vq->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vq->private_data | 1-u64max |
| CAPPED_DATA | 0 | &vq->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vq->avail_idx | 0-u16max |
| HOST_DATA | 0 | vq->last_used_idx | 0-u16max |
| LOCK2 | 0 | &vq->mutex | |
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
drivers/vhost/scsi.c vhost_scsi_ctl_handle_vq() -> vhost_exceeds_weight()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vq | 4096-ptr_max |
| PARAM_VALUE | 0 | vq->dev->read_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vq->dev->read_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vq->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vq->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vq->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vq->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vq->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vq->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vq->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vq->private_data | 1-u64max |
| PARAM_VALUE | 2 | total_len | 0 |
| CAPPED_DATA | 0 | &vq->mutex | 1 |
| DATA_SOURCE | 0 | vq | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vq->avail_idx | 0-u16max |
| HOST_DATA | 0 | vq->last_used_idx | 0-u16max |
| LOCK2 | 0 | &vq->mutex | |
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |