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 stmmac_alloc_rx_buffers() -> stmmac_init_rx_buffers()
| 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->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3720,9688-u64max |
| PARAM_VALUE | 0 | priv->hw->desc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->plat | 4096-ptr_max |
| PARAM_VALUE | 0 | *priv->dev->name | 0 |
| PARAM_VALUE | 1 | dma_conf | 4096-ptr_max |
| PARAM_VALUE | 1 | dma_conf->dma_rx_size | 1-s32max |
| PARAM_VALUE | 1 | dma_conf->rx_queue | 4096-ptr_max |
| PARAM_VALUE | 3 | i | 0-2147483646 |
| PARAM_VALUE | 4 | flags | 3264 |
| PARAM_VALUE | 5 | queue | 0-254 |
| BUF_SIZE | 2 | p | (-1),16 |
| BUF_SIZE | 2 | p | (-1),16 |
| CAPPED_DATA | 1 | dma_conf->dma_rx_size | 1 |
| CAPPED_DATA | 3 | i | 1 |
| CAPPED_DATA | 5 | queue | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | dma_conf | $1 |
| DATA_SOURCE | 2 | p | r stmmac_get_rx_desc |
| DATA_SOURCE | 4 | flags | $3 |
| DATA_SOURCE | 5 | queue | $2 |
| PARAM_COMPARE | 1 | dma_conf->dma_rx_size | > $3 |
| PARAM_COMPARE | 3 | i | < $1->dma_rx_size |
| CONSTRAINT | 3 | i | <1215 |
| BIT_INFO | 0 | priv->msg_enable | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->dma_conf.dma_rx_size | |
| NO_OVERFLOW_SIMPLE | 1 | dma_conf->dma_rx_size | |
| NO_OVERFLOW_SIMPLE | 3 | i | |
| NO_OVERFLOW_SIMPLE | 5 | queue | |
| UNITS | 3 | i | unit_array_size |
| UNITS | 5 | queue | unit_array_size |