Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_alloc_vf_res() -> i40e_alloc_vsi_res()

Type Parameter Key Value
PARAM_VALUE 0 vf 4096-ptr_max
PARAM_VALUE 0 vf->lan_vsi_id 0
PARAM_VALUE 0 vf->lan_vsi_idx 0
PARAM_VALUE 0 vf->num_queue_pairs 0
PARAM_VALUE 0 vf->pf 4096-ptr_max
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_del 0,5297280653917495296,7056166776116604928
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_hw_addr_get 0,1105552436811452416,2161372112124977152,2881830882648793088,3086837170211098624,5331084624549416960
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_hw_addr_set 0,3534299544314576896,4238284642390831104,6293962769029922816,7613046309317726208,8690544359101091840
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_ipsec_crypto_get 0,4902228933308452864
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_ipsec_crypto_set 0,5372495510538301440
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_ipsec_packet_get 0,1775539211769454592
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_ipsec_packet_set 0,758161232406708224
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_max_io_eqs_get 0,7025178205638221824
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_max_io_eqs_set 0,8597896118109675520
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_migratable_get 0,609373278646910976
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_migratable_set 0,3871053410285416448
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_roce_get 0,4455983247024910336
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_roce_set 0,1612805619800064000
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_state_get 0,6521951712662228992,7263765225596121088,7671851536357396480
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_state_set 0,784175470144167936,6855704840655306752,9130591050118823936
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_split 0,5395478576842731520,5914476347301904384,7303769814657187840
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_type_set 0,7366619749569720320
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_unsplit 0,958128192443506688,5601030920313925632,7070045751322910720
PARAM_VALUE 0 vf->pf->num_vf_qps 1-255
PARAM_VALUE 1 idx 0
BUF_SIZE 0 vf (-1),200-13107000
BUF_SIZE 0 vf (-1),200-13107000
CAPPED_DATA 0 vf 1
CAPPED_DATA 0 vf->pf->hw.func_caps.num_msix_vectors_vf 1
CAPPED_DATA 0 vf->pf->num_alloc_vsi 1
DATA_SOURCE 0 vf $0
FUZZY_MAX 0 vf->pf->num_vf_qps 4
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 vf->port_vlan_id 0-u16max
USER_DATA 0 vf->trusted 0-1
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_alloc_vf_res() -> i40e_alloc_vsi_res()

Type Parameter Key Value
PARAM_VALUE 0 vf 4096-ptr_max
PARAM_VALUE 0 vf->adq_enabled 1
PARAM_VALUE 0 vf->num_queue_pairs 0
PARAM_VALUE 0 vf->num_tc 2-255
PARAM_VALUE 0 vf->pf 4096-ptr_max
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_del 0,5297280653917495296,7056166776116604928
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_hw_addr_get 0,1105552436811452416,2161372112124977152,2881830882648793088,3086837170211098624,5331084624549416960
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_hw_addr_set 0,3534299544314576896,4238284642390831104,6293962769029922816,7613046309317726208,8690544359101091840
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_ipsec_crypto_get 0,4902228933308452864
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_ipsec_crypto_set 0,5372495510538301440
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_ipsec_packet_get 0,1775539211769454592
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_ipsec_packet_set 0,758161232406708224
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_max_io_eqs_get 0,7025178205638221824
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_max_io_eqs_set 0,8597896118109675520
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_migratable_get 0,609373278646910976
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_migratable_set 0,3871053410285416448
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_roce_get 0,4455983247024910336
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_roce_set 0,1612805619800064000
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_state_get 0,6521951712662228992,7263765225596121088,7671851536357396480
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_fn_state_set 0,784175470144167936,6855704840655306752,9130591050118823936
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_split 0,5395478576842731520,5914476347301904384,7303769814657187840
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_type_set 0,7366619749569720320
PARAM_VALUE 0 vf->pf->devlink_port.ops->port_unsplit 0,958128192443506688,5601030920313925632,7070045751322910720
PARAM_VALUE 0 vf->pf->hw.aq.asq_last_status 0
PARAM_VALUE 0 vf->pf->hw.aq.asq_mutex.dep_map->name 0-255
PARAM_VALUE 0 vf->pf->hw.aq.asq_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 vf->pf->hw.aq.asq_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vf->pf->hw.aq.asq_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 vf->pf->hw.aq.asq_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 vf->pf->hw.aq.asq_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 vf->pf->hw.aq.asq_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 vf->pf->hw.aq.asq_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 vf->pf->hw.aq.asq_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 idx 1-254
BUF_SIZE 0 vf (-1),200-13107000
BUF_SIZE 0 vf (-1),200-13107000
CAPPED_DATA 0 vf 1
CAPPED_DATA 1 idx 1
DATA_SOURCE 0 vf $0
PARAM_COMPARE 1 idx < $0->num_tc
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 vf->port_vlan_id 0-u16max
USER_DATA 0 vf->trusted 0-1
UNITS 1 idx unit_array_size
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &pci_rescan_remove_lock