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_xdp.c stmmac_xdp_disable_pool() -> stmmac_enable_rx_queue()
| 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->device | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| 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->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->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 |
| PARAM_VALUE | 1 | queue | 0-254 |
| CAPPED_DATA | 0 | priv->dev->real_num_rx_queues | 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 | 1 | queue | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | queue | $1 |
| PARAM_COMPARE | 0 | priv->plat->rx_queues_to_use | > $1 |
| PARAM_COMPARE | 0 | priv->plat->tx_queues_to_use | > $1 |
| PARAM_COMPARE | 1 | queue | < $0->plat->rx_queues_to_use |
| PARAM_COMPARE | 1 | queue | < $0->plat->tx_queues_to_use |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | queue | |
| UNITS | 1 | queue | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/stmicro/stmmac/stmmac_xdp.c stmmac_xdp_enable_pool() -> stmmac_enable_rx_queue()
| 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->device | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| 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->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->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 |
| PARAM_VALUE | 1 | queue | 0-254 |
| 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 | 1 | queue | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | queue | $2 |
| PARAM_COMPARE | 0 | priv->plat->rx_queues_to_use | > $1 |
| PARAM_COMPARE | 0 | priv->plat->tx_queues_to_use | > $1 |
| PARAM_COMPARE | 1 | queue | < $0->plat->rx_queues_to_use |
| PARAM_COMPARE | 1 | queue | < $0->plat->tx_queues_to_use |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | queue | |
| UNITS | 1 | queue | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |