Home
last modified time | relevance | path

Searched refs:counter_flag (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_counter.c34 u8 *counter_flag; member
47 return block->counter_flag[id - block->offset] == COUNTER_FLAG_READY; in prestera_counter_is_ready()
167 block->counter_flag = kcalloc(block->num_counters, in prestera_counter_block_get()
168 sizeof(*block->counter_flag), in prestera_counter_block_get()
170 if (!block->counter_flag) { in prestera_counter_block_get()
189 kfree(block->counter_flag); in prestera_counter_block_get()
275 block->counter_flag[id - block->offset] = COUNTER_FLAG_INVALID; in prestera_counter_get()
388 if (block->counter_flag[i] == COUNTER_FLAG_INVALID) { in prestera_counter_stats_work()
390 block->counter_flag[i] = COUNTER_FLAG_READY; in prestera_counter_stats_work()