Searched refs:sub_pools_count (Results 1 – 1 of 1) sorted by relevance
26 unsigned int sub_pools_count; member62 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() local127 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()