Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_bm_bufs_add() -> mvpp2_bm_pool_put()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->dev 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent->cma_area->nranges s32min-s32max
PARAM_VALUE 0 port->dev->dev.parent->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 port->dev->dev.parent->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent->dma_uses_io_tlb 1
PARAM_VALUE 0 port->pool_long->id 0-63
PARAM_VALUE 0 port->pool_short->id 0-63
PARAM_VALUE 0 port->priv 4096-ptr_max
PARAM_VALUE 0 port->priv->bm_pools 4096-ptr_max
PARAM_VALUE 0 *port->dev->name 0-255
BUF_SIZE 0 port->ethtool_stats (-1),864-896
BUF_SIZE 0 port->fwnode (-1)-0,64
BUF_SIZE 0 port->rxqs (-1)-8
BUF_SIZE 0 port->stats (-1),88
BUF_SIZE 0 port->txqs (-1),64
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 port->pkt_size 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 port->nrxqs
NO_OVERFLOW_SIMPLE 0 port->ntxqs
NO_OVERFLOW_SIMPLE 0 port->pool_long->id
NO_OVERFLOW_SIMPLE 0 port->pool_short->id

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_buff_hdr_pool_put() -> mvpp2_bm_pool_put()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent->dma_mask 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent->flags 4096-ptr_max
PARAM_VALUE 0 port->priv 4096-ptr_max
PARAM_VALUE 0 port->priv->bm_pools 4096-ptr_max
PARAM_VALUE 0 port->rxqs 4096-ptr_max
PARAM_VALUE 0 *port->dev->name 0-255
PARAM_VALUE 1 pool 0
PARAM_VALUE 2 buf_dma_addr 0-1099511627775
PARAM_VALUE 3 buf_phys_addr 0-1099511627775
DATA_SOURCE 0 port $0
DATA_SOURCE 1 pool $2
NOCHECK_CALL

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_rx() -> mvpp2_bm_pool_put()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent->dma_mask 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent->flags 4096-ptr_max
PARAM_VALUE 0 port->priv 4096-ptr_max
PARAM_VALUE 0 port->priv->bm_pools 4096-ptr_max
PARAM_VALUE 0 port->priv->percpu_pools 0-1
PARAM_VALUE 0 port->rxqs 4096-ptr_max
PARAM_VALUE 0 *port->dev->name 0-255
PARAM_VALUE 1 pool 0-7
PARAM_VALUE 2 buf_dma_addr 0-1099511627775
PARAM_VALUE 3 buf_phys_addr 0-1099511627775
DATA_SOURCE 0 port $0
DATA_SOURCE 2 buf_dma_addr r mvpp2_rxdesc_dma_addr_get
DATA_SOURCE 3 buf_phys_addr r mvpp2_rxdesc_cookie_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_rx_refill() -> mvpp2_bm_pool_put()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 port->dev->dev.parent->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent->dma_mask 4096-ptr_max
PARAM_VALUE 0 port->dev->dev.parent->dma_uses_io_tlb 1
PARAM_VALUE 0 port->dev->dev.parent->flags 4096-ptr_max
PARAM_VALUE 0 port->priv 4096-ptr_max
PARAM_VALUE 0 port->priv->bm_pools 4096-ptr_max
PARAM_VALUE 0 port->rxqs 4096-ptr_max
PARAM_VALUE 1 pool 0
DATA_SOURCE 0 port $0
DATA_SOURCE 1 pool $3
RX_PATH
NOCHECK_CALL

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_rxq_drop_pkts() -> mvpp2_bm_pool_put()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->comphy->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->dev->dev.parent->cma_area->nranges s32min-s32max
PARAM_VALUE 0 port->dev->dev.parent->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 port->dev->dev.parent->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 port->nrxqs 1-u32max
PARAM_VALUE 0 port->priv 4096-ptr_max
PARAM_VALUE 0 port->rxqs 4096-ptr_max
PARAM_VALUE 1 pool 0-7
PARAM_VALUE 2 buf_dma_addr 0-1099511627775
PARAM_VALUE 3 buf_phys_addr 0-1099511627775
DATA_SOURCE 0 port $0
BIT_INFO 2 buf_dma_addr 0x0,0xffffffffff
BIT_INFO 3 buf_phys_addr 0x0,0xffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 port->rx_ring_size 0
USER_DATA 0 port->tx_ring_size 0
UNITS 0 port unit_byte