Home
last modified time | relevance | path

Searched refs:consumer_lock (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/include/linux/
Dptr_ring.h35 spinlock_t consumer_lock; member
205 spin_lock(&r->consumer_lock); in ptr_ring_empty()
207 spin_unlock(&r->consumer_lock); in ptr_ring_empty()
216 spin_lock_irq(&r->consumer_lock); in ptr_ring_empty_irq()
218 spin_unlock_irq(&r->consumer_lock); in ptr_ring_empty_irq()
228 spin_lock_irqsave(&r->consumer_lock, flags); in ptr_ring_empty_any()
230 spin_unlock_irqrestore(&r->consumer_lock, flags); in ptr_ring_empty_any()
239 spin_lock_bh(&r->consumer_lock); in ptr_ring_empty_bh()
241 spin_unlock_bh(&r->consumer_lock); in ptr_ring_empty_bh()
331 spin_lock(&r->consumer_lock); in ptr_ring_consume()
[all …]
/linux-5.19.10/drivers/infiniband/sw/rxe/
Drxe_queue.c149 spinlock_t *consumer_lock) in rxe_queue_resize() argument
169 spin_lock_irqsave(consumer_lock, consumer_flags); in rxe_queue_resize()
179 spin_unlock_irqrestore(consumer_lock, consumer_flags); in rxe_queue_resize()
Drxe_srq.c63 spin_lock_init(&srq->rq.consumer_lock); in rxe_srq_from_init()
162 &srq->rq.consumer_lock); in rxe_srq_from_attr()
Drxe_resp.c306 spin_lock_irqsave(&srq->rq.consumer_lock, flags); in get_srq_wqe()
310 spin_unlock_irqrestore(&srq->rq.consumer_lock, flags); in get_srq_wqe()
316 spin_unlock_irqrestore(&srq->rq.consumer_lock, flags); in get_srq_wqe()
332 spin_unlock_irqrestore(&srq->rq.consumer_lock, flags); in get_srq_wqe()
336 spin_unlock_irqrestore(&srq->rq.consumer_lock, flags); in get_srq_wqe()
Drxe_queue.h85 spinlock_t *producer_lock, spinlock_t *consumer_lock);
Drxe_verbs.h93 spinlock_t consumer_lock; /* guard queue consumer */ member
Drxe_qp.c183 spin_lock_init(&qp->rq.consumer_lock); in rxe_qp_init_misc()
/linux-5.19.10/Documentation/core-api/
Dcircular-buffers.rst197 spin_lock(&consumer_lock);
215 spin_unlock(&consumer_lock);