Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/net/ethernet/intel/i40e/i40e_client.c i40e_client_add_instance() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
DATA_SOURCE 0 pf $0
UNITS 0 pf unit_byte
LOCK2 global &i40e_device_mutex

drivers/net/ethernet/intel/i40e/i40e_client.c i40e_client_subtask() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
DATA_SOURCE 0 pf $0
HOST_DATA 0 pf->latch_event_flags 0-u32max
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/intel/i40e/i40e_client.c i40e_client_update_vsi_ctxt() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
UNITS 0 pf unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/intel/i40e/i40e_client.c i40e_notify_client_of_l2_param_changes() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
DATA_SOURCE 0 pf $0
HOST_DATA 0 pf->latch_event_flags 0-u32max
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/intel/i40e/i40e_ptp.c i40e_ptp_init() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
DATA_SOURCE 0 pf $0

drivers/net/ethernet/intel/i40e/i40e_ptp.c i40e_ptp_stop() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
BUF_SIZE 0 pf s32min-(-2),1-s32max
BUF_SIZE 0 pf s32min-(-2),1-s32max
DATA_SOURCE 0 pf $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte
HALF_LOCKED2 &dev->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte
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_vc_rdma_msg() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
UNITS 0 pf unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/intel/i40e/i40e_ethtool.c i40e_get_ethtool_fdir_entry() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
CAPPED_DATA 0 pf->hw.aq.api_min_ver 1
DATA_SOURCE 0 pf $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte
HALF_LOCKED2 &netdev->ethtool->rss_lock

drivers/net/ethernet/intel/i40e/i40e_ethtool.c i40e_get_ringparam() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte

drivers/net/ethernet/intel/i40e/i40e_debugfs.c i40e_dbg_command_write() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
BUF_SIZE 0 pf s32min-(-2),1-s32max
BUF_SIZE 0 pf s32min-(-2),1-s32max

drivers/net/ethernet/intel/i40e/i40e_debugfs.c i40e_dbg_command_write() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
BUF_SIZE 0 pf s32min-(-2),1-s32max
BUF_SIZE 0 pf s32min-(-2),1-s32max

drivers/net/ethernet/intel/i40e/i40e_debugfs.c i40e_dbg_command_write() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
BUF_SIZE 0 pf s32min-(-2),1-s32max
BUF_SIZE 0 pf s32min-(-2),1-s32max

drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_detect_recover_hung() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
DATA_SOURCE 0 pf $0
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_fdir() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_config_netdev() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
UNITS 0 pf unit_byte

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_disable_pf_switch_lb() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
CAPPED_DATA 0 pf->hw.aq.asq.count 1
CAPPED_DATA 0 pf->hw.aq.num_asq_entries 1
DATA_SOURCE 0 pf $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_enable_mc_magic_wake() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
BUF_SIZE 0 pf s32min-(-2),1-s32max
BUF_SIZE 0 pf s32min-(-2),1-s32max
DATA_SOURCE 0 pf $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_enable_pf_switch_lb() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
CAPPED_DATA 0 pf->hw.aq.asq.count 1
CAPPED_DATA 0 pf->hw.aq.num_asq_entries 1
DATA_SOURCE 0 pf $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_fdir_flush_and_replay() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
DATA_SOURCE 0 pf $0
HOST_DATA 0 pf->latch_event_flags 0-u32max
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_fdir_sb_setup() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
CAPPED_DATA 0 pf->num_alloc_vsi 1
DATA_SOURCE 0 pf $0

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_dcb_config() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
DATA_SOURCE 0 pf $0
BIT_INFO 0 pf->dcbx_cap 0x0,0xfffd
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 pf->tmp_cfg.etscfg.cbs 0-255
USER_DATA 0 pf->tmp_cfg.etscfg.willing 0-255
USER_DATA 0 pf->tmp_cfg.pfc.pfccap 1-255
USER_DATA 0 pf->tmp_cfg.pfc.pfcenable 0-255

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_intr() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
DATA_SOURCE 0 pf $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_link_event() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
DATA_SOURCE 0 pf $0
HOST_DATA 0 pf->hw.nvm.eetrack 0-u32max
HOST_DATA 0 pf->hw.nvm.hw_semaphore_timeout 0-4299262262295[c]
HOST_DATA 0 pf->hw.nvm.oem_ver 0-u32max
HOST_DATA 0 pf->latch_event_flags 0-u32max
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_mqprio_get_enabled_tc() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
CAPPED_DATA 0 pf->hw.aq.asq.count 1
CAPPED_DATA 0 pf->hw.aq.num_asq_entries 1
DATA_SOURCE 0 pf $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 pf->hw.nvm.eetrack 0-u32max
HOST_DATA 0 pf->hw.nvm.hw_semaphore_timeout 0-4299262262295[c]
HOST_DATA 0 pf->hw.nvm.oem_ver 0-u32max
HOST_DATA 0 pf->latch_event_flags 0-u32max
USER_DATA 0 pf->tmp_cfg.etscfg.cbs 0-255
USER_DATA 0 pf->tmp_cfg.etscfg.willing 0-255
USER_DATA 0 pf->tmp_cfg.pfc.pfccap 1-255
USER_DATA 0 pf->tmp_cfg.pfc.pfcenable 0-255
UNITS 0 pf unit_byte
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_pf_config_rss() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
DATA_SOURCE 0 pf $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_pf_get_num_tc() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
DATA_SOURCE 0 pf $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_print_features() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
DATA_SOURCE 0 pf $0

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_reconfig_rss_queues() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
DATA_SOURCE 0 pf $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_reconstitute_veb() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
CAPPED_DATA 0 pf->mac_seid 1
UNITS 0 pf unit_byte

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_set_promiscuous() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
DATA_SOURCE 0 pf $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 pf->hw.aq.asq_last_status 0-11,13-255[c][u]
UNITS 0 pf unit_byte
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_setup_channel() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
DATA_SOURCE 0 pf $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 pf->hw.nvm.eetrack 0-u32max
HOST_DATA 0 pf->hw.nvm.hw_semaphore_timeout 0-4299262262295[c]
HOST_DATA 0 pf->hw.nvm.oem_ver 0-u32max
UNITS 0 pf unit_byte

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_vsi_reinit_setup() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
CAPPED_DATA 0 pf->qp_pile 1
UNITS 0 pf unit_byte

drivers/net/ethernet/intel/i40e/i40e_ddp.c i40e_ddp_restore() -> i40e_pf_get_main_vsi()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
DATA_SOURCE 0 pf $0
UNITS 0 pf unit_byte
HALF_LOCKED2 global &rtnl_mutex