Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/intel/igb/igb_main.c igb_ndo_set_vf_mac() -> igb_set_vf_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->vf_data | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->vfs_allocated_count | 1-u32max |
| PARAM_VALUE | 1 | vf | 0-2147483646 |
| PARAM_VALUE | 2 | mac_addr | 4096-ptr_max |
| BUF_SIZE | 2 | mac_addr | 32 |
| BUF_SIZE | 2 | mac_addr | 32 |
| CAPPED_DATA | 1 | vf | 1 |
| DATA_SOURCE | 1 | vf | $1 |
| DATA_SOURCE | 2 | mac_addr | $2 |
| PARAM_COMPARE | 0 | adapter->vfs_allocated_count | > $1 |
| PARAM_COMPARE | 1 | vf | < $0->vfs_allocated_count |
| CONSTRAINT | 1 | vf | <3655 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vf | 1-2147483646[c] |
| USER_DATA | 2 | *mac_addr | 0-255 |
| UNITS | 1 | vf | unit_array_size |
| USER_PTR | 2 | mac_addr | |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/net/ethernet/intel/igb/igb_main.c igb_set_vf_mac_addr() -> igb_set_vf_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.hw_addr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.mbx.ops.check_for_msg | 1-u64max |
| PARAM_VALUE | 0 | adapter->hw.mbx.ops.read | 1-u64max |
| PARAM_VALUE | 0 | adapter->vf_data | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->vfs_allocated_count | 1-u32max |
| PARAM_VALUE | 0 | *adapter->netdev->name | 0-255 |
| PARAM_VALUE | 2 | mac_addr | 946027611296305156 |
| BUF_SIZE | 2 | mac_addr | 60 |
| BUF_SIZE | 2 | mac_addr | 60 |
| CAPPED_DATA | 1 | vf | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| DATA_SOURCE | 1 | vf | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | vf | unit_array_size |
| LOCK2 | 0 | &adapter->vfs_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct igb_adapter)->vfs_lock |
drivers/net/ethernet/intel/igb/igb_main.c igb_vf_configure() -> igb_set_vf_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->vf_data | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->vf_mac_list | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->vf_macs.l.next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->vf_macs.l.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->vf_macs.l.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->vf_macs.l.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->vf_macs.l.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->vfs_allocated_count | 1-u16max,2147483648-u32max |
| PARAM_VALUE | 2 | mac_addr | 9083622264105885696 |
| BUF_SIZE | 2 | mac_addr | 6 |
| CAPPED_DATA | 1 | vf | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| DATA_SOURCE | 1 | vf | $1 |
| CONSTRAINT | 1 | vf | <3655 |
| BIT_INFO | 0 | adapter->flags | 0x2000,0xffffffffffffffff |
| BIT_INFO | 0 | adapter->vfs_allocated_count | 0x0,0xffff |
| NOSPEC | 0 | adapter->vfs_allocated_count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | adapter->vfs_allocated_count | 1-7[c] |
| UNITS | 1 | vf | unit_array_size |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/net/ethernet/intel/igb/igb_main.c igb_vf_reset_msg() -> igb_set_vf_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->active_vlans | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.hw_addr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.mbx.ops.check_for_msg | 1-u64max |
| PARAM_VALUE | 0 | adapter->hw.mbx.ops.read | 1-u64max |
| PARAM_VALUE | 0 | adapter->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->netdev->priv->flags | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->netdev->priv->pdev->is_virtfn | 0-1 |
| PARAM_VALUE | 0 | adapter->netdev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736 |
| PARAM_VALUE | 0 | adapter->netdev->uc.tree.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->vf_data | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->vfs_allocated_count | 1-u32max |
| PARAM_VALUE | 0 | *adapter->netdev->name | 0-255 |
| PARAM_VALUE | 0 | *adapter->netdev->priv->hw->mac.mta_shadow | 0-4294967295 |
| BUF_SIZE | 2 | mac_addr | 6 |
| BUF_SIZE | 2 | mac_addr | 6 |
| CAPPED_DATA | 1 | vf | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| DATA_SOURCE | 1 | vf | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | vf | unit_array_size |
| LOCK2 | 0 | &adapter->vfs_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct igb_adapter)->vfs_lock |