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/mlx5/core/esw/qos.c __esw_qos_create_vports_sched_node() -> mlx5_destroy_scheduling_element_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 dev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 dev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 dev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 0 dev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 dev->cmd.pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 dev->cmd.state 1
PARAM_VALUE 0 dev->cmd.token 1-255
PARAM_VALUE 0 dev->cmd.token_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.last_holder 0
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.owner (-1)
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.lock.owner_cpu u32max
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.last_holder 0
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.owner (-1)
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.lock.owner_cpu u32max
PARAM_VALUE 0 dev->pdev->error_state 1
PARAM_VALUE 0 dev->priv.eq_table->ctrl_irq 0,4096-s64max
PARAM_VALUE 1 hierarchy 2
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/esw/qos.c esw_qos_create() -> mlx5_destroy_scheduling_element_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.hca 4096-ptr_max
PARAM_VALUE 0 dev->device 0,4096-ptr_max
PARAM_VALUE 0 dev->device->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->device->class 0,4096-ptr_max
PARAM_VALUE 0 dev->device->driver 0,4096-ptr_max
PARAM_VALUE 1 hierarchy 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c esw_qos_node_destroy_sched_element() -> mlx5_destroy_scheduling_element_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 1 hierarchy 2
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c esw_qos_switch_vports_node_to_tc_arbiter() -> mlx5_destroy_scheduling_element_cmd()

Type Parameter Key Value
PARAM_VALUE 1 hierarchy 2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->ethtool->rss_lock
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/esw/qos.c esw_qos_vports_node_update_parent() -> mlx5_destroy_scheduling_element_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 hierarchy 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/mellanox/mlx5/core/qos.c mlx5_qos_destroy_node() -> mlx5_destroy_scheduling_element_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 1 hierarchy 3
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 element_id $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &priv->state_lock