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/bnxt/bnxt.c bnxt_fw_init_one_p2() -> bnxt_hwrm_func_qcaps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| 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,744 |
| PARAM_VALUE | 0 | bp->flags | 2-u32max |
| PARAM_VALUE | 0 | bp->fw_health | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bp->fw_health->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->fw_health->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | bp->fw_health->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->fw_health->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | bp->fw_health->lock.owner.counter | 0 |
| 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->blocked_on | 0 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_cmd_max_timeout | 1-65535000 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_timeout | 1-u16max |
| 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_max_ext_req_len | 128-u16max |
| PARAM_VALUE | 0 | bp->hwrm_pending_list->first->pprev | 1-u64max |
| PARAM_VALUE | 0 | bp->hwrm_pending_list.first | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->hwrm_pending_list.first->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->hwrm_spec_code | 0-16777215 |
| PARAM_VALUE | 0 | bp->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 0 | *bp->fw_ver_str | 0-255 |
| PARAM_VALUE | 0 | *bp->hwrm_ver_supp | 0-255 |
| PARAM_VALUE | 0 | *bp->nvm_cfg_ver | 0-255 |
| CAPPED_DATA | 0 | bp->hwrm_dma_pool->size | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_io_resume() -> bnxt_hwrm_func_qcaps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 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->name | 0 |
| 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_restore_pf_fw_resources() -> bnxt_hwrm_func_qcaps()
| 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->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->pdev->is_physfn | 1 |
| PARAM_VALUE | 0 | bp->pdev->sriov->num_VFs | 0-u16max |
| DATA_SOURCE | 0 | bp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_resume() -> bnxt_hwrm_func_qcaps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 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 |
| PARAM_VALUE | 0 | bp->flags | 0,16777216-u32max |
| 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->blocked_on | 0 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_cmd_max_timeout | 1-65535000 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_timeout | 1-u16max |
| 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 | 0-s32max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| 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_max_ext_req_len | 128-u16max |
| PARAM_VALUE | 0 | bp->hwrm_pending_list->first->pprev | 1-u64max |
| PARAM_VALUE | 0 | bp->hwrm_pending_list.first | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->hwrm_pending_list.first->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->hwrm_spec_code | 0-16777215 |
| PARAM_VALUE | 0 | bp->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | bp->pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | bp->pdev->is_virtfn | 0 |
| PARAM_VALUE | 0 | bp->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | *bp->dev->name | 0 |
| PARAM_VALUE | 0 | *bp->fw_ver_str | 0-255 |
| PARAM_VALUE | 0 | *bp->hwrm_ver_supp | 0-255 |
| PARAM_VALUE | 0 | *bp->pdev->saved_config_space | 0-4294967295 |
| CAPPED_DATA | 0 | bp->hwrm_dma_pool->size | 1 |
| CAPPED_DATA | 0 | bp->pdev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bp->flags | 0,16777216-u32max |
| HOST_DATA | 0 | bp->fw_cap | 0-u64max |
| HOST_DATA | 0 | bp->pdev->current_state | 0-3[c] |
| LOCK2 | &dev->lock | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net_device)->lock |
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c bnxt_sriov_enable() -> bnxt_hwrm_func_qcaps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev->ethtool_ops->rxfh_max_num_contexts | 0,2,8,16,33 |
| PARAM_VALUE | 0 | bp->dev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563,595,597,1553,1587,1681,132625,135697,657041,677393,2029107,2097665,2300433,2300595,3653155,12583935,12584499,13239859,117440512,536872499,s32max |
| 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->dl | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dl->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->dl->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->dl->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bp->eswitch_mode | 1 |
| PARAM_VALUE | 0 | bp->flags | 1-u32max |
| 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->blocked_on | 0 |
| 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 | 0-s32max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->dma_uses_io_tlb | 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_pending_list.first->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->pf.hwrm_cmd_req_pages | 0-2048 |
| PARAM_VALUE | 0 | bp->pf.vf | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->pf.vf_event_bmap | 4096-ptr_max |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| DATA_SOURCE | 0 | bp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bp->pdev->sriov->initial_VFs | 0 |
| HOST_DATA | 0 | bp->pdev->sriov->offset | 0 |
| HOST_DATA | 0 | bp->pdev->sriov->stride | 0 |
| NO_OVERFLOW_SIMPLE | 0 | bp->cp_nr_rings | |
| LOCK2 | &of->mutex | ||
| LOCK2 | &pdev->dev.mutex | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |