Documented in 1 files:
Defined in 2 files as a function:
- drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c, line 632 (as a function)
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c, line 2093 (as a function)
Referenced in 2 files:
- drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c, line 649
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
Smatch caller information:
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c __free_dma_tx_desc_resources() -> dma_free_tx_skbufs()
| 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,33-34,50 |
| 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,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3720,9688-u64max |
| PARAM_VALUE | 0 | priv->device->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | priv->device->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | priv->plat | 4096-ptr_max |
| PARAM_VALUE | 0 | *priv->dev->name | 0-255 |
| PARAM_VALUE | 1 | dma_conf | 4096-ptr_max |
| PARAM_VALUE | 1 | dma_conf->tx_queue | 4096-ptr_max |
| PARAM_VALUE | 2 | queue | 0-254 |
| CAPPED_DATA | 0 | priv->device->cma_area->nranges | 1 |
| CAPPED_DATA | 0 | priv->plat->rx_queues_to_use | 1 |
| CAPPED_DATA | 2 | queue | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | dma_conf | $1 |
| DATA_SOURCE | 2 | queue | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | priv->dma_conf.dma_tx_size | |
| NO_OVERFLOW_SIMPLE | 1 | dma_conf->dma_rx_size | |
| NO_OVERFLOW_SIMPLE | 1 | dma_conf->dma_tx_size | |
| NO_OVERFLOW_SIMPLE | 2 | queue | |
| UNITS | 2 | queue | unit_array_size |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_free_tx_skbufs() -> dma_free_tx_skbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->pins | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->pins->p->dev->kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->device->pins->p->dev->power.links_count | 0-4294967295 |
| PARAM_VALUE | 0 | priv->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->mii | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->phylink | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->phylink->phydev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->phylink->phydev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->phylink->phydev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->phylink->phydev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->phylink->phydev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->phylink->phydev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | priv->phylink->phydev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->phylink->phydev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->phylink->phydev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->phylink->phydev->suspended | 0-1 |
| PARAM_VALUE | 0 | priv->plat | 4096-ptr_max |
| PARAM_VALUE | 1 | dma_conf | 4096-ptr_max |
| PARAM_VALUE | 2 | queue | 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 | queue | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| BIT_INFO | 0 | priv->plat->flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | queue | unit_array_size |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &priv->lock | |
| HALF_LOCKED2 | &fsm->lock | ||
| TYPE_LOCK | (struct stmmac_priv)->lock |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_tx_err() -> dma_free_tx_skbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev | 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->dev->name | 0-255 |
| PARAM_VALUE | 1 | dma_conf | 4096-ptr_max |
| PARAM_VALUE | 2 | queue | 0-254 |
| CAPPED_DATA | 0 | priv->dev->num_tx_queues | 1 |
| CAPPED_DATA | 2 | queue | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | queue | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | queue | unit_array_size |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c free_dma_desc_resources() -> dma_free_tx_skbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->device->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | priv->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw->dma | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw->dma->cha_init | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw->dma->init | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw->mtl->mtl_disable_txqueue | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw->mtl->mtl_enable_txqueue | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw->mtl->mtl_set_txfifosize | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->plat->dma_cfg->burst_map | 0-s32max |
| PARAM_VALUE | 0 | priv->plat->dma_cfg->fixed_burst | 0-1 |
| PARAM_VALUE | 0 | priv->plat->dma_cfg->pbl | 0-s32max |
| PARAM_VALUE | 0 | priv->plat->interface | 0-37 |
| PARAM_VALUE | 0 | priv->plat->phy_bus_name | 0 |
| PARAM_VALUE | 0 | *priv->dev->name | 0-255 |
| DATA_SOURCE | 0 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | priv->dma_buf_sz | 0,24-2147483672[c] |
| HALF_LOCKED2 | global &rtnl_mutex |