Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/broadcom/bnge/bnge_netdev.c bnge_alloc_core() -> bnge_free_core()
| 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->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bn->bd->hw_resc.max_irqs | 1 |
| PARAM_VALUE | 0 | bn->bd->link_info.link_state | 0-2 |
| PARAM_VALUE | 0 | bn->bd->link_info.phy_addr | 0-31 |
| PARAM_VALUE | 0 | bn->bd->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bn->bnapi | 16,4096-ptr_max |
| PARAM_VALUE | 0 | bn->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bn->rx_ring | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | *bn->netdev->name | 0-255 |
| BUF_SIZE | 0 | bn->bnapi | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | bn->rx_ring | 0-89127600 |
| BUF_SIZE | 0 | bn->tx_ring | 0-19398360,u64max |
| BUF_SIZE | 0 | bn->tx_ring_map | 2,u64max |
| DATA_SOURCE | 0 | bn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bn->max_tpa | |
| NO_OVERFLOW_SIMPLE | 0 | bn->nr_vnics |
drivers/net/ethernet/broadcom/bnge/bnge_netdev.c bnge_close_core() -> bnge_free_core()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bn | 4096-ptr_max |
| PARAM_VALUE | 0 | bn->bd | 4096-ptr_max |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| 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->cma_area->nranges | s32min-s32max |
| 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->dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->size | 0-4294967295 |
| PARAM_VALUE | 0 | bn->netdev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bn->netdev->link_watch_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bn->netdev->linkwatch_dev_tracker | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bn->netdev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736 |
| PARAM_VALUE | 0 | bn->netdev->tx_global_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bn->rsscos_nr_ctxs | 0 |
| PARAM_VALUE | 0 | bn->stats_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bn->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | bn->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | bn->timer.function | 0 |
| PARAM_VALUE | 0 | bn->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | *bn->bd->netdev->name | 0-255 |
| 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->nr_vnics | 1 |
| CAPPED_DATA | 0 | &bn->timer | 1 |
| DATA_SOURCE | 0 | bn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/broadcom/bnge/bnge_netdev.c bnge_open_core() -> bnge_free_core()
| 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->cma_area->nranges | s32min-s32max |
| 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_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->lock.rlock.dep_map->name | 0-255 |
| 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->pdev->dev.cma_area->nranges | s32min-s32max |
| 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->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bn->netdev->ip6_ptr->dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | bn->netdev->real_num_rx_queues | 1-u32max |
| PARAM_VALUE | 0 | bn->netdev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | bn->netdev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728 |
| PARAM_VALUE | 0 | bn->netdev->threaded | 0 |
| PARAM_VALUE | 0 | bn->nr_vnics | 1 |
| PARAM_VALUE | 0 | bn->rx_dma_offset | 64 |
| PARAM_VALUE | 0 | bn->rx_offset | 64 |
| PARAM_VALUE | 0 | bn->rx_ring | 16,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 |
| PARAM_VALUE | 0 | *bn->netdev->prio_tc_map | 0-255 |
| CAPPED_DATA | 0 | bn->bd->dev->cma_area->nranges | 1 |
| 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 |
| DATA_SOURCE | 0 | bn | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bn->max_tpa | |
| NO_OVERFLOW_SIMPLE | 0 | bn->netdev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | bn->nr_vnics | |
| HALF_LOCKED2 | global &rtnl_mutex |