Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlxsw/spectrum_matchall.c mlxsw_sp2_mall_sample_add() -> mlxsw_sp_span_analyzed_port_get()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp_port 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->mall_ops 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->sample_trigger_ht.p.hashfn 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->entries_count s32min-s32max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->policer_id_base 0-u16max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->span_entry_ops_arr_size 0-s64max
DATA_SOURCE 0 mlxsw_sp_port $1
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_analyzed_port_get()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp_port 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->active_entries_count.counter s32min-s32max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->entries_count 1-s32max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->policer_id_base 0-u16max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->policer_id_base_ref_count.refs.counter s32min-s32max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->span_entry_ops_arr 0-s64max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->span_trigger_ops_arr 0-s64max
DATA_SOURCE 0 mlxsw_sp_port $0
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_analyzed_port_get()

Type Parameter Key Value
DATA_SOURCE 1 ingress $6
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_analyzed_port_get()

Type Parameter Key Value
DATA_SOURCE 1 ingress $3
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_analyzed_port_get()

Type Parameter Key Value
DATA_SOURCE 1 ingress r mlxsw_sp_span_trigger_is_ingress
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &block->cb_lock