Home
last modified time | relevance | path

Searched refs:rtmutex (Results 1 – 25 of 2761) sorted by relevance

12345678910>>...111

/linux/kernel/locking/
A Drwbase_rt.c71 struct rt_mutex_base *rtm = &rwb->rtmutex; in __rwbase_read_lock()
148 struct rt_mutex_base *rtm = &rwb->rtmutex; in __rwbase_read_unlock()
185 struct rt_mutex_base *rtm = &rwb->rtmutex; in __rwbase_write_unlock()
198 struct rt_mutex_base *rtm = &rwb->rtmutex; in rwbase_write_unlock()
207 struct rt_mutex_base *rtm = &rwb->rtmutex; in rwbase_write_downgrade()
218 lockdep_assert_held(&rwb->rtmutex.wait_lock); in __rwbase_write_trylock()
235 struct rt_mutex_base *rtm = &rwb->rtmutex; in rwbase_write_lock()
276 struct rt_mutex_base *rtm = &rwb->rtmutex; in rwbase_write_trylock()
A Dww_rt_mutex.c27 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()
A Dww_mutex.h96 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()
A Drtmutex_api.c30 ret = __rt_mutex_lock(&lock->rtmutex, state); in __rt_mutex_lock_common()
103 ret = __rt_mutex_trylock(&lock->rtmutex); in rt_mutex_trylock()
119 __rt_mutex_unlock(&lock->rtmutex); in rt_mutex_unlock()
195 __rt_mutex_base_init(&lock->rtmutex); in __rt_mutex_init()
490 ret = __rt_mutex_lock(&lock->rtmutex, state); in __mutex_lock_common()
575 ret = __rt_mutex_trylock(&lock->rtmutex); in mutex_trylock()
586 __rt_mutex_unlock(&lock->rtmutex); in mutex_unlock()
A Drtmutex.c1128 rtm = container_of(lock, struct rt_mutex, rtmutex); in task_blocks_on_rt_mutex()
1485 struct rt_mutex *rtm = container_of(lock, struct rt_mutex, rtmutex); in rt_mutex_slowlock_block()
1563 struct rt_mutex *rtm = container_of(lock, struct rt_mutex, rtmutex); in __rt_mutex_slowlock()
A D.rtmutex_api.o.cmd420 kernel/locking/rtmutex.c \
575 include/linux/rtmutex.h \
/linux/include/linux/
A Drwbase_rt.h13 struct rt_mutex_base rtmutex; member
19 .rtmutex = __RT_MUTEX_BASE_INITIALIZER(name.rtmutex), \
24 rt_mutex_base_init(&(rwbase)->rtmutex); \
A Dmutex.h136 struct rt_mutex_base rtmutex; member
144 .rtmutex = __RT_MUTEX_BASE_INITIALIZER(mutexname.rtmutex) \
157 #define mutex_is_locked(l) rt_mutex_base_is_locked(&(l)->rtmutex)
161 rt_mutex_base_init(&(mutex)->rtmutex); \
A Drtmutex.h58 struct rt_mutex_base rtmutex; member
91 .rtmutex = __RT_MUTEX_BASE_INITIALIZER(mutexname.rtmutex), \
A Dww_mutex.h35 #define ww_mutex_base_is_locked(b) rt_mutex_base_is_locked(&(b)->rtmutex)
/linux/lib/
A Dtest_lockup.c488 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()
A D.argv_split.o.cmd469 include/linux/rtmutex.h \
A D.assoc_array.o.cmd484 include/linux/rtmutex.h \
A D.idr.o.cmd459 include/linux/rtmutex.h \
A D.memcat_p.o.cmd468 include/linux/rtmutex.h \
/linux/Documentation/locking/
A Drt-mutex.rst32 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
A Drt-mutex-design.rst10 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
A Dlocktypes.rst98 rtmutex chapter
/linux/kernel/rcu/
A Dtree_plugin.h532 drop_boost_mutex = rt_mutex_owner(&rnp->boost_mtx.rtmutex) == t; in rcu_preempt_deferred_qs_irqrestore()
559 rt_mutex_futex_unlock(&rnp->boost_mtx.rtmutex); in rcu_preempt_deferred_qs_irqrestore()
1055 rt_mutex_init_proxy_locked(&rnp->boost_mtx.rtmutex, t); in rcu_boost()
/linux/kernel/power/
A D.poweroff.o.cmd494 include/linux/rtmutex.h \
/linux/drivers/video/
A D.display_timing.o.cmd468 include/linux/rtmutex.h \
/linux/crypto/
A D.memneq.o.cmd473 include/linux/rtmutex.h \
/linux/crypto/asymmetric_keys/
A D.pkcs7_trust.o.cmd468 include/linux/rtmutex.h \
A D.x509_cert_parser.o.cmd468 include/linux/rtmutex.h \
/linux/drivers/base/firmware_loader/builtin/
A D.main.o.cmd459 include/linux/rtmutex.h \

Completed in 30 milliseconds

12345678910>>...111