Home
last modified time | relevance | path

Searched refs:rt_mutex_base (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/kernel/locking/
Drtmutex_common.h56 struct rt_mutex_base *lock;
81 extern void rt_mutex_init_proxy_locked(struct rt_mutex_base *lock,
83 extern void rt_mutex_proxy_unlock(struct rt_mutex_base *lock);
84 extern int __rt_mutex_start_proxy_lock(struct rt_mutex_base *lock,
87 extern int rt_mutex_start_proxy_lock(struct rt_mutex_base *lock,
90 extern int rt_mutex_wait_proxy_lock(struct rt_mutex_base *lock,
93 extern bool rt_mutex_cleanup_proxy_lock(struct rt_mutex_base *lock,
96 extern int rt_mutex_futex_trylock(struct rt_mutex_base *l);
97 extern int __rt_mutex_futex_trylock(struct rt_mutex_base *l);
99 extern void rt_mutex_futex_unlock(struct rt_mutex_base *lock);
[all …]
Drtmutex.c93 rt_mutex_owner_encode(struct rt_mutex_base *lock, struct task_struct *owner) in rt_mutex_owner_encode()
104 rt_mutex_set_owner(struct rt_mutex_base *lock, struct task_struct *owner) in rt_mutex_set_owner()
113 static __always_inline void rt_mutex_clear_owner(struct rt_mutex_base *lock) in rt_mutex_clear_owner()
119 static __always_inline void clear_rt_mutex_waiters(struct rt_mutex_base *lock) in clear_rt_mutex_waiters()
126 fixup_rt_mutex_waiters(struct rt_mutex_base *lock, bool acquire_lock) in fixup_rt_mutex_waiters()
214 static __always_inline bool rt_mutex_cmpxchg_acquire(struct rt_mutex_base *lock, in rt_mutex_cmpxchg_acquire()
221 static __always_inline bool rt_mutex_cmpxchg_release(struct rt_mutex_base *lock, in rt_mutex_cmpxchg_release()
233 static __always_inline void mark_rt_mutex_waiters(struct rt_mutex_base *lock) in mark_rt_mutex_waiters()
256 static __always_inline bool unlock_rt_mutex_safe(struct rt_mutex_base *lock, in unlock_rt_mutex_safe()
292 static __always_inline bool rt_mutex_cmpxchg_acquire(struct rt_mutex_base *lock, in rt_mutex_cmpxchg_acquire()
[all …]
Drtmutex_api.c37 void rt_mutex_base_init(struct rt_mutex_base *rtb) in rt_mutex_base_init()
148 int __sched rt_mutex_futex_trylock(struct rt_mutex_base *lock) in rt_mutex_futex_trylock()
153 int __sched __rt_mutex_futex_trylock(struct rt_mutex_base *lock) in __rt_mutex_futex_trylock()
165 bool __sched __rt_mutex_futex_unlock(struct rt_mutex_base *lock, in __rt_mutex_futex_unlock()
188 void __sched rt_mutex_futex_unlock(struct rt_mutex_base *lock) in rt_mutex_futex_unlock()
236 void __sched rt_mutex_init_proxy_locked(struct rt_mutex_base *lock, in rt_mutex_init_proxy_locked()
267 void __sched rt_mutex_proxy_unlock(struct rt_mutex_base *lock) in rt_mutex_proxy_unlock()
292 int __sched __rt_mutex_start_proxy_lock(struct rt_mutex_base *lock, in __rt_mutex_start_proxy_lock()
339 int __sched rt_mutex_start_proxy_lock(struct rt_mutex_base *lock, in rt_mutex_start_proxy_lock()
371 int __sched rt_mutex_wait_proxy_lock(struct rt_mutex_base *lock, in rt_mutex_wait_proxy_lock()
[all …]
Drwbase_rt.c71 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()
230 struct rt_mutex_base *rtm = &rwb->rtmutex; in rwbase_write_lock()
274 struct rt_mutex_base *rtm = &rwb->rtmutex; in rwbase_write_trylock()
Dspinlock_rt.c38 static __always_inline void rtlock_lock(struct rt_mutex_base *rtm) in rtlock_lock()
155 rwbase_rtmutex_lock_state(struct rt_mutex_base *rtm, unsigned int state) in rwbase_rtmutex_lock_state()
163 rwbase_rtmutex_slowlock_locked(struct rt_mutex_base *rtm, unsigned int state) in rwbase_rtmutex_slowlock_locked()
169 static __always_inline void rwbase_rtmutex_unlock(struct rt_mutex_base *rtm) in rwbase_rtmutex_unlock()
177 static __always_inline int rwbase_rtmutex_trylock(struct rt_mutex_base *rtm) in rwbase_rtmutex_trylock()
/linux-6.6.21/include/linux/
Drtmutex.h23 struct rt_mutex_base { struct
42 static inline bool rt_mutex_base_is_locked(struct rt_mutex_base *lock) in rt_mutex_base_is_locked() argument
47 extern void rt_mutex_base_init(struct rt_mutex_base *rtb);
58 struct rt_mutex_base rtmutex;
Drwbase_rt.h13 struct rt_mutex_base rtmutex;
Dspinlock_types.h51 struct rt_mutex_base lock;
Dmutex.h137 struct rt_mutex_base rtmutex;
/linux-6.6.21/kernel/futex/
Dfutex.h64 struct rt_mutex_base pi_mutex;
Drequeue.c771 struct rt_mutex_base *pi_mutex; in futex_wait_requeue_pi()