Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_dma_operation_mode() -> stmmac_set_queue_rx_buf_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->dma_conf.rx_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->mac | 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 | 0 | priv->plat->bsp_priv->apmu->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | priv->plat->bsp_priv->dev->of_node->properties->length | s32min-s32max |
| PARAM_VALUE | 0 | priv->plat->bsp_priv->intf_regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | priv->plat->bsp_priv->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | priv->plat->bsp_priv->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | priv->plat->bsp_priv->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | priv->plat->rx_queues_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->plat->safety_feat_cfg->edpp | 1 |
| PARAM_VALUE | 0 | priv->plat->safety_feat_cfg->epsi | 1 |
| PARAM_VALUE | 0 | priv->plat->safety_feat_cfg->mestee | 1 |
| PARAM_VALUE | 0 | priv->plat->safety_feat_cfg->mrxee | 1 |
| PARAM_VALUE | 0 | priv->plat->safety_feat_cfg->mrxpee | 1 |
| PARAM_VALUE | 0 | priv->plat->safety_feat_cfg->mtxee | 1 |
| PARAM_VALUE | 0 | priv->plat->safety_feat_cfg->prtyen | 1 |
| PARAM_VALUE | 0 | priv->plat->safety_feat_cfg->tmouten | 1 |
| PARAM_VALUE | 0 | priv->plat->safety_feat_cfg->tsoee | 1 |
| PARAM_VALUE | 0 | priv->rss.enable | 0-1 |
| PARAM_VALUE | 0 | *priv->dev->name | 0 |
| PARAM_VALUE | 1 | rx_q | 4096-ptr_max |
| PARAM_VALUE | 2 | chan | 0-254 |
| 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 |
| 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_enable_rx_queue() -> stmmac_set_queue_rx_buf_size()
| 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->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| 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 | 0-s32max |
| PARAM_VALUE | 0 | priv->device->cma_area->nranges | 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 | 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->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.rx_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 |
| PARAM_VALUE | 1 | rx_q | 4096-ptr_max |
| PARAM_VALUE | 2 | chan | 0-254 |
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_xdp_open() -> stmmac_set_queue_rx_buf_size()
| 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.rx_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 | rx_q | 4096-ptr_max |
| PARAM_VALUE | 2 | chan | 0-254 |
| 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 |