Home
last modified time | relevance | path

Searched refs:available_units (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_pool.c73 pool->available_units = 0; in mlx5_fs_pool_init()
101 fs_pool->available_units += new_bulk->bulk_len; in mlx5_fs_pool_alloc_new_bulk()
111 fs_pool->available_units -= bulk->bulk_len; in mlx5_fs_pool_free_bulk()
160 fs_pool->available_units--; in mlx5_fs_pool_acquire_index()
182 fs_pool->available_units++; in mlx5_fs_pool_release_index()
190 if (fs_pool->available_units > fs_pool->threshold) in mlx5_fs_pool_release_index()
H A Dfs_pool.h37 int available_units; member