Lines Matching refs:prestera_counter_block

17 	struct prestera_counter_block **block_list;
24 struct prestera_counter_block { struct
45 prestera_counter_is_ready(struct prestera_counter_block *block, u32 id) in prestera_counter_is_ready() argument
60 static void prestera_counter_block_lock(struct prestera_counter_block *block) in prestera_counter_block_lock()
65 static void prestera_counter_block_unlock(struct prestera_counter_block *block) in prestera_counter_block_unlock()
70 static bool prestera_counter_block_incref(struct prestera_counter_block *block) in prestera_counter_block_incref()
75 static bool prestera_counter_block_decref(struct prestera_counter_block *block) in prestera_counter_block_decref()
81 static void prestera_counter_stats_clear(struct prestera_counter_block *block, in prestera_counter_stats_clear()
88 static struct prestera_counter_block *
110 struct prestera_counter_block *block) in prestera_counter_block_list_add()
112 struct prestera_counter_block **arr; in prestera_counter_block_list_add()
140 static struct prestera_counter_block *
143 struct prestera_counter_block *block; in prestera_counter_block_get()
200 struct prestera_counter_block *block) in prestera_counter_block_put()
226 static int prestera_counter_get_vacant(struct prestera_counter_block *block, in prestera_counter_get_vacant()
252 struct prestera_counter_block **bl, u32 *counter_id) in prestera_counter_get()
254 struct prestera_counter_block *block; in prestera_counter_get()
285 struct prestera_counter_block *block, u32 counter_id) in prestera_counter_put()
319 static struct prestera_counter_block *
343 struct prestera_counter_block *block; in prestera_counter_stats_work()
418 struct prestera_counter_block *block, in prestera_counter_stats_get()