Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum_matchall.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c, line 1773
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/spectrum_matchall.c mlxsw_sp2_mall_sample_add() -> mlxsw_sp_span_agent_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp->mall_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp->sample_trigger_ht.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 1 | p_span_id | 4096-ptr_max |
| PARAM_VALUE | 2 | parms | 4419817997630226432 |
| PARAM_VALUE | 2 | parms->policer_enable | 0 |
| PARAM_VALUE | 2 | parms->policer_id | 0 |
| PARAM_VALUE | 2 | parms->session_id | 1 |
| PARAM_VALUE | 2 | parms->to_dev | 0 |
| DATA_SOURCE | 0 | mlxsw_sp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_matchall.c mlxsw_sp_mall_port_mirror_add() -> mlxsw_sp_span_agent_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | p_span_id | 4096-ptr_max |
| PARAM_VALUE | 2 | parms | 1120237793090752512 |
| PARAM_VALUE | 2 | parms->policer_enable | 0 |
| PARAM_VALUE | 2 | parms->policer_id | 0 |
| PARAM_VALUE | 2 | parms->session_id | 0 |
| PARAM_VALUE | 2 | parms->to_dev | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c mlxsw_sp2_act_sampler_add() -> mlxsw_sp_span_agent_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp->sample_trigger_ht.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 1 | p_span_id | 4096-ptr_max |
| PARAM_VALUE | 2 | parms | 3011614084349902848 |
| PARAM_VALUE | 2 | parms->policer_enable | 0 |
| PARAM_VALUE | 2 | parms->policer_id | 0 |
| PARAM_VALUE | 2 | parms->session_id | 1 |
| PARAM_VALUE | 2 | parms->to_dev | 0 |
| DATA_SOURCE | 0 | mlxsw_sp | $0 |
| DATA_SOURCE | 1 | p_span_id | $7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c mlxsw_sp_act_mirror_add() -> mlxsw_sp_span_agent_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | p_span_id | 4096-ptr_max |
| PARAM_VALUE | 2 | parms | 4465822906827014144 |
| PARAM_VALUE | 2 | parms->policer_enable | 0 |
| PARAM_VALUE | 2 | parms->policer_id | 0 |
| PARAM_VALUE | 2 | parms->session_id | 0 |
| DATA_SOURCE | 0 | mlxsw_sp | $0 |
| DATA_SOURCE | 1 | p_span_id | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_qevent_span_configure() -> mlxsw_sp_span_agent_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp->span->entries_count | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_sp->span->policer_id_base | 0-u16max |
| PARAM_VALUE | 0 | mlxsw_sp->span->span_entry_ops_arr_size | 0-s64max |
| PARAM_VALUE | 0 | mlxsw_sp->trap->groups_count | 0-s64max |
| PARAM_VALUE | 0 | mlxsw_sp->trap->policers_count | 0-s64max |
| PARAM_VALUE | 1 | p_span_id | 5228039073172316160 |
| PARAM_VALUE | 2 | parms | 8206773784706244608,9126904353140596736 |
| PARAM_VALUE | 2 | parms->session_id | 0 |
| CAPPED_DATA | 0 | mlxsw_sp->trap->groups_count | 1 |
| CAPPED_DATA | 0 | mlxsw_sp->trap->policers_count | 1 |
| DATA_SOURCE | 0 | mlxsw_sp | $0 |
| DATA_SOURCE | 2 | parms | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock |