Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_enable_tx_queue() -> stmmac_set_queue_tx_tail_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->af_xdp_zc_qps | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->channel | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,744 |
| PARAM_VALUE | 0 | priv->device | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->device->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->device->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| 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->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_mem->spinlock.rlock.dep_map->name | 0-255 |
| 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.dma_rx_size | 0-s32max |
| PARAM_VALUE | 0 | priv->dma_conf.dma_tx_size | 0-s32max |
| 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->hw->dma | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->plat | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->plat->rx_queues_to_use | 1-255 |
| PARAM_VALUE | 0 | priv->plat->tx_queues_to_use | 1-255 |
| PARAM_VALUE | 0 | priv->xdp_prog | 1-u64max |
| PARAM_VALUE | 0 | *priv->dev->name | 0-255 |
| PARAM_VALUE | 1 | tx_q | 4096-ptr_max |
| PARAM_VALUE | 2 | chan | 0-254 |
| PARAM_VALUE | 3 | index | 0 |
| CAPPED_DATA | 0 | priv->dev->num_tx_queues | 1 |
| CAPPED_DATA | 0 | priv->device | 1 |
| CAPPED_DATA | 0 | priv->device->cma_area->nranges | 1 |
| CAPPED_DATA | 0 | priv->dma_conf.dma_rx_size | 1 |
| CAPPED_DATA | 0 | priv->dma_conf.dma_tx_size | 1 |
| CAPPED_DATA | 2 | chan | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | chan | $1 |
| BIT_INFO | 1 | tx_q->tbs | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->dma_conf.dma_rx_size | |
| NO_OVERFLOW_SIMPLE | 0 | priv->dma_conf.dma_tx_size | |
| NO_OVERFLOW_SIMPLE | 2 | chan | |
| UNITS | 2 | chan | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_flush_tx_descriptors() -> stmmac_set_queue_tx_tail_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dma_conf.tx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | tx_q | 4096-ptr_max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | chan | $1 |
| BIT_INFO | 2 | chan | 0x0,0xffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | chan | unit_array_size |
| HALF_LOCKED2 | &nq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_init_dma_engine() -> stmmac_set_queue_tx_tail_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dma_conf.tx_queue | 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->hw->phylink_pcs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw->phylink_pcs->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw->phylink_pcs->rxc_always_on | 1 |
| PARAM_VALUE | 0 | priv->phylink | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->phylink->mac_rx_clk_stop_blocked | 0-255 |
| PARAM_VALUE | 0 | priv->plat | 4096-ptr_max |
| PARAM_VALUE | 1 | tx_q | 4096-ptr_max |
| PARAM_VALUE | 2 | chan | 0-254 |
| PARAM_VALUE | 3 | index | 0 |
| CAPPED_DATA | 2 | chan | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | chan | unit_array_size |
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_xdp_open() -> stmmac_set_queue_tx_tail_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->device->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->device->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->device->cma_area->nranges | s32min-s32max |
| 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_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->device->dma_uses_io_tlb | 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->dma | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->plat | 4096-ptr_max |
| PARAM_VALUE | 1 | tx_q | 4096-ptr_max |
| PARAM_VALUE | 2 | chan | 0-254 |
| PARAM_VALUE | 3 | index | 0 |
| CAPPED_DATA | 0 | priv->device->cma_area->nranges | 1 |
| CAPPED_DATA | 0 | priv->plat->rx_queues_to_use | 1 |
| CAPPED_DATA | 0 | priv->plat->tx_queues_to_use | 1 |
| CAPPED_DATA | 2 | chan | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->dma_conf.dma_rx_size | |
| UNITS | 2 | chan | unit_array_size |