Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_eswitch_cleanup() -> mlx5_eswitch_invalidate_wq()

Type Parameter Key Value
PARAM_VALUE 0 esw 4096-ptr_max
PARAM_VALUE 0 esw->dev 4096-ptr_max
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.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.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
DATA_SOURCE 0 esw $0
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

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_eswitch_disable_locked() -> mlx5_eswitch_invalidate_wq()

Type Parameter Key Value
PARAM_VALUE 0 esw 4096-ptr_max
PARAM_VALUE 0 esw->dev 4096-ptr_max
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.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->mode_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 esw->mode_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.reps_lock.dep_map->name 0-255
PARAM_VALUE 0 esw->offloads.reps_lock.first_waiter->list.prev->next 5159360019465732096
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
CAPPED_DATA 0 esw->dev 1
DATA_SOURCE 0 esw $0
NOSPEC 0 esw->esw_funcs.num_ec_vfs
NOSPEC 0 esw->esw_funcs.num_vfs
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 esw->esw_funcs.num_ec_vfs 1-u16max[c]
USER_DATA 0 esw->esw_funcs.num_vfs 1-u16max[c]
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
HALF_LOCKED2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 0 &esw->offloads.reps_lock

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_eswitch_disable_sriov() -> mlx5_eswitch_invalidate_wq()

Type Parameter Key Value
PARAM_VALUE 0 esw 4096-ptr_max
PARAM_VALUE 0 esw->dev 4096-ptr_max
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
DATA_SOURCE 0 esw $0
NOSPEC 0 esw->esw_funcs.num_ec_vfs
NOSPEC 0 esw->esw_funcs.num_vfs
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 esw->esw_funcs.num_ec_vfs 1-u16max[c]
USER_DATA 0 esw->esw_funcs.num_vfs 1-u16max[c]
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
HALF_LOCKED2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_eswitch_enable() -> mlx5_eswitch_invalidate_wq()

Type Parameter Key Value
PARAM_VALUE 0 esw 4096-ptr_max
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->lag_mpesw.pf_metadata 0-4294967295
DATA_SOURCE 0 esw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock