Lines Matching refs:alloc_lock
700 spin_lock_init(&sc->alloc_lock); in sc_alloc()
887 spin_lock_irq(&sc->alloc_lock); in sc_disable()
931 spin_unlock_irq(&sc->alloc_lock); in sc_disable()
1261 spin_lock_irqsave(&sc->alloc_lock, flags); in sc_enable()
1332 spin_unlock_irqrestore(&sc->alloc_lock, flags); in sc_enable()
1387 spin_lock_irqsave(&sc->alloc_lock, flags); in sc_stop()
1391 spin_unlock_irqrestore(&sc->alloc_lock, flags); in sc_stop()
1420 spin_lock_irqsave(&sc->alloc_lock, flags); in sc_buffer_alloc()
1422 spin_unlock_irqrestore(&sc->alloc_lock, flags); in sc_buffer_alloc()
1431 spin_unlock_irqrestore(&sc->alloc_lock, flags); in sc_buffer_alloc()
1487 spin_unlock_irqrestore(&sc->alloc_lock, flags); in sc_buffer_alloc()