Searched refs:pending_refcnt (Results 1 – 2 of 2) sorted by relevance
71 unsigned int __percpu *pending_refcnt; member
1158 this_cpu_inc(*rb->pending_refcnt); in packet_inc_pending()1163 this_cpu_dec(*rb->pending_refcnt); in packet_dec_pending()1172 if (rb->pending_refcnt == NULL) in packet_read_pending()1176 refcnt += *per_cpu_ptr(rb->pending_refcnt, cpu); in packet_read_pending()1183 po->rx_ring.pending_refcnt = NULL; in packet_alloc_pending()1185 po->tx_ring.pending_refcnt = alloc_percpu(unsigned int); in packet_alloc_pending()1186 if (unlikely(po->tx_ring.pending_refcnt == NULL)) in packet_alloc_pending()1194 free_percpu(po->tx_ring.pending_refcnt); in packet_free_pending()