Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c27 struct mlxsw_sp_counter_sub_pool sub_pools[]; member
63 sub_pool = &pool->sub_pools[i]; in mlxsw_sp_counter_sub_pools_init()
89 sub_pool = &pool->sub_pools[i]; in mlxsw_sp_counter_sub_pools_init()
105 sub_pool = &pool->sub_pools[i]; in mlxsw_sp_counter_sub_pools_fini()
127 pool = kzalloc(struct_size(pool, sub_pools, sub_pools_count), in mlxsw_sp_counter_pool_init()
133 memcpy(pool->sub_pools, mlxsw_sp_counter_sub_pools, in mlxsw_sp_counter_pool_init()
134 flex_array_size(pool, sub_pools, pool->sub_pools_count)); in mlxsw_sp_counter_pool_init()
192 sub_pool = &pool->sub_pools[sub_pool_id]; in mlxsw_sp_counter_alloc()
233 sub_pool = &pool->sub_pools[sub_pool_id]; in mlxsw_sp_counter_free()