Searched refs:active_entries_count (Results 1 – 2 of 2) sorted by relevance
18 atomic_t active_entries_count; member25 atomic_t active_entries_count; member49 return atomic_read(&sub_pool->active_entries_count); in mlxsw_sp_counter_sub_pool_occ_get()83 atomic_set(&sub_pool->active_entries_count, 0); in mlxsw_sp_counter_sub_pools_init()107 WARN_ON(atomic_read(&sub_pool->active_entries_count)); in mlxsw_sp_counter_sub_pools_fini()117 return atomic_read(&pool->active_entries_count); in mlxsw_sp_counter_pool_occ_get()136 atomic_set(&pool->active_entries_count, 0); in mlxsw_sp_counter_pool_init()175 WARN_ON(atomic_read(&pool->active_entries_count)); in mlxsw_sp_counter_pool_fini()214 atomic_add(sub_pool->entry_size, &sub_pool->active_entries_count); in mlxsw_sp_counter_alloc()215 atomic_add(sub_pool->entry_size, &pool->active_entries_count); in mlxsw_sp_counter_alloc()[all …]
32 atomic_t active_entries_count; member77 return atomic_read(&mlxsw_sp->span->active_entries_count); in mlxsw_sp_span_occ_get()95 atomic_set(&span->active_entries_count, 0); in mlxsw_sp_span_init()879 atomic_inc(&mlxsw_sp->span->active_entries_count); in mlxsw_sp_span_entry_create()892 atomic_dec(&mlxsw_sp->span->active_entries_count); in mlxsw_sp_span_entry_destroy()1064 if (atomic_read(&mlxsw_sp->span->active_entries_count) == 0) in mlxsw_sp_span_respin()