Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/emulex/benet/be_cmds.c, line 306
- drivers/net/ethernet/emulex/benet/be_ethtool.c, line 626
- drivers/net/ethernet/emulex/benet/be_main.c, line 3833
Smatch caller information:
drivers/net/ethernet/emulex/benet/be_cmds.c be_async_link_state_process() -> be_link_status_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mcc_cq_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->msix_entries->vector | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->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 | adapter->netdev->udp_tunnel_nic->need_replay | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->udp_tunnel_nic->need_sync | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | adapter->pdev->dev.iommu_group->recovery_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->pdev->dev.kobj.parent->release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | adapter->pdev->dev.kobj.parent->release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.kobj.parent->release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | adapter->pdev->dev.p->dead | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | adapter->pdev->dev.parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->link_bwctrl->cdev | (-22),(-19),(-12),0-s64max |
| PARAM_VALUE | 0 | adapter->pdev->physfn->sriov->pos | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->sriov->ctrl | 0-u16max |
| PARAM_VALUE | 0 | adapter->pdev->sriov->driver_max_VFs | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->pdev->sriov->link | 0-255 |
| PARAM_VALUE | 0 | adapter->pdev->sriov->nres | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->sriov->num_VFs | 0-u16max |
| PARAM_VALUE | 0 | adapter->pdev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | adapter->pdev->sriov->pos | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | adapter->pdev->sriov->total_VFs | 0-u16max |
| PARAM_VALUE | 0 | adapter->phy.link_speed | (-1) |
| PARAM_VALUE | 0 | *adapter->netdev->name | 0-255 |
| PARAM_VALUE | 1 | link_status | 0-1 |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adapter->mc_list | (-1)-393210 |
| BUF_SIZE | 0 | adapter->pmac_id | (-1),4 |
| BUF_SIZE | 0 | adapter->uc_list | (-1)-393210 |
| DATA_SOURCE | 0 | adapter | $0 |
| STR_LEN | 0 | adapter | (-1),13,15 |
| STR_LEN | 0 | adapter | (-1),13,15 |
| BIT_INFO | 0 | adapter->flags | 0x2,0xffffffff |
| NOSPEC | 0 | adapter->num_msix_roce_vec | |
| NOSPEC | 0 | adapter->num_tx_qs | |
| NOSPEC | 0 | adapter->num_vfs | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adapter->num_msix_roce_vec | 1-1073741823[c] |
| HOST_DATA | 0 | adapter->pdev->bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | adapter->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | adapter->pdev->devfn | 0-503[c] |
| HOST_DATA | 0 | adapter->pdev->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | adapter->pdev->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | adapter->pdev->vendor | 0-u16max |
| HOST_DATA | 0 | adapter->sli_family | 0[c] |
| USER_DATA | 0 | adapter->cfg_num_tx_irqs | 0-u16max[c] |
| USER_DATA | 0 | adapter->num_msix_roce_vec | 1-1073741823[c] |
| USER_DATA | 0 | adapter->num_msix_vec | 0-u16max |
| USER_DATA | 0 | adapter->num_tx_qs | 1-u16max[c] |
| USER_DATA | 0 | adapter->num_vfs | 1-u16max[c] |
| NO_OVERFLOW_SIMPLE | 0 | adapter->ocrdma_dev->ibdev.dev.physical_location | |
| NO_OVERFLOW_SIMPLE | 0 | adapter->res.max_mcast_mac | |
| NO_OVERFLOW_SIMPLE | 0 | adapter->res.max_uc_mac | |
| UNITS | 0 | adapter | unit_byte |
| LOCK2 | 0 | &adapter->mcc_cq_lock | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &adapter->mcc_lock | |
| HALF_LOCKED2 | 0 | &adapter->netdev->nd_net.net->rtnl_mutex | |
| HALF_LOCKED2 | 0 | &adapter->rx_filter_lock | |
| TYPE_LOCK | (struct be_adapter)->mcc_cq_lock |
drivers/net/ethernet/emulex/benet/be_ethtool.c be_get_link_ksettings() -> be_link_status_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->db | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mcc_cq_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mcc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mcc_obj.q.created | 1 |
| PARAM_VALUE | 0 | adapter->mcc_obj.q.len | 1-u32max |
| PARAM_VALUE | 0 | adapter->mcc_obj.q.used.counter | 0 |
| PARAM_VALUE | 0 | *adapter->netdev->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/emulex/benet/be_main.c be_open() -> be_link_status_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->db | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->eq_obj | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->isr_registered | 1 |
| PARAM_VALUE | 0 | adapter->mc_count | 0-u16max,2147483648-u32max |
| PARAM_VALUE | 0 | adapter->mcc_cq_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mcc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mcc_obj.q.created | 1 |
| PARAM_VALUE | 0 | adapter->mcc_obj.q.len | 1-u32max |
| PARAM_VALUE | 0 | adapter->mcc_obj.q.used.counter | 0 |
| PARAM_VALUE | 0 | adapter->mcc_obj.rearm_cq | 1 |
| PARAM_VALUE | 0 | adapter->netdev->addr_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->netdev->irq | 0 |
| PARAM_VALUE | 0 | adapter->netdev->link_watch_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->netdev->mc.tree.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->netdev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->netdev->uc.tree.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->num_msix_roce_vec | 0 |
| PARAM_VALUE | 0 | adapter->num_msix_vec | 0 |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev->irq | 0 |
| PARAM_VALUE | 0 | adapter->pdev->msix_base | 0 |
| PARAM_VALUE | 0 | adapter->rss_info.rss_flags | 0,15,63 |
| PARAM_VALUE | 0 | adapter->rx_filter.va->global_flags | 0 |
| PARAM_VALUE | 0 | adapter->rx_filter.va->hdr.domain | 0 |
| PARAM_VALUE | 0 | adapter->rx_filter.va->hdr.opcode | 0 |
| PARAM_VALUE | 0 | adapter->rx_filter.va->hdr.port_number | 0 |
| PARAM_VALUE | 0 | adapter->rx_filter.va->hdr.request_length | 408 |
| PARAM_VALUE | 0 | adapter->rx_filter.va->hdr.subsystem | 0 |
| PARAM_VALUE | 0 | adapter->rx_filter.va->hdr.timeout | 0 |
| PARAM_VALUE | 0 | adapter->rx_filter.va->hdr.version | 0 |
| PARAM_VALUE | 0 | adapter->rx_filter.va->if_flags | 0-6840 |
| PARAM_VALUE | 0 | adapter->rx_filter.va->if_flags_mask | 1-7352 |
| PARAM_VALUE | 0 | adapter->rx_filter.va->if_id | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->rx_filter.va->mcast_num | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->rx_filter_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->rx_filter_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->rx_filter_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->rx_filter_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->rx_filter_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->rx_filter_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adapter->rx_filter_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->rx_filter_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->rx_filter_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->rx_obj | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->tx_obj | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->uc_macs | 0-65534,2147483648-u32max |
| PARAM_VALUE | 0 | adapter->update_mc_list | 0 |
| PARAM_VALUE | 0 | adapter->update_uc_list | 0 |
| PARAM_VALUE | 0 | *adapter->dev_mac | 0-255 |
| PARAM_VALUE | 0 | *adapter->netdev->name | 0-255 |
| PARAM_VALUE | 0 | *adapter->rss_info->rss_hkey | 0-255 |
| PARAM_VALUE | 0 | *adapter->rss_info->rss_queue | 0-127 |
| PARAM_VALUE | 0 | *adapter->rss_info->rsstable | 0-255 |
| CAPPED_DATA | 0 | adapter->mcc_obj.q.len | 1 |
| CAPPED_DATA | 0 | adapter->num_evt_qs | 1 |
| CAPPED_DATA | 0 | adapter->num_rss_qs | 1 |
| CAPPED_DATA | 0 | adapter->num_rx_qs | 1 |
| CAPPED_DATA | 0 | adapter->num_tx_qs | 1 |
| CAPPED_DATA | 0 | adapter->uc_macs | 1 |
| CAPPED_DATA | 0 | adapter->vlans_added | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |