/openbmc/linux/kernel/locking/ |
H A D | rwbase_rt.c | 71 struct rt_mutex_base *rtm = &rwb->rtmutex; in __rwbase_read_lock() 143 struct rt_mutex_base *rtm = &rwb->rtmutex; in __rwbase_read_unlock() 180 struct rt_mutex_base *rtm = &rwb->rtmutex; in __rwbase_write_unlock() 193 struct rt_mutex_base *rtm = &rwb->rtmutex; in rwbase_write_unlock() 202 struct rt_mutex_base *rtm = &rwb->rtmutex; in rwbase_write_downgrade() 213 lockdep_assert_held(&rwb->rtmutex.wait_lock); in __rwbase_write_trylock() 230 struct rt_mutex_base *rtm = &rwb->rtmutex; in rwbase_write_lock() 274 struct rt_mutex_base *rtm = &rwb->rtmutex; in rwbase_write_trylock()
|
H A D | ww_rt_mutex.c | 27 if (__rt_mutex_trylock(&rtm->rtmutex)) { in ww_mutex_trylock() 65 if (likely(rt_mutex_cmpxchg_acquire(&rtm->rtmutex, NULL, current))) { in __ww_rt_mutex_lock() 71 ret = rt_mutex_slowlock(&rtm->rtmutex, ww_ctx, state); in __ww_rt_mutex_lock() 99 __rt_mutex_unlock(&rtm->rtmutex); in ww_mutex_unlock()
|
H A D | rtmutex_api.c | 31 ret = __rt_mutex_lock(&lock->rtmutex, state); in __rt_mutex_lock_common() 125 ret = __rt_mutex_trylock(&lock->rtmutex); in rt_mutex_trylock() 141 __rt_mutex_unlock(&lock->rtmutex); in rt_mutex_unlock() 217 __rt_mutex_base_init(&lock->rtmutex); in __rt_mutex_init() 512 ret = __rt_mutex_lock(&lock->rtmutex, state); in __mutex_lock_common() 597 ret = __rt_mutex_trylock(&lock->rtmutex); in mutex_trylock() 608 __rt_mutex_unlock(&lock->rtmutex); in mutex_unlock()
|
H A D | ww_mutex.h | 96 struct rb_node *n = rb_first(&lock->rtmutex.waiters.rb_root); in __ww_waiter_first() 123 struct rb_node *n = rb_last(&lock->rtmutex.waiters.rb_root); in __ww_waiter_last() 138 return rt_mutex_owner(&lock->rtmutex); in __ww_mutex_owner() 144 return rt_mutex_has_waiters(&lock->rtmutex); in __ww_mutex_has_waiters() 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 D | rtmutex.c | 1227 rtm = container_of(lock, struct rt_mutex, rtmutex); in task_blocks_on_rt_mutex() 1585 struct rt_mutex *rtm = container_of(lock, struct rt_mutex, rtmutex); in rt_mutex_slowlock_block() 1664 struct rt_mutex *rtm = container_of(lock, struct rt_mutex, rtmutex); in __rt_mutex_slowlock()
|
/openbmc/linux/include/linux/ |
H A D | rwbase_rt.h | 13 struct rt_mutex_base rtmutex; member 19 .rtmutex = __RT_MUTEX_BASE_INITIALIZER(name.rtmutex), \ 24 rt_mutex_base_init(&(rwbase)->rtmutex); \
|
H A D | mutex.h | 139 struct rt_mutex_base rtmutex; member 147 .rtmutex = __RT_MUTEX_BASE_INITIALIZER(mutexname.rtmutex) \ 160 #define mutex_is_locked(l) rt_mutex_base_is_locked(&(l)->rtmutex) 164 rt_mutex_base_init(&(mutex)->rtmutex); \
|
H A D | rtmutex.h | 58 struct rt_mutex_base rtmutex; member 91 .rtmutex = __RT_MUTEX_BASE_INITIALIZER(mutexname.rtmutex), \
|
H A D | ww_mutex.h | 35 #define ww_mutex_base_is_locked(b) rt_mutex_base_is_locked(&(b)->rtmutex)
|
/openbmc/linux/lib/ |
H A D | test_lockup.c | 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()
|
/openbmc/linux/Documentation/locking/ |
H A D | rt-mutex.rst | 32 The enqueueing of the waiters into the rtmutex waiter tree is done in 34 rtmutex, only the top priority waiter is enqueued into the owner's
|
H A D | rt-mutex-design.rst | 10 This document tries to describe the design of the rtmutex.c implementation. 11 It doesn't describe the reasons why rtmutex.c exists. For that please see 307 not true, the rtmutex.c code will be broken!), this allows for the least 349 The implementation of the PI code in rtmutex.c has several places that a 414 rtmutex.c. See the 'Chain walk basics and protection scope' comment for further
|
H A D | locktypes.rst | 98 rtmutex chapter
|
/openbmc/linux/kernel/rcu/ |
H A D | tree_plugin.h | 537 drop_boost_mutex = rt_mutex_owner(&rnp->boost_mtx.rtmutex) == t; in rcu_preempt_deferred_qs_irqrestore() 571 rt_mutex_futex_unlock(&rnp->boost_mtx.rtmutex); in rcu_preempt_deferred_qs_irqrestore() 1096 rt_mutex_init_proxy_locked(&rnp->boost_mtx.rtmutex, t); in rcu_boost()
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-lock.txt | 190 rtmutex, rwlock-rt, rwlock-rt:R, rwlock-rt:W, pcpu-sem, pcpu-sem:R, pcpu-sem:W,
|
/openbmc/ |
H A D | opengrok2.0.log | 19116 …lelessChildren: not file-less due to: /opengrok/data/xref/openbmc/linux/kernel/locking/rtmutex.c.gz
|
H A D | opengrok1.0.log | 19634 …lelessChildren: not file-less due to: /opengrok/data/xref/openbmc/linux/kernel/locking/rtmutex.c.gz
|