Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/socionext/netsec.c netsec_netdev_start_xmit() -> netsec_set_tx_de()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->desc_ring 4096-ptr_max
PARAM_VALUE 0 priv->dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 priv->dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 priv->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 priv->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 priv->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 priv->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 1 dring 4096-ptr_max
PARAM_VALUE 1 dring->head 0-255
PARAM_VALUE 1 dring->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dring->tail 0-255
PARAM_VALUE 2 tx_ctrl 641246668294873088
PARAM_VALUE 3 desc 6194149377909485568
PARAM_VALUE 3 desc->buf_type 0
PARAM_VALUE 3 desc->dma_addr 0-18446744073709551614
PARAM_VALUE 4 buf 4096-ptr_max
BUF_SIZE 1 dring 512
BUF_SIZE 1 dring 512
BUF_SIZE 4 buf (-1)-s32max
CAPPED_DATA 0 priv->ndev->num_tx_queues 1
CAPPED_DATA 1 dring->head 1
CAPPED_DATA 1 dring->tail 1
DATA_SOURCE 4 buf $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 1 &dring->lock
HALF_LOCKED2 &ndev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct netsec_desc_ring)->lock

drivers/net/ethernet/socionext/netsec.c netsec_xdp_queue_one() -> netsec_set_tx_de()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->desc_ring 4096-ptr_max
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 1 dring 4096-ptr_max
PARAM_VALUE 1 dring->head 0-255
PARAM_VALUE 1 dring->tail 0-255
PARAM_VALUE 2 tx_ctrl 5912974875137736704
PARAM_VALUE 2 tx_ctrl->cksum_offload_flag 0
PARAM_VALUE 2 tx_ctrl->tcp_seg_len 0
PARAM_VALUE 2 tx_ctrl->tcp_seg_offload_flag 0
PARAM_VALUE 3 desc 8009480667600412672
PARAM_VALUE 3 desc->buf_type 1-2
PARAM_VALUE 4 buf 4096-ptr_max
BUF_SIZE 1 dring 512
BUF_SIZE 1 dring 512
BUF_SIZE 4 buf (-1),1-s32max
CAPPED_DATA 0 priv->ndev->num_tx_queues 1
CAPPED_DATA 1 dring->head 1
CAPPED_DATA 1 dring->tail 1
DATA_SOURCE 0 priv $0
DATA_SOURCE 4 buf $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 4 buf unit_byte
LOCK2 &tx_ring->lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct netsec_desc_ring)->lock