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/steering/hws/fs_hws_pools.c mlx5_fs_hws_mh_pool_acquire_mh() -> mlx5_fs_pool_acquire_index()

Type Parameter Key Value
PARAM_VALUE 0 fs_pool 4096-ptr_max
PARAM_VALUE 0 fs_pool->ops->bulk_create 2271190718067032064,7255817354910113792,8266951092420468736
PARAM_VALUE 0 fs_pool->ops->bulk_destroy 1401573390153252864,5691771893272776704,8168868113983586304
PARAM_VALUE 0 fs_pool->ops->update_threshold 3780807736803602432,6952560059768127488
PARAM_VALUE 0 fs_pool->pool_ctx 4096-ptr_max
PARAM_VALUE 1 pool_index 108856416331894784
PARAM_VALUE 1 pool_index->fs_bulk 0
PARAM_VALUE 1 pool_index->index 0
BUF_SIZE 0 fs_pool (-1),240
BUF_SIZE 0 fs_pool (-1),240
CAPPED_DATA 0 fs_pool 1
DATA_SOURCE 0 fs_pool $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chains->lock
HALF_LOCKED2 &ct_priv->control_lock
HALF_LOCKED2 &esw->fdb_table.offloads.indir->lock
HALF_LOCKED2 &esw->offloads.reps_lock
HALF_LOCKED2 &fs_prot->prot_mutex
HALF_LOCKED2 &priv->macsec->lock
HALF_LOCKED2 &tc_psample->restore_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws_pools.c mlx5_fs_hws_pr_pool_acquire_pr() -> mlx5_fs_pool_acquire_index()

Type Parameter Key Value
PARAM_VALUE 0 fs_pool 1-1025,1027-1029,1031-ptr_max
PARAM_VALUE 0 fs_pool->ops->bulk_create 2271190718067032064,7255817354910113792,8266951092420468736
PARAM_VALUE 0 fs_pool->ops->bulk_destroy 1401573390153252864,5691771893272776704,8168868113983586304
PARAM_VALUE 0 fs_pool->ops->update_threshold 3780807736803602432,6952560059768127488
PARAM_VALUE 1 pool_index 7326070455074553856
PARAM_VALUE 1 pool_index->fs_bulk 0
PARAM_VALUE 1 pool_index->index 0
BUF_SIZE 0 fs_pool (-1),240
BUF_SIZE 0 fs_pool (-1),240
CAPPED_DATA 0 fs_pool 1
DATA_SOURCE 0 fs_pool $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 lock

drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c mlx5_fc_pool_acquire_counter() -> mlx5_fs_pool_acquire_index()

Type Parameter Key Value
PARAM_VALUE 0 fs_pool 4096-ptr_max
PARAM_VALUE 1 pool_index 7979984376831471616
PARAM_VALUE 1 pool_index->fs_bulk 0
PARAM_VALUE 1 pool_index->index 0
DATA_SOURCE 0 fs_pool $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
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