Lines Matching refs:lock
25 extern void schedule_rt_mutex_test(struct rt_mutex *lock);
51 struct rt_mutex *lock; member
63 static inline int rt_mutex_has_waiters(struct rt_mutex *lock) in rt_mutex_has_waiters() argument
65 return !RB_EMPTY_ROOT(&lock->waiters); in rt_mutex_has_waiters()
69 rt_mutex_top_waiter(struct rt_mutex *lock) in rt_mutex_top_waiter() argument
73 w = rb_entry(lock->waiters_leftmost, struct rt_mutex_waiter, in rt_mutex_top_waiter()
75 BUG_ON(w->lock != lock); in rt_mutex_top_waiter()
98 static inline struct task_struct *rt_mutex_owner(struct rt_mutex *lock) in rt_mutex_owner() argument
101 ((unsigned long)lock->owner & ~RT_MUTEX_OWNER_MASKALL); in rt_mutex_owner()
122 extern struct task_struct *rt_mutex_next_owner(struct rt_mutex *lock);
123 extern void rt_mutex_init_proxy_locked(struct rt_mutex *lock,
125 extern void rt_mutex_proxy_unlock(struct rt_mutex *lock,
127 extern int rt_mutex_start_proxy_lock(struct rt_mutex *lock,
130 extern int rt_mutex_finish_proxy_lock(struct rt_mutex *lock,