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/fs_cmd.c mlx5_cmd_fc_alloc() -> mlx5_cmd_fc_bulk_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.hca 4096-ptr_max
PARAM_VALUE 0 dev->cmd.pool->size 0-4294967295
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 0 dev->cmd.wq->flags 0-4294967295
PARAM_VALUE 0 dev->mlx5e_res.tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 dev->mlx5e_res.tracker->dead 0-1
PARAM_VALUE 0 dev->mlx5e_res.tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 dev->pdev->bus->self->link_bwctrl->cdev 0-s64max
PARAM_VALUE 0 dev->priv.eq_table->curr_comp_eqs s32min-s32max
PARAM_VALUE 0 dev->priv.eq_table->max_comp_eqs s32min-s32max
PARAM_VALUE 0 dev->priv.fc_stats->fc_pool.dev->clock->ptp 0,4096-s64max
PARAM_VALUE 0 dev->priv.fc_stats->fc_pool.dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->priv.fc_stats->fc_pool.dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->priv.fc_stats->fc_pool.dev->pdev->bus->self->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 dev->priv.fw_reset->reset_method 0-255
PARAM_VALUE 0 dev->priv.lag->buckets 0-255
PARAM_VALUE 0 dev->priv.lag->mode 0-4294967295
PARAM_VALUE 0 dev->priv.mpfs->enabled 0-1
PARAM_VALUE 0 dev->priv.mpfs->size 0-4294967295
PARAM_VALUE 0 dev->rsc_dump->number_of_menu_items 0-4294967295
PARAM_VALUE 0 dev->rsc_dump->pdn 0-4294967295
PARAM_VALUE 1 alloc_bitmask 0
PARAM_VALUE 2 id 4096-ptr_max
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 id $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->cmd.pool->allocation
NO_OVERFLOW_SIMPLE 0 dev->priv.eswitch->esw_funcs.num_vfs
UNITS 0 dev unit_byte
HALF_LOCKED2 &counter->lock
HALF_LOCKED2 &dev->flow_db->lock
HALF_LOCKED2 &esw->state_lock
HALF_LOCKED2 &flow_meters->sync_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rx->ft.mutex
HALF_LOCKED2 &stats->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c mlx5_fc_bulk_create() -> mlx5_cmd_fc_bulk_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.hca 4096-ptr_max
PARAM_VALUE 1 alloc_bitmask 0-255
PARAM_VALUE 2 id 304179864686612480
DATA_SOURCE 0 dev $0
FUZZY_MAX 1 alloc_bitmask 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_pool->pool_lock
TYPE_LOCK (struct mlx5_fs_pool)->pool_lock