Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c26 unsigned int sub_pools_count; member
62 for (i = 0; i < pool->sub_pools_count; i++) { in mlxsw_sp_counter_sub_pools_init()
104 for (i = 0; i < pool->sub_pools_count; i++) { in mlxsw_sp_counter_sub_pools_fini()
122 unsigned int sub_pools_count = ARRAY_SIZE(mlxsw_sp_counter_sub_pools); in mlxsw_sp_counter_pool_init() local
127 pool = kzalloc(struct_size(pool, sub_pools, sub_pools_count), in mlxsw_sp_counter_pool_init()
132 pool->sub_pools_count = sub_pools_count; in mlxsw_sp_counter_pool_init()
134 flex_array_size(pool, sub_pools, pool->sub_pools_count)); in mlxsw_sp_counter_pool_init()