Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/sfc/rx_common.c efx_rps_hash_add() -> efx_filter_spec_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | left | 4096-ptr_max |
| PARAM_VALUE | 0 | left->encap_type | 0 |
| PARAM_VALUE | 0 | left->flags | 8,10 |
| PARAM_VALUE | 0 | left->inner_vid | 0 |
| PARAM_VALUE | 0 | left->ip_proto | 0 |
| PARAM_VALUE | 0 | left->loc_port | 0 |
| PARAM_VALUE | 0 | left->match_flags | 619 |
| PARAM_VALUE | 0 | left->outer_vid | 0 |
| PARAM_VALUE | 0 | left->priority | 0 |
| PARAM_VALUE | 0 | left->rem_port | 0 |
| PARAM_VALUE | 0 | left->rss_context | 0 |
| PARAM_VALUE | 0 | left->vport_id | 0 |
| PARAM_VALUE | 1 | right | 4096-ptr_max |
| DATA_SOURCE | 0 | left | $1 |
| MEM_ZERO | 0 | left | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &efx->rps_hash_lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct efx_nic)->rps_hash_lock |
drivers/net/ethernet/sfc/rx_common.c efx_rps_hash_del() -> efx_filter_spec_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | left | 6226873367523028992 |
| PARAM_VALUE | 0 | left->priority | 0 |
| PARAM_VALUE | 1 | right | 4096-ptr_max |
| DATA_SOURCE | 0 | left | $1 |
| PREEMPT_ADD | |||
| LOCK2 | &efx->filter_sem | ||
| LOCK2 | &efx->rps_hash_lock | ||
| LOCK2 | &efx->rps_mutex | ||
| LOCK2 | &table->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct efx_mcdi_filter_table)->lock | ||
| TYPE_LOCK | (struct efx_nic)->filter_sem | ||
| TYPE_LOCK | (struct efx_nic)->rps_hash_lock | ||
| TYPE_LOCK | (struct efx_nic)->rps_mutex |
drivers/net/ethernet/sfc/rx_common.c efx_rps_hash_find() -> efx_filter_spec_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | left | 4096-ptr_max |
| PARAM_VALUE | 1 | right | 4096-ptr_max |
| DATA_SOURCE | 0 | left | $1 |
| PREEMPT_ADD | |||
| LOCK2 | &efx->rps_hash_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &efx->filter_sem | ||
| HALF_LOCKED2 | &efx->rps_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &table->lock | ||
| TYPE_LOCK | (struct efx_nic)->rps_hash_lock |
drivers/net/ethernet/sfc/mcdi_filters.c efx_mcdi_filter_insert_locked() -> efx_filter_spec_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | left | 4096-ptr_max |
| PARAM_VALUE | 0 | left->flags | 8-63 |
| PARAM_VALUE | 1 | right | 4-u64max |
| DATA_SOURCE | 0 | left | $1 |
| DATA_SOURCE | 1 | right | r efx_mcdi_filter_entry_spec |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | left->ether_type | 0-u16max |
| USER_DATA | 0 | left->ip_proto | 0-255 |
| USER_DATA | 0 | left->loc_port | 0-u16max |
| USER_DATA | 0 | left->outer_vid | 0-u16max |
| USER_DATA | 0 | left->rem_port | 0-u16max |
| USER_DATA | 0 | left->rss_context | 0-u32max |
| LOCK2 | &efx->filter_sem | ||
| LOCK2 | &table->lock | ||
| HALF_LOCKED2 | &efx->mac_lock | ||
| HALF_LOCKED2 | &efx->net_dev->ethtool->rss_lock | ||
| TYPE_LOCK | (struct efx_mcdi_filter_table)->lock | ||
| TYPE_LOCK | (struct efx_nic)->filter_sem |