Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/cadence/macb_main.c macb_free_consistent() -> macb_tx_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->num_queues | 1-u32max |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->pdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | bp->phy->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | bp->queues | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->queues->bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->queues->rx_prepared_head | 0-4294967295 |
| PARAM_VALUE | 0 | bp->queues->rx_tail | 0-4294967295 |
| PARAM_VALUE | 0 | bp->queues->tx_head | 0-4294967295 |
| PARAM_VALUE | 0 | bp->queues->tx_tail | 0-4294967295 |
| PARAM_VALUE | 0 | bp->rx_ring_tieoff | 0 |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 1 | tx_skb | 4096-ptr_max |
| PARAM_VALUE | 2 | budget | 0 |
| BUF_SIZE | 0 | bp->rx_ring_tieoff | (-1)-0,8,16,24 |
| DATA_SOURCE | 0 | bp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | bp->rx_buffer_size | 18-16320[c] |
drivers/net/ethernet/cadence/macb_main.c macb_tx_complete() -> macb_tx_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | tx_skb | 4096-ptr_max |
| PARAM_VALUE | 1 | tx_skb->skb | 0,4096-ptr_max |
| PARAM_VALUE | 2 | budget | 1-s32max |
| DATA_SOURCE | 1 | tx_skb | r macb_tx_skb |
| DATA_SOURCE | 2 | budget | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &queue->tx_ptr_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct macb_queue)->tx_ptr_lock |
drivers/net/ethernet/cadence/macb_main.c macb_tx_error_task() -> macb_tx_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->macb_reg_readl | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->macb_reg_writel | 4096-ptr_max |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 1 | tx_skb | 4096-ptr_max |
| PARAM_VALUE | 2 | budget | 0 |
| CAPPED_DATA | 0 | bp->dev->num_tx_queues | 1 |
| DATA_SOURCE | 1 | tx_skb | r macb_tx_skb |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &bp->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct macb)->lock |
drivers/net/ethernet/cadence/macb_main.c macb_tx_error_task() -> macb_tx_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->macb_reg_readl | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->macb_reg_writel | 4096-ptr_max |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 1 | tx_skb | 4096-ptr_max |
| PARAM_VALUE | 2 | budget | 0 |
| CAPPED_DATA | 0 | bp->dev->num_tx_queues | 1 |
| DATA_SOURCE | 1 | tx_skb | r macb_tx_skb |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &bp->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct macb)->lock |
drivers/net/ethernet/cadence/macb_main.c macb_tx_map() -> macb_tx_unmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bp->queues | 4096-ptr_max |
| PARAM_VALUE | 0 | *bp->dev->name | 0 |
| PARAM_VALUE | 1 | tx_skb | 4096-ptr_max |
| PARAM_VALUE | 2 | budget | 0 |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | tx_skb | r macb_tx_skb |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &queue->tx_ptr_lock | ||
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct macb_queue)->tx_ptr_lock |