Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/wangxun/libwx/wx_lib.c
- drivers/net/ethernet/wangxun/libwx/wx_vf_common.c, line 117
- drivers/net/ethernet/wangxun/ngbe/ngbe_main.c, line 350
- drivers/net/ethernet/wangxun/txgbe/txgbe_main.c, line 522
Smatch caller information:
drivers/net/ethernet/wangxun/txgbe/txgbe_main.c txgbe_open() -> wx_reset_interrupt_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->isb_mem | 1-u64max |
| PARAM_VALUE | 0 | wx->mac.set_lben | 0 |
| PARAM_VALUE | 0 | wx->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->ethtool | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->ethtool->rss_indir_user_size | 0-1 |
| PARAM_VALUE | 0 | wx->netdev->priv->addr_ctrl.user_set_promisc | 0-1 |
| PARAM_VALUE | 0 | wx->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | wx->pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | wx->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | wx->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->priv->gpio_irq | 0 |
| PARAM_VALUE | 0 | wx->priv->link_irq | 0 |
| PARAM_VALUE | 0 | wx->priv->misc.domain | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | wx->priv->misc.nirqs | 2 |
| PARAM_VALUE | 0 | wx->priv->wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->rss_indir_tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->rss_key | 4096-ptr_max |
| PARAM_VALUE | 0 | *wx->netdev->priv->mac.vft_shadow | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->rss_indir_tbl | 0-255 |
| PARAM_VALUE | 0 | *wx->tpid | 0-u16max |
| CAPPED_DATA | 0 | wx | 1 |
| CAPPED_DATA | 0 | wx->num_rx_queues | 1 |
| CAPPED_DATA | 0 | wx->num_tx_queues | 1 |
| CAPPED_DATA | 0 | wx->priv | 1 |
| CAPPED_DATA | 0 | wx->priv->misc.domain | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->gc->num_chips | |
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->hwirq_max | |
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->revmap_size | |
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->root->hwirq_max | |
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->root->revmap_size | |
| UNITS | 0 | wx | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c ngbe_request_msix_irqs() -> wx_reset_interrupt_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->isb_mem | 1-u64max |
| PARAM_VALUE | 0 | wx->mac.set_lben | 0 |
| PARAM_VALUE | 0 | wx->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->ethtool | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->ethtool->rss_indir_user_size | 0-1 |
| PARAM_VALUE | 0 | wx->netdev->priv->addr_ctrl.mta_in_use | 0-4294967295 |
| PARAM_VALUE | 0 | wx->netdev->priv->addr_ctrl.num_mc_addrs | 0-4294967295 |
| PARAM_VALUE | 0 | wx->netdev->priv->addr_ctrl.user_set_promisc | 0-1 |
| PARAM_VALUE | 0 | wx->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | wx->pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | wx->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->msix_enabled | 1 |
| PARAM_VALUE | 0 | wx->priv->fdir_perfect_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->rss_indir_tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->rss_key | 4096-ptr_max |
| PARAM_VALUE | 0 | *wx->netdev->priv->mac.mta_shadow | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->netdev->priv->mac.vft_shadow | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->rss_indir_tbl | 0-255 |
| PARAM_VALUE | 0 | *wx->tpid | 33024 |
| CAPPED_DATA | 0 | wx->num_q_vectors | 1 |
| CAPPED_DATA | 0 | wx->num_rx_queues | 1 |
| CAPPED_DATA | 0 | wx->num_tx_queues | 1 |
| DATA_SOURCE | 0 | wx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/wangxun/libwx/wx_vf_common.c wx_request_msix_irqs_vf() -> wx_reset_interrupt_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->mbx.mbx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->priv->mbx.mailbox | 0-4294967295 |
| PARAM_VALUE | 0 | wx->netdev->priv->mbx.mbx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | wx->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | wx->rss_key | 4096-ptr_max |
| PARAM_VALUE | 0 | *wx->rss_indir_tbl | 0-255 |
| PARAM_VALUE | 0 | *wx->rss_key | 0-255 |
| CAPPED_DATA | 0 | wx | 1 |
| CAPPED_DATA | 0 | wx->mbx.size | 1 |
| CAPPED_DATA | 0 | wx->num_q_vectors | 1 |
| CAPPED_DATA | 0 | wx->num_rx_queues | 1 |
| CAPPED_DATA | 0 | wx->num_tx_queues | 1 |
| DATA_SOURCE | 0 | wx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | wx->mbx.mailbox | 0-u32max[c] |
| UNITS | 0 | wx | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &wx->reset_lock |
drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_clear_interrupt_scheme() -> wx_reset_interrupt_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->num_q_vectors | 0 |
| PARAM_VALUE | 0 | wx->num_rx_queues | 0 |
| PARAM_VALUE | 0 | wx->num_tx_queues | 0 |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | wx->pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | *wx->last_stats.qmprc | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->mac.vft_shadow | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->netdev->name | 0-255 |
| PARAM_VALUE | 0 | *wx->q_vector | 0 |
| PARAM_VALUE | 0 | *wx->rx_ring | 0 |
| PARAM_VALUE | 0 | *wx->tx_ring | 0 |
| BUF_SIZE | 0 | wx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wx->driver_name | (-1),5-8 |
| BUF_SIZE | 0 | wx->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 0 | wx->priv | (-1),2600 |
| DATA_SOURCE | 0 | wx | $0 |
| STR_LEN | 0 | wx->driver_name | (-1),6-7 |
| STR_LEN | 0 | wx->eeprom_id | (-1),31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | wx->bus.device | 0-30[c] |
| HOST_DATA | 0 | wx->bus.func | 0-255[c] |
| HOST_DATA | 0 | wx->device_id | 0-u16max |
| HOST_DATA | 0 | wx->eeprom.sw_region_offset | 0-s16max |
| HOST_DATA | 0 | wx->hw_tc.cycle_last | 0-u64max |
| HOST_DATA | 0 | wx->mac.max_msix_vectors | 1[c] |
| HOST_DATA | 0 | wx->mbx.mailbox | 0-u32max[c] |
| HOST_DATA | 0 | wx->msix_entry->entry | 0-u16max[c] |
| HOST_DATA | 0 | wx->oem_ssid | 0-u16max |
| HOST_DATA | 0 | wx->pdev->acs_capabilities | 0-u16max |
| HOST_DATA | 0 | wx->pdev->class | 0-16777215 |
| HOST_DATA | 0 | wx->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | wx->pdev->devcap | 0-u32max |
| HOST_DATA | 0 | wx->pdev->devfn | 0-503[c] |
| HOST_DATA | 0 | wx->pdev->device | 0-u16max |
| HOST_DATA | 0 | wx->pdev->eetlp_prefix_max | 0-7[c] |
| HOST_DATA | 0 | wx->pdev->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->hdr_type | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->ide_cfg | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->ide_tee_limit | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->irq | 1-255 |
| HOST_DATA | 0 | wx->pdev->is_cxl | 0-1 |
| HOST_DATA | 0 | wx->pdev->multifunction | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->nr_ide_mem | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->pcie_flags_reg | 0-u16max |
| HOST_DATA | 0 | wx->pdev->pcie_mpss | 0-7[c] |
| HOST_DATA | 0 | wx->pdev->pin | 0 |
| HOST_DATA | 0 | wx->pdev->pme_support | 0-31[c] |
| HOST_DATA | 0 | wx->pdev->ptm_granularity | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->revision | 0-255 |
| HOST_DATA | 0 | wx->pdev->subsystem_device | 0-u16max |
| HOST_DATA | 0 | wx->pdev->subsystem_vendor | 0-u16max |
| HOST_DATA | 0 | wx->pdev->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | wx->pdev->transparent | 0[c] |
| HOST_DATA | 0 | wx->pdev->vendor | 0-u16max |
| HOST_DATA | 0 | wx->pps_edge_end | 0-u32max |
| HOST_DATA | 0 | wx->pps_edge_start | 0-u32max |
| HOST_DATA | 0 | wx->revision_id | 0-255 |
| HOST_DATA | 0 | wx->subsystem_device_id | 0-u16max |
| HOST_DATA | 0 | wx->subsystem_vendor_id | 0-u16max |
| HOST_DATA | 0 | wx->vendor_id | 0-u16max |
| NO_OVERFLOW_SIMPLE | 0 | wx->mac.num_rar_entries | |
| NO_OVERFLOW_SIMPLE | 0 | wx->msix_entry->entry | |
| NO_OVERFLOW_SIMPLE | 0 | wx->num_q_vectors | |
| UNITS | 0 | wx | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_init_interrupt_scheme() -> wx_reset_interrupt_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->msix_entry | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->msix_q_entries | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | wx->netdev->threaded | 0 |
| PARAM_VALUE | 0 | wx->num_q_vectors | 0 |
| PARAM_VALUE | 0 | wx->num_rx_queues | 0 |
| PARAM_VALUE | 0 | wx->num_tx_queues | 0 |
| PARAM_VALUE | 0 | wx->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | wx->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->queues_per_pool | 0-2,4 |
| PARAM_VALUE | 0 | *wx->last_stats.qmprc | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->mac.vft_shadow | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->netdev->name | 0-255 |
| BUF_SIZE | 0 | wx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wx->driver_name | (-1),5-8 |
| BUF_SIZE | 0 | wx->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | wx | $0 |
| STR_LEN | 0 | wx->driver_name | (-1),6-7 |
| STR_LEN | 0 | wx->eeprom_id | (-1),31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | wx->bus.device | 0-30[c] |
| HOST_DATA | 0 | wx->bus.func | 0-255[c] |
| HOST_DATA | 0 | wx->device_id | 0-u16max |
| HOST_DATA | 0 | wx->eeprom.sw_region_offset | 0-s16max |
| HOST_DATA | 0 | wx->hw_tc.cycle_last | 0-u64max |
| HOST_DATA | 0 | wx->mac.max_msix_vectors | 1[c] |
| HOST_DATA | 0 | wx->mbx.mailbox | 0-u32max[c] |
| HOST_DATA | 0 | wx->oem_ssid | 0-u16max |
| HOST_DATA | 0 | wx->pdev->acs_capabilities | 0-u16max |
| HOST_DATA | 0 | wx->pdev->class | 0-16777215 |
| HOST_DATA | 0 | wx->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | wx->pdev->devcap | 0-u32max |
| HOST_DATA | 0 | wx->pdev->devfn | 0-503[c] |
| HOST_DATA | 0 | wx->pdev->device | 0-u16max |
| HOST_DATA | 0 | wx->pdev->eetlp_prefix_max | 0-7[c] |
| HOST_DATA | 0 | wx->pdev->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->hdr_type | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->ide_cfg | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->ide_tee_limit | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->irq | 0-255 |
| HOST_DATA | 0 | wx->pdev->is_cxl | 0-1 |
| HOST_DATA | 0 | wx->pdev->multifunction | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->nr_ide_mem | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->pcie_flags_reg | 0-u16max |
| HOST_DATA | 0 | wx->pdev->pcie_mpss | 0-7[c] |
| HOST_DATA | 0 | wx->pdev->pin | 0 |
| HOST_DATA | 0 | wx->pdev->pme_support | 0-31[c] |
| HOST_DATA | 0 | wx->pdev->ptm_granularity | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->revision | 0-255 |
| HOST_DATA | 0 | wx->pdev->subsystem_device | 0-u16max |
| HOST_DATA | 0 | wx->pdev->subsystem_vendor | 0-u16max |
| HOST_DATA | 0 | wx->pdev->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | wx->pdev->transparent | 0[c] |
| HOST_DATA | 0 | wx->pdev->vendor | 0-u16max |
| HOST_DATA | 0 | wx->pps_edge_end | 0-u32max |
| HOST_DATA | 0 | wx->pps_edge_start | 0-u32max |
| HOST_DATA | 0 | wx->revision_id | 0-255 |
| HOST_DATA | 0 | wx->subsystem_device_id | 0-u16max |
| HOST_DATA | 0 | wx->subsystem_vendor_id | 0-u16max |
| HOST_DATA | 0 | wx->vendor_id | 0-u16max |
| NO_OVERFLOW_SIMPLE | 0 | wx->mac.num_rar_entries | |
| NO_OVERFLOW_SIMPLE | 0 | wx->msix_entry->entry | |
| NO_OVERFLOW_SIMPLE | 0 | wx->num_q_vectors | |
| UNITS | 0 | wx | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |