Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_filter_alloc() -> filter_hash_bucket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | src_ip | $2 |
| DATA_SOURCE | 2 | dst_ip | $3 |
| DATA_SOURCE | 3 | src_port | $5 |
| DATA_SOURCE | 4 | dst_port | $6 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | src_ip | 0-u32max[u] |
| USER_DATA | 2 | dst_ip | 0-u32max[u] |
| USER_DATA | 3 | src_port | 0-u16max |
| USER_DATA | 4 | dst_port | 0-u16max |
| UNITS | 1 | src_ip | unit_byte |
| UNITS | 2 | dst_ip | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &priv->filters_lock | |
| TYPE_LOCK | (struct mlx4_en_priv)->filters_lock |
drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_filter_find() -> filter_hash_bucket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 1 | src_ip | $1 |
| DATA_SOURCE | 2 | dst_ip | $2 |
| DATA_SOURCE | 3 | src_port | $4 |
| DATA_SOURCE | 4 | dst_port | $5 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | src_ip | 0-u32max[u] |
| USER_DATA | 2 | dst_ip | 0-u32max[u] |
| USER_DATA | 3 | src_port | 0-u16max |
| USER_DATA | 4 | dst_port | 0-u16max |
| UNITS | 1 | src_ip | unit_byte |
| UNITS | 2 | dst_ip | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &priv->filters_lock | |
| TYPE_LOCK | (struct mlx4_en_priv)->filters_lock |