Home
last modified time | relevance | path

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

12

/openbmc/linux/kernel/locking/
H A Drwbase_rt.c74 raw_spin_lock_irq(&rtm->wait_lock); in __rwbase_read_lock()
123 raw_spin_unlock_irq(&rtm->wait_lock); in __rwbase_read_lock()
147 raw_spin_lock_irq(&rtm->wait_lock); in __rwbase_read_unlock()
160 raw_spin_unlock_irq(&rtm->wait_lock); in __rwbase_read_unlock()
187 raw_spin_unlock_irqrestore(&rtm->wait_lock, flags); in __rwbase_write_unlock()
196 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_unlock()
205 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_downgrade()
213 lockdep_assert_held(&rwb->rtmutex.wait_lock); in __rwbase_write_trylock()
240 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_lock()
260 raw_spin_lock_irqsave(&rtm->wait_lock, flags); in rwbase_write_lock()
[all …]
H A Drtmutex.c258 __releases(lock->wait_lock) in unlock_rt_mutex_safe()
318 __releases(lock->wait_lock) in unlock_rt_mutex_safe()
459 lockdep_assert_held(&lock->wait_lock); in rt_mutex_enqueue()
467 lockdep_assert_held(&lock->wait_lock); in rt_mutex_dequeue()
509 lockdep_assert_held(&lock->wait_lock); in rt_mutex_adjust_prio()
852 raw_spin_unlock(&lock->wait_lock); in rt_mutex_adjust_prio_chain()
1023 raw_spin_unlock_irq(&lock->wait_lock); in rt_mutex_adjust_prio_chain()
1277 raw_spin_lock_irq(&lock->wait_lock); in task_blocks_on_rt_mutex()
1565 raw_spin_lock_irq(&lock->wait_lock); in remove_waiter()
1618 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 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 Drwsem.c324 raw_spin_lock_init(&sem->wait_lock); in __init_rwsem()
372 lockdep_assert_held(&sem->wait_lock); in rwsem_add_waiter()
388 lockdep_assert_held(&sem->wait_lock); in rwsem_del_waiter()
419 lockdep_assert_held(&sem->wait_lock); in rwsem_mark_wake()
579 __releases(&sem->wait_lock) in rwsem_del_wake_waiter()
592 raw_spin_unlock_irq(&sem->wait_lock); in rwsem_del_wake_waiter()
610 lockdep_assert_held(&sem->wait_lock); in rwsem_try_write_lock()
1040 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_read_slowpath()
1127 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_write_slowpath()
1182 raw_spin_lock_irq(&sem->wait_lock); in rwsem_down_write_slowpath()
[all …]
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()
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()
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()
/openbmc/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
/openbmc/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()
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()
H A Dtidss_drv.h32 spinlock_t wait_lock; /* protects the irq masks */ member
/openbmc/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 …]
/openbmc/linux/kernel/futex/
H 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 …]
H A Dcore.c991 raw_spin_lock_irq(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list()
999 raw_spin_unlock(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list()
1011 raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); in exit_pi_state_list()
/openbmc/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 Dmutex.h68 raw_spinlock_t wait_lock; member
113 , .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(lockname.wait_lock) \
H A Drwsem.h59 raw_spinlock_t wait_lock; member
96 .wait_lock = __RAW_SPIN_LOCK_UNLOCKED(name.wait_lock),\
H A Dtty_ldisc.h19 raw_spinlock_t wait_lock; member
/openbmc/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()
/openbmc/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()
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/
H A Dplatform.S218 wait_lock: label
221 beq wait_lock
/openbmc/linux/Documentation/locking/
H 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

12