Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/calxeda/xgmac.c xgmac_dma_desc_rings_init() -> desc_init_tx_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 1 | ring_size | 128 |
| BUF_SIZE | 0 | p | 4096 |
| BUF_SIZE | 0 | p | 4096 |
| DATA_SOURCE | 0 | p | r dma_alloc_coherent |
| MEM_ZERO | 0 | p | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/calxeda/xgmac.c xgmac_tx_timeout_work() -> desc_init_tx_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ring_size | 128 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &priv->dev->tx_global_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct net_device)->tx_global_lock |