Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_devlink_eswitch_mode_set() -> mlx5_esw_try_lock()

Type Parameter Key Value
PARAM_VALUE 0 esw 4096-ptr_max
PARAM_VALUE 0 esw->dev 4096-ptr_max
PARAM_VALUE 0 esw->dev->priv.lag->lock.dep_map->name 0-255
PARAM_VALUE 0 esw->dev->priv.lag->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 esw->dev->priv.lag->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.inner.ttc->groups 0-s64max
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.inner.ttc->refcnt 0-4294967295
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.inner.ttc->t->autogroup.num_groups 0-4294967295
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.inner.ttc->t->fgs_hash.ht.nelems.counter s32min-s32max
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.inner.ttc->t->fgs_hash.ht.tbl->hash_rnd 0-4294967295
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.inner.ttc->t->fgs_hash.ht.tbl->nest 0-4294967295
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.inner.ttc->t->fgs_hash.ht.tbl->size 0-4294967295
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.inner.ttc->t->node.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.inner.ttc->t->node.lock.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.inner.ttc->t->node.lock.first_waiter->type 0-1
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.inner.ttc->t->node.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.inner.ttc->t->node.version.counter s32min-s32max
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.inner.ttc->t->type 0-4294967295
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->groups 0-s64max
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->groups->num_groups 3-4,6-7
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->refcnt 0-4294967295
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->t->autogroup.num_groups 0-4294967295
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->t->fgs_hash.ht.nelems.counter s32min-s32max
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->t->fgs_hash.ht.tbl->hash_rnd 0-4294967295
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->t->fgs_hash.ht.tbl->nest 0-4294967295
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->t->fgs_hash.ht.tbl->size 0-4294967295
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->t->node.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->t->node.lock.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->t->node.lock.first_waiter->type 0-1
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->t->node.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->t->node.version.counter s32min-s32max
PARAM_VALUE 0 esw->dev->priv.lag->port_sel.outer.ttc->t->type 0-4294967295
PARAM_VALUE 0 *esw->dev->priv.lag->lag_mpesw.pf_metadata 0-4294967295
CAPPED_DATA 0 esw->dev 1
DATA_SOURCE 0 esw r mlx5_devlink_eswitch_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_eswitch_block_mode() -> mlx5_esw_try_lock()

Type Parameter Key Value
PARAM_VALUE 0 esw 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &rx->ft.mutex
HALF_LOCKED2 &tx->ft.mutex