Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 9 files:
- drivers/net/ethernet/google/gve/gve_tx.c, line 965
- drivers/net/ethernet/google/gve/gve_tx_dqo.c, line 1128
- drivers/net/ethernet/intel/igc/igc_main.c, line 3118
- drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c, line 442
- drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c, line 136
- drivers/net/ethernet/netronome/nfp/nfd3/xsk.c, line 381
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c, line 2781
- drivers/net/ethernet/ti/icssg/icssg_common.c, line 174
- net/xdp/xsk.c
Smatch caller information:
drivers/net/ethernet/google/gve/gve_tx.c gve_xsk_tx() -> xsk_tx_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tx->xdp_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct gve_tx_ring)->xdp_lock |
drivers/net/ethernet/netronome/nfp/nfd3/xsk.c nfp_nfd3_xsk_tx() -> xsk_tx_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->dev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| NOCHECK_CALL |
drivers/net/ethernet/google/gve/gve_tx_dqo.c gve_xsk_tx_dqo() -> xsk_tx_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tx->dqo_tx.xdp_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct gve_tx_ring)->dqo_tx.xdp_lock |
drivers/net/ethernet/intel/igc/igc_main.c igc_xdp_xmit_zc() -> xsk_tx_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->addrs_cnt | 1-u64max |
| PARAM_VALUE | 0 | pool->chunk_size | 1-u32max |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &nq->_xmit_lock | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_xdp_xmit_zc() -> xsk_tx_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->addrs_cnt | 1-u64max |
| PARAM_VALUE | 0 | pool->chunk_size | 1-u32max |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh |
drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c mlx5e_xsk_tx() -> xsk_tx_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->addrs_cnt | 1-u64max |
| PARAM_VALUE | 0 | pool->chunk_size | 1-u32max |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
net/xdp/xsk.c xsk_tx_peek_release_fallback() -> xsk_tx_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->reclaim_descs | 0 |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| DATA_SOURCE | 0 | pool | $0 |
| BIT_INFO | 0 | pool->umem->flags | 0x0,0xf7 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &nq->_xmit_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c ixgbe_xmit_zc() -> xsk_tx_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->addrs_cnt | 1-u64max |
| PARAM_VALUE | 0 | pool->chunk_size | 1-u32max |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| NOCHECK_CALL |