Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c alloc_dma_rx_desc_resources() -> __alloc_dma_rx_desc_resources()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 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->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | priv->plat | 4096-ptr_max |
| PARAM_VALUE | 1 | dma_conf | 4096-ptr_max |
| PARAM_VALUE | 2 | queue | 0-254 |
| BUF_SIZE | 1 | dma_conf | (-1),4288 |
| BUF_SIZE | 1 | dma_conf | (-1),4288 |
| CAPPED_DATA | 2 | queue | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | dma_conf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | queue | unit_array_size |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_enable_rx_queue() -> __alloc_dma_rx_desc_resources()
| 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->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 | 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 | dma_conf | 4096-ptr_max |
| PARAM_VALUE | 1 | dma_conf->dma_rx_size | 0-s32max |
| PARAM_VALUE | 1 | dma_conf->dma_tx_size | 0-s32max |
| PARAM_VALUE | 2 | 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 | 2 | queue | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | queue | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | queue | |
| UNITS | 2 | queue | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |