Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/wangxun/libwx/wx_ethtool.c, line 834
- drivers/net/ethernet/wangxun/libwx/wx_vf_common.c
Smatch caller information:
drivers/net/ethernet/wangxun/libwx/wx_vf_common.c wxvf_open() -> wxvf_up_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->isb_mem | 1-u64max |
| PARAM_VALUE | 0 | wx->mbx.mbx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->msix_entry->vector | 0 |
| 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->num_rx_queues | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | wx->num_tx_queues | s32min-(-1),1-s32max |
| 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->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->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 |
| CONSTRAINT | 0 | wx->num_rx_queues | <=3120 |
| CONSTRAINT | 0 | wx->num_tx_queues | <=3121 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | wx->mbx.mailbox | 0-u32max[c] |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/wangxun/libwx/wx_vf_common.c wxvf_reinit_locked() -> wxvf_up_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->flags | 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | wx->reset_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->reset_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->reset_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wx->reset_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wx->reset_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->reset_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | wx->reset_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | wx->rss_key | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->state | 4096-ptr_max |
| PARAM_VALUE | 0 | *wx->netdev->name | 0-255 |
| 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 |
| CAPPED_DATA | 0 | &wx->reset_lock | 1 |
| DATA_SOURCE | 0 | wx | $0 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | wx->mbx.mailbox | 0-u32max[c] |
| 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 |
| UNITS | 0 | wx | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &wx->reset_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct wx)->reset_lock |
drivers/net/ethernet/wangxun/libwx/wx_ethtool.c wx_set_ringparam_vf() -> wxvf_up_complete()
| 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->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | wx->reset_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->reset_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->reset_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wx->reset_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wx->reset_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->reset_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | wx->reset_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | wx->rss_key | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->state | 4096-ptr_max |
| PARAM_VALUE | 0 | *wx->rss_indir_tbl | 0-255 |
| PARAM_VALUE | 0 | *wx->rss_key | 0-255 |
| CAPPED_DATA | 0 | wx->mbx.size | 1 |
| CAPPED_DATA | 0 | wx->num_rx_queues | 1 |
| CAPPED_DATA | 0 | wx->num_tx_queues | 1 |
| CAPPED_DATA | 0 | &wx->reset_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | wx->mbx.mailbox | 0-u32max[c] |
| LOCK2 | 0 | &wx->reset_lock | |
| TYPE_LOCK | (struct wx)->reset_lock |