/kernel/linux/linux-5.10/kernel/locking/ |
D | rtmutex.c | 170 __releases(lock->wait_lock) in unlock_rt_mutex_safe() 175 raw_spin_unlock_irqrestore(&lock->wait_lock, flags); in unlock_rt_mutex_safe() 218 __releases(lock->wait_lock) in unlock_rt_mutex_safe() 221 raw_spin_unlock_irqrestore(&lock->wait_lock, flags); in unlock_rt_mutex_safe() 584 if (!raw_spin_trylock(&lock->wait_lock)) { in rt_mutex_adjust_prio_chain() 601 raw_spin_unlock(&lock->wait_lock); in rt_mutex_adjust_prio_chain() 624 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_adjust_prio_chain() 646 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_adjust_prio_chain() 704 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_adjust_prio_chain() 765 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_adjust_prio_chain() [all …]
|
D | qrwlock.c | 41 arch_spin_lock(&lock->wait_lock); in queued_read_lock_slowpath() 54 arch_spin_unlock(&lock->wait_lock); in queued_read_lock_slowpath() 67 arch_spin_lock(&lock->wait_lock); in queued_write_lock_slowpath() 82 arch_spin_unlock(&lock->wait_lock); in queued_write_lock_slowpath()
|
D | rwsem.c | 337 raw_spin_lock_init(&sem->wait_lock); in __init_rwsem() 408 lockdep_assert_held(&sem->wait_lock); in rwsem_mark_wake() 567 lockdep_assert_held(&sem->wait_lock); in rwsem_try_write_lock() 1022 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_read_slowpath() 1026 raw_spin_unlock_irq(&sem->wait_lock); in rwsem_down_read_slowpath() 1040 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_read_slowpath() 1052 raw_spin_unlock_irq(&sem->wait_lock); in rwsem_down_read_slowpath() 1081 raw_spin_unlock_irq(&sem->wait_lock); in rwsem_down_read_slowpath() 1092 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_read_slowpath() 1095 raw_spin_unlock_irq(&sem->wait_lock); in rwsem_down_read_slowpath() [all …]
|
D | mutex.c | 43 spin_lock_init(&lock->wait_lock); in __mutex_init() 405 lockdep_assert_held(&lock->wait_lock); in __ww_mutex_wound() 458 lockdep_assert_held(&lock->wait_lock); in __ww_mutex_check_waiters() 504 spin_lock(&lock->base.wait_lock); in ww_mutex_set_context_fastpath() 506 spin_unlock(&lock->base.wait_lock); in ww_mutex_set_context_fastpath() 980 spin_lock(&lock->wait_lock); in __mutex_lock_common() 1046 spin_unlock(&lock->wait_lock); in __mutex_lock_common() 1063 spin_lock(&lock->wait_lock); in __mutex_lock_common() 1065 spin_lock(&lock->wait_lock); in __mutex_lock_common() 1090 spin_unlock(&lock->wait_lock); in __mutex_lock_common() [all …]
|
D | mutex-debug.c | 39 lockdep_assert_held(&lock->wait_lock); in debug_mutex_wake_waiter() 54 lockdep_assert_held(&lock->wait_lock); in debug_mutex_add_waiter()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/ |
D | tidss_irq.c | 18 assert_spin_locked(&tidss->wait_lock); in tidss_irq_update() 31 spin_lock_irqsave(&tidss->wait_lock, flags); in tidss_irq_enable_vblank() 35 spin_unlock_irqrestore(&tidss->wait_lock, flags); in tidss_irq_enable_vblank() 46 spin_lock_irqsave(&tidss->wait_lock, flags); in tidss_irq_disable_vblank() 50 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 | 30 spinlock_t wait_lock; /* protects the irq masks */ member
|
/kernel/linux/linux-5.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() 123 spin_lock_irqsave(&priv->wait_lock, flags); in omap_irq_enable_vblank() 127 spin_unlock_irqrestore(&priv->wait_lock, flags); in omap_irq_enable_vblank() 150 spin_lock_irqsave(&priv->wait_lock, flags); in omap_irq_disable_vblank() [all …]
|
D | omap_drv.h | 76 spinlock_t wait_lock; /* protects the wait_list */ member
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | rtmutex.h | 31 raw_spinlock_t wait_lock; member 86 { .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(mutexname.wait_lock) \
|
D | mutex.h | 55 spinlock_t wait_lock; member 134 , .wait_lock = __SPIN_LOCK_UNLOCKED(lockname.wait_lock) \
|
D | rwsem.h | 46 raw_spinlock_t wait_lock; member 93 .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(name.wait_lock),\
|
D | tty_ldisc.h | 135 raw_spinlock_t wait_lock; member
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | qrwlock_types.h | 26 arch_spinlock_t wait_lock; member 31 .wait_lock = __ARCH_SPIN_LOCK_UNLOCKED, \
|
/kernel/linux/linux-5.10/kernel/ |
D | futex.c | 772 lockdep_assert_held(&pi_state->pi_mutex.wait_lock); in pi_state_update_owner() 814 raw_spin_lock_irqsave(&pi_state->pi_mutex.wait_lock, flags); in put_pi_state() 817 raw_spin_unlock_irqrestore(&pi_state->pi_mutex.wait_lock, flags); in put_pi_state() 881 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list() 889 raw_spin_unlock(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list() 901 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list() 1036 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); in attach_to_pi_state() 1101 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in attach_to_pi_state() 1118 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in attach_to_pi_state() 1554 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in wake_futex_pi() [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | test_lockup.c | 490 offsetof(struct mutex, wait_lock.rlock.magic), in test_lockup_init() 493 offsetof(struct rw_semaphore, wait_lock.magic), in test_lockup_init()
|
/kernel/linux/linux-5.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
|
D | rt-mutex.rst | 66 with ->wait_lock is held. To prevent any fast path cmpxchg to the lock,
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
D | sram242x.S | 278 wait_lock: label 282 bne wait_lock @ wait if not
|
D | sram243x.S | 278 wait_lock: label 282 bne wait_lock @ wait if not
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0015_linux_drivers_clk.patch | 4719 + * To be implemented the wait_lock or an equivalent state
|