Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_check_vf_permission() -> i40e_find_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | macaddr | 4096-ptr_max |
| BUF_SIZE | 1 | macaddr | 6 |
| BUF_SIZE | 1 | macaddr | 6 |
| PREEMPT_ADD | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | &vsi->mac_filter_hash_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct i40e_vsi)->mac_filter_hash_lock |
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_validate_cloud_filter() -> i40e_find_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | macaddr | 6 |
| LOCK2 | &pool->lock |
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_add_mac_addr_msg() -> i40e_find_mac()
| 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 |