Lines Matching refs:s_lock
60 spin_lock_init(&rb->s_lock); in pblk_rb_init()
660 __acquires(&rb->s_lock) in pblk_rb_sync_init()
663 spin_lock_irqsave(&rb->s_lock, *flags); in pblk_rb_sync_init()
665 spin_lock_irq(&rb->s_lock); in pblk_rb_sync_init()
671 __releases(&rb->s_lock) in pblk_rb_sync_end()
673 lockdep_assert_held(&rb->s_lock); in pblk_rb_sync_end()
676 spin_unlock_irqrestore(&rb->s_lock, *flags); in pblk_rb_sync_end()
678 spin_unlock_irq(&rb->s_lock); in pblk_rb_sync_end()
684 lockdep_assert_held(&rb->s_lock); in pblk_rb_sync_advance()
764 spin_lock_irq(&rb->s_lock); in pblk_rb_tear_down_check()
787 spin_unlock_irq(&rb->s_lock); in pblk_rb_tear_down_check()
810 spin_lock_irq(&rb->s_lock); in pblk_rb_sysfs()
813 spin_unlock_irq(&rb->s_lock); in pblk_rb_sysfs()