Searched refs:producer_lock (Results 1 – 14 of 14) sorted by relevance
/Linux-v6.1/include/linux/ |
D | ptr_ring.h | 32 spinlock_t producer_lock; member 58 spin_lock(&r->producer_lock); in ptr_ring_full() 60 spin_unlock(&r->producer_lock); in ptr_ring_full() 69 spin_lock_irq(&r->producer_lock); in ptr_ring_full_irq() 71 spin_unlock_irq(&r->producer_lock); in ptr_ring_full_irq() 81 spin_lock_irqsave(&r->producer_lock, flags); in ptr_ring_full_any() 83 spin_unlock_irqrestore(&r->producer_lock, flags); in ptr_ring_full_any() 92 spin_lock_bh(&r->producer_lock); in ptr_ring_full_bh() 94 spin_unlock_bh(&r->producer_lock); in ptr_ring_full_bh() 128 spin_lock(&r->producer_lock); in ptr_ring_produce() [all …]
|
/Linux-v6.1/include/net/ |
D | page_pool.h | 387 __acquires(&pool->ring.producer_lock) in page_pool_ring_lock() 390 spin_lock(&pool->ring.producer_lock); in page_pool_ring_lock() 392 spin_lock_bh(&pool->ring.producer_lock); in page_pool_ring_lock() 396 __releases(&pool->ring.producer_lock) in page_pool_ring_unlock() 399 spin_unlock(&pool->ring.producer_lock); in page_pool_ring_unlock() 401 spin_unlock_bh(&pool->ring.producer_lock); in page_pool_ring_unlock()
|
/Linux-v6.1/drivers/infiniband/sw/rxe/ |
D | rxe_queue.c | 150 struct mminfo __user *outbuf, spinlock_t *producer_lock, in rxe_queue_resize() argument 173 if (producer_lock) { in rxe_queue_resize() 174 spin_lock_irqsave(producer_lock, producer_flags); in rxe_queue_resize() 176 spin_unlock_irqrestore(producer_lock, producer_flags); in rxe_queue_resize()
|
D | rxe_srq.c | 62 spin_lock_init(&srq->rq.producer_lock); in rxe_srq_from_init() 161 &srq->rq.producer_lock, in rxe_srq_from_attr()
|
D | rxe_verbs.c | 380 spin_lock_irqsave(&srq->rq.producer_lock, flags); in rxe_post_srq_recv() 389 spin_unlock_irqrestore(&srq->rq.producer_lock, flags); in rxe_post_srq_recv() 748 spin_lock_irqsave(&rq->producer_lock, flags); in rxe_post_recv() 759 spin_unlock_irqrestore(&rq->producer_lock, flags); in rxe_post_recv()
|
D | rxe_queue.h | 84 spinlock_t *producer_lock, spinlock_t *consumer_lock);
|
D | rxe_verbs.h | 91 spinlock_t producer_lock; /* guard queue producer */ member
|
D | rxe_qp.c | 180 spin_lock_init(&qp->rq.producer_lock); in rxe_qp_init_misc()
|
/Linux-v6.1/Documentation/translations/zh_CN/core-api/ |
D | circular-buffers.rst | 142 spin_lock(&producer_lock); 161 spin_unlock(&producer_lock);
|
/Linux-v6.1/drivers/net/wireguard/ |
D | receive.c | 555 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-v6.1/kernel/bpf/ |
D | cpumap.c | 703 spin_lock(&q->producer_lock); in bq_flush_to_queue() 717 spin_unlock(&q->producer_lock); in bq_flush_to_queue()
|
/Linux-v6.1/Documentation/core-api/ |
D | circular-buffers.rst | 156 spin_lock(&producer_lock); 176 spin_unlock(&producer_lock);
|
/Linux-v6.1/drivers/net/ |
D | veth.c | 477 spin_lock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit() 487 spin_unlock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit()
|
D | tun.c | 1297 spin_lock(&tfile->tx_ring.producer_lock); in tun_xdp_xmit() 1311 spin_unlock(&tfile->tx_ring.producer_lock); in tun_xdp_xmit()
|