Home
last modified time | relevance | path

Searched refs:producer_lock (Results 1 – 13 of 13) sorted by relevance

/linux/include/linux/
A Dptr_ring.h32 spinlock_t producer_lock; member
58 spin_lock(&r->producer_lock); in ptr_ring_full()
60 spin_unlock(&r->producer_lock); in ptr_ring_full()
69 spin_lock_irq(&r->producer_lock); in ptr_ring_full_irq()
92 spin_lock_bh(&r->producer_lock); in ptr_ring_full_bh()
94 spin_unlock_bh(&r->producer_lock); in ptr_ring_full_bh()
128 spin_lock(&r->producer_lock); in ptr_ring_produce()
130 spin_unlock(&r->producer_lock); in ptr_ring_produce()
139 spin_lock_irq(&r->producer_lock); in ptr_ring_produce_irq()
162 spin_lock_bh(&r->producer_lock); in ptr_ring_produce_bh()
[all …]
/linux/include/net/
A Dpage_pool.h286 __acquires(&pool->ring.producer_lock) in page_pool_ring_lock()
289 spin_lock(&pool->ring.producer_lock); in page_pool_ring_lock()
291 spin_lock_bh(&pool->ring.producer_lock); in page_pool_ring_lock()
295 __releases(&pool->ring.producer_lock) in page_pool_ring_unlock()
298 spin_unlock(&pool->ring.producer_lock); in page_pool_ring_unlock()
300 spin_unlock_bh(&pool->ring.producer_lock); in page_pool_ring_unlock()
/linux/drivers/infiniband/sw/rxe/
A Drxe_queue.c148 struct mminfo __user *outbuf, spinlock_t *producer_lock, in rxe_queue_resize() argument
170 if (producer_lock) { in rxe_queue_resize()
171 spin_lock_irqsave(producer_lock, flags); in rxe_queue_resize()
173 spin_unlock_irqrestore(producer_lock, flags); in rxe_queue_resize()
A Drxe_srq.c92 spin_lock_init(&srq->rq.producer_lock); in rxe_srq_from_init()
141 &srq->rq.producer_lock, in rxe_srq_from_attr()
A Drxe_verbs.c389 spin_lock_irqsave(&srq->rq.producer_lock, flags); in rxe_post_srq_recv()
398 spin_unlock_irqrestore(&srq->rq.producer_lock, flags); in rxe_post_srq_recv()
752 spin_lock_irqsave(&rq->producer_lock, flags); in rxe_post_recv()
763 spin_unlock_irqrestore(&rq->producer_lock, flags); in rxe_post_recv()
A Drxe_queue.h85 spinlock_t *producer_lock, spinlock_t *consumer_lock);
A Drxe_verbs.h91 spinlock_t producer_lock; /* guard queue producer */ member
A Drxe_qp.c307 spin_lock_init(&qp->rq.producer_lock); in rxe_qp_init_resp()
/linux/drivers/net/wireguard/
A Dreceive.c562 if (spin_trylock_bh(&wg->handshake_queue.ring.producer_lock)) { in wg_packet_receive()
564 spin_unlock_bh(&wg->handshake_queue.ring.producer_lock); in wg_packet_receive()
/linux/kernel/bpf/
A Dcpumap.c701 spin_lock(&q->producer_lock); in bq_flush_to_queue()
715 spin_unlock(&q->producer_lock); in bq_flush_to_queue()
/linux/Documentation/core-api/
A Dcircular-buffers.rst156 spin_lock(&producer_lock);
176 spin_unlock(&producer_lock);
/linux/drivers/net/
A Dveth.c499 spin_lock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit()
509 spin_unlock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit()
A Dtun.c1267 spin_lock(&tfile->tx_ring.producer_lock); in tun_xdp_xmit()
1281 spin_unlock(&tfile->tx_ring.producer_lock); in tun_xdp_xmit()

Completed in 29 milliseconds