Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/cadence/macb_main.c at91ether_start() -> macb_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | desc | r macb_rx_desc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/cadence/macb_main.c gem_init_rings() -> macb_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 0 |
| CAPPED_DATA | 0 | bp->num_queues | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | desc | r macb_tx_desc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | bp->rx_buffer_size | 18-16320[c] |
drivers/net/ethernet/cadence/macb_main.c gem_rx_refill() -> macb_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| CAPPED_DATA | 0 | &bp->pdev->dev | 1 |
| DATA_SOURCE | 1 | desc | r macb_rx_desc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/cadence/macb_main.c macb_init_rings() -> macb_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 0 |
| CAPPED_DATA | 0 | bp->num_queues | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | desc | r macb_tx_desc |
| 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_init_rx_ring() -> macb_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| DATA_SOURCE | 1 | desc | r macb_rx_desc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bp->lock | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/cadence/macb_main.c macb_init_tieoff() -> macb_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 3 |
| CAPPED_DATA | 0 | bp->num_queues | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| BIT_INFO | 0 | bp->caps | 0x0,0xfffff7ff |
| 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_error_task() -> macb_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 0 |
| CAPPED_DATA | 0 | bp->dev->num_tx_queues | 1 |
| DATA_SOURCE | 1 | desc | r macb_tx_desc |
| 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_set_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | desc | r macb_tx_desc |
| 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 |