Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_pool.c25 struct sparx5_pool_entry *e_itr; in sparx5_pool_put() local
27 e_itr = (pool + sparx5_pool_id_to_idx(id)); in sparx5_pool_put()
28 if (e_itr->ref_cnt == 0) in sparx5_pool_put()
31 return --e_itr->ref_cnt; in sparx5_pool_put()
39 struct sparx5_pool_entry *e_itr; in sparx5_pool_get() local
42 for (i = 0, e_itr = pool; i < size; i++, e_itr++) { in sparx5_pool_get()
43 if (e_itr->ref_cnt == 0) { in sparx5_pool_get()
45 return ++e_itr->ref_cnt; in sparx5_pool_get()
58 struct sparx5_pool_entry *e_itr; in sparx5_pool_get_with_idx() local
61 for (i = 0, e_itr = pool; i < size; i++, e_itr++) { in sparx5_pool_get_with_idx()
[all …]