Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/google/gve/gve_tx.c gve_maybe_stop_tx() -> gve_tx_load_event_counter()

Type Parameter Key Value
PARAM_VALUE 0 priv 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
CAPPED_DATA 0 priv->tx_cfg.num_queues 1
DATA_SOURCE 0 priv $0
DATA_SOURCE 1 tx $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
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_clean_pending() -> gve_tx_load_event_counter()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev->xdp_metadata_ops->xmo_rx_vlan_tag 0,4297170149191081984,4612482598076690432,7285523086717030400
PARAM_VALUE 0 priv->pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 1 tx 4096-ptr_max
CAPPED_DATA 0 priv 1
DATA_SOURCE 0 priv $0
DATA_SOURCE 1 tx $1
RX_PATH
TASK_NOT_RUNNING
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
UNITS 0 priv unit_byte

drivers/net/ethernet/google/gve/gve_tx.c gve_tx_poll() -> gve_tx_load_event_counter()

Type Parameter Key Value
PARAM_VALUE 0 priv 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
CAPPED_DATA 1 tx->q_num 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
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_xdp_poll() -> gve_tx_load_event_counter()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 1 tx 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 priv unit_byte
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/google/gve/gve_ethtool.c gve_get_ethtool_stats() -> gve_tx_load_event_counter()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->stats_report 4096-ptr_max
PARAM_VALUE 0 priv->tx 4096-ptr_max
PARAM_VALUE 1 tx 4096-ptr_max
CAPPED_DATA 0 priv->rx_cfg.num_queues 1
NO_OVERFLOW_SIMPLE 0 priv->rx_cfg.num_queues