Home
last modified time | relevance | path

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

/Linux-v6.6/net/packet/
Dinternal.h71 unsigned int __percpu *pending_refcnt; member
Daf_packet.c1205 this_cpu_inc(*rb->pending_refcnt); in packet_inc_pending()
1210 this_cpu_dec(*rb->pending_refcnt); in packet_dec_pending()
1219 if (rb->pending_refcnt == NULL) in packet_read_pending()
1223 refcnt += *per_cpu_ptr(rb->pending_refcnt, cpu); in packet_read_pending()
1230 po->rx_ring.pending_refcnt = NULL; in packet_alloc_pending()
1232 po->tx_ring.pending_refcnt = alloc_percpu(unsigned int); in packet_alloc_pending()
1233 if (unlikely(po->tx_ring.pending_refcnt == NULL)) in packet_alloc_pending()
1241 free_percpu(po->tx_ring.pending_refcnt); in packet_free_pending()