Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/actions/owl-emac.c owl_emac_ring_pop_tail() -> owl_emac_ring_get_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 48 |
| DATA_SOURCE | 0 | ring | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->lock | ||
| TYPE_LOCK | (struct owl_emac_priv)->lock |
drivers/net/ethernet/actions/owl-emac.c owl_emac_ring_push_head() -> owl_emac_ring_get_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 48 |
| DATA_SOURCE | 0 | ring | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct owl_emac_priv)->lock |
drivers/net/ethernet/actions/owl-emac.c owl_emac_tx_complete() -> owl_emac_ring_get_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 48 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->lock | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct owl_emac_priv)->lock |
drivers/net/ethernet/actions/owl-emac.c owl_emac_tx_complete() -> owl_emac_ring_get_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 48 |
| CAPPED_DATA | 1 | cur | 1 |
| DATA_SOURCE | 1 | cur | r owl_emac_ring_get_next |
| PARAM_COMPARE | 0 | ring->head | != $1 |
| PARAM_COMPARE | 1 | cur | != $0->head |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->lock | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct owl_emac_priv)->lock |