/linux-5.19.10/kernel/locking/ |
D | rwbase_rt.c | 74 raw_spin_lock_irq(&rtm->wait_lock); in __rwbase_read_lock() 81 raw_spin_unlock_irq(&rtm->wait_lock); in __rwbase_read_lock() 132 raw_spin_unlock_irq(&rtm->wait_lock); in __rwbase_read_lock() 156 raw_spin_lock_irq(&rtm->wait_lock); in __rwbase_read_unlock() 169 raw_spin_unlock_irq(&rtm->wait_lock); in __rwbase_read_unlock() 196 raw_spin_unlock_irqrestore(&rtm->wait_lock, flags); in __rwbase_write_unlock() 205 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_unlock() 214 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_downgrade() 222 lockdep_assert_held(&rwb->rtmutex.wait_lock); in __rwbase_write_trylock() 249 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_lock() [all …]
|
D | rtmutex.c | 221 __releases(lock->wait_lock) in unlock_rt_mutex_safe() 226 raw_spin_unlock_irqrestore(&lock->wait_lock, flags); in unlock_rt_mutex_safe() 281 __releases(lock->wait_lock) in unlock_rt_mutex_safe() 284 raw_spin_unlock_irqrestore(&lock->wait_lock, flags); in unlock_rt_mutex_safe() 738 if (!raw_spin_trylock(&lock->wait_lock)) { in rt_mutex_adjust_prio_chain() 768 raw_spin_unlock(&lock->wait_lock); in rt_mutex_adjust_prio_chain() 790 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_adjust_prio_chain() 812 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_adjust_prio_chain() 869 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_adjust_prio_chain() 930 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_adjust_prio_chain() [all …]
|
D | rtmutex_api.c | 168 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 …]
|
D | rwsem.c | 319 raw_spin_lock_init(&sem->wait_lock); in __init_rwsem() 367 lockdep_assert_held(&sem->wait_lock); in rwsem_add_waiter() 383 lockdep_assert_held(&sem->wait_lock); in rwsem_del_waiter() 414 lockdep_assert_held(&sem->wait_lock); in rwsem_mark_wake() 574 __releases(&sem->wait_lock) in rwsem_del_wake_waiter() 587 raw_spin_unlock_irq(&sem->wait_lock); in rwsem_del_wake_waiter() 605 lockdep_assert_held(&sem->wait_lock); in rwsem_try_write_lock() 1025 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_read_slowpath() 1029 raw_spin_unlock_irq(&sem->wait_lock); in rwsem_down_read_slowpath() 1041 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_read_slowpath() [all …]
|
D | qrwlock.c | 43 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()
|
D | ww_mutex.h | 75 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()
|
D | mutex.c | 49 raw_spin_lock_init(&lock->wait_lock); in __mutex_init() 617 raw_spin_lock(&lock->wait_lock); in __mutex_lock_common() 678 raw_spin_unlock(&lock->wait_lock); in __mutex_lock_common() 699 raw_spin_lock(&lock->wait_lock); in __mutex_lock_common() 701 raw_spin_lock(&lock->wait_lock); in __mutex_lock_common() 727 raw_spin_unlock(&lock->wait_lock); in __mutex_lock_common() 736 raw_spin_unlock(&lock->wait_lock); in __mutex_lock_common() 932 raw_spin_lock(&lock->wait_lock); in __mutex_unlock_slowpath() 949 raw_spin_unlock(&lock->wait_lock); in __mutex_unlock_slowpath()
|
D | mutex-debug.c | 38 lockdep_assert_held(&lock->wait_lock); in debug_mutex_wake_waiter() 53 lockdep_assert_held(&lock->wait_lock); in debug_mutex_add_waiter()
|
D | rtmutex_common.h | 160 raw_spin_lock_init(&lock->wait_lock); in __rt_mutex_base_init()
|
/linux-5.19.10/drivers/gpu/drm/omapdrm/ |
D | omap_irq.c | 25 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() 72 spin_unlock_irqrestore(&priv->wait_lock, flags); in omap_irq_wait() 90 spin_lock_irqsave(&priv->wait_lock, flags); in omap_irq_enable_framedone() 96 spin_unlock_irqrestore(&priv->wait_lock, flags); in omap_irq_enable_framedone() 122 spin_lock_irqsave(&priv->wait_lock, flags); in omap_irq_enable_vblank() 126 spin_unlock_irqrestore(&priv->wait_lock, flags); in omap_irq_enable_vblank() 148 spin_lock_irqsave(&priv->wait_lock, flags); in omap_irq_disable_vblank() [all …]
|
D | omap_drv.h | 97 spinlock_t wait_lock; /* protects the wait_list */ member
|
/linux-5.19.10/drivers/gpu/drm/tidss/ |
D | tidss_irq.c | 21 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()
|
D | tidss_drv.h | 32 spinlock_t wait_lock; /* protects the irq masks */ member
|
/linux-5.19.10/drivers/tty/ |
D | tty_ldsem.c | 69 raw_spin_lock_init(&sem->wait_lock); in __init_ldsem() 147 raw_spin_lock_irqsave(&sem->wait_lock, flags); in ldsem_wake() 149 raw_spin_unlock_irqrestore(&sem->wait_lock, flags); in ldsem_wake() 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() [all …]
|
/linux-5.19.10/kernel/futex/ |
D | pi.c | 50 lockdep_assert_held(&pi_state->pi_mutex.wait_lock); in pi_state_update_owner() 92 raw_spin_lock_irqsave(&pi_state->pi_mutex.wait_lock, flags); in put_pi_state() 95 raw_spin_unlock_irqrestore(&pi_state->pi_mutex.wait_lock, flags); in put_pi_state() 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() [all …]
|
D | core.c | 973 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list() 981 raw_spin_unlock(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list() 993 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list()
|
/linux-5.19.10/include/linux/ |
D | rtmutex.h | 24 raw_spinlock_t wait_lock; member 31 .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(rtbasename.wait_lock), \
|
D | mutex.h | 65 raw_spinlock_t wait_lock; member 110 , .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(lockname.wait_lock) \
|
D | rwsem.h | 58 raw_spinlock_t wait_lock; member 95 .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(name.wait_lock),\
|
D | tty_ldisc.h | 19 raw_spinlock_t wait_lock; member
|
/linux-5.19.10/include/asm-generic/ |
D | qrwlock_types.h | 26 arch_spinlock_t wait_lock; member 31 .wait_lock = __ARCH_SPIN_LOCK_UNLOCKED, \
|
D | qrwlock.h | 132 return arch_spin_is_locked(&lock->wait_lock); in queued_rwlock_is_contended()
|
/linux-5.19.10/lib/ |
D | test_lockup.c | 490 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()
|
/linux-5.19.10/Documentation/locking/ |
D | rt-mutex-design.rst | 202 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-5.19.10/arch/arm/mach-omap2/ |
D | sram243x.S | 278 wait_lock: label 282 bne wait_lock @ wait if not
|