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_switchdev.c mlxsw_sp_port_lagged_get() -> mlxsw_core_lag_mapping_get()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_core 4096-ptr_max
CAPPED_DATA 2 port_index 1
DATA_SOURCE 1 lag_id $1
DATA_SOURCE 2 port_index $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 lag_id unit_array_size
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c mlxsw_sp_sample_tx_port_get() -> mlxsw_core_lag_mapping_get()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_skb_receive() -> mlxsw_core_lag_mapping_get()

Type Parameter Key Value
DATA_SOURCE 0 mlxsw_core $0

drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port_lagged_get() -> mlxsw_core_lag_mapping_get()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_core 4096-ptr_max
CAPPED_DATA 2 port_index 1
DATA_SOURCE 1 lag_id $1
DATA_SOURCE 2 port_index $2
UNITS 1 lag_id unit_array_size