Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_get_vf_stats() -> i40e_validate_vf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | vf_id | 0-255 |
| CAPPED_DATA | 1 | vf_id | 1 |
| DATA_SOURCE | 1 | vf_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pf | unit_byte |
| HALF_LOCKED2 | &netdev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &netdev->lock |
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_ndo_get_vf_config() -> i40e_validate_vf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pf | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->state | 4096-ptr_max |
| PARAM_VALUE | 1 | vf_id | 0-2147483646 |
| CAPPED_DATA | 1 | vf_id | 1 |
| DATA_SOURCE | 1 | vf_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vf_id | 0-2147483646[c] |
| UNITS | 0 | pf | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_ndo_set_vf_bw() -> i40e_validate_vf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pf | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->state | 4096-ptr_max |
| PARAM_VALUE | 1 | vf_id | 0-2147483646 |
| DATA_SOURCE | 1 | vf_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vf_id | 0-2147483646 |
| UNITS | 0 | pf | unit_byte |
| 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/i40e/i40e_virtchnl_pf.c i40e_ndo_set_vf_mac() -> i40e_validate_vf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pf | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->state | 4096-ptr_max |
| PARAM_VALUE | 1 | vf_id | 0-2147483646 |
| DATA_SOURCE | 1 | vf_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vf_id | 0-2147483646 |
| UNITS | 0 | pf | unit_byte |
| 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/i40e/i40e_virtchnl_pf.c i40e_ndo_set_vf_port_vlan() -> i40e_validate_vf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pf | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->state | 4096-ptr_max |
| PARAM_VALUE | 1 | vf_id | 0-2147483646 |
| DATA_SOURCE | 1 | vf_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vf_id | 0-2147483646 |
| UNITS | 0 | pf | unit_byte |
| 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 |