Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/qlogic/qede/qede_ethtool.c qede_selftest_transmit_traffic() -> qede_txq_has_work()

Type Parameter Key Value
PARAM_VALUE 0 txq 4096-ptr_max
CAPPED_DATA 0 txq->sw_tx_prod 1

drivers/net/ethernet/qlogic/qede/qede_ethtool.c qede_selftest_transmit_traffic() -> qede_txq_has_work()

Type Parameter Key Value
PARAM_VALUE 0 txq 4096-ptr_max
PARAM_VALUE 0 txq->hw_cons_ptr 4096-ptr_max
CAPPED_DATA 0 txq->sw_tx_prod 1

drivers/net/ethernet/qlogic/qede/qede_fp.c qede_poll() -> qede_txq_has_work()

Type Parameter Key Value
PARAM_VALUE 0 txq 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/qlogic/qede/qede_fp.c qede_poll() -> qede_txq_has_work()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/qlogic/qede/qede_fp.c qede_poll_is_more_work() -> qede_txq_has_work()

Type Parameter Key Value
PARAM_VALUE 0 txq 4096-ptr_max
PARAM_VALUE 0 txq->hw_cons_ptr 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/qlogic/qede/qede_fp.c qede_poll_is_more_work() -> qede_txq_has_work()

Type Parameter Key Value
PARAM_VALUE 0 txq 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read