Searched refs:sub_pool (Results 1 – 1 of 1) sorted by relevance
47 const struct mlxsw_sp_counter_sub_pool *sub_pool = priv; in mlxsw_sp_counter_sub_pool_occ_get() local49 return atomic_read(&sub_pool->active_entries_count); in mlxsw_sp_counter_sub_pool_occ_get()56 struct mlxsw_sp_counter_sub_pool *sub_pool; in mlxsw_sp_counter_sub_pools_init() local63 sub_pool = &pool->sub_pools[i]; in mlxsw_sp_counter_sub_pools_init()64 res_id = sub_pool->entry_size_res_id; in mlxsw_sp_counter_sub_pools_init()68 sub_pool->entry_size = mlxsw_core_res_get(mlxsw_sp->core, in mlxsw_sp_counter_sub_pools_init()71 sub_pool->resource_id, in mlxsw_sp_counter_sub_pools_init()72 &sub_pool->size); in mlxsw_sp_counter_sub_pools_init()77 sub_pool->resource_id, in mlxsw_sp_counter_sub_pools_init()79 sub_pool); in mlxsw_sp_counter_sub_pools_init()[all …]