Home
last modified time | relevance | path

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

/linux/drivers/infiniband/sw/rxe/
H A 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()
H A 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()
H A Drxe_queue.h91 spinlock_t *producer_lock, spinlock_t *consumer_lock);
H A 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()
H A Drxe_verbs.h89 spinlock_t producer_lock; /* guard queue producer */ member
/linux/Documentation/translations/zh_CN/core-api/
H A Dcircular-buffers.rst142 spin_lock(&producer_lock);
161 spin_unlock(&producer_lock);
/linux/net/core/
H A 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/drivers/net/wireguard/
H A 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/kernel/bpf/
H A Dcpumap.c685 spin_lock(&q->producer_lock); in bq_flush_to_queue()
699 spin_unlock(&q->producer_lock); in bq_flush_to_queue()
/linux/Documentation/core-api/
H A Dcircular-buffers.rst156 spin_lock(&producer_lock);
176 spin_unlock(&producer_lock);
/linux/drivers/net/
H A 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()
H A 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()