Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/main.c mlx5_cleanup_once() -> mlx5_eswitch_cleanup()

Type Parameter Key Value
PARAM_VALUE 0 esw->dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 esw->dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->groups 0-s64max
PARAM_VALUE 0 esw->dev->priv.roce.fg->node.parent->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 esw->dev->priv.roce.fg->node.parent->lock.first_waiter->type 0-1
PARAM_VALUE 0 esw->dev->priv.roce.ft->node.parent->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 esw->dev->priv.roce.ft->node.parent->lock.first_waiter->type 0-1
PARAM_VALUE 0 esw->fdb_table.legacy.fdb->node.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 esw->fdb_table.legacy.fdb->node.lock.first_waiter->type 0-1
PARAM_VALUE 0 esw->offloads.ft_offloads->node.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 esw->offloads.ft_offloads->node.lock.first_waiter->type 0-1
PARAM_VALUE 0 esw->offloads.ft_offloads->node.parent->lock.first_waiter->type 0-1
PARAM_VALUE 0 esw->offloads.restore_group->node.parent->lock.first_waiter->type 0-1
PARAM_VALUE 0 esw->offloads.vport_rx_group->node.parent->lock.first_waiter->type 0-1
PARAM_VALUE 0 *esw->dev->priv.lag->lag_mpesw.pf_metadata 0-4294967295
PARAM_VALUE 0 *esw->dev->priv.lag->v2p_map 0-255
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 esw->esw_funcs.num_vfs
NO_OVERFLOW_SIMPLE 0 esw->fdb_table.offloads.drop_root_rule->num_rules
NO_OVERFLOW_SIMPLE 0 esw->offloads.vport_rx_drop_rule->num_rules
LOCK2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_core_dev)->intf_state_mutex

drivers/net/ethernet/mellanox/mlx5/core/main.c mlx5_init_once() -> mlx5_eswitch_cleanup()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_core_dev)->intf_state_mutex