Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/marvell/prestera/
Dprestera_counter.c19 u32 block_list_len; member
95 for (i = 0; i < counter->block_list_len; i++) { in prestera_counter_block_lookup_not_full()
117 for (i = 0; i < counter->block_list_len; i++) { in prestera_counter_block_list_add()
126 arr = krealloc(counter->block_list, (counter->block_list_len + 1) * in prestera_counter_block_list_add()
134 counter->block_list[counter->block_list_len] = block; in prestera_counter_block_list_add()
135 counter->block_list_len++; in prestera_counter_block_list_add()
208 for (i = 0; i < counter->block_list_len; i++) { in prestera_counter_block_put()
306 for (i = 0; i < counter->block_list_len; i++) { in prestera_counter_block_idx_next()
307 idx = (start + i) % counter->block_list_len; in prestera_counter_block_idx_next()
322 if (idx >= counter->block_list_len) in prestera_counter_block_get_by_idx()
[all …]