Defined in 2 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/net/ethernet/sfc/efx.c efx_get_queue_stats_tx() -> efx_get_tx_channel()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
BUF_SIZE 0 efx 5888
CAPPED_DATA 1 index 1
DATA_SOURCE 0 efx r efx_netdev_priv
DATA_SOURCE 1 index $1
TASK_NOT_RUNNING
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

drivers/net/ethernet/sfc/ef100_netdev.c __ef100_hard_start_xmit() -> efx_get_tx_channel()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
PARAM_VALUE 1 index 0-u16max
BUF_SIZE 0 efx (-1),5888
BUF_SIZE 0 efx (-1),5888
DATA_SOURCE 0 efx $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net_dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &efx->net_dev->tx_global_lock

drivers/net/ethernet/sfc/siena/tx.c efx_get_tx_queue() -> efx_get_tx_channel()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
PARAM_VALUE 1 index 0-u16max
CAPPED_DATA 0 efx->n_tx_channels 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 efx $0
DATA_SOURCE 1 index $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 index unit_byte
HALF_LOCKED2 &net_dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/sfc/siena/tx.c efx_siena_hard_start_xmit() -> efx_get_tx_channel()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
PARAM_VALUE 1 index 0-u16max
CAPPED_DATA 0 efx->n_tx_channels 1
CAPPED_DATA 1 index 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 index unit_byte
HALF_LOCKED2 &net_dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/sfc/siena/tx.c efx_siena_hard_start_xmit() -> efx_get_tx_channel()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
PARAM_VALUE 1 index 0-u16max
CAPPED_DATA 0 efx->n_tx_channels 1
CAPPED_DATA 1 index 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 index unit_byte
HALF_LOCKED2 &net_dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/sfc/tx.c efx_get_tx_queue() -> efx_get_tx_channel()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
PARAM_VALUE 1 index 0-u16max
BUF_SIZE 0 efx 5888
DATA_SOURCE 0 efx $0
DATA_SOURCE 1 index $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net_dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/sfc/tx.c efx_hard_start_xmit() -> efx_get_tx_channel()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
PARAM_VALUE 1 index 0-u16max
BUF_SIZE 0 efx 5888
DATA_SOURCE 0 efx r efx_netdev_priv
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net_dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/sfc/tx.c efx_hard_start_xmit() -> efx_get_tx_channel()

Type Parameter Key Value
PARAM_VALUE 0 efx 4096-ptr_max
PARAM_VALUE 1 index 0-u16max
BUF_SIZE 0 efx 5888
DATA_SOURCE 0 efx r efx_netdev_priv
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net_dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/sfc/siena/farch.c efx_farch_handle_tx_flush_done() -> efx_get_tx_channel()

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