Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/intel/igb/igb_main.c igb_disable_port_vlan() -> igb_set_vf_vlan()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->vfs_allocated_count 1-u32max
PARAM_VALUE 1 vid 0
PARAM_VALUE 2 add 1
PARAM_VALUE 3 vf 0-2147483646
CAPPED_DATA 3 vf 1
DATA_SOURCE 0 adapter $0
DATA_SOURCE 3 vf $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 vf 1-2147483646[c]
UNITS 3 vf unit_array_size
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_disable_port_vlan() -> igb_set_vf_vlan()

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->vf_data 4096-ptr_max
PARAM_VALUE 0 adapter->vfs_allocated_count 1-u32max
PARAM_VALUE 1 vid 1-u16max
PARAM_VALUE 2 add 0
PARAM_VALUE 3 vf 0-2147483646
CAPPED_DATA 3 vf 1
DATA_SOURCE 0 adapter $0
DATA_SOURCE 3 vf $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 vf 1-2147483646[c]
UNITS 3 vf unit_array_size
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_enable_port_vlan() -> igb_set_vf_vlan()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->vfs_allocated_count 1-u32max
PARAM_VALUE 1 vid 0-4095
PARAM_VALUE 2 add 1
PARAM_VALUE 3 vf 0-2147483646
CAPPED_DATA 3 vf 1
DATA_SOURCE 0 adapter $0
DATA_SOURCE 1 vid $2
DATA_SOURCE 3 vf $1
HARD_MAX 1 vid 4095
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 vid 0-4095
USER_DATA 3 vf 1-2147483646[c]
UNITS 3 vf unit_array_size
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_enable_port_vlan() -> igb_set_vf_vlan()

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->netdev->rtnl_link_ops->priv_size 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max
PARAM_VALUE 0 adapter->vf_data 4096-ptr_max
PARAM_VALUE 0 adapter->vfs_allocated_count 1-u32max
PARAM_VALUE 1 vid 0-u16max
PARAM_VALUE 2 add 0
PARAM_VALUE 3 vf 0-7
CAPPED_DATA 3 vf 1
DATA_SOURCE 0 adapter $0
DATA_SOURCE 3 vf $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 vf 1-7[c]
UNITS 3 vf unit_array_size
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_vlan_msg() -> igb_set_vf_vlan()

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 1 vid 0-4095
CAPPED_DATA 3 vf 1
DATA_SOURCE 0 adapter $0
DATA_SOURCE 3 vf $2
CONSTRAINT 3 vf <3655
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 3 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_reset() -> igb_set_vf_vlan()

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->vf_data 4096-ptr_max
PARAM_VALUE 0 adapter->vfs_allocated_count 1-u32max
PARAM_VALUE 0 *adapter->hw->back->shadow_vfta 0-4294967295
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 2 add 1
CAPPED_DATA 3 vf 1
DATA_SOURCE 0 adapter $0
DATA_SOURCE 3 vf $1
CONSTRAINT 3 vf <3655
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 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