Documented in 3 files:

Defined in 4 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/ethernet/chelsio/cxgb3/sge.c ofld_xmit() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->sge.qs 4096-ptr_max
PARAM_VALUE 1 tq 4096-ptr_max
PARAM_VALUE 1 tq->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 unmap 16
BUF_SIZE 1 tq 704
BUF_SIZE 1 tq 704
DATA_SOURCE 0 adapter $0
DATA_SOURCE 1 tq $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 1 &tq->lock
HALF_LOCKED2 bh
TYPE_LOCK (struct sge_txq)->lock

drivers/net/ethernet/chelsio/cxgb3/sge.c restart_offloadq() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 1 tq 4096-ptr_max
PARAM_VALUE 1 tq->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 unmap 16
BUF_SIZE 1 tq 704
BUF_SIZE 1 tq 704
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
UNITS 0 adapter unit_byte
LOCK2 1 &tq->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct sge_txq)->lock

drivers/net/ethernet/chelsio/cxgb3/sge.c sge_timer_tx() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 1 tq 4096-ptr_max
PARAM_VALUE 2 unmap 64
BUF_SIZE 1 tq 1056
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adapter unit_byte
LOCK2 &qs->tx_q->_xmit_lock
TYPE_LOCK (struct netdev_queue)->_xmit_lock

drivers/net/ethernet/chelsio/cxgb3/sge.c sge_timer_tx() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 1 tq 4096-ptr_max
PARAM_VALUE 2 unmap 64
BUF_SIZE 1 tq 704
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adapter unit_byte

drivers/net/ethernet/chelsio/cxgb3/sge.c t3_eth_xmit() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 1 tq 4096-ptr_max
PARAM_VALUE 2 unmap 16
BUF_SIZE 1 tq 1056
BUF_SIZE 1 tq 1056
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 adapter 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/chelsio/cxgb4/sge.c cxgb4_eth_xmit() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 0 adapter->ptp_tx_skb->dev->nd_net.net->ipv4.fqdir->f->frag_expire 0,663510801442193408,1753052602134376448,4007388366431105024,8876081723503042560
PARAM_VALUE 0 adapter->ptp_tx_skb->dev->nd_net.net->ipv4.fqdir->f->qsize 0,304,320
PARAM_VALUE 0 adapter->ptp_tx_skb->dev->ndisc_ops->fill_addr_option 4096-ptr_max
PARAM_VALUE 0 adapter->ptp_tx_skb->dev->ndisc_ops->parse_options 4096-ptr_max
PARAM_VALUE 0 adapter->ptp_tx_skb->dev->ndisc_ops->update 4096-ptr_max
PARAM_VALUE 0 adapter->ptp_tx_skb->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 adapter->ptp_tx_skb->dev->rtnl_link_ops->priv_size 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,3720,9688-u64max
PARAM_VALUE 0 adapter->sge.ethtxq 4096-ptr_max
PARAM_VALUE 2 unmap (-1)
PARAM_VALUE 3 unmap 1
BUF_SIZE 0 adapter->ptp_tx_skb (-1)-s32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adapter->ptp_tx_skb->csum_offset 0-u16max
HOST_DATA 0 adapter->ptp_tx_skb->data_len 0-2147483648[c]
HOST_DATA 0 adapter->ptp_tx_skb->len 14-u32max[c]
HOST_DATA 0 adapter->ptp_tx_skb->next->csum_offset 0-u16max
HOST_DATA 0 adapter->ptp_tx_skb->next->data_len 0-u32max[c]
HOST_DATA 0 adapter->ptp_tx_skb->next->len 1-u32max[c]
HOST_DATA 0 adapter->ptp_tx_skb->prev->csum_offset 0-u16max
HOST_DATA 0 adapter->ptp_tx_skb->prev->data_len 0-u32max[c]
HOST_DATA 0 adapter->ptp_tx_skb->prev->len 0-u32max[c]
HOST_DATA 0 adapter->ptp_tx_skb->prev->truesize 0-u32max
HOST_DATA 0 adapter->ptp_tx_skb->prev->tstamp 500000002-4294967299794967295[c]
HOST_DATA 0 adapter->ptp_tx_skb->prev->users.refs.counter s32min-0,2-s32max
HOST_DATA 0 adapter->ptp_tx_skb->tstamp 500000002-4294967299794967295[c]
HOST_DATA 0 *adapter->ptp_tx_skb->data 0-255
UNITS 0 adapter unit_byte
USER_PTR 0 adapter->ptp_tx_skb->data
HALF_LOCKED2 &adap->ptp_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/chelsio/cxgb4/sge.c cxgb4_reclaim_completed_tx() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 2 unmap (-1)
DATA_SOURCE 0 adapter $0
DATA_SOURCE 1 tq $1
DATA_SOURCE 3 unmap $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adapter unit_byte
HALF_LOCKED2 &tx_ctx->lock
HALF_LOCKED2 bh

