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/mlxsw/spectrum.c mlxsw_sp_init() -> mlxsw_sp_switchdev_init()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->bus_info 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->core 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->cmd.lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->cmd.lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->cmd.lock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->cmd.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->pdev->dev.dma_uses_io_tlb 0-1
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 mlxsw_sp->core->bus_priv->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 mlxsw_sp->core->driver->profile->used_max_lag 0-1
PARAM_VALUE 0 mlxsw_sp->core->emad.trans_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp->fid_core 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->fid_core->fid_ht.key_len 0
PARAM_VALUE 0 mlxsw_sp->fid_core->fid_ht.max_elems 0
PARAM_VALUE 0 mlxsw_sp->fid_core->fid_ht.mutex.magic 0
PARAM_VALUE 0 mlxsw_sp->fid_core->fid_ht.p.hashfn 0
PARAM_VALUE 0 mlxsw_sp->fid_core->fid_ht.p.key_len 0
PARAM_VALUE 0 mlxsw_sp->fid_core->fid_ht.p.key_offset 0
PARAM_VALUE 0 mlxsw_sp->fid_core->fid_ht.p.max_size 0
PARAM_VALUE 0 mlxsw_sp->fid_core->fid_ht.p.min_size 0
PARAM_VALUE 0 mlxsw_sp->fid_core->fid_ht.p.nelem_hint 0
PARAM_VALUE 0 mlxsw_sp->fid_core->fid_ht.p.obj_cmpfn 0
PARAM_VALUE 0 mlxsw_sp->fid_core->fid_ht.p.obj_hashfn 0
PARAM_VALUE 0 mlxsw_sp->fid_core->fid_ht.rhlist 0
PARAM_VALUE 0 mlxsw_sp->fid_core->fid_ht.tbl 0
PARAM_VALUE 0 mlxsw_sp->fid_core->port_fid_mappings 0
PARAM_VALUE 0 mlxsw_sp->fid_core->vni_ht.key_len 0
PARAM_VALUE 0 mlxsw_sp->fid_core->vni_ht.max_elems 0
PARAM_VALUE 0 mlxsw_sp->fid_core->vni_ht.mutex.magic 0
PARAM_VALUE 0 mlxsw_sp->fid_core->vni_ht.p.hashfn 0
PARAM_VALUE 0 mlxsw_sp->fid_core->vni_ht.p.key_len 0
PARAM_VALUE 0 mlxsw_sp->fid_core->vni_ht.p.key_offset 0
PARAM_VALUE 0 mlxsw_sp->fid_core->vni_ht.p.max_size 0
PARAM_VALUE 0 mlxsw_sp->fid_core->vni_ht.p.min_size 0
PARAM_VALUE 0 mlxsw_sp->fid_core->vni_ht.p.nelem_hint 0
PARAM_VALUE 0 mlxsw_sp->fid_core->vni_ht.p.obj_cmpfn 0
PARAM_VALUE 0 mlxsw_sp->fid_core->vni_ht.p.obj_hashfn 0
PARAM_VALUE 0 mlxsw_sp->fid_core->vni_ht.rhlist 0
PARAM_VALUE 0 mlxsw_sp->fid_core->vni_ht.tbl 0
PARAM_VALUE 0 mlxsw_sp->fid_core_ops 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->kvdl 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->kvdl->kvdl_lock.first_waiter 0
PARAM_VALUE 0 mlxsw_sp->kvdl->kvdl_lock.owner.counter 0
PARAM_VALUE 0 mlxsw_sp->kvdl->kvdl_ops 0-s64max
PARAM_VALUE 0 mlxsw_sp->kvdl_ops 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->kvdl_ops->priv_size 0-3999840,18446744073709551456-u64max
PARAM_VALUE 0 mlxsw_sp->lags 16,4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->listeners_count 0-s32max
PARAM_VALUE 0 mlxsw_sp->parsing.lock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp->parsing.lock.first_waiter 0
PARAM_VALUE 0 mlxsw_sp->parsing.lock.magic 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->parsing.lock.osq.tail.counter 0
PARAM_VALUE 0 mlxsw_sp->parsing.lock.owner.counter 0
PARAM_VALUE 0 mlxsw_sp->parsing.parsing_depth 96
PARAM_VALUE 0 mlxsw_sp->parsing.vxlan_udp_dport 4789
PARAM_VALUE 0 mlxsw_sp->pgt 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->pgt->end_index 0-u16max
PARAM_VALUE 0 mlxsw_sp->pgt->lock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp->pgt->lock.first_waiter 0
PARAM_VALUE 0 mlxsw_sp->pgt->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mlxsw_sp->pgt->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 mlxsw_sp->pgt->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp->pgt->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mlxsw_sp->pgt->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mlxsw_sp->pgt->lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 mlxsw_sp->pgt->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mlxsw_sp->pgt->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 mlxsw_sp->pgt->lock.owner.counter 0
PARAM_VALUE 0 mlxsw_sp->pgt->pgt_idr.idr_base 0
PARAM_VALUE 0 mlxsw_sp->pgt->pgt_idr.idr_next 0-4294967295
PARAM_VALUE 0 mlxsw_sp->pgt->pgt_idr.idr_rt.xa_flags 0-4294967295
PARAM_VALUE 0 mlxsw_sp->pgt->pgt_idr.idr_rt.xa_head->count 0-255
PARAM_VALUE 0 mlxsw_sp->pgt->pgt_idr.idr_rt.xa_head->nr_values 0-255
PARAM_VALUE 0 mlxsw_sp->pgt->pgt_idr.idr_rt.xa_head->offset 0-255
PARAM_VALUE 0 mlxsw_sp->pgt->pgt_idr.idr_rt.xa_head->shift 0-255
PARAM_VALUE 0 mlxsw_sp->pgt->smpe_index_valid 0-1
PARAM_VALUE 0 mlxsw_sp->policer_core 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->policer_core->highest_bs_bits 0,25,31
PARAM_VALUE 0 mlxsw_sp->policer_core->lowest_bs_bits 0,4
PARAM_VALUE 0 mlxsw_sp->policer_core->ops 0-s64max
PARAM_VALUE 0 mlxsw_sp->sb 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->sb_vals->cms_cpu_count 0-s32max
PARAM_VALUE 0 mlxsw_sp->sb_vals->cms_ingress_count 0-s32max
PARAM_VALUE 0 mlxsw_sp->sb_vals->mms_count 15
PARAM_VALUE 0 mlxsw_sp->sb_vals->pool_count 0-s32max
PARAM_VALUE 0 mlxsw_sp->span 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->span->mlxsw_sp s64min-(-4096),4096-s64max
PARAM_VALUE 0 mlxsw_sp->span->span_entry_ops_arr_size 5
PARAM_VALUE 0 mlxsw_sp->span->span_trigger_ops_arr 1400792910825435136,7173877492204347392
PARAM_VALUE 0 mlxsw_sp->trap 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->trap->group_items_arr 16,4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->trap->groups_count 25-26
PARAM_VALUE 0 mlxsw_sp->trap->max_policers 0-9223372036854775807
PARAM_VALUE 0 mlxsw_sp->trap->policer_items_arr 16,4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->trap->policers_count 21-s32max
PARAM_VALUE 0 mlxsw_sp->trap->thin_policer_hw_id 0-64
PARAM_VALUE 0 mlxsw_sp->trap->trap_items_arr 16,4096-ptr_max
PARAM_VALUE 0 mlxsw_sp->trap->traps_count 77-78
PARAM_VALUE 0 *mlxsw_sp->base_mac 0-255
PARAM_VALUE 0 *mlxsw_sp->core->bus_priv->cmd.in_mbox.buf 0-255
PARAM_VALUE 0 *mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *mlxsw_sp->pgt->lock.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *mlxsw_sp->pgt->pgt_idr.idr_rt.xa_head (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *mlxsw_sp->span->span_trigger_ops_arr 5683910633222332416
CAPPED_DATA 0 mlxsw_sp->listeners_count 1
CAPPED_DATA 0 mlxsw_sp->sb 1
CAPPED_DATA 0 mlxsw_sp->sb_vals->cms_cpu_count 1
CAPPED_DATA 0 mlxsw_sp->sb_vals->pool_count 1
CAPPED_DATA 0 mlxsw_sp->trap->max_policers 1
DATA_SOURCE 0 mlxsw_sp r mlxsw_core_driver_priv
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 mlxsw_sp->max_lag
NO_OVERFLOW_SIMPLE 0 mlxsw_sp->sb_vals->pool_count
HALF_LOCKED2 &devlink->lock