Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_pool.c25 struct sparx5_pool_entry *e_itr; in sparx5_pool_put() local
28 if (e_itr->ref_cnt == 0) in sparx5_pool_put()
31 return --e_itr->ref_cnt; in sparx5_pool_put()
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()
61 for (i = 0, e_itr = pool; i < size; i++, e_itr++) { in sparx5_pool_get_with_idx()
66 if (e_itr->idx == idx && e_itr->ref_cnt > 0) { in sparx5_pool_get_with_idx()
75 e_itr = (pool + ret); in sparx5_pool_get_with_idx()
76 e_itr->idx = idx; in sparx5_pool_get_with_idx()
[all …]