Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/vhost/net.c vhost_net_buf_consume() -> vhost_net_buf_get_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rxq | 4096-ptr_max |
| DATA_SOURCE | 0 | rxq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |
drivers/vhost/net.c vhost_net_buf_peek() -> vhost_net_buf_get_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rxq | 4096-ptr_max |
| PARAM_VALUE | 0 | rxq->head | 0-64,s32max |
| PARAM_VALUE | 0 | rxq->tail | 0-64,s32max |
| BUF_SIZE | 0 | rxq | 16 |
| CAPPED_DATA | 0 | rxq->head | 1 |
| CAPPED_DATA | 0 | rxq->tail | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vq->mutex | ||
| TYPE_LOCK | (struct vhost_virtqueue)->mutex |