Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_tx_map() -> setup_tx_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 1 | tx_buf | 4096-ptr_max |
| PARAM_VALUE | 2 | txd | 4096-ptr_max |
| PARAM_VALUE | 3 | mapped_addr | 0-18446744073709551614 |
| PARAM_VALUE | 5 | idx | 0 |
| DATA_SOURCE | 1 | tx_buf | r mtk_desc_to_tx_buf |
| DATA_SOURCE | 2 | txd | r qdma_to_pdma |
| DATA_SOURCE | 3 | mapped_addr | r dma_map_single_attrs |
| DATA_SOURCE | 4 | size | r skb_headlen |
| MEM_ZERO | 1 | tx_buf | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | mapped_addr | unit_byte |
| UNITS | 4 | size | unit_byte |
| LOCK2 | ð->page_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 mtk_eth)->page_lock |
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_tx_map() -> setup_tx_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 1 | tx_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | tx_buf->data | u32max |
| PARAM_VALUE | 2 | txd | 4096-ptr_max |
| PARAM_VALUE | 3 | mapped_addr | 0-18446744073709551614 |
| PARAM_VALUE | 4 | size | 1-u16max |
| PARAM_VALUE | 5 | idx | 1-s32max |
| CAPPED_DATA | 4 | size | 1 |
| DATA_SOURCE | 1 | tx_buf | r mtk_desc_to_tx_buf |
| DATA_SOURCE | 2 | txd | r qdma_to_pdma |
| DATA_SOURCE | 3 | mapped_addr | r __skb_frag_dma_map |
| BIT_INFO | 1 | tx_buf->flags | 0x2,0xffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | mapped_addr | unit_byte |
| UNITS | 4 | size | unit_byte |
| LOCK2 | ð->page_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 mtk_eth)->page_lock |
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_xdp_frame_map() -> setup_tx_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc->caps | 9216,537335,369103363,369105923,688017476,2837663972,5276963669,5373350104,7133991668 |
| PARAM_VALUE | 1 | tx_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | tx_buf->data | u32max |
| PARAM_VALUE | 2 | txd | 4096-ptr_max |
| PARAM_VALUE | 5 | idx | 0-s32max |
| DATA_SOURCE | 0 | eth | $0 |
| DATA_SOURCE | 1 | tx_buf | $4 |
| DATA_SOURCE | 2 | txd | r qdma_to_pdma |
| DATA_SOURCE | 5 | idx | $7 |
| FUZZY_MAX | 5 | idx | 0 |
| BIT_INFO | 1 | tx_buf->flags | 0x0,0x1 |
| MEM_ZERO | 1 | tx_buf | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | mapped_addr | unit_byte |
| UNITS | 4 | size | unit_byte |
| LOCK2 | 0 | ð->page_lock | |
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtk_eth)->page_lock |