Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c, line 2097
Smatch caller information:
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_init_eth_fp() -> bnx2x_init_sb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->dev->num_rx_queues | 1-u32max |
| PARAM_VALUE | 0 | bp->dev->num_tc | 0-16 |
| PARAM_VALUE | 0 | bp->dev->num_tx_queues | 1-u32max |
| PARAM_VALUE | 0 | bp->dev->real_num_rx_queues | 1-u32max |
| PARAM_VALUE | 0 | bp->dev->real_num_tx_queues | 1-u32max |
| PARAM_VALUE | 0 | bp->dev->tc_to_txq->count | 0-u16max |
| PARAM_VALUE | 0 | bp->dev->tc_to_txq->offset | 0-u16max |
| PARAM_VALUE | 0 | bp->dev->threaded | 0 |
| PARAM_VALUE | 0 | bp->fp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->func_obj.drv->gunzip_end | 8717098041429102592 |
| PARAM_VALUE | 0 | bp->func_obj.drv->gunzip_init | 7274562893694894080 |
| PARAM_VALUE | 0 | bp->func_obj.drv->init_fw | 801543878671323136 |
| PARAM_VALUE | 0 | bp->func_obj.drv->init_hw_cmn | 2595059512693575680 |
| PARAM_VALUE | 0 | bp->func_obj.drv->init_hw_cmn_chip | 4114087805302788096 |
| PARAM_VALUE | 0 | bp->func_obj.drv->init_hw_func | 2632320854569345024 |
| PARAM_VALUE | 0 | bp->func_obj.drv->init_hw_port | 4111817646589562880 |
| PARAM_VALUE | 0 | bp->func_obj.drv->release_fw | 4289797533096198144 |
| PARAM_VALUE | 0 | bp->func_obj.drv->reset_hw_cmn | 6196804252509257728 |
| PARAM_VALUE | 0 | bp->func_obj.drv->reset_hw_func | 1204179892193918976 |
| PARAM_VALUE | 0 | bp->func_obj.drv->reset_hw_port | 7277134606355738624 |
| PARAM_VALUE | 0 | bp->link_params.bp->dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | bp->link_params.bp->dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,9688-u64max |
| PARAM_VALUE | 0 | bp->link_params.bp->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | bp->num_ethernet_queues | 1-u32max |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | bp->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | bp->pdev->sriov->num_VFs | 0-u16max |
| PARAM_VALUE | 0 | bp->stats_lock.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 0 | *bp->dev->prio_tc_map | 0-255 |
| PARAM_VALUE | 0 | *bp->mf_config | 0-4294967295 |
| PARAM_VALUE | 2 | vfid | 255 |
| PARAM_VALUE | 3 | vf_valid | 0 |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 4 | fw_sb_id | r bnx2x_fp_fw_sb_id |
| DATA_SOURCE | 5 | igu_sb_id | r bnx2x_fp_igu_sb_id |
| BIT_INFO | 0 | bp->flags | 0x0,0xffbfffff |
| MEM_ZERO | 0 | &bp->last_reported_link | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bp->common->bc_ver | 0-u32max |
| HOST_DATA | 0 | bp->common->boot_mode | 0-u32max |
| HOST_DATA | 0 | bp->common->chip_id | 0-u32max |
| HOST_DATA | 0 | bp->common->chip_port_mode | 0-255 |
| HOST_DATA | 0 | bp->common->flash_size | s32min-s32max |
| HOST_DATA | 0 | bp->common->hw_config | 0-u32max |
| HOST_DATA | 0 | bp->common->int_block | 0-255 |
| HOST_DATA | 0 | bp->common->mf2_cfg_base | 0-u32max |
| HOST_DATA | 0 | bp->common->mf_cfg_base | 0-u32max |
| HOST_DATA | 0 | bp->common->shmem2_base | 0-u32max |
| HOST_DATA | 0 | bp->common->shmem_base | 0-u32max |
| HOST_DATA | 0 | bp->fw_cap | 0-u32max |
| HOST_DATA | 0 | bp->link_params.link_flags | 0-u16max |
| HOST_DATA | 0 | bp->pfid | 0-255 |
| HOST_DATA | 0 | bp->spq_prod_bd->hdr.conn_and_cmd_data | 0-u32max[c] |
| HOST_DATA | 0 | bp->spq_prod_bd->hdr.type | 0-15[c] |
| HOST_DATA | 0 | bp->vf2pf_mbox->req.close.vf_id | 0-63[c] |
| NO_OVERFLOW_SIMPLE | 0 | bp->max_cos | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_nic_init_cnic() -> bnx2x_init_sb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->cnic_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | bp->dev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->dev->num_rx_queues | 1-u32max |
| PARAM_VALUE | 0 | bp->dev->num_tx_queues | 1-u32max |
| PARAM_VALUE | 0 | bp->dev->real_num_rx_queues | 1-u32max |
| PARAM_VALUE | 0 | bp->dev->real_num_tx_queues | 1-u32max |
| PARAM_VALUE | 0 | bp->dev->threaded | 0 |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->slowpath->wb_comp | 0 |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 0 | *bp->dev->prio_tc_map | 0-255 |
| PARAM_VALUE | 2 | vfid | 255 |
| PARAM_VALUE | 3 | vf_valid | 0 |
| PARAM_VALUE | 4 | fw_sb_id | 0-255 |
| PARAM_VALUE | 5 | igu_sb_id | 0-255 |
| DATA_SOURCE | 0 | bp | $0 |
| BIT_INFO | 0 | bp->flags | 0x0,0xffffffff |
| NOCHECK_CALL |
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c bnx2x_vf_init() -> bnx2x_init_sb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->bnx2x_txq->tx_buf_ring | 0 |
| PARAM_VALUE | 0 | bp->bnx2x_txq->tx_db.data.zero_fill1 | 0 |
| PARAM_VALUE | 0 | bp->bnx2x_txq->tx_db.raw | 0 |
| PARAM_VALUE | 0 | bp->bnx2x_txq->tx_desc_mapping | 0 |
| PARAM_VALUE | 0 | bp->dev->rtnl_link_ops->priv_size | 0,8,32,40,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-s64max |
| PARAM_VALUE | 0 | bp->dmae_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->dmae_ready | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | bp->ilt->start_line | 0-97920 |
| PARAM_VALUE | 0 | bp->link_params.bp->dev->ethtool_ops->rxfh_max_num_contexts | 0,2,8,16,33 |
| PARAM_VALUE | 0 | bp->link_params.bp->dev->rtnl_link_ops->priv_size | 0,8,32,40,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-s64max |
| PARAM_VALUE | 0 | bp->pdev->sriov->pos | 0,256-4092 |
| PARAM_VALUE | 0 | bp->slowpath->wb_comp | 0 |
| PARAM_VALUE | 0 | bp->stats_lock.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | bp->vfdb | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->vfdb->event_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->vfdb->event_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bp->vfdb->event_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->vfdb->event_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->vfdb->event_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->vfdb->event_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->vfdb->event_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bp->vfdb->event_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | bp->vfdb->event_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->vfdb->event_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bp->vfdb->event_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->vfdb->event_occur | 0 |
| PARAM_VALUE | 0 | bp->vfdb->first_vf_igu_entry | 0-135 |
| PARAM_VALUE | 0 | bp->vfdb->mbxs | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->vfdb->sriov.cap | 0 |
| PARAM_VALUE | 0 | bp->vfdb->sriov.ctrl | 0 |
| PARAM_VALUE | 0 | bp->vfdb->sriov.first_vf_in_pf | 0-120,4294967232-u32max |
| PARAM_VALUE | 0 | bp->vfdb->sriov.initial | 0 |
| PARAM_VALUE | 0 | bp->vfdb->sriov.link | 0 |
| PARAM_VALUE | 0 | bp->vfdb->sriov.nr_virtfn | 1-u16max |
| PARAM_VALUE | 0 | bp->vfdb->sriov.nres | 0 |
| PARAM_VALUE | 0 | bp->vfdb->sriov.offset | 0 |
| PARAM_VALUE | 0 | bp->vfdb->sriov.pgsz | 0 |
| PARAM_VALUE | 0 | bp->vfdb->sriov.pos | 0,256-4092 |
| PARAM_VALUE | 0 | bp->vfdb->sriov.stride | 0 |
| PARAM_VALUE | 0 | bp->vfdb->sriov.total | 0 |
| PARAM_VALUE | 0 | *bp->vfdb->flrd_vfs | 0-4294967295 |
| PARAM_VALUE | 3 | vf_valid | 1 |
| PARAM_VALUE | 4 | fw_sb_id | 0-255 |
| PARAM_VALUE | 5 | igu_sb_id | 0-255 |
| CAPPED_DATA | 0 | bp->vfdb->sriov.nr_virtfn | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| NOCHECK_CALL | |||
| UNITS | 2 | vfid | unit_array_size |
| LOCK2 | &vf->op_mutex | ||
| TYPE_LOCK | (struct bnx2x_virtf)->op_mutex |