Lines Matching refs:producer_lock

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()
130 spin_unlock(&r->producer_lock); in ptr_ring_produce()
139 spin_lock_irq(&r->producer_lock); in ptr_ring_produce_irq()
141 spin_unlock_irq(&r->producer_lock); in ptr_ring_produce_irq()
151 spin_lock_irqsave(&r->producer_lock, flags); in ptr_ring_produce_any()
153 spin_unlock_irqrestore(&r->producer_lock, flags); in ptr_ring_produce_any()
162 spin_lock_bh(&r->producer_lock); in ptr_ring_produce_bh()
164 spin_unlock_bh(&r->producer_lock); in ptr_ring_produce_bh()
495 spin_lock_init(&r->producer_lock); in ptr_ring_init_noprof()
519 spin_lock(&r->producer_lock); in ptr_ring_unconsume()
555 spin_unlock(&r->producer_lock); in ptr_ring_unconsume()
602 spin_lock(&(r)->producer_lock); in ptr_ring_resize_noprof()
606 spin_unlock(&(r)->producer_lock); in ptr_ring_resize_noprof()
642 spin_lock(&(rings[i])->producer_lock); in ptr_ring_resize_multiple_noprof()
645 spin_unlock(&(rings[i])->producer_lock); in ptr_ring_resize_multiple_noprof()