Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/google/gve/gve_tx.c gve_maybe_stop_tx() -> gve_clean_tx_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->counter_array | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->tx | 4096-ptr_max |
| PARAM_VALUE | 1 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->clean_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tx->q_resources | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->q_resources->counter_index | 0 |
| PARAM_VALUE | 2 | to_do | 1-64 |
| PARAM_VALUE | 3 | try_to_wake | 0 |
| CAPPED_DATA | 0 | priv->tx_cfg.num_queues | 1 |
| CAPPED_DATA | 2 | to_do | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | tx | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 1 | &tx->clean_lock | |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct gve_tx_ring)->clean_lock |
drivers/net/ethernet/google/gve/gve_tx.c gve_tx_poll() -> gve_clean_tx_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->counter_array | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->tx_cfg.num_queues | 1-u16max |
| PARAM_VALUE | 1 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->clean_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tx->q_num | 0-65534 |
| PARAM_VALUE | 1 | tx->q_resources | 4096-ptr_max |
| PARAM_VALUE | 3 | try_to_wake | 1 |
| CAPPED_DATA | 1 | tx->q_num | 1 |
| CAPPED_DATA | 2 | to_do | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | priv | unit_byte |
| LOCK2 | 1 | &tx->clean_lock | |
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct gve_tx_ring)->clean_lock |
drivers/net/ethernet/google/gve/gve_tx.c gve_tx_stop_ring_gqi() -> gve_clean_tx_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3720,9688-u64max |
| PARAM_VALUE | 0 | priv->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | priv->queue_format | 1-2 |
| PARAM_VALUE | 0 | priv->tx | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->tx_cfg.num_queues | 1-u16max |
| PARAM_VALUE | 0 | *priv->dev->name | 0-255 |
| PARAM_VALUE | 0 | *priv->dev->prio_tc_map | 0-255 |
| PARAM_VALUE | 1 | tx | 4096-ptr_max |
| PARAM_VALUE | 1 | tx->q_num | 0-65534 |
| PARAM_VALUE | 3 | try_to_wake | 0 |
| CAPPED_DATA | 1 | tx->q_num | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| PARAM_COMPARE | 0 | priv->tx_cfg.num_queues | > $1->q_num |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->rx_cfg.max_queues | |
| NO_OVERFLOW_SIMPLE | 0 | priv->rx_cfg.num_queues | |
| NO_OVERFLOW_SIMPLE | 0 | priv->rx_pages_per_qpl | |
| NO_OVERFLOW_SIMPLE | 0 | priv->tx_cfg.max_queues | |
| NO_OVERFLOW_SIMPLE | 0 | priv->tx_cfg.num_queues | |
| NO_OVERFLOW_SIMPLE | 0 | priv->tx_pages_per_qpl | |
| NO_OVERFLOW_SIMPLE | 1 | tx->q_num | |
| UNITS | 2 | to_do | unit_array_size |