Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_tso_put_data() -> mvpp2_txdesc_size_set()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->priv 4096-ptr_max
PARAM_VALUE 1 tx_desc 4096-ptr_max
PARAM_VALUE 2 size 0-u16max,18446744071562067968-u64max
CAPPED_DATA 2 size 1
DATA_SOURCE 1 tx_desc r mvpp2_txq_next_desc_get
DATA_SOURCE 2 size $6
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 size unit_byte
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_tso_put_hdr() -> mvpp2_txdesc_size_set()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->priv 4096-ptr_max
PARAM_VALUE 1 tx_desc 4096-ptr_max
PARAM_VALUE 2 size 0-s32max,18446744071562067968-u64max
DATA_SOURCE 1 tx_desc r mvpp2_txq_next_desc_get
DATA_SOURCE 2 size $5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 size unit_byte
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_tx() -> mvpp2_txdesc_size_set()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->priv 4096-ptr_max
PARAM_VALUE 1 tx_desc 4096-ptr_max
PARAM_VALUE 2 size 0-u32max
DATA_SOURCE 1 tx_desc r mvpp2_txq_next_desc_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_tx_frag_process() -> mvpp2_txdesc_size_set()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->priv 4096-ptr_max
PARAM_VALUE 1 tx_desc 4096-ptr_max
PARAM_VALUE 2 size 0-u32max
DATA_SOURCE 0 port $0
DATA_SOURCE 1 tx_desc r mvpp2_txq_next_desc_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_xdp_submit_frame() -> mvpp2_txdesc_size_set()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->priv 4096-ptr_max
PARAM_VALUE 1 tx_desc 4096-ptr_max
DATA_SOURCE 0 port $0
DATA_SOURCE 1 tx_desc r mvpp2_txq_next_desc_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 size unit_byte
HALF_LOCKED2 rcu_read