Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
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()
71 spin_unlock_irq(&r->producer_lock); in ptr_ring_full_irq()
81 spin_lock_irqsave(&r->producer_lock, flags); in ptr_ring_full_any()
83 spin_unlock_irqrestore(&r->producer_lock, flags); in ptr_ring_full_any()
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()
[all …]
/linux-6.12.1/drivers/infiniband/sw/rxe/
Drxe_queue.c149 struct mminfo __user *outbuf, spinlock_t *producer_lock, in rxe_queue_resize() argument
172 if (producer_lock) { in rxe_queue_resize()
173 spin_lock_irqsave(producer_lock, producer_flags); in rxe_queue_resize()
175 spin_unlock_irqrestore(producer_lock, producer_flags); in rxe_queue_resize()
Drxe_srq.c62 spin_lock_init(&srq->rq.producer_lock); in rxe_srq_from_init()
171 udata, mi, &srq->rq.producer_lock, in rxe_srq_from_attr()
Drxe_queue.h91 spinlock_t *producer_lock, spinlock_t *consumer_lock);
Drxe_verbs.c495 spin_lock_irqsave(&srq->rq.producer_lock, flags); in rxe_post_srq_recv()
504 spin_unlock_irqrestore(&srq->rq.producer_lock, flags); in rxe_post_srq_recv()
1033 spin_lock_irqsave(&rq->producer_lock, flags); in rxe_post_recv()
1044 spin_unlock_irqrestore(&rq->producer_lock, flags); in rxe_post_recv()
Drxe_verbs.h89 spinlock_t producer_lock; /* guard queue producer */ member
Drxe_qp.c176 spin_lock_init(&qp->rq.producer_lock); in rxe_qp_init_misc()
/linux-6.12.1/Documentation/translations/zh_CN/core-api/
Dcircular-buffers.rst142 spin_lock(&producer_lock);
161 spin_unlock(&producer_lock);
/linux-6.12.1/net/core/
Dpage_pool.c159 __acquires(&pool->ring.producer_lock) in page_pool_producer_lock()
164 spin_lock(&pool->ring.producer_lock); in page_pool_producer_lock()
166 spin_lock_bh(&pool->ring.producer_lock); in page_pool_producer_lock()
173 __releases(&pool->ring.producer_lock) in page_pool_producer_unlock()
176 spin_unlock(&pool->ring.producer_lock); in page_pool_producer_unlock()
178 spin_unlock_bh(&pool->ring.producer_lock); in page_pool_producer_unlock()
/linux-6.12.1/kernel/bpf/
Dcpumap.c685 spin_lock(&q->producer_lock); in bq_flush_to_queue()
699 spin_unlock(&q->producer_lock); in bq_flush_to_queue()
/linux-6.12.1/drivers/net/wireguard/
Dreceive.c555 if (spin_trylock_bh(&wg->handshake_queue.ring.producer_lock)) { in wg_packet_receive()
557 spin_unlock_bh(&wg->handshake_queue.ring.producer_lock); in wg_packet_receive()
/linux-6.12.1/Documentation/core-api/
Dcircular-buffers.rst156 spin_lock(&producer_lock);
176 spin_unlock(&producer_lock);
/linux-6.12.1/drivers/net/
Dveth.c502 spin_lock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit()
512 spin_unlock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit()
Dtun.c1293 spin_lock(&tfile->tx_ring.producer_lock); in tun_xdp_xmit()
1307 spin_unlock(&tfile->tx_ring.producer_lock); in tun_xdp_xmit()