Searched refs:producer_lock (Results 1 – 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | ptr_ring.h | 32 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/ |
D | rxe_queue.c | 131 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()
|
D | rxe_srq.c | 91 spin_lock_init(&srq->rq.producer_lock); in rxe_srq_from_init() 139 &srq->rq.producer_lock, in rxe_srq_from_attr()
|
D | rxe_queue.h | 66 spinlock_t *producer_lock,
|
D | rxe_verbs.c | 362 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()
|
D | rxe_verbs.h | 90 spinlock_t producer_lock; /* guard queue producer */ member
|
D | rxe_qp.c | 192 spin_lock_init(&qp->rq.producer_lock); in rxe_qp_init_misc()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | ipoib.h | 61 spinlock_t producer_lock; /* head sync lock */ member
|
D | ipoib_tx.c | 194 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/ |
D | cpumap.c | 682 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/ |
D | receive.c | 562 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/ |
D | circular-buffers.rst | 156 spin_lock(&producer_lock); 176 spin_unlock(&producer_lock);
|
/kernel/linux/linux-5.10/drivers/net/ |
D | veth.c | 458 spin_lock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit() 469 spin_unlock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit()
|
D | tun.c | 1317 spin_lock(&tfile->tx_ring.producer_lock); in tun_xdp_xmit() 1331 spin_unlock(&tfile->tx_ring.producer_lock); in tun_xdp_xmit()
|