Home
last modified time | relevance | path

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

12

/linux/kernel/locking/
A Drwbase_rt.c74 raw_spin_lock_irq(&rtm->wait_lock); in __rwbase_read_lock()
81 raw_spin_unlock_irq(&rtm->wait_lock); in __rwbase_read_lock()
130 raw_spin_unlock_irq(&rtm->wait_lock); in __rwbase_read_lock()
152 raw_spin_lock_irq(&rtm->wait_lock); in __rwbase_read_unlock()
165 raw_spin_unlock_irq(&rtm->wait_lock); in __rwbase_read_unlock()
201 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_unlock()
210 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_downgrade()
218 lockdep_assert_held(&rwb->rtmutex.wait_lock); in __rwbase_write_trylock()
245 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_lock()
263 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_lock()
[all …]
A Drtmutex.c219 __releases(lock->wait_lock) in unlock_rt_mutex_safe()
279 __releases(lock->wait_lock) in unlock_rt_mutex_safe()
766 raw_spin_unlock(&lock->wait_lock); in rt_mutex_adjust_prio_chain()
928 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_adjust_prio_chain()
972 lockdep_assert_held(&lock->wait_lock); in try_to_take_rt_mutex()
1096 lockdep_assert_held(&lock->wait_lock); in task_blocks_on_rt_mutex()
1173 raw_spin_unlock_irq(&lock->wait_lock); in task_blocks_on_rt_mutex()
1178 raw_spin_lock_irq(&lock->wait_lock); in task_blocks_on_rt_mutex()
1465 raw_spin_lock_irq(&lock->wait_lock); in remove_waiter()
1518 raw_spin_lock_irq(&lock->wait_lock); in rt_mutex_slowlock_block()
[all …]
A Drwsem.c318 raw_spin_lock_init(&sem->wait_lock); in __init_rwsem()
368 lockdep_assert_held(&sem->wait_lock); in rwsem_add_waiter()
382 lockdep_assert_held(&sem->wait_lock); in rwsem_del_waiter()
412 lockdep_assert_held(&sem->wait_lock); in rwsem_mark_wake()
574 lockdep_assert_held(&sem->wait_lock); in rwsem_try_write_lock()
970 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_read_slowpath()
985 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_read_slowpath()
1023 raw_spin_unlock_irq(&sem->wait_lock); in rwsem_down_read_slowpath()
1082 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_write_slowpath()
1155 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_write_slowpath()
[all …]
A Drtmutex_api.c146 lockdep_assert_held(&lock->wait_lock); in __rt_mutex_futex_unlock()
172 raw_spin_lock_irqsave(&lock->wait_lock, flags); in rt_mutex_futex_unlock()
174 raw_spin_unlock_irqrestore(&lock->wait_lock, flags); in rt_mutex_futex_unlock()
229 lockdep_set_class(&lock->wait_lock, &pi_futex_key); in rt_mutex_init_proxy_locked()
276 lockdep_assert_held(&lock->wait_lock); in __rt_mutex_start_proxy_lock()
323 raw_spin_lock_irq(&lock->wait_lock); in rt_mutex_start_proxy_lock()
327 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_start_proxy_lock()
355 raw_spin_lock_irq(&lock->wait_lock); in rt_mutex_wait_proxy_lock()
364 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_wait_proxy_lock()
394 raw_spin_lock_irq(&lock->wait_lock); in rt_mutex_cleanup_proxy_lock()
[all …]
A Dqrwlock.c40 arch_spin_lock(&lock->wait_lock); in queued_read_lock_slowpath()
53 arch_spin_unlock(&lock->wait_lock); in queued_read_lock_slowpath()
66 arch_spin_lock(&lock->wait_lock); in queued_write_lock_slowpath()
81 arch_spin_unlock(&lock->wait_lock); in queued_write_lock_slowpath()
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()
A Dmutex.c46 raw_spin_lock_init(&lock->wait_lock); in __mutex_init()
619 raw_spin_lock(&lock->wait_lock); in __mutex_lock_common()
679 raw_spin_unlock(&lock->wait_lock); in __mutex_lock_common()
694 raw_spin_lock(&lock->wait_lock); in __mutex_lock_common()
696 raw_spin_lock(&lock->wait_lock); in __mutex_lock_common()
721 raw_spin_unlock(&lock->wait_lock); in __mutex_lock_common()
729 raw_spin_unlock(&lock->wait_lock); in __mutex_lock_common()
925 raw_spin_lock(&lock->wait_lock); in __mutex_unlock_slowpath()
942 raw_spin_unlock(&lock->wait_lock); in __mutex_unlock_slowpath()
A Dmutex-debug.c38 lockdep_assert_held(&lock->wait_lock); in debug_mutex_wake_waiter()
53 lockdep_assert_held(&lock->wait_lock); in debug_mutex_add_waiter()
A Drtmutex_common.h160 raw_spin_lock_init(&lock->wait_lock); in __rt_mutex_base_init()
/linux/drivers/gpu/drm/omapdrm/
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 …]
A Domap_drv.h77 spinlock_t wait_lock; /* protects the wait_list */ member
/linux/drivers/tty/
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/
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()
100 spin_lock_init(&tidss->wait_lock); in tidss_irq_preinstall()
118 spin_lock_irqsave(&tidss->wait_lock, flags); in tidss_irq_postinstall()
132 spin_unlock_irqrestore(&tidss->wait_lock, flags); in tidss_irq_postinstall()
A Dtidss_drv.h32 spinlock_t wait_lock; /* protects the irq masks */ member
/linux/kernel/futex/
A Dpi.c50 lockdep_assert_held(&pi_state->pi_mutex.wait_lock); in pi_state_update_owner()
234 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); in attach_to_pi_state()
299 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in attach_to_pi_state()
316 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in attach_to_pi_state()
675 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in wake_futex_pi()
803 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in __fixup_pi_state_owner()
822 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); in __fixup_pi_state_owner()
863 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); in fixup_pi_state_owner()
865 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in fixup_pi_state_owner()
1020 raw_spin_lock_irq(&q.pi_state->pi_mutex.wait_lock); in futex_lock_pi()
[all …]
A Dcore.c986 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list()
994 raw_spin_unlock(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list()
1006 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list()
/linux/include/linux/
A Drtmutex.h24 raw_spinlock_t wait_lock; member
31 .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(rtbasename.wait_lock), \
A Dmutex.h65 raw_spinlock_t wait_lock; member
110 , .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(lockname.wait_lock) \
A Drwsem.h58 raw_spinlock_t wait_lock; member
95 .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(name.wait_lock),\
A Dtty_ldisc.h140 raw_spinlock_t wait_lock; member
/linux/include/asm-generic/
A Dqrwlock_types.h26 arch_spinlock_t wait_lock; member
31 .wait_lock = __ARCH_SPIN_LOCK_UNLOCKED, \
A Dqrwlock.h128 return arch_spin_is_locked(&lock->wait_lock); in queued_rwlock_is_contended()
/linux/lib/
A Dtest_lockup.c485 offsetof(spinlock_t, lock.wait_lock.magic), in test_lockup_init()
488 offsetof(rwlock_t, rwbase.rtmutex.wait_lock.magic), in test_lockup_init()
491 offsetof(struct mutex, rtmutex.wait_lock.magic), in test_lockup_init()
494 offsetof(struct rw_semaphore, rwbase.rtmutex.wait_lock.magic), in test_lockup_init()
505 offsetof(struct mutex, wait_lock.magic), in test_lockup_init()
508 offsetof(struct rw_semaphore, wait_lock.magic), in test_lockup_init()
/linux/Documentation/locking/
A Drt-mutex-design.rst202 wait_lock.
437 The wait_lock of the mutex is taken since the slow path of unlocking the
449 wait_lock, which this code currently holds. So setting the "Has Waiters" flag
477 Since the wait_lock was taken at the entry of the slow lock, we can safely
486 (or deadlock checking is on), we unlock the wait_lock of the mutex and go ahead
527 The first thing done in the slow unlock path is to take the wait_lock of the
536 the grabbing of the wait_lock, the mutex may not have any waiters, thus the
538 owner field is set to NULL, the wait_lock is released and nothing more is
/linux/arch/arm/mach-omap2/
A Dsram243x.S278 wait_lock: label
282 bne wait_lock @ wait if not

Completed in 35 milliseconds

12