Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/intel/ice/ice_sriov.c ice_sriov_post_vsi_rebuild() -> ice_ena_vf_mappings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vf | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->ctrl_vsi_idx | u16max |
| PARAM_VALUE | 0 | vf->devlink_port.devlink->index | 0-4294967295 |
| PARAM_VALUE | 0 | vf->devlink_port.devlink->reload_failed | 0-1 |
| PARAM_VALUE | 0 | vf->driver_caps | 0 |
| PARAM_VALUE | 0 | vf->fdir.ctx_done.flags | 0 |
| PARAM_VALUE | 0 | vf->fdir.ctx_irq.flags | 0 |
| PARAM_VALUE | 0 | vf->fdir.fdir_fltr_cnt_total | 0 |
| PARAM_VALUE | 0 | vf->fdir.fdir_prof | 0 |
| PARAM_VALUE | 0 | vf->fdir.fdir_rule_idr.idr_base | 0 |
| PARAM_VALUE | 0 | vf->fdir.fdir_rule_idr.idr_next | 0 |
| PARAM_VALUE | 0 | vf->fdir.fdir_rule_idr.idr_rt.xa_flags | 33554436 |
| PARAM_VALUE | 0 | vf->fdir.fdir_rule_idr.idr_rt.xa_head | 0 |
| PARAM_VALUE | 0 | vf->fdir.fdir_rule_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->fdir.fdir_rule_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->fdir.fdir_rule_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->fdir.fdir_rule_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->fdir.fdir_rule_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->lan_vsi_idx | 0-65534 |
| PARAM_VALUE | 0 | vf->mdd_rx_events.count | 0 |
| PARAM_VALUE | 0 | vf->mdd_rx_events.last_printed | 0 |
| PARAM_VALUE | 0 | vf->mdd_tx_events.count | 0 |
| PARAM_VALUE | 0 | vf->mdd_tx_events.last_printed | 0 |
| PARAM_VALUE | 0 | vf->num_mac | 0-2 |
| PARAM_VALUE | 0 | vf->num_mac_lldp | 0 |
| PARAM_VALUE | 0 | vf->num_req_qs | 0-16 |
| PARAM_VALUE | 0 | vf->opcodes_allowlist | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->pf | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->pf->lag->active_port | 0,255 |
| PARAM_VALUE | 0 | vf->port_vlan_info.vid | 0-4095 |
| PARAM_VALUE | 0 | vf->vf_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->vf_ops->clear_mbx_register | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->vf_ops->clear_reset_trigger | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->vf_ops->irq_close | 0 |
| PARAM_VALUE | 0 | vf->vf_ops->post_vsi_rebuild | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->vf_ops->reset_type | 1-2 |
| PARAM_VALUE | 0 | vf->vf_ops->trigger_reset_register | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->vf_states | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->virtchnl_ops->add_fdir_fltr_msg | 1075202181330993152 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->add_mac_addr_msg | 636609111407104000,4586636838956158976 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->add_vlan_msg | 1369977496131227648 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->add_vlan_v2_msg | 6189158666582274048 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->cfg_irq_map_msg | 7568041288892858368 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->cfg_promiscuous_mode_msg | 338834441823272960,4360209277383237632 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->cfg_q_bw | 3888161623575777280 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->cfg_q_quanta | 4822364587157979136 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->cfg_q_tc_map | 0 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->cfg_qs_msg | 2286613575067615232 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->config_rss_hfunc | 6560442064862986240 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->config_rss_key | 3849542384802164736 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->config_rss_lut | 7816891138333773824 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->del_fdir_fltr_msg | 1194794699988430848 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->del_mac_addr_msg | 600113193256771584,5799054369351479296 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->dis_qs_msg | 4246740020047110144 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->dis_vlan_insertion_v2_msg | 8369848365723308032 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->dis_vlan_stripping | 6543817527249330176 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->dis_vlan_stripping_v2_msg | 6651423416292106240 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->ena_qs_msg | 4497291207880204288 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->ena_vlan_insertion_v2_msg | 3414400726767771648 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->ena_vlan_stripping | 9161209956982546432 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->ena_vlan_stripping_v2_msg | 7568716939420250112 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_offload_vlan_v2_caps | 8645711744681791488 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_phc_time | 9173309139223982080 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_ptp_cap | 6101864591653326848 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_qos_caps | 1149613181756387328 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_rss_hashcfg | 4176044379369512960 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_stats_msg | 8198403581242429440 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_ver_msg | 3317454804626726912 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_vf_res_msg | 2295570210162733056 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->handle_rss_cfg_msg | 5080976838315126784 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->query_rxdid | 7568304561732300800 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->remove_vlan_msg | 1244096305450614784 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->remove_vlan_v2_msg | 552635886409056256 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->request_qs_msg | 8278359165598257152 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->reset_vf | 6291338088812388352 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->set_rss_hashcfg | 7672872125643841536 |
| PARAM_VALUE | 0 | vf->vlan_v2_caps.filtering.max_filters | 0 |
| DATA_SOURCE | 0 | vf | $0 |
| MEM_ZERO | 0 | vf->opcodes_allowlist | |
| MEM_ZERO | 0 | vf->rxq_ena | |
| MEM_ZERO | 0 | vf->txq_ena | |
| MEM_ZERO | 0 | &vf->mdd_rx_events | |
| MEM_ZERO | 0 | &vf->mdd_tx_events | |
| MEM_ZERO | 0 | &vf->vlan_v2_caps | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | vf->trusted | 0-1 |
| HALF_LOCKED2 | &pf->lag_mutex | ||
| HALF_LOCKED2 | &pf->vfs.table_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &vf->cfg_lock |
drivers/net/ethernet/intel/ice/ice_sriov.c ice_sriov_remap_vectors() -> ice_ena_vf_mappings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vf | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->refcnt.refcount.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | vf->vf_id | 1 |
| DATA_SOURCE | 0 | vf | r ice_get_vf_by_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &pdev->dev.mutex | ||
| LOCK2 | &vf_dev->dev.mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/intel/ice/ice_sriov.c ice_sriov_set_msix_vec_count() -> ice_ena_vf_mappings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vf->first_vector_idx | 0-s32max |
| PARAM_VALUE | 0 | vf->lan_vsi_idx | 0-65534 |
| CAPPED_DATA | 0 | vf->num_vf_qs | 1 |
| DATA_SOURCE | 0 | vf | r ice_get_vf_by_dev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | vf->num_msix | 0-u16max |
| USER_DATA | 0 | vf->num_vf_qs | 0-u16max[c] |
| LOCK2 | &of->mutex | ||
| LOCK2 | &pdev->dev.mutex | ||
| LOCK2 | &vf_dev->dev.mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/intel/ice/ice_sriov.c ice_sriov_set_msix_vec_count() -> ice_ena_vf_mappings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vf->first_vector_idx | 0-s32max |
| PARAM_VALUE | 0 | vf->lan_vsi_idx | 0-65534 |
| DATA_SOURCE | 0 | vf | r ice_get_vf_by_dev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &pdev->dev.mutex | ||
| LOCK2 | &vf_dev->dev.mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/intel/ice/ice_sriov.c ice_start_vfs() -> ice_ena_vf_mappings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vf | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->first_vector_idx | 0-s32max |
| PARAM_VALUE | 0 | vf->lan_vsi_idx | 0-767 |
| PARAM_VALUE | 0 | vf->num_mac | 1 |
| PARAM_VALUE | 0 | vf->pf | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->pf->hw.port_info | 1-u64max |
| PARAM_VALUE | 0 | vf->pf->sw_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vf->pf->sw_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vf->pf->sw_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vf->pf->sw_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vf->pf->sw_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vf->pf->sw_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | vf->pf->sw_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | vf->pf->sw_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | vf->pf->sw_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | vf->pf->sw_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vf->pf->virt_irq_tracker.num_entries | 1-u32max |
| PARAM_VALUE | 0 | vf->vf_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->vf_states | 4096-ptr_max |
| PARAM_VALUE | 0 | vf->virtchnl_ops->add_fdir_fltr_msg | 1075202181330993152 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->add_mac_addr_msg | 636609111407104000,4586636838956158976 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->add_vlan_msg | 1369977496131227648 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->add_vlan_v2_msg | 6189158666582274048 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->cfg_irq_map_msg | 7568041288892858368 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->cfg_promiscuous_mode_msg | 338834441823272960,4360209277383237632 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->cfg_q_bw | 3888161623575777280 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->cfg_q_quanta | 4822364587157979136 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->cfg_q_tc_map | 0 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->cfg_qs_msg | 2286613575067615232 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->config_rss_hfunc | 6560442064862986240 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->config_rss_key | 3849542384802164736 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->config_rss_lut | 7816891138333773824 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->del_fdir_fltr_msg | 1194794699988430848 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->del_mac_addr_msg | 600113193256771584,5799054369351479296 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->dis_qs_msg | 4246740020047110144 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->dis_vlan_insertion_v2_msg | 8369848365723308032 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->dis_vlan_stripping | 6543817527249330176 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->dis_vlan_stripping_v2_msg | 6651423416292106240 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->ena_qs_msg | 4497291207880204288 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->ena_vlan_insertion_v2_msg | 3414400726767771648 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->ena_vlan_stripping | 9161209956982546432 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->ena_vlan_stripping_v2_msg | 7568716939420250112 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_offload_vlan_v2_caps | 8645711744681791488 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_phc_time | 9173309139223982080 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_ptp_cap | 6101864591653326848 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_qos_caps | 1149613181756387328 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_rss_hashcfg | 4176044379369512960 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_stats_msg | 8198403581242429440 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_ver_msg | 3317454804626726912 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->get_vf_res_msg | 2295570210162733056 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->handle_rss_cfg_msg | 5080976838315126784 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->query_rxdid | 7568304561732300800 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->remove_vlan_msg | 1244096305450614784 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->remove_vlan_v2_msg | 552635886409056256 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->request_qs_msg | 8278359165598257152 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->reset_vf | 6291338088812388352 |
| PARAM_VALUE | 0 | vf->virtchnl_ops->set_rss_hashcfg | 7672872125643841536 |
| PARAM_VALUE | 0 | *vf->pf->vsi | 4096-ptr_max |
| CAPPED_DATA | 0 | vf->pf->virt_irq_tracker.num_entries | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &pdev->dev.mutex | ||
| LOCK2 | &pf->vfs.table_lock | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct ice_vfs)->table_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |