Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/mellanox/mlxsw/spectrum_matchall.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c, line 1784
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/spectrum_matchall.c mlxsw_sp2_mall_sample_add() -> mlxsw_sp_span_agent_bind()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp->mall_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp->sample_trigger_ht.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp->span | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp->span->active_entries_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_sp->span->entries_count | 1-s32max |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->cmd.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.flags | 0-4294967295 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_hard | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_lazy | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_soft | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | mlxsw_sp->span->policer_id_base | 0-u16max |
| PARAM_VALUE | 0 | mlxsw_sp->span->policer_id_base_ref_count.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | trigger | 0-1 |
| PARAM_VALUE | 2 | mlxsw_sp_port | 4096-ptr_max |
| PARAM_VALUE | 2 | mlxsw_sp_port->dev->ethtool_ops->rxfh_max_num_contexts | 0,2,8,16,33 |
| PARAM_VALUE | 2 | mlxsw_sp_port->dev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563 |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp | 4096-ptr_max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->mall_ops | 4096-ptr_max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->sample_trigger_ht.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span | 4096-ptr_max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->entries_count | s32min-s32max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->policer_id_base | 0-u16max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->span_entry_ops_arr_size | 0-s64max |
| PARAM_VALUE | 3 | parms | 7735477565023920128 |
| PARAM_VALUE | 3 | parms->span_id | 0-s32max |
| CAPPED_DATA | 0 | mlxsw_sp | 1 |
| CAPPED_DATA | 0 | mlxsw_sp->span->entries_count | 1 |
| CAPPED_DATA | 0 | mlxsw_sp->span->span_entry_ops_arr_size | 1 |
| DATA_SOURCE | 0 | mlxsw_sp | $0 |
| DATA_SOURCE | 2 | mlxsw_sp_port | $1 |
| FUZZY_MAX | 1 | trigger | 1 |
| HARD_MAX | 1 | trigger | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_matchall.c mlxsw_sp_mall_port_mirror_add() -> mlxsw_sp_span_agent_bind()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp->span | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp->span->active_entries_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_sp->span->entries_count | 1-s32max |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->cmd.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.flags | 0-4294967295 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_hard | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_lazy | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_soft | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | mlxsw_sp->span->policer_id_base | 0-u16max |
| PARAM_VALUE | 0 | mlxsw_sp->span->policer_id_base_ref_count.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | trigger | 0-1 |
| PARAM_VALUE | 2 | mlxsw_sp_port | 4096-ptr_max |
| PARAM_VALUE | 2 | mlxsw_sp_port->dev->ethtool_ops->rxfh_max_num_contexts | 0,2,8,16,33 |
| PARAM_VALUE | 2 | mlxsw_sp_port->dev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563 |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp | 4096-ptr_max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span | 4096-ptr_max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->active_entries_count.counter | s32min-s32max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->entries_count | 1-s32max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->policer_id_base | 0-u16max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->policer_id_base_ref_count.refs.counter | s32min-s32max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->span_entry_ops_arr | 0-s64max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->span_trigger_ops_arr | 0-s64max |
| PARAM_VALUE | 3 | parms | 6223564697974218752 |
| PARAM_VALUE | 3 | parms->probability_rate | 1 |
| PARAM_VALUE | 3 | parms->span_id | 0-s32max |
| CAPPED_DATA | 0 | mlxsw_sp | 1 |
| CAPPED_DATA | 0 | mlxsw_sp->span->entries_count | 1 |
| CAPPED_DATA | 0 | mlxsw_sp->span->span_entry_ops_arr_size | 1 |
| DATA_SOURCE | 2 | mlxsw_sp_port | $0 |
| FUZZY_MAX | 1 | trigger | 1 |
| HARD_MAX | 1 | trigger | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_qevent_span_configure() -> mlxsw_sp_span_agent_bind()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp->span | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp->span->active_entries_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_sp->span->entries_count | 1-s32max |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->cmd.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.flags | 0-4294967295 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_hard | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_lazy | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_soft | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp->span->mlxsw_sp->core->bus_priv->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | mlxsw_sp->span->policer_id_base | 0-u16max |
| PARAM_VALUE | 0 | mlxsw_sp->span->policer_id_base_ref_count.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_sp->span->span_entry_ops_arr_size | 0-s64max |
| PARAM_VALUE | 0 | mlxsw_sp->trap->groups_count | 0-s64max |
| PARAM_VALUE | 0 | mlxsw_sp->trap->policers_count | 0-s64max |
| PARAM_VALUE | 2 | mlxsw_sp_port | 4096-ptr_max |
| PARAM_VALUE | 2 | mlxsw_sp_port->dev->ethtool_ops->rxfh_max_num_contexts | 0,2,8,16,33 |
| PARAM_VALUE | 2 | mlxsw_sp_port->dev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563 |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp | 4096-ptr_max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span | 4096-ptr_max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 2 | mlxsw_sp_port->mlxsw_sp->span->analyzed_ports_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | parms | 586488244460363776 |
| PARAM_VALUE | 3 | parms->probability_rate | 1 |
| PARAM_VALUE | 3 | parms->span_id | 0-s32max |
| CAPPED_DATA | 0 | mlxsw_sp | 1 |
| CAPPED_DATA | 0 | mlxsw_sp->span->entries_count | 1 |
| CAPPED_DATA | 0 | mlxsw_sp->span->span_entry_ops_arr_size | 1 |
| CAPPED_DATA | 0 | mlxsw_sp->trap->groups_count | 1 |
| CAPPED_DATA | 0 | mlxsw_sp->trap->policers_count | 1 |
| DATA_SOURCE | 0 | mlxsw_sp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock |