Searched refs:policers_count (Results 1 – 3 of 3) sorted by relevance
20 atomic_t policers_count; member76 return atomic_read(&family->policers_count); in mlxsw_sp_policer_single_rate_occ_get()95 atomic_set(&family->policers_count, 0); in mlxsw_sp_policer_single_rate_family_init()112 WARN_ON(atomic_read(&family->policers_count) != 0); in mlxsw_sp_policer_single_rate_family_fini()129 atomic_inc(&family->policers_count); in mlxsw_sp_policer_single_rate_index_alloc()141 atomic_dec(&family->policers_count); in mlxsw_sp_policer_single_rate_index_free()
12 size_t policers_count; /* Number of registered policers */ member
862 size_t policers_count = ARRAY_SIZE(nsim_trap_policers_arr); in nsim_dev_traps_init() local879 nsim_trap_data->trap_policers_cnt_arr = kcalloc(policers_count, in nsim_dev_traps_init()896 policers_count); in nsim_dev_traps_init()