Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 15 files:

Smatch caller information:

drivers/net/ethernet/google/gve/gve_tx.c gve_xsk_tx_poll() -> xsk_set_tx_need_wakeup()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->cq->cached_prod 0-4294967295
PARAM_VALUE 0 pool->uses_need_wakeup 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c mlx5e_napi_xsk_post() -> xsk_set_tx_need_wakeup()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/intel/idpf/xsk.c libeth_xsk_xmit_do_bulk() -> xsk_set_tx_need_wakeup()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->cq->cached_cons 0-4294967295
PARAM_VALUE 0 pool->cq->cached_prod 0-4294967295
PARAM_VALUE 0 pool->tx_descs 4096-ptr_max
PARAM_VALUE 0 pool->uses_need_wakeup 1
DATA_SOURCE 0 pool $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/intel/ice/ice_xsk.c ice_xmit_zc() -> xsk_set_tx_need_wakeup()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->cq->cached_cons 0-4294967295
PARAM_VALUE 0 pool->cq->cached_prod 0-4294967295
PARAM_VALUE 0 pool->tx_descs 4096-ptr_max
PARAM_VALUE 0 pool->uses_need_wakeup 1
DATA_SOURCE 0 pool $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/intel/igc/igc_main.c igc_clean_tx_irq() -> xsk_set_tx_need_wakeup()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->uses_need_wakeup 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

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

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->uses_need_wakeup 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/engleder/tsnep_main.c tsnep_tx_poll() -> xsk_set_tx_need_wakeup()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->uses_need_wakeup 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &nq->_xmit_lock
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct netdev_queue)->_xmit_lock

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_tx_clean() -> xsk_set_tx_need_wakeup()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->uses_need_wakeup 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 rcu_read

drivers/net/ethernet/intel/igb/igb_main.c igb_clean_tx_irq() -> xsk_set_tx_need_wakeup()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->uses_need_wakeup 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c otx2_zc_submit_pkts() -> xsk_set_tx_need_wakeup()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->uses_need_wakeup 1
DATA_SOURCE 0 pool $1
NOCHECK_CALL

drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c ixgbe_clean_xdp_tx_irq() -> xsk_set_tx_need_wakeup()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->uses_need_wakeup 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/freescale/fec_main.c fec_enet_tx_queue() -> xsk_set_tx_need_wakeup()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->uses_need_wakeup 1
RX_PATH
NOCHECK_CALL

drivers/net/virtio_net.c virtnet_xsk_xmit() -> xsk_set_tx_need_wakeup()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 0 pool->cq->cached_cons 0-4294967295
PARAM_VALUE 0 pool->cq->cached_prod 0-4294967295
PARAM_VALUE 0 pool->cq->ring->producer 0-4294967295
PARAM_VALUE 0 pool->uses_need_wakeup 1
DATA_SOURCE 0 pool $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &txq->_xmit_lock
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct netdev_queue)->_xmit_lock