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_attr_set() -> mlxsw_sp_span_respin()

Type Parameter Key Value
NOCHECK_CALL

drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_obj_add() -> mlxsw_sp_span_respin()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp->sb_vals->cms_egress_count 17
PARAM_VALUE 0 mlxsw_sp->sb_vals->cms_ingress_count 10
PARAM_VALUE 0 mlxsw_sp->sb_vals->pool_count 11
NOCHECK_CALL

drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_obj_del() -> mlxsw_sp_span_respin()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp->sb_vals->cms_egress_count 17
PARAM_VALUE 0 mlxsw_sp->sb_vals->cms_ingress_count 10
PARAM_VALUE 0 mlxsw_sp->sb_vals->pool_count 11
NOCHECK_CALL

drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_switchdev_bridge_fdb_event_work() -> mlxsw_sp_span_respin()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_fib4_event_work() -> mlxsw_sp_span_respin()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->router->lock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp->router->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->router->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mlxsw_sp->router->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 mlxsw_sp->router->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp->router->lock.wait_lock.owner (-1)
PARAM_VALUE 0 mlxsw_sp->router->lock.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &mlxsw_sp->router->lock 1
NOCHECK_CALL
LOCK2 0 &mlxsw_sp->router->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlxsw_sp_router)->lock

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_fib6_event_work() -> mlxsw_sp_span_respin()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->router->lock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp->router->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->router->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mlxsw_sp->router->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 mlxsw_sp->router->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp->router->lock.wait_lock.owner (-1)
PARAM_VALUE 0 mlxsw_sp->router->lock.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &mlxsw_sp->router->lock 1
NOCHECK_CALL
LOCK2 0 &mlxsw_sp->router->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlxsw_sp_router)->lock

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_neigh_event_work() -> mlxsw_sp_span_respin()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->router->lock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp->router->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->router->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mlxsw_sp->router->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 mlxsw_sp->router->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp->router->lock.wait_lock.owner (-1)
PARAM_VALUE 0 mlxsw_sp->router->lock.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &mlxsw_sp->router->lock 1
NOCHECK_CALL
LOCK2 0 &mlxsw_sp->router->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlxsw_sp_router)->lock

drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_netdevice_event() -> mlxsw_sp_span_respin()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp 4096-ptr_max
NOCHECK_CALL