Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_ndo_set_vf_mac() -> i40e_del_mac_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back->num_alloc_vfs | 1-s32max |
| PARAM_VALUE | 0 | vsi->back->num_alloc_vsi | 1-u16max |
| PARAM_VALUE | 0 | vsi->back->state | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back->vf | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back->vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->mac_filter_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | macaddr | 4096-ptr_max |
| BUF_SIZE | 1 | macaddr | 6 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &vsi->mac_filter_hash_lock | |
| 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 | ||
| TYPE_LOCK | (struct i40e_vsi)->mac_filter_hash_lock |
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_del_mac_addr_msg() -> i40e_del_mac_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->mac_filter_hash_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 1 | macaddr | 6 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &vsi->mac_filter_hash_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct i40e_vsi)->mac_filter_hash_lock |
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_get_vf_resources_msg() -> i40e_del_mac_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->info.qs_handle | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->mac_filter_hash_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 1 | macaddr | 6 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &vsi->mac_filter_hash_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct i40e_vsi)->mac_filter_hash_lock |
drivers/net/ethernet/intel/i40e/i40e_main.c i40e_addr_unsync() -> i40e_del_mac_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | macaddr | 4096-ptr_max |
| BUF_SIZE | 1 | macaddr | 32 |
| BUF_SIZE | 1 | macaddr | 32 |
| DATA_SOURCE | 1 | macaddr | $1 |
| NOCHECK_CALL |
drivers/net/ethernet/intel/i40e/i40e_main.c i40e_set_mac() -> i40e_del_mac_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back->state | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->mac_filter_hash_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 1 | macaddr | 32 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &vsi->mac_filter_hash_lock | |
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct i40e_vsi)->mac_filter_hash_lock |