Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c, line 495
- drivers/net/ethernet/mellanox/mlx5/core/fs_pool.c
- drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws_pools.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/fs_pool.c mlx5_fs_pool_acquire_from_list() -> mlx5_fs_bulk_get_free_amount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bulk | 4096-ptr_max |
| CAPPED_DATA | 0 | bulk->bulk_len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_pool->pool_lock | ||
| TYPE_LOCK | (struct mlx5_fs_pool)->pool_lock |
drivers/net/ethernet/mellanox/mlx5/core/fs_pool.c mlx5_fs_pool_release_index() -> mlx5_fs_bulk_get_free_amount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bulk | 4096-ptr_max |
| PARAM_VALUE | 0 | bulk->bitmask | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_pool->pool_lock | ||
| TYPE_LOCK | (struct mlx5_fs_pool)->pool_lock |
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws_pools.c mlx5_fs_hws_mh_bulk_destroy() -> mlx5_fs_bulk_get_free_amount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bulk | 4096-ptr_max |
| BUF_SIZE | 0 | bulk | (-1),32 |
| BUF_SIZE | 0 | bulk | (-1),32 |
| DATA_SOURCE | 0 | bulk | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fs_pool->pool_lock |
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws_pools.c mlx5_fs_hws_pr_bulk_destroy() -> mlx5_fs_bulk_get_free_amount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bulk | 4096-ptr_max |
| BUF_SIZE | 0 | bulk | (-1),32 |
| BUF_SIZE | 0 | bulk | (-1),32 |
| DATA_SOURCE | 0 | bulk | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fs_pool->pool_lock |
drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c mlx5_fc_bulk_destroy() -> mlx5_fs_bulk_get_free_amount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bulk | 4096-ptr_max |
| BUF_SIZE | 0 | bulk | (-1),32 |
| BUF_SIZE | 0 | bulk | (-1),32 |
| DATA_SOURCE | 0 | bulk | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fs_pool->pool_lock |