drivers/net/ethernet/chelsio/cxgb4/sge.c cxgb4_selftest_lb_pkt() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 0 adapter->sge.ethtxq 4096-ptr_max
PARAM_VALUE 1 tq 4096-ptr_max
PARAM_VALUE 2 unmap (-1)
PARAM_VALUE 3 unmap 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
UNITS 0 adapter unit_byte
LOCK2 &q->txq->_xmit_lock
LOCK2 bh
TYPE_LOCK (struct netdev_queue)->_xmit_lock

drivers/net/ethernet/chelsio/cxgb4/sge.c cxgb4_vf_eth_xmit() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 0 adapter->sge.ethtxq 4096-ptr_max
PARAM_VALUE 2 unmap (-1)
PARAM_VALUE 3 unmap 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 adapter 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/chelsio/cxgb4/sge.c t4_sge_eth_txq_egress_update() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 1 tq 4096-ptr_max
PARAM_VALUE 1 tq->in_use 1-u32max
PARAM_VALUE 2 unmap s32min-(-1),1-s32max
PARAM_VALUE 3 unmap 1
DATA_SOURCE 0 adapter $0
DATA_SOURCE 2 unmap $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adapter unit_byte
LOCK2 &eq->txq->_xmit_lock
TYPE_LOCK (struct netdev_queue)->_xmit_lock

drivers/net/ethernet/chelsio/cxgb/sge.c restart_sched() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->cmdQ 4096-ptr_max
PARAM_VALUE 1 tq 4096-ptr_max
PARAM_VALUE 1 tq->lock.rlock.dep_map->name 0-255
BUF_SIZE 1 tq 272
BUF_SIZE 1 tq 272
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 1 &tq->lock
HALF_LOCKED2 bh
TYPE_LOCK (struct cmdQ)->lock

drivers/net/ethernet/chelsio/cxgb/sge.c sge_tx_reclaim_cb() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->cmdQ 4096-ptr_max
PARAM_VALUE 1 tq 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 1 &tq->lock
TYPE_LOCK (struct cmdQ)->lock

drivers/net/ethernet/chelsio/cxgb/sge.c t1_sge_tx() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 0 adapter->cmdQ 4096-ptr_max
PARAM_VALUE 1 tq 4096-ptr_max
PARAM_VALUE 1 tq->lock.rlock.dep_map->name 0-255
BUF_SIZE 1 tq 272
BUF_SIZE 1 tq 272
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 1 &tq->lock
TYPE_LOCK (struct cmdQ)->lock

drivers/net/ethernet/chelsio/cxgb4vf/sge.c t4vf_eth_xmit() -> reclaim_completed_tx()

Type Parameter Key Value
PARAM_VALUE 0 adapter->sge.ethtxq 4096-ptr_max
PARAM_VALUE 2 unmap 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 adapter unit_byte
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read