Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_init_dflt_ring_mode() -> bnxt_init_int_mode()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->irq_tbl 0
PARAM_VALUE 0 bp->pdev->msix_base 0
DATA_SOURCE 0 bp $0
NO_OVERFLOW_SIMPLE 0 bp->cp_nr_rings
NO_OVERFLOW_SIMPLE 0 bp->rx_nr_rings
NO_OVERFLOW_SIMPLE 0 bp->tx_nr_rings_per_tc

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_io_resume() -> bnxt_init_int_mode()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->ctx 0,4096-ptr_max
PARAM_VALUE 0 bp->dev 0,4096-ptr_max
PARAM_VALUE 0 bp->dev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 bp->dev->rtnl_link_ops->priv_size 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,744
PARAM_VALUE 0 bp->hwrm_cmd_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 bp->hwrm_cmd_lock.dep_map->name 0-255
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 bp->hwrm_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bp->hwrm_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 bp->hwrm_dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 bp->hwrm_dma_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 bp->hwrm_dma_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 bp->hwrm_dma_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 bp->hwrm_dma_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 bp->hwrm_dma_pool->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 bp->hwrm_dma_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bp->hwrm_dma_pool->size 0-s32max
PARAM_VALUE 0 bp->hwrm_pending_list.first->pprev 4096-ptr_max
PARAM_VALUE 0 bp->max_q 1-8
PARAM_VALUE 0 bp->max_tc 1-255
PARAM_VALUE 0 bp->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 bp->pf.first_vf_id 0-u16max
PARAM_VALUE 0 bp->ptp_cfg 0
PARAM_VALUE 0 bp->tx_push_thresh 0,164
PARAM_VALUE 0 *bp->dev->name 0-255
PARAM_VALUE 0 *bp->pf->mac_addr 0-255
PARAM_VALUE 0 *bp->q_ids 0-255
PARAM_VALUE 0 *bp->tc_to_qidx 0-255
PARAM_VALUE 0 *bp->vf->mac_addr 0-255
CAPPED_DATA 0 bp->hwrm_dma_pool->size 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &netdev->lock
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pdev->dev.mutex
TYPE_LOCK (struct net_device)->lock

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_reinit_after_abort() -> bnxt_init_int_mode()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->dev->reg_state 0-2,4-255
PARAM_VALUE 0 bp->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 bp->dev->rtnl_link_ops->priv_size 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max
PARAM_VALUE 0 bp->irq_tbl 0
PARAM_VALUE 0 bp->pdev->msix_base 0
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_reserve_rings() -> bnxt_init_int_mode()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->edev 4096-ptr_max
PARAM_VALUE 0 bp->hwrm_cmd_lock.dep_map->name 0-255
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 bp->hwrm_dma_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bp->hwrm_dma_pool->size 0-4294967295
PARAM_VALUE 0 bp->hwrm_pending_list.first->pprev 4096-ptr_max
PARAM_VALUE 0 bp->irq_tbl 0
PARAM_VALUE 0 bp->pdev 4096-ptr_max
PARAM_VALUE 0 bp->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 bp->pdev->dev.msi.domain->flags 1-4294967295
PARAM_VALUE 0 bp->pdev->msix_base 0
PARAM_VALUE 0 *bp->dev->name 0-255
PARAM_VALUE 0 *bp->q_ids 0-255
PARAM_VALUE 0 *bp->tc_to_qidx 0-255
CAPPED_DATA 0 bp->hwrm_dma_pool->size 1
DATA_SOURCE 0 bp $0
BIT_INFO 0 bp->fw_cap 0x8,0xffffffffffffffff
NOSPEC 0 bp->cp_nr_rings
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bp->cp_nr_rings s32min-(-2),0-s32max[c]
USER_DATA 0 bp->hw_resc.resv_rx_rings 0-u16max
USER_DATA 0 bp->rx_nr_rings s32min-(-2),0-s32max
USER_DATA 0 bp->tx_nr_rings s32min-s32max
USER_DATA 0 bp->tx_nr_rings_per_tc 0
NO_OVERFLOW_SIMPLE 0 bp->cp_nr_rings
NO_OVERFLOW_SIMPLE 0 bp->rx_nr_rings
HALF_LOCKED2 &netdev->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_restore_pf_fw_resources() -> bnxt_init_int_mode()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->dev 4096-ptr_max
PARAM_VALUE 0 bp->dev->lock.dep_map->name 0-255
PARAM_VALUE 0 bp->dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 bp->dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bp->dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 bp->dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 bp->dev->rtnl_link_ops->priv_size 0,8,32,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,3720,9688-u64max
PARAM_VALUE 0 bp->hwrm_dma_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 bp->hwrm_dma_pool->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 bp->hwrm_dma_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bp->irq_tbl 0
PARAM_VALUE 0 bp->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 bp->pdev->is_physfn 1
PARAM_VALUE 0 bp->pdev->msix_base 0
PARAM_VALUE 0 bp->pdev->sriov->num_VFs 0-u16max
PARAM_VALUE 0 bp->tx_push_thresh 0,164
PARAM_VALUE 0 *bp->dev->name 0-255
CAPPED_DATA 0 bp->hwrm_dma_pool->size 1
CAPPED_DATA 0 bp->pdev->dev.cma_area->nranges 1
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &pdev->dev.mutex
LOCK2 global &pci_rescan_remove_lock
LOCK2 global &rtnl_mutex
LOCK2 0 &bp->dev->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct net_device)->lock

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_setup_int_mode() -> bnxt_init_int_mode()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->irq_tbl 0
PARAM_VALUE 0 bp->pdev 4096-ptr_max
DATA_SOURCE 0 bp $0