Searched refs:prod_cnt (Results 1 – 4 of 4) sorted by relevance
153 unsigned int idx = q->prod_cnt & q->mask; in write_pkt_desc()313 return q->mask - q->prod_cnt + q->cons_cnt; in fun_txq_avail()363 q->prod_cnt += ndesc; in fun_start_xmit()545 idx = q->prod_cnt & q->mask; in fun_xdp_tx()566 q->prod_cnt += ndesc; in fun_xdp_tx()603 while (q->cons_cnt != q->prod_cnt) { in fun_txq_purge()614 while (q->cons_cnt != q->prod_cnt) { in fun_xdpq_purge()688 q->prod_cnt = 0; in fun_txq_create_dev()
119 u32 prod_cnt; /* producer counter */ member157 unsigned int prod_cnt; /* producer counter */ member237 unsigned int tail = q->prod_cnt & q->mask; in fun_txq_wr_db()
54 if (c->prod_cnt - c->cons_cnt <= c->mask && buf->node == numa_mem_id()) { in cache_offer()55 c->bufs[c->prod_cnt & c->mask] = *buf; in cache_offer()56 c->prod_cnt++; in cache_offer()72 if (c->prod_cnt == c->cons_cnt) in cache_get()87 if (c->prod_cnt - c->cons_cnt > c->mask) { in cache_get()
377 static void gve_adminq_kick_cmd(struct gve_priv *priv, u32 prod_cnt) in gve_adminq_kick_cmd() argument379 iowrite32be(prod_cnt, &priv->reg_bar0->adminq_doorbell); in gve_adminq_kick_cmd()382 static bool gve_adminq_wait_for_cmd(struct gve_priv *priv, u32 prod_cnt) in gve_adminq_wait_for_cmd() argument388 == prod_cnt) in gve_adminq_wait_for_cmd()