Searched refs:cons_cnt (Results 1 – 3 of 3) sorted by relevance
313 return q->mask - q->prod_cnt + q->cons_cnt; in fun_txq_avail()432 for (head = txq_hw_head(q), reclaim_idx = q->cons_cnt & q->mask; in fun_txq_reclaim()455 q->cons_cnt += ndesc; in fun_txq_reclaim()479 db_val = READ_ONCE(q->irq_db_val) | (q->cons_cnt & q->mask); in fun_txq_napi_poll()489 for (head = txq_hw_head(q), reclaim_idx = q->cons_cnt & q->mask; in fun_xdpq_clean()511 q->cons_cnt += ndesc; in fun_xdpq_clean()604 while (q->cons_cnt != q->prod_cnt) { in fun_txq_purge()605 unsigned int idx = q->cons_cnt & q->mask; in fun_txq_purge()607 q->cons_cnt += fun_unmap_pkt(q, idx); in fun_txq_purge()615 while (q->cons_cnt != q->prod_cnt) { in fun_xdpq_purge()[all …]
54 if (c->prod_cnt - c->cons_cnt <= c->mask && buf->node == numa_mem_id()) { in cache_offer()72 if (c->prod_cnt == c->cons_cnt) in cache_get()75 buf = &c->bufs[c->cons_cnt & c->mask]; in cache_get()82 c->cons_cnt++; in cache_get()87 if (c->prod_cnt - c->cons_cnt > c->mask) { in cache_get()92 c->cons_cnt++; in cache_get()
122 u32 cons_cnt; /* consumer (cleanup) counter */ member157 unsigned int cons_cnt; /* consumer counter */ member