Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_xdp_xmit_xdpf() -> (struct stmmac_desc_ops)->prepare_tx_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | is_fs | 1 |
| PARAM_VALUE | 5 | tx_own | 1 |
| PARAM_VALUE | 6 | ls | 1 |
| BUF_SIZE | 0 | p | (-1),16 |
| BUF_SIZE | 0 | p | (-1),16 |
| DATA_SOURCE | 0 | p | r stmmac_get_tx_desc |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &nq->_xmit_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_xdp_xmit_zc() -> (struct stmmac_desc_ops)->prepare_tx_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | is_fs | 1 |
| PARAM_VALUE | 5 | tx_own | 1 |
| PARAM_VALUE | 6 | ls | 1 |
| BUF_SIZE | 0 | p | (-1),16 |
| BUF_SIZE | 0 | p | (-1),16 |
| DATA_SOURCE | 0 | p | r stmmac_get_tx_desc |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_xmit() -> (struct stmmac_desc_ops)->prepare_tx_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | is_fs | 1 |
| PARAM_VALUE | 5 | tx_own | 0 |
| BUF_SIZE | 0 | p | (-1),16 |
| BUF_SIZE | 0 | p | (-1),16 |
| DATA_SOURCE | 2 | len | r skb_headlen |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 7 | tot_pkt_len | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 7 | tot_pkt_len | |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_xmit() -> (struct stmmac_desc_ops)->prepare_tx_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | is_fs | 0 |
| PARAM_VALUE | 5 | tx_own | 1 |
| BUF_SIZE | 0 | p | (-1),16 |
| BUF_SIZE | 0 | p | (-1),16 |
| DATA_SOURCE | 0 | p | r stmmac_get_tx_desc |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 7 | tot_pkt_len | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 7 | tot_pkt_len | |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/stmicro/stmmac/ring_mode.c jumbo_frm() -> (struct stmmac_desc_ops)->prepare_tx_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | is_fs | 1 |
| PARAM_VALUE | 2 | len | 2048,8188 |
| PARAM_VALUE | 4 | descriptor_mode | 2 |
| PARAM_VALUE | 5 | tx_own | 0 |
| PARAM_VALUE | 6 | ls | 0 |
| DATA_SOURCE | 3 | csum_flag | $2 |
| BIT_INFO | 2 | len | 0x800,0x1fff |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 7 | tot_pkt_len | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 7 | tot_pkt_len | |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/stmicro/stmmac/ring_mode.c jumbo_frm() -> (struct stmmac_desc_ops)->prepare_tx_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | is_fs | 0 |
| PARAM_VALUE | 4 | descriptor_mode | 2 |
| PARAM_VALUE | 5 | tx_own | 1 |
| DATA_SOURCE | 3 | csum_flag | $2 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 6 | ls | 0-1 |
| HOST_DATA | 7 | tot_pkt_len | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 7 | tot_pkt_len | |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/stmicro/stmmac/ring_mode.c jumbo_frm() -> (struct stmmac_desc_ops)->prepare_tx_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | is_fs | 1 |
| PARAM_VALUE | 2 | len | 0-8188 |
| PARAM_VALUE | 4 | descriptor_mode | 2 |
| PARAM_VALUE | 5 | tx_own | 0 |
| DATA_SOURCE | 2 | len | r skb_headlen |
| DATA_SOURCE | 3 | csum_flag | $2 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 6 | ls | 0-1 |
| HOST_DATA | 7 | tot_pkt_len | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 7 | tot_pkt_len | |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/stmicro/stmmac/chain_mode.c jumbo_frm() -> (struct stmmac_desc_ops)->prepare_tx_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | is_fs | 1 |
| PARAM_VALUE | 2 | len | 0-8188 |
| PARAM_VALUE | 4 | descriptor_mode | 1 |
| PARAM_VALUE | 5 | tx_own | 0 |
| PARAM_VALUE | 6 | ls | 0 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 3 | csum_flag | $2 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 7 | tot_pkt_len | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 7 | tot_pkt_len | |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/stmicro/stmmac/chain_mode.c jumbo_frm() -> (struct stmmac_desc_ops)->prepare_tx_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | is_fs | 0 |
| PARAM_VALUE | 2 | len | 2048,8188 |
| PARAM_VALUE | 4 | descriptor_mode | 1 |
| PARAM_VALUE | 5 | tx_own | 1 |
| PARAM_VALUE | 6 | ls | 0 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 3 | csum_flag | $2 |
| BIT_INFO | 2 | len | 0x800,0x1fff |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 7 | tot_pkt_len | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 7 | tot_pkt_len | |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/stmicro/stmmac/chain_mode.c jumbo_frm() -> (struct stmmac_desc_ops)->prepare_tx_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | is_fs | 0 |
| PARAM_VALUE | 2 | len | 1-8188 |
| PARAM_VALUE | 4 | descriptor_mode | 1 |
| PARAM_VALUE | 5 | tx_own | 1 |
| PARAM_VALUE | 6 | ls | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 3 | csum_flag | $2 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 7 | tot_pkt_len | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 7 | tot_pkt_len | |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |