Searched refs:prod_cnt (Results 1 – 4 of 4) sorted by relevance
118 u32 prod_cnt; /* producer counter */ member156 unsigned int prod_cnt; /* producer counter */ member236 unsigned int tail = q->prod_cnt & q->mask; in fun_txq_wr_db()
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()364 q->prod_cnt += ndesc; in fun_start_xmit()546 idx = q->prod_cnt & q->mask; in fun_xdp_tx()567 q->prod_cnt += ndesc; in fun_xdp_tx()604 while (q->cons_cnt != q->prod_cnt) { in fun_txq_purge()615 while (q->cons_cnt != q->prod_cnt) { in fun_xdpq_purge()689 q->prod_cnt = 0; in fun_txq_create_dev()
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()
239 static void gve_adminq_kick_cmd(struct gve_priv *priv, u32 prod_cnt) in gve_adminq_kick_cmd() argument241 iowrite32be(prod_cnt, &priv->reg_bar0->adminq_doorbell); in gve_adminq_kick_cmd()244 static bool gve_adminq_wait_for_cmd(struct gve_priv *priv, u32 prod_cnt) in gve_adminq_wait_for_cmd() argument250 == prod_cnt) in gve_adminq_wait_for_cmd()