Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/drivers/infiniband/sw/rxe/
Drxe_queue.c150 spinlock_t *consumer_lock) in rxe_queue_resize() argument
170 spin_lock_irqsave(consumer_lock, consumer_flags); in rxe_queue_resize()
180 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()
172 &srq->rq.consumer_lock); in rxe_srq_from_attr()
Drxe_queue.h91 spinlock_t *producer_lock, spinlock_t *consumer_lock);
Drxe_resp.c282 spin_lock_irqsave(&srq->rq.consumer_lock, flags); in get_srq_wqe()
286 spin_unlock_irqrestore(&srq->rq.consumer_lock, flags); in get_srq_wqe()
292 spin_unlock_irqrestore(&srq->rq.consumer_lock, flags); in get_srq_wqe()
308 spin_unlock_irqrestore(&srq->rq.consumer_lock, flags); in get_srq_wqe()
312 spin_unlock_irqrestore(&srq->rq.consumer_lock, flags); in get_srq_wqe()
Drxe_verbs.h90 spinlock_t consumer_lock; /* guard queue consumer */ member
Drxe_qp.c177 spin_lock_init(&qp->rq.consumer_lock); in rxe_qp_init_misc()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dcircular-buffers.rst177 spin_lock(&consumer_lock);
195 spin_unlock(&consumer_lock);
/linux-6.6.21/Documentation/core-api/
Dcircular-buffers.rst197 spin_lock(&consumer_lock);
215 spin_unlock(&consumer_lock);