Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/intel/i40e/i40e_xsk.c i40e_clean_xdp_tx_irq() -> i40e_get_head()

Type Parameter Key Value
PARAM_VALUE 0 tx_ring 4096-ptr_max
DATA_SOURCE 0 tx_ring $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_clean_tx_irq() -> i40e_get_head()

Type Parameter Key Value
PARAM_VALUE 0 tx_ring 4096-ptr_max
PARAM_VALUE 0 tx_ring->desc 4096-ptr_max
DATA_SOURCE 0 tx_ring $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_get_tx_pending() -> i40e_get_head()

Type Parameter Key Value
PARAM_VALUE 0 tx_ring 4096-ptr_max
DATA_SOURCE 0 tx_ring $0
BIT_INFO 0 tx_ring->flags 0x1,0xffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_tx_timeout() -> i40e_get_head()

Type Parameter Key Value
PARAM_VALUE 0 tx_ring 4096-ptr_max
PARAM_VALUE 0 tx_ring->desc 1-u64max
TASK_NOT_RUNNING
HALF_LOCKED2 &netdev->tx_global_lock