Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/net/ethernet/sfc/rx_common.c, line 692 (as a function)
- drivers/net/ethernet/sfc/siena/rx_common.c, line 679 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/sfc/rx_common.c efx_filter_rfs() -> efx_rps_hash_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->rps_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->rps_hash_table | 1-u64max |
| PARAM_VALUE | 1 | spec | 4096-ptr_max |
| PARAM_VALUE | 1 | spec->flags | 8,10 |
| PARAM_VALUE | 1 | spec->ip_proto | 0 |
| PARAM_VALUE | 1 | spec->loc_port | 0 |
| PARAM_VALUE | 1 | spec->match_flags | 619 |
| PARAM_VALUE | 1 | spec->priority | 0 |
| PARAM_VALUE | 1 | spec->rem_port | 0 |
| PARAM_VALUE | 1 | spec->vport_id | 0 |
| PARAM_VALUE | 2 | new | 7046795196245151744 |
| BUF_SIZE | 0 | efx | 5888 |
| DATA_SOURCE | 0 | efx | r efx_netdev_priv |
| MEM_ZERO | 1 | spec | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &efx->rps_hash_lock | |
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct efx_nic)->rps_hash_lock |
drivers/net/ethernet/sfc/siena/rx_common.c efx_siena_filter_rfs() -> efx_rps_hash_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->rps_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->rps_hash_table | 1-u64max |
| PARAM_VALUE | 1 | spec | 4096-ptr_max |
| PARAM_VALUE | 1 | spec->flags | 8,10 |
| PARAM_VALUE | 1 | spec->ip_proto | 0 |
| PARAM_VALUE | 1 | spec->loc_port | 0 |
| PARAM_VALUE | 1 | spec->match_flags | 619 |
| PARAM_VALUE | 1 | spec->outer_vid | 0 |
| PARAM_VALUE | 1 | spec->priority | 0 |
| PARAM_VALUE | 1 | spec->rem_port | 0 |
| PARAM_VALUE | 2 | new | 992344819990872064 |
| MEM_ZERO | 1 | spec | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &efx->rps_hash_lock | |
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct efx_nic)->rps_hash_lock |