Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_queue.c131 struct mminfo __user *outbuf, spinlock_t *producer_lock, in rxe_queue_resize() argument
153 if (producer_lock) { in rxe_queue_resize()
154 spin_lock_irqsave(producer_lock, flags); in rxe_queue_resize()
156 spin_unlock_irqrestore(producer_lock, flags); in rxe_queue_resize()
Drxe_srq.c91 spin_lock_init(&srq->rq.producer_lock); in rxe_srq_from_init()
139 &srq->rq.producer_lock, in rxe_srq_from_attr()
Drxe_queue.h66 spinlock_t *producer_lock,
Drxe_verbs.c362 spin_lock_irqsave(&srq->rq.producer_lock, flags); in rxe_post_srq_recv()
371 spin_unlock_irqrestore(&srq->rq.producer_lock, flags); in rxe_post_srq_recv()
732 spin_lock_irqsave(&rq->producer_lock, flags); in rxe_post_recv()
743 spin_unlock_irqrestore(&rq->producer_lock, flags); in rxe_post_recv()
Drxe_verbs.h90 spinlock_t producer_lock; /* guard queue producer */ member
Drxe_qp.c192 spin_lock_init(&qp->rq.producer_lock); in rxe_qp_init_misc()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dipoib.h61 spinlock_t producer_lock; /* head sync lock */ member
Dipoib_tx.c194 spin_lock(&tx_ring->producer_lock); in hfi1_ipoib_add_tx()
216 spin_unlock(&tx_ring->producer_lock); in hfi1_ipoib_add_tx()
750 spin_lock_init(&txq->tx_ring.producer_lock); in hfi1_ipoib_txreq_init()
/kernel/linux/linux-5.10/kernel/bpf/
Dcpumap.c682 spin_lock(&q->producer_lock); in bq_flush_to_queue()
696 spin_unlock(&q->producer_lock); in bq_flush_to_queue()
/kernel/linux/linux-5.10/drivers/net/wireguard/
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()
/kernel/linux/linux-5.10/Documentation/core-api/
Dcircular-buffers.rst156 spin_lock(&producer_lock);
176 spin_unlock(&producer_lock);
/kernel/linux/linux-5.10/drivers/net/
Dveth.c458 spin_lock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit()
469 spin_unlock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit()
Dtun.c1317 spin_lock(&tfile->tx_ring.producer_lock); in tun_xdp_xmit()
1331 spin_unlock(&tfile->tx_ring.producer_lock); in tun_xdp_xmit()