Home
last modified time | relevance | path

Searched refs:rt_mutex_waiter (Results 1 – 7 of 7) sorted by relevance

/kernel/locking/
Drtmutex_common.h33 struct rt_mutex_waiter { struct
68 struct rt_mutex_waiter *waiter,
71 struct rt_mutex_waiter *waiter,
75 struct rt_mutex_waiter *waiter);
77 struct rt_mutex_waiter *waiter);
104 struct rt_mutex_waiter *waiter) in rt_mutex_waiter_is_top_waiter()
108 return rb_entry(leftmost, struct rt_mutex_waiter, tree_entry) == waiter; in rt_mutex_waiter_is_top_waiter()
111 static inline struct rt_mutex_waiter *rt_mutex_top_waiter(struct rt_mutex_base *lock) in rt_mutex_top_waiter()
114 struct rt_mutex_waiter *w = NULL; in rt_mutex_top_waiter()
117 w = rb_entry(leftmost, struct rt_mutex_waiter, tree_entry); in rt_mutex_top_waiter()
[all …]
Drtmutex.c36 static inline int __ww_mutex_add_waiter(struct rt_mutex_waiter *waiter, in __ww_mutex_add_waiter()
54 struct rt_mutex_waiter *waiter, in __ww_mutex_check_kill()
343 waiter_update_prio(struct rt_mutex_waiter *waiter, struct task_struct *task) in waiter_update_prio()
353 &(struct rt_mutex_waiter){ .prio = __waiter_prio(p), .deadline = (p)->dl.deadline }
355 static __always_inline int rt_mutex_waiter_less(struct rt_mutex_waiter *left, in rt_mutex_waiter_less()
356 struct rt_mutex_waiter *right) in rt_mutex_waiter_less()
373 static __always_inline int rt_mutex_waiter_equal(struct rt_mutex_waiter *left, in rt_mutex_waiter_equal()
374 struct rt_mutex_waiter *right) in rt_mutex_waiter_equal()
391 static inline bool rt_mutex_steal(struct rt_mutex_waiter *waiter, in rt_mutex_steal()
392 struct rt_mutex_waiter *top_waiter) in rt_mutex_steal()
[all …]
Dww_mutex.h91 #define MUTEX_WAITER rt_mutex_waiter
93 static inline struct rt_mutex_waiter *
99 return rb_entry(n, struct rt_mutex_waiter, tree_entry); in __ww_waiter_first()
102 static inline struct rt_mutex_waiter *
103 __ww_waiter_next(struct rt_mutex *lock, struct rt_mutex_waiter *w) in __ww_waiter_next()
108 return rb_entry(n, struct rt_mutex_waiter, tree_entry); in __ww_waiter_next()
111 static inline struct rt_mutex_waiter *
112 __ww_waiter_prev(struct rt_mutex *lock, struct rt_mutex_waiter *w) in __ww_waiter_prev()
117 return rb_entry(n, struct rt_mutex_waiter, tree_entry); in __ww_waiter_prev()
120 static inline struct rt_mutex_waiter *
[all …]
Drtmutex_api.c298 struct rt_mutex_waiter *waiter, in __rt_mutex_start_proxy_lock()
345 struct rt_mutex_waiter *waiter, in rt_mutex_start_proxy_lock()
378 struct rt_mutex_waiter *waiter) in rt_mutex_wait_proxy_lock()
417 struct rt_mutex_waiter *waiter) in rt_mutex_cleanup_proxy_lock()
460 struct rt_mutex_waiter *waiter; in rt_mutex_adjust_pi()
/kernel/futex/
Dpi.c615 struct rt_mutex_waiter *top_waiter; in wake_futex_pi()
934 struct rt_mutex_waiter rt_waiter; in futex_lock_pi()
Dfutex.h103 struct rt_mutex_waiter *rt_waiter;
Drequeue.c767 struct rt_mutex_waiter rt_waiter; in futex_wait_requeue_pi()