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_main.c i40e_add_mac_filter() -> i40e_add_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->info.pvid | 1-u16max |
| PARAM_VALUE | 2 | vlan | s16min-(-1),1-s16max |
| BUF_SIZE | 1 | macaddr | 6,32 |
| BUF_SIZE | 1 | macaddr | 6,32 |
| DATA_SOURCE | 0 | vsi | $0 |
| DATA_SOURCE | 1 | macaddr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vsi->back->hw.aq.asq_last_status | 0-11,13-255[c][u] |
| USER_DATA | 0 | vsi->info.pvid | 1-u16max |
| USER_DATA | 2 | vlan | s16min-(-1),1-s16max |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &vsi->mac_filter_hash_lock |
drivers/net/ethernet/intel/i40e/i40e_main.c i40e_add_mac_filter() -> i40e_add_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->has_vlan_filter | 0 |
| PARAM_VALUE | 0 | vsi->info.pvid | 0 |
| PARAM_VALUE | 2 | vlan | (-1) |
| BUF_SIZE | 1 | macaddr | 6,32 |
| BUF_SIZE | 1 | macaddr | 6,32 |
| DATA_SOURCE | 0 | vsi | $0 |
| DATA_SOURCE | 1 | macaddr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vsi->back->hw.aq.asq_last_status | 0-11,13-255[c][u] |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &vsi->mac_filter_hash_lock |
drivers/net/ethernet/intel/i40e/i40e_main.c i40e_add_mac_filter() -> i40e_add_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->has_vlan_filter | 1 |
| PARAM_VALUE | 0 | vsi->info.pvid | 0 |
| PARAM_VALUE | 0 | vsi->mac_filter_hash | 4096-ptr_max |
| BUF_SIZE | 1 | macaddr | 6,32 |
| BUF_SIZE | 1 | macaddr | 6,32 |
| DATA_SOURCE | 0 | vsi | $0 |
| DATA_SOURCE | 1 | macaddr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vsi->back->hw.aq.asq_last_status | 0-11,13-255[c][u] |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &vsi->mac_filter_hash_lock |
drivers/net/ethernet/intel/i40e/i40e_main.c i40e_add_vlan_all_mac() -> i40e_add_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->mac_filter_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->mac_filter_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | macaddr | 4096-ptr_max |
| PARAM_VALUE | 2 | vlan | s16min-(-1),1-s16max |
| BUF_SIZE | 1 | macaddr | 6 |
| CAPPED_DATA | 2 | vlan | 1 |
| DATA_SOURCE | 0 | vsi | $0 |
| DATA_SOURCE | 2 | vlan | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vsi->back->hw.aq.asq_last_status | 0-11,13-255[c][u] |
| USER_DATA | 0 | vsi->info.pvid | 0-u16max |
| USER_DATA | 2 | vlan | 1-4095[c] |
| LOCK2 | bh | ||
| LOCK2 | 0 | &vsi->mac_filter_hash_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct i40e_vsi)->mac_filter_hash_lock |
drivers/net/ethernet/intel/i40e/i40e_main.c i40e_correct_mac_vlan_filters() -> i40e_add_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->mac_filter_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->mac_filter_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vsi->netdev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vsi->state | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->type | 0-5,7-u32max |
| BUF_SIZE | 1 | macaddr | 6 |
| DATA_SOURCE | 0 | vsi | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vsi->back->hw.aq.asq_last_status | 0-11,13-255[c][u] |
| USER_DATA | 0 | vsi->info.pvid | 1-u16max |
| USER_DATA | 2 | vlan | s16min-(-1),1-s16max |
| LOCK2 | bh | ||
| LOCK2 | 0 | &vsi->mac_filter_hash_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct i40e_vsi)->mac_filter_hash_lock |
drivers/net/ethernet/intel/i40e/i40e_main.c i40e_correct_vf_mac_vlan_filters() -> i40e_add_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back->vf | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->mac_filter_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->mac_filter_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vsi->netdev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vsi->state | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->type | 6 |
| BUF_SIZE | 1 | macaddr | 6 |
| DATA_SOURCE | 0 | vsi | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vsi->back->hw.aq.asq_last_status | 0-11,13-255[c][u] |
| USER_DATA | 0 | vsi->info.pvid | 1-u16max |
| USER_DATA | 2 | vlan | s16min-(-1),1-s16max |
| LOCK2 | bh | ||
| LOCK2 | 0 | &vsi->mac_filter_hash_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct i40e_vsi)->mac_filter_hash_lock |