Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/broadcom/bnge/bnge_netdev.c bnge_alloc_one_agg_ring_bufs() -> bnge_alloc_rx_netmem()

Type Parameter Key Value
PARAM_VALUE 0 bn 4096-ptr_max
PARAM_VALUE 0 bn->bd 4096-ptr_max
PARAM_VALUE 0 bn->bd->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 bn->bd->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 bn->bd->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 bn->bd->hwrm_cmd_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 bn->bd->hwrm_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bn->bd->hwrm_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 bn->bd->hwrm_dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 bn->bd->hwrm_dma_pool->dev->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 bn->bd->hwrm_dma_pool->dev->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 bn->bd->hwrm_dma_pool->dev->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 bn->bd->hwrm_dma_pool->dev->dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 0 bn->bd->hwrm_dma_pool->dev->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 bn->bd->hwrm_dma_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 bn->bd->hwrm_dma_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 bn->bd->hwrm_dma_pool->size 0-4294967295
PARAM_VALUE 0 bn->bd->netdev->priv->fw_rx_stats_ext_size 0-8191
PARAM_VALUE 0 bn->bd->netdev->priv->fw_tx_stats_ext_size 0-8191
PARAM_VALUE 0 bn->bd->netdev->priv->pri2cos_valid 0-1
PARAM_VALUE 0 bn->bd->netdev->priv->priv_flags 1-4294967295
PARAM_VALUE 0 bn->bd->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 bn->bd->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 bn->bd->rx_nr_rings 1-u16max
PARAM_VALUE 0 bn->bnapi 4096-ptr_max
PARAM_VALUE 0 bn->max_tpa 256-u16max
PARAM_VALUE 0 bn->netdev 4096-ptr_max
PARAM_VALUE 0 bn->netdev->num_rx_queues 1-u32max
PARAM_VALUE 0 bn->netdev->num_tx_queues 1-u32max
PARAM_VALUE 0 bn->netdev->real_num_rx_queues 1-u32max
PARAM_VALUE 0 bn->netdev->real_num_tx_queues 1-u32max
PARAM_VALUE 0 bn->netdev->threaded 0
PARAM_VALUE 0 bn->nr_vnics 1
PARAM_VALUE 0 bn->rx_agg_ring_size 1-u32max
PARAM_VALUE 0 bn->rx_dma_offset 64
PARAM_VALUE 0 bn->rx_offset 64
PARAM_VALUE 0 bn->rx_ring 4096-ptr_max
PARAM_VALUE 0 bn->tx_ring 16,4096-ptr_max
PARAM_VALUE 0 bn->tx_ring_map 16,4096-ptr_max
PARAM_VALUE 0 bn->vnic_info 4096-ptr_max
PARAM_VALUE 0 *bn->bd->netdev->priv->pri2cos_idx 0-7
PARAM_VALUE 0 *bn->netdev->name 0-255
PARAM_VALUE 0 *bn->netdev->prio_tc_map 0-255
PARAM_VALUE 1 rxr 4096-ptr_max
PARAM_VALUE 1 rxr->head_pool->mp_priv->fired_notifs 0-4294967295
PARAM_VALUE 1 rxr->head_pool->p.dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 1 rxr->head_pool->p.dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 1 rxr->head_pool->p.dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 1 rxr->head_pool->p.dev->iommu->attach_deferred 0-1
PARAM_VALUE 1 rxr->head_pool->p.dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 3 gfp 3264
CAPPED_DATA 0 bn->bd->nq_nr_rings 1
CAPPED_DATA 0 bn->bd->rx_nr_rings 1
CAPPED_DATA 0 bn->bd->tx_nr_rings 1
CAPPED_DATA 0 bn->netdev->num_tx_queues 1
CAPPED_DATA 0 bn->netdev->real_num_rx_queues 1
CAPPED_DATA 0 bn->rx_ring_size 1
DATA_SOURCE 0 bn $0
DATA_SOURCE 1 rxr $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bn->cp_nr_pages
NO_OVERFLOW_SIMPLE 0 bn->max_tpa
NO_OVERFLOW_SIMPLE 0 bn->nr_vnics

drivers/net/ethernet/broadcom/bnge/bnge_txrx.c __bnge_rx_agg_netmems() -> bnge_alloc_rx_netmem()

Type Parameter Key Value
PARAM_VALUE 0 bn 4096-ptr_max
PARAM_VALUE 0 bn->bd->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 *bn->netdev->name 0-255
PARAM_VALUE 1 rxr 4096-ptr_max
PARAM_VALUE 1 rxr->rx_agg_bmap 4096-ptr_max
PARAM_VALUE 1 rxr->rx_agg_buf_ring 4096-ptr_max
PARAM_VALUE 3 gfp 2080
DATA_SOURCE 0 bn $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read