Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dptr_ring.h34 spinlock_t consumer_lock; member
204 spin_lock(&r->consumer_lock); in ptr_ring_empty()
206 spin_unlock(&r->consumer_lock); in ptr_ring_empty()
215 spin_lock_irq(&r->consumer_lock); in ptr_ring_empty_irq()
217 spin_unlock_irq(&r->consumer_lock); in ptr_ring_empty_irq()
227 spin_lock_irqsave(&r->consumer_lock, flags); in ptr_ring_empty_any()
229 spin_unlock_irqrestore(&r->consumer_lock, flags); in ptr_ring_empty_any()
238 spin_lock_bh(&r->consumer_lock); in ptr_ring_empty_bh()
240 spin_unlock_bh(&r->consumer_lock); in ptr_ring_empty_bh()
330 spin_lock(&r->consumer_lock); in ptr_ring_consume()
[all …]
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_queue.c156 spinlock_t *consumer_lock) in rxe_queue_resize() argument
175 spin_lock_irqsave(consumer_lock, flags1); in rxe_queue_resize()
185 spin_unlock_irqrestore(consumer_lock, flags1); in rxe_queue_resize()
Drxe_srq.c119 spin_lock_init(&srq->rq.consumer_lock); in rxe_srq_from_init()
167 &srq->rq.consumer_lock); in rxe_srq_from_attr()
Drxe_queue.h95 spinlock_t *consumer_lock);
Drxe_resp.c326 spin_lock_bh(&srq->rq.consumer_lock); in get_srq_wqe()
330 spin_unlock_bh(&srq->rq.consumer_lock); in get_srq_wqe()
346 spin_unlock_bh(&srq->rq.consumer_lock); in get_srq_wqe()
350 spin_unlock_bh(&srq->rq.consumer_lock); in get_srq_wqe()
Drxe_verbs.h118 spinlock_t consumer_lock; /* guard queue consumer */ member
Drxe_qp.c321 spin_lock_init(&qp->rq.consumer_lock); in rxe_qp_init_resp()
/Linux-v5.4/net/core/
Dpage_pool.c105 spin_lock(&r->consumer_lock); in __page_pool_get_cached()
111 spin_unlock(&r->consumer_lock); in __page_pool_get_cached()
/Linux-v5.4/Documentation/core-api/
Dcircular-buffers.rst197 spin_lock(&consumer_lock);
215 spin_unlock(&consumer_lock);