Searched refs:consumer_lock (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/include/linux/ |
D | ptr_ring.h | 35 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/ |
D | rxe_queue.c | 149 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()
|
D | rxe_srq.c | 63 spin_lock_init(&srq->rq.consumer_lock); in rxe_srq_from_init() 162 &srq->rq.consumer_lock); in rxe_srq_from_attr()
|
D | rxe_resp.c | 306 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()
|
D | rxe_queue.h | 85 spinlock_t *producer_lock, spinlock_t *consumer_lock);
|
D | rxe_verbs.h | 93 spinlock_t consumer_lock; /* guard queue consumer */ member
|
D | rxe_qp.c | 183 spin_lock_init(&qp->rq.consumer_lock); in rxe_qp_init_misc()
|
/linux-5.19.10/Documentation/core-api/ |
D | circular-buffers.rst | 197 spin_lock(&consumer_lock); 215 spin_unlock(&consumer_lock);
|