Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/vmw_vsock/virtio_transport_common.c virtio_transport_get_credit() -> virtio_transport_has_space()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vvs | 4096-ptr_max |
| BUF_SIZE | 0 | vvs | 72,224,304 |
| BUF_SIZE | 0 | vvs | 72,224,304 |
| DATA_SOURCE | 0 | vvs | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &vvs->tx_lock | |
| HALF_LOCKED2 | child | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct virtio_vsock_sock)->tx_lock |
net/vmw_vsock/virtio_transport_common.c virtio_transport_space_update() -> virtio_transport_has_space()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vvs | 4096-ptr_max |
| BUF_SIZE | 0 | vvs | 72,224,304 |
| BUF_SIZE | 0 | vvs | 72,224,304 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | sk | ||
| LOCK2 | 0 | &vvs->tx_lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | &vsock->rx_lock | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct virtio_vsock_sock)->tx_lock |
net/vmw_vsock/virtio_transport_common.c virtio_transport_stream_has_space() -> virtio_transport_has_space()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vvs | 4096-ptr_max |
| BUF_SIZE | 0 | vvs | 72,224,304 |
| BUF_SIZE | 0 | vvs | 72,224,304 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &vvs->tx_lock | |
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct virtio_vsock_sock)->tx_lock |