Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_port_vlan_add() -> mlxsw_sp_port_vlan_create()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp_port 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp 4096-ptr_max
DATA_SOURCE 0 mlxsw_sp_port $0
DATA_SOURCE 1 vid $2
UNITS 1 vid unit_array_size

drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port_add_vid() -> mlxsw_sp_port_vlan_create()

Type Parameter Key Value
PARAM_VALUE 1 vid 1-u16max
DATA_SOURCE 1 vid $2
NOSPEC 1 vid
NOSPEC 1 vid
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 vid 1-4094

drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port_create() -> mlxsw_sp_port_vlan_create()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp_port 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->dcb.ets 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->dcb.ets->ets_cap 8
PARAM_VALUE 0 mlxsw_sp_port->dcb.maxrate 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->dcb.pfc 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->dcb.pfc->pfc_cap 8
PARAM_VALUE 0 mlxsw_sp_port->dcb.trust_state 1
PARAM_VALUE 0 mlxsw_sp_port->dev->dcbnl_ops 9034348037065969664
PARAM_VALUE 0 mlxsw_sp_port->dev->dcbnl_ops->dcbnl_getbuffer 6266831807981404160
PARAM_VALUE 0 mlxsw_sp_port->dev->dcbnl_ops->dcbnl_setbuffer 8940630752267579392
PARAM_VALUE 0 mlxsw_sp_port->dev->dcbnl_ops->getdcbx 3116750035999539200
PARAM_VALUE 0 mlxsw_sp_port->dev->dcbnl_ops->ieee_delapp 8164684920590934016
PARAM_VALUE 0 mlxsw_sp_port->dev->dcbnl_ops->ieee_getets 2891834399157063680
PARAM_VALUE 0 mlxsw_sp_port->dev->dcbnl_ops->ieee_getmaxrate 2188318340031295488
PARAM_VALUE 0 mlxsw_sp_port->dev->dcbnl_ops->ieee_getpfc 8034858259080671232
PARAM_VALUE 0 mlxsw_sp_port->dev->dcbnl_ops->ieee_setapp 6885026535786024960
PARAM_VALUE 0 mlxsw_sp_port->dev->dcbnl_ops->ieee_setets 2838227949599920128
PARAM_VALUE 0 mlxsw_sp_port->dev->dcbnl_ops->ieee_setmaxrate 5049440110205194240
PARAM_VALUE 0 mlxsw_sp_port->dev->dcbnl_ops->ieee_setpfc 4014715453629112320
PARAM_VALUE 0 mlxsw_sp_port->dev->dcbnl_ops->setdcbx 4854782014285475840
PARAM_VALUE 0 mlxsw_sp_port->hdroom 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->link.autoneg 1
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->base_mac 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->bus_info 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->lock.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->lock.osq.tail.counter s32min-s32max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->priv->domain->pd_mode 0-2
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->priv->domain->pscid (-4095)-s32max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->priv->domain->s1_cfg.addr_width 48,57
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->priv->domain_attached 1
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->priv->gcr3_info.domid 0-u16max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->priv->gcr3_info.gcr3_tbl 0,s64max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->priv->gcr3_info.glx 0-3
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->priv->smmu->dev->power.request 0-4294967295
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->core->emad.trans_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->fid_core 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->fid_core->port_fid_mappings 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->kvdl_ops->priv_size 24,48
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->port_type_speed_ops 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->port_type_speed_ops->reg_ptys_eth_pack 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->sb_vals->cms_cpu_count 32
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->sb_vals->cms_egress_count 0-s32max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->sb_vals->cms_ingress_count 0-s32max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->sb_vals->pool_count 1-s32max
PARAM_VALUE 0 mlxsw_sp_port->pcpu_stats 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->pvid 4095
PARAM_VALUE 0 mlxsw_sp_port->qdisc 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->qdisc->lock.first_waiter 0
PARAM_VALUE 0 mlxsw_sp_port->vlans_list.next 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->vlans_list.next->next 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->vlans_list.prev 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->vlans_list.prev->next 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->vlans_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 *mlxsw_sp_port->dcb.maxrate->tc_maxrate s32max
PARAM_VALUE 0 *mlxsw_sp_port->dev->name 0
PARAM_VALUE 0 *mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 vid 4095
BUF_SIZE 0 mlxsw_sp_port->pcpu_stats 40
CAPPED_DATA 0 mlxsw_sp_port->dcb.ets 1
CAPPED_DATA 0 mlxsw_sp_port->hdroom 1
CAPPED_DATA 0 mlxsw_sp_port->mlxsw_sp->sb_vals->cms_egress_count 1
CAPPED_DATA 0 mlxsw_sp_port->mlxsw_sp->sb_vals->cms_ingress_count 1
CAPPED_DATA 0 mlxsw_sp_port->mlxsw_sp->sb_vals->pool_count 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 mlxsw_sp_port->mlxsw_sp->max_lag
HALF_LOCKED2 &devlink->lock