Searched refs:producer_lock (Results 1 – 13 of 13) sorted by relevance
/linux/include/linux/ |
A 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() 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 D | page_pool.h | 286 __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 D | rxe_queue.c | 148 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 D | rxe_srq.c | 92 spin_lock_init(&srq->rq.producer_lock); in rxe_srq_from_init() 141 &srq->rq.producer_lock, in rxe_srq_from_attr()
|
A D | rxe_verbs.c | 389 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 D | rxe_queue.h | 85 spinlock_t *producer_lock, spinlock_t *consumer_lock);
|
A D | rxe_verbs.h | 91 spinlock_t producer_lock; /* guard queue producer */ member
|
A D | rxe_qp.c | 307 spin_lock_init(&qp->rq.producer_lock); in rxe_qp_init_resp()
|
/linux/drivers/net/wireguard/ |
A 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()
|
/linux/kernel/bpf/ |
A D | cpumap.c | 701 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 D | circular-buffers.rst | 156 spin_lock(&producer_lock); 176 spin_unlock(&producer_lock);
|
/linux/drivers/net/ |
A D | veth.c | 499 spin_lock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit() 509 spin_unlock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit()
|
A D | tun.c | 1267 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