Searched refs:active_entries_count (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_cnt.c18 atomic_t active_entries_count; member in struct:mlxsw_sp_counter_sub_pool
25 atomic_t active_entries_count; member in struct:mlxsw_sp_counter_pool
49 return atomic_read(&sub_pool->active_entries_count);
83 atomic_set(&sub_pool->active_entries_count, 0);
107 WARN_ON(atomic_read(&sub_pool->active_entries_count));
117 return atomic_read(&pool->active_entries_count);
136 atomic_set(&pool->active_entries_count, 0);
175 WARN_ON(atomic_read(&pool->active_entries_count));
214 atomic_add(sub_pool->entry_size, &sub_pool->active_entries_count);
215 atomic_add(sub_pool->entry_size, &pool->active_entries_count);
[all...]
H A Dspectrum_span.c32 atomic_t active_entries_count; member in struct:mlxsw_sp_span
77 return atomic_read(&mlxsw_sp->span->active_entries_count);
95 atomic_set(&span->active_entries_count, 0);
879 atomic_inc(&mlxsw_sp->span->active_entries_count);
892 atomic_dec(&mlxsw_sp->span->active_entries_count);
1064 if (atomic_read(&mlxsw_sp->span->active_entries_count) == 0)

Completed in 177 milliseconds