Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/virtio_net.c check_sq_full_and_disable() -> free_old_xmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sq | 4096-ptr_max |
| PARAM_VALUE | 0 | sq->sg->dma_flags | 0-4294967295 |
| PARAM_VALUE | 0 | sq->sg->dma_length | 0-4294967295 |
| PARAM_VALUE | 0 | sq->sg->length | 0-4294967295 |
| PARAM_VALUE | 0 | sq->sg->offset | 0-4294967295 |
| PARAM_VALUE | 0 | sq->vq | 4096-ptr_max |
| PARAM_VALUE | 0 | sq->vq->num_free | 0-18 |
| PARAM_VALUE | 1 | txq | 4096-ptr_max |
| PARAM_VALUE | 2 | in_napi | 0 |
| DATA_SOURCE | 0 | sq | $2 |
| DATA_SOURCE | 1 | txq | r netdev_get_tx_queue |
| HARD_MAX | 0 | sq->vq->num_free | 18 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/virtio_net.c start_xmit() -> free_old_xmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sq | 4096-ptr_max |
| PARAM_VALUE | 1 | txq | 4096-ptr_max |
| PARAM_VALUE | 2 | in_napi | 0 |
| DATA_SOURCE | 1 | txq | r netdev_get_tx_queue |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/virtio_net.c virtnet_poll_cleantx() -> free_old_xmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sq | 4096-ptr_max |
| PARAM_VALUE | 0 | sq->napi.weight | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | sq->reset | 0 |
| PARAM_VALUE | 1 | txq | 4096-ptr_max |
| PARAM_VALUE | 1 | txq->xmit_lock_owner | 0 |
| DATA_SOURCE | 1 | txq | r netdev_get_tx_queue |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 1 | &txq->_xmit_lock | |
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/virtio_net.c virtnet_poll_tx() -> free_old_xmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sq | 4096-ptr_max |
| PARAM_VALUE | 0 | sq->vq | 4096-ptr_max |
| PARAM_VALUE | 0 | sq->vq->vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sq->vq->vdev->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | sq->xsk_pool | 0 |
| PARAM_VALUE | 1 | txq | 4096-ptr_max |
| PARAM_VALUE | 1 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | txq->xmit_lock_owner | 0 |
| DATA_SOURCE | 1 | txq | r netdev_get_tx_queue |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 1 | &txq->_xmit_lock | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |