Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_tso_xmit() -> stmmac_flush_tx_descriptors()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->device->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 priv->device->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 priv->device->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 priv->device->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->device->dma_uses_io_tlb 1
PARAM_VALUE 0 priv->device->iommu->attach_deferred 0-1
PARAM_VALUE 0 priv->device->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 priv->dma_conf.tx_queue 4096-ptr_max
PARAM_VALUE 0 priv->hw 4096-ptr_max
PARAM_VALUE 0 priv->hw->desc 0,4096-ptr_max
PARAM_VALUE 0 priv->tx_coal_frames 4096-ptr_max
PARAM_VALUE 0 priv->xstats.txq_stats 4096-ptr_max
PARAM_VALUE 1 queue 0-u16max
CAPPED_DATA 1 queue 1
BIT_INFO 0 priv->msg_enable 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_xdp_xmit() -> stmmac_flush_tx_descriptors()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev 4096-ptr_max
PARAM_VALUE 0 priv->plat 4096-ptr_max
PARAM_VALUE 0 priv->plat->tx_queues_to_use 1-255
CAPPED_DATA 0 priv->dev->num_tx_queues 1
CAPPED_DATA 0 priv->plat->tx_queues_to_use 1
DATA_SOURCE 1 queue r stmmac_xdp_get_tx_queue
BIT_INFO 1 queue 0x0,0x0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &nq->_xmit_lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct netdev_queue)->_xmit_lock

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_xdp_xmit_back() -> stmmac_flush_tx_descriptors()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev 4096-ptr_max
PARAM_VALUE 0 priv->dma_conf.rx_queue 4096-ptr_max
PARAM_VALUE 0 priv->est 0,4096-ptr_max
PARAM_VALUE 0 priv->hw 4096-ptr_max
PARAM_VALUE 0 priv->hw->desc 0,4096-ptr_max
PARAM_VALUE 0 priv->hw->dma 0,4096-ptr_max
PARAM_VALUE 0 priv->plat 4096-ptr_max
PARAM_VALUE 0 priv->plat->tx_queues_to_use 1-255
PARAM_VALUE 0 priv->xstats.rxq_stats 4096-ptr_max
CAPPED_DATA 0 priv->dev->num_tx_queues 1
CAPPED_DATA 0 priv->plat->tx_queues_to_use 1
DATA_SOURCE 0 priv $0
DATA_SOURCE 1 queue r stmmac_xdp_get_tx_queue
BIT_INFO 1 queue 0x0,0x0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &nq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct netdev_queue)->_xmit_lock

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_xdp_xmit_zc() -> stmmac_flush_tx_descriptors()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dev 4096-ptr_max
PARAM_VALUE 0 priv->dma_conf.tx_queue 4096-ptr_max
PARAM_VALUE 0 priv->est 0,4096-ptr_max
PARAM_VALUE 0 priv->est->max_sdu 4096-ptr_max
PARAM_VALUE 0 priv->hw 4096-ptr_max
PARAM_VALUE 0 priv->hw->dma 0,4096-ptr_max
PARAM_VALUE 0 priv->plat 4096-ptr_max
PARAM_VALUE 0 priv->plat->tx_queues_cfg 4096-ptr_max
PARAM_VALUE 0 priv->tx_coal_frames 4096-ptr_max
PARAM_VALUE 0 priv->xstats.txq_stats 4096-ptr_max
PARAM_VALUE 1 queue 0-254
CAPPED_DATA 0 priv->dev->num_tx_queues 1
CAPPED_DATA 1 queue 1
DATA_SOURCE 0 priv $0
DATA_SOURCE 1 queue $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 queue unit_array_size
LOCK2 bh

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_xmit() -> stmmac_flush_tx_descriptors()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->device->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 priv->device->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 priv->device->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 priv->device->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->device->dma_uses_io_tlb 1
PARAM_VALUE 0 priv->device->iommu->attach_deferred 0-1
PARAM_VALUE 0 priv->device->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 priv->dma_conf.tx_queue 4096-ptr_max
PARAM_VALUE 0 priv->est 0,4096-ptr_max
PARAM_VALUE 0 priv->est->max_sdu 4096-ptr_max
PARAM_VALUE 0 priv->hw 4096-ptr_max
PARAM_VALUE 0 priv->hw->desc 0,4096-ptr_max
PARAM_VALUE 0 priv->hw->dma 0,4096-ptr_max
PARAM_VALUE 0 priv->plat 4096-ptr_max
PARAM_VALUE 0 priv->tx_coal_frames 4096-ptr_max
PARAM_VALUE 0 priv->xstats.txq_stats 4096-ptr_max
PARAM_VALUE 1 queue 0-u16max
CAPPED_DATA 1 queue 1
BIT_INFO 0 priv->msg_enable 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read