Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/freescale/fec_main.c fec_enet_rx_queue() -> fec_enet_get_bd_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdp | 4096-ptr_max |
| PARAM_VALUE | 1 | bd | 4096-ptr_max |
| RX_PATH | |||
| UNITS | 0 | bdp | unit_byte |
drivers/net/ethernet/freescale/fec_main.c fec_enet_rx_queue_xdp() -> fec_enet_get_bd_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdp | 4096-ptr_max |
| PARAM_VALUE | 1 | bd | 4096-ptr_max |
| RX_PATH | |||
| UNITS | 0 | bdp | unit_byte |
drivers/net/ethernet/freescale/fec_main.c fec_enet_rx_queue_xsk() -> fec_enet_get_bd_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdp | 4096-ptr_max |
| PARAM_VALUE | 1 | bd | 4096-ptr_max |
| RX_PATH | |||
| UNITS | 0 | bdp | unit_byte |
drivers/net/ethernet/freescale/fec_main.c fec_enet_tx_queue() -> fec_enet_get_bd_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bd | 4096-ptr_max |
| DATA_SOURCE | 0 | bdp | r fec_enet_get_nextdesc |
| RX_PATH | |||
| UNITS | 0 | bdp | unit_byte |
drivers/net/ethernet/freescale/fec_main.c fec_enet_txq_submit_frag_skb() -> fec_enet_get_bd_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdp | 4096-ptr_max |
| PARAM_VALUE | 1 | bd | 4096-ptr_max |
| DATA_SOURCE | 0 | bdp | r fec_enet_get_nextdesc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdp | unit_byte |
| HALF_LOCKED2 | &ndev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/freescale/fec_main.c fec_enet_txq_submit_skb() -> fec_enet_get_bd_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdp | 4096-ptr_max |
| PARAM_VALUE | 1 | bd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdp | unit_byte |
| HALF_LOCKED2 | &ndev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/freescale/fec_main.c fec_enet_txq_submit_skb() -> fec_enet_get_bd_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdp | 4096-ptr_max |
| PARAM_VALUE | 1 | bd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdp | unit_byte |
| HALF_LOCKED2 | &ndev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/freescale/fec_main.c fec_enet_txq_submit_tso() -> fec_enet_get_bd_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdp | unit_byte |
| HALF_LOCKED2 | &ndev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/freescale/fec_main.c fec_enet_txq_submit_tso() -> fec_enet_get_bd_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bd | 4096-ptr_max |
| CAPPED_DATA | 0 | bdp | 1 |
| DATA_SOURCE | 0 | bdp | r fec_enet_get_nextdesc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdp | unit_byte |
| HALF_LOCKED2 | &ndev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/freescale/fec_main.c fec_enet_txq_xmit_frame() -> fec_enet_get_bd_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdp | 4096-ptr_max |
| PARAM_VALUE | 1 | bd | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdp | unit_byte |
| LOCK2 | &nq->_xmit_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/freescale/fec_main.c fec_enet_xsk_tx_xmit() -> fec_enet_get_bd_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdp | 4096-ptr_max |
| PARAM_VALUE | 1 | bd | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdp | unit_byte |
| LOCK2 | &nq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/freescale/fec_main.c fec_enet_xsk_xmit() -> fec_enet_get_bd_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bd | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdp | unit_byte |
| LOCK2 | &nq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |