Home
last modified time | relevance | path

Searched refs:wait_lock (Results 1 – 25 of 33) sorted by relevance

12

/linux/kernel/locking/
H A Drwbase_rt.c75 raw_spin_lock_irq(&rtm->wait_lock); in __rwbase_read_lock()
124 raw_spin_unlock_irq(&rtm->wait_lock); in __rwbase_read_lock()
151 raw_spin_lock_irq(&rtm->wait_lock); in __rwbase_read_unlock()
164 raw_spin_unlock_irq(&rtm->wait_lock); in __rwbase_read_unlock()
191 raw_spin_unlock_irqrestore(&rtm->wait_lock, flags); in __rwbase_write_unlock()
200 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_unlock()
209 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_downgrade()
217 lockdep_assert_held(&rwb->rtmutex.wait_lock); in __rwbase_write_trylock()
246 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_lock()
267 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_lock()
[all …]
H A Drtmutex.c264 __releases(lock->wait_lock) in unlock_rt_mutex_safe()
338 __releases(lock->wait_lock) in unlock_rt_mutex_safe()
479 lockdep_assert_held(&lock->wait_lock); in rt_mutex_enqueue()
487 lockdep_assert_held(&lock->wait_lock); in rt_mutex_dequeue()
529 lockdep_assert_held(&lock->wait_lock); in rt_mutex_adjust_prio()
872 raw_spin_unlock(&lock->wait_lock); in rt_mutex_adjust_prio_chain()
1043 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_adjust_prio_chain()
1297 raw_spin_lock_irq(&lock->wait_lock); in task_blocks_on_rt_mutex()
1585 raw_spin_lock_irq(&lock->wait_lock); in remove_waiter()
1638 raw_spin_lock_irq(&lock->wait_lock); in rt_mutex_slowlock_block()
[all …]
H A Drtmutex_api.c168 lockdep_assert_held(&lock->wait_lock); in __rt_mutex_futex_unlock()
194 raw_spin_lock_irqsave(&lock->wait_lock, flags); in rt_mutex_futex_unlock()
196 raw_spin_unlock_irqrestore(&lock->wait_lock, flags); in rt_mutex_futex_unlock()
251 lockdep_set_class(&lock->wait_lock, &pi_futex_key); in rt_mutex_init_proxy_locked()
298 lockdep_assert_held(&lock->wait_lock); in __rt_mutex_start_proxy_lock()
345 raw_spin_lock_irq(&lock->wait_lock); in rt_mutex_start_proxy_lock()
349 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_start_proxy_lock()
377 raw_spin_lock_irq(&lock->wait_lock); in rt_mutex_wait_proxy_lock()
386 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_wait_proxy_lock()
416 raw_spin_lock_irq(&lock->wait_lock); in rt_mutex_cleanup_proxy_lock()
[all …]
H A Drwsem.c322 raw_spin_lock_init(&sem->wait_lock); in __init_rwsem()
370 lockdep_assert_held(&sem->wait_lock); in rwsem_add_waiter()
386 lockdep_assert_held(&sem->wait_lock); in rwsem_del_waiter()
417 lockdep_assert_held(&sem->wait_lock); in rwsem_mark_wake()
577 __releases(&sem->wait_lock) in rwsem_del_wake_waiter()
590 raw_spin_unlock_irq(&sem->wait_lock); in rwsem_del_wake_waiter()
608 lockdep_assert_held(&sem->wait_lock); in rwsem_try_write_lock()
1038 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_read_slowpath()
1125 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_write_slowpath()
1180 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_write_slowpath()
[all …]
H A Dqrwlock.c43 arch_spin_lock(&lock->wait_lock); in queued_read_lock_slowpath()
56 arch_spin_unlock(&lock->wait_lock); in queued_read_lock_slowpath()
73 arch_spin_lock(&lock->wait_lock); in queued_write_lock_slowpath()
88 arch_spin_unlock(&lock->wait_lock); in queued_write_lock_slowpath()
H A Dww_mutex.h75 raw_spin_lock(&lock->wait_lock); in lock_wait_lock()
80 raw_spin_unlock(&lock->wait_lock); in unlock_wait_lock()
85 lockdep_assert_held(&lock->wait_lock); in lockdep_assert_wait_lock_held()
149 raw_spin_lock(&lock->rtmutex.wait_lock); in lock_wait_lock()
154 raw_spin_unlock(&lock->rtmutex.wait_lock); in unlock_wait_lock()
159 lockdep_assert_held(&lock->rtmutex.wait_lock); in lockdep_assert_wait_lock_held()
H A Dmutex.c49 raw_spin_lock_init(&lock->wait_lock); in __mutex_init()
622 raw_spin_lock(&lock->wait_lock); in __mutex_lock_common()
683 raw_spin_unlock(&lock->wait_lock); in __mutex_lock_common()
704 raw_spin_lock(&lock->wait_lock); in __mutex_lock_common()
706 raw_spin_lock(&lock->wait_lock); in __mutex_lock_common()
732 raw_spin_unlock(&lock->wait_lock); in __mutex_lock_common()
741 raw_spin_unlock(&lock->wait_lock); in __mutex_lock_common()
937 raw_spin_lock(&lock->wait_lock); in __mutex_unlock_slowpath()
954 raw_spin_unlock(&lock->wait_lock); in __mutex_unlock_slowpath()
H A Dmutex-debug.c39 lockdep_assert_held(&lock->wait_lock); in debug_mutex_wake_waiter()
54 lockdep_assert_held(&lock->wait_lock); in debug_mutex_add_waiter()
H A Drtmutex_common.h133 lockdep_assert_held(&lock->wait_lock); in rt_mutex_top_waiter()
181 raw_spin_lock_init(&lock->wait_lock); in __rt_mutex_base_init()
/linux/drivers/gpu/drm/omapdrm/
H A Domap_irq.c25 assert_spin_locked(&priv->wait_lock); in omap_irq_update()
52 spin_lock_irqsave(&priv->wait_lock, flags); in omap_irq_wait_init()
55 spin_unlock_irqrestore(&priv->wait_lock, flags); in omap_irq_wait_init()
69 spin_lock_irqsave(&priv->wait_lock, flags); in omap_irq_wait()
90 spin_lock_irqsave(&priv->wait_lock, flags); in omap_irq_enable_framedone()
122 spin_lock_irqsave(&priv->wait_lock, flags); in omap_irq_enable_vblank()
148 spin_lock_irqsave(&priv->wait_lock, flags); in omap_irq_disable_vblank()
176 spin_lock(&priv->wait_lock); in omap_irq_fifo_underflow()
178 spin_unlock(&priv->wait_lock); in omap_irq_fifo_underflow()
239 spin_lock_irqsave(&priv->wait_lock, flags); in omap_irq_handler()
[all …]
H A Domap_drv.h94 spinlock_t wait_lock; /* protects the wait_list */ member
/linux/drivers/tty/
H A Dtty_ldsem.c69 raw_spin_lock_init(&sem->wait_lock); in __init_ldsem()
162 raw_spin_lock_irq(&sem->wait_lock); in down_read_failed()
175 raw_spin_unlock_irq(&sem->wait_lock); in down_read_failed()
190 raw_spin_unlock_irq(&sem->wait_lock); in down_read_failed()
211 raw_spin_lock_irq(&sem->wait_lock); in down_read_failed()
216 raw_spin_unlock_irq(&sem->wait_lock); in down_read_failed()
220 raw_spin_unlock_irq(&sem->wait_lock); in down_read_failed()
237 raw_spin_lock_irq(&sem->wait_lock); in down_write_failed()
261 raw_spin_unlock_irq(&sem->wait_lock); in down_write_failed()
263 raw_spin_lock_irq(&sem->wait_lock); in down_write_failed()
[all …]
/linux/drivers/gpu/drm/tidss/
H A Dtidss_irq.c21 assert_spin_locked(&tidss->wait_lock); in tidss_irq_update()
34 spin_lock_irqsave(&tidss->wait_lock, flags); in tidss_irq_enable_vblank()
38 spin_unlock_irqrestore(&tidss->wait_lock, flags); in tidss_irq_enable_vblank()
49 spin_lock_irqsave(&tidss->wait_lock, flags); in tidss_irq_disable_vblank()
53 spin_unlock_irqrestore(&tidss->wait_lock, flags); in tidss_irq_disable_vblank()
91 spin_lock_irqsave(&tidss->wait_lock, flags); in tidss_irq_resume()
93 spin_unlock_irqrestore(&tidss->wait_lock, flags); in tidss_irq_resume()
H A Dtidss_drv.h32 spinlock_t wait_lock; /* protects the irq masks */ member
/linux/kernel/futex/
H A Dpi.c51 lockdep_assert_held(&pi_state->pi_mutex.wait_lock); in pi_state_update_owner()
235 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); in attach_to_pi_state()
300 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in attach_to_pi_state()
317 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in attach_to_pi_state()
663 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in wake_futex_pi()
791 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in __fixup_pi_state_owner()
810 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); in __fixup_pi_state_owner()
851 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); in fixup_pi_state_owner()
853 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in fixup_pi_state_owner()
1014 raw_spin_lock_irq(&q.pi_state->pi_mutex.wait_lock); in futex_lock_pi()
[all …]
H A Dcore.c1007 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list()
1015 raw_spin_unlock(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list()
1027 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list()
/linux/include/linux/
H A Drtmutex.h24 raw_spinlock_t wait_lock; member
31 .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(rtbasename.wait_lock), \
H A Drwsem.h59 raw_spinlock_t wait_lock; member
106 .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(name.wait_lock),\
H A Dmutex.h81 , .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(lockname.wait_lock) \
H A Dmutex_types.h43 raw_spinlock_t wait_lock; member
H A Dtty_ldisc.h19 raw_spinlock_t wait_lock; member
/linux/include/asm-generic/
H A Dqrwlock_types.h26 arch_spinlock_t wait_lock; member
31 .wait_lock = __ARCH_SPIN_LOCK_UNLOCKED, \
H A Dqrwlock.h132 return arch_spin_is_locked(&lock->wait_lock); in queued_rwlock_is_contended()
/linux/fs/bcachefs/
H A Dsix.c221 raw_spin_lock(&lock->wait_lock); in __six_lock_wakeup()
256 raw_spin_unlock(&lock->wait_lock); in __six_lock_wakeup()
430 raw_spin_lock(&lock->wait_lock); in six_lock_slowpath()
451 raw_spin_unlock(&lock->wait_lock); in six_lock_slowpath()
488 raw_spin_lock(&lock->wait_lock); in six_lock_slowpath()
492 raw_spin_unlock(&lock->wait_lock); in six_lock_slowpath()
768 raw_spin_lock(&lock->wait_lock); in six_lock_wakeup_all()
771 raw_spin_unlock(&lock->wait_lock); in six_lock_wakeup_all()
849 raw_spin_lock_init(&lock->wait_lock); in __six_lock_init()
/linux/lib/
H A Dtest_lockup.c490 offsetof(spinlock_t, lock.wait_lock.magic), in test_lockup_init()
493 offsetof(rwlock_t, rwbase.rtmutex.wait_lock.magic), in test_lockup_init()
496 offsetof(struct mutex, rtmutex.wait_lock.magic), in test_lockup_init()
499 offsetof(struct rw_semaphore, rwbase.rtmutex.wait_lock.magic), in test_lockup_init()
510 offsetof(struct mutex, wait_lock.magic), in test_lockup_init()
513 offsetof(struct rw_semaphore, wait_lock.magic), in test_lockup_init()

12