Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_tx.c313 return q->mask - q->prod_cnt + q->cons_cnt; in fun_txq_avail()
431 for (head = txq_hw_head(q), reclaim_idx = q->cons_cnt & q->mask; in fun_txq_reclaim()
454 q->cons_cnt += ndesc; in fun_txq_reclaim()
478 db_val = READ_ONCE(q->irq_db_val) | (q->cons_cnt & q->mask); in fun_txq_napi_poll()
488 for (head = txq_hw_head(q), reclaim_idx = q->cons_cnt & q->mask; in fun_xdpq_clean()
510 q->cons_cnt += ndesc; in fun_xdpq_clean()
603 while (q->cons_cnt != q->prod_cnt) { in fun_txq_purge()
604 unsigned int idx = q->cons_cnt & q->mask; in fun_txq_purge()
606 q->cons_cnt += fun_unmap_pkt(q, idx); in fun_txq_purge()
614 while (q->cons_cnt != q->prod_cnt) { in fun_xdpq_purge()
[all …]
H A Dfuneth_txrx.h123 u32 cons_cnt; /* consumer (cleanup) counter */ member
158 unsigned int cons_cnt; /* consumer counter */ member
/linux/kernel/events/
H A Duprobes.c1941 ri->cons_cnt = 0; in ri_pool_push()
2113 if (unlikely(old->cons_cnt > 1)) { in dup_return_instance()
2115 sizeof(ri->extra_consumers[0]) * (old->cons_cnt - 1), in dup_return_instance()
2507 if (unlikely(ri->cons_cnt > 0)) { in push_consumer()
2508 ric = krealloc(ri->extra_consumers, sizeof(*ric) * ri->cons_cnt, GFP_KERNEL); in push_consumer()
2516 ric = likely(ri->cons_cnt == 0) ? &ri->consumer : &ri->extra_consumers[ri->cons_cnt - 1]; in push_consumer()
2520 ri->cons_cnt++; in push_consumer()
2530 for (idx = *iter; idx < ri->cons_cnt; idx++) in return_consumer_find()
/linux/drivers/net/
H A Dtun.c150 int cons_cnt; member
599 ntfile->cons_cnt = 0; in __tun_detach()
619 ntfile->cons_cnt = 0; in __tun_detach()
714 tfile->cons_cnt = 0; in tun_force_wake_queue()
1018 tfile->cons_cnt = 0; in tun_net_close()
2237 tfile->cons_cnt += consumed; in __tun_wake_queue()
2238 if (tfile->cons_cnt >= tfile->tx_ring.size / 2 || in __tun_wake_queue()
2241 tfile->cons_cnt = 0; in __tun_wake_queue()