Searched refs:producer_lock (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_queue.c | 149 struct mminfo __user *outbuf, spinlock_t *producer_lock, in rxe_queue_resize() argument 172 if (producer_lock) { in rxe_queue_resize() 173 spin_lock_irqsave(producer_lock, producer_flags); in rxe_queue_resize() 175 spin_unlock_irqrestore(producer_lock, producer_flags); in rxe_queue_resize()
|
H A D | rxe_srq.c | 62 spin_lock_init(&srq->rq.producer_lock); in rxe_srq_from_init() 171 udata, mi, &srq->rq.producer_lock, in rxe_srq_from_attr()
|
H A D | rxe_queue.h | 91 spinlock_t *producer_lock, spinlock_t *consumer_lock);
|
H A D | rxe_verbs.c | 495 spin_lock_irqsave(&srq->rq.producer_lock, flags); in rxe_post_srq_recv() 504 spin_unlock_irqrestore(&srq->rq.producer_lock, flags); in rxe_post_srq_recv() 1033 spin_lock_irqsave(&rq->producer_lock, flags); in rxe_post_recv() 1044 spin_unlock_irqrestore(&rq->producer_lock, flags); in rxe_post_recv()
|
H A D | rxe_verbs.h | 89 spinlock_t producer_lock; /* guard queue producer */ member
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | circular-buffers.rst | 142 spin_lock(&producer_lock); 161 spin_unlock(&producer_lock);
|
/linux/net/core/ |
H A D | page_pool.c | 159 __acquires(&pool->ring.producer_lock) in page_pool_producer_lock() 164 spin_lock(&pool->ring.producer_lock); in page_pool_producer_lock() 166 spin_lock_bh(&pool->ring.producer_lock); in page_pool_producer_lock() 173 __releases(&pool->ring.producer_lock) in page_pool_producer_unlock() 176 spin_unlock(&pool->ring.producer_lock); in page_pool_producer_unlock() 178 spin_unlock_bh(&pool->ring.producer_lock); in page_pool_producer_unlock()
|
/linux/drivers/net/wireguard/ |
H A 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/kernel/bpf/ |
H A D | cpumap.c | 685 spin_lock(&q->producer_lock); in bq_flush_to_queue() 699 spin_unlock(&q->producer_lock); in bq_flush_to_queue()
|
/linux/Documentation/core-api/ |
H A D | circular-buffers.rst | 156 spin_lock(&producer_lock); 176 spin_unlock(&producer_lock);
|
/linux/drivers/net/ |
H A D | veth.c | 502 spin_lock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit() 512 spin_unlock(&rq->xdp_ring.producer_lock); in veth_xdp_xmit()
|
H A D | tun.c | 1293 spin_lock(&tfile->tx_ring.producer_lock); in tun_xdp_xmit() 1307 spin_unlock(&tfile->tx_ring.producer_lock); in tun_xdp_xmit()
|