Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c mlxsw_sp_span_port_buffer_update() -> mlxsw_sp_hdroom_bufs_reset_sizes()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp_port 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->hdroom 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.wait_lock.owner (-1)
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 hdroom 9134908218040008704
DATA_SOURCE 0 mlxsw_sp_port $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mlxsw_sp->span->analyzed_ports_lock
HALF_LOCKED2 &span->analyzed_ports_lock
TYPE_LOCK (struct mlxsw_sp_span)->analyzed_ports_lock

drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp_port_headroom_init() -> mlxsw_sp_hdroom_bufs_reset_sizes()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp_port 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->dev 4096-ptr_max
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.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->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->pci_32bit_workaround 0-1
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->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->pcpu_stats 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->pvid 4095
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->dev->name 0
PARAM_VALUE 0 *mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.in_mbox.buf 0-255
PARAM_VALUE 0 *mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 hdroom 163674969061187584
PARAM_VALUE 1 hdroom->delay_bytes 0
PARAM_VALUE 1 hdroom->int_buf.enable 0
PARAM_VALUE 1 hdroom->int_buf.reserve_cells 0
PARAM_VALUE 1 hdroom->int_buf.size_cells 0
PARAM_VALUE 1 hdroom->mode 0
BUF_SIZE 0 mlxsw_sp_port->hdroom 216
BUF_SIZE 0 mlxsw_sp_port->pcpu_stats 40
CAPPED_DATA 0 mlxsw_sp_port->mapping.width 1
DATA_SOURCE 0 mlxsw_sp_port $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 mlxsw_sp_port->mlxsw_sp->max_lag
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c mlxsw_sp_port_set_pauseparam() -> mlxsw_sp_hdroom_bufs_reset_sizes()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp_port 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->dcb.pfc 0,4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->dcb.pfc->pfc_en 0
PARAM_VALUE 0 mlxsw_sp_port->hdroom 4096-ptr_max
PARAM_VALUE 1 hdroom 8238222629205016576
PARAM_VALUE 1 hdroom->delay_bytes 0,19476
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_qdisc_create() -> mlxsw_sp_hdroom_bufs_reset_sizes()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp_port 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->dev->ethtool_ops->rxfh_max_num_contexts 0,2,8,16,33
PARAM_VALUE 0 mlxsw_sp_port->dev->ethtool_ops->supported_coalesce_params 0-3,17,19,34-35,48,51,63,204,236,273,511,513,529,547,561,563,595,597,1553,1587,1681,132625,135697,657041,677393,2029107,2097665,2300433,2300595,3653155,12583935,12584499,13239859,117440512,536870912,536872499-u32max
PARAM_VALUE 0 mlxsw_sp_port->hdroom 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->sb_ops->int_buf_size_get s64min-(-4096),4096-s64max
PARAM_VALUE 0 mlxsw_sp_port->qdisc 1-u64max
PARAM_VALUE 0 mlxsw_sp_port->qdisc->root_qdisc.ops->clean_stats 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->qdisc->root_qdisc.ops->type 1-5
PARAM_VALUE 1 hdroom 740464957065113600
PARAM_VALUE 1 hdroom->mode 1
DATA_SOURCE 0 mlxsw_sp_port $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &mlxsw_sp_port->qdisc->lock

drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_qdisc_destroy() -> mlxsw_sp_hdroom_bufs_reset_sizes()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp_port 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->hdroom 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->sb_ops->int_buf_size_get s64min-(-4096),4096-s64max
PARAM_VALUE 0 mlxsw_sp_port->qdisc->root_qdisc.ops->clean_stats 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->qdisc->root_qdisc.ops->type 1-5
PARAM_VALUE 1 hdroom 352487876044410880
PARAM_VALUE 1 hdroom->mode 0
DATA_SOURCE 0 mlxsw_sp_port $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &mlxsw_sp_port->qdisc->lock

drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port_change_mtu() -> mlxsw_sp_hdroom_bufs_reset_sizes()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp_port 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->hdroom 4096-ptr_max
PARAM_VALUE 1 hdroom 7966372387264483328
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 hdroom->mtu 0-s32max[c]

drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_sp_dcbnl_ieee_setpfc() -> mlxsw_sp_hdroom_bufs_reset_sizes()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp_port 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->hdroom 4096-ptr_max
PARAM_VALUE 1 hdroom 3656854823091470336
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 hdroom->delay_bytes 0-8192[c]
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_sp_dcbnl_setbuffer() -> mlxsw_sp_hdroom_bufs_reset_sizes()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp_port 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->hdroom 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp->sb 4096-ptr_max
PARAM_VALUE 1 hdroom 4579064835769257984
PARAM_VALUE 1 hdroom->mode 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_sp_port_headroom_ets_set() -> mlxsw_sp_hdroom_bufs_reset_sizes()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_sp_port 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->hdroom 4096-ptr_max
PARAM_VALUE 0 mlxsw_sp_port->mlxsw_sp 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.first_waiter->list.prev->next 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->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_uses_io_tlb 1
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->emad.trans_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.in_mbox.buf 0-255
PARAM_VALUE 1 hdroom 35106783800848384
DATA_SOURCE 0 mlxsw_sp_port $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex