Lines Matching refs:waiter
85 struct rt_mutex_waiter *waiter,
88 struct rt_mutex_waiter *waiter,
92 struct rt_mutex_waiter *waiter);
94 struct rt_mutex_waiter *waiter);
121 struct rt_mutex_waiter *waiter) in rt_mutex_waiter_is_top_waiter() argument
125 return rb_entry(leftmost, struct rt_mutex_waiter, tree.entry) == waiter; in rt_mutex_waiter_is_top_waiter()
199 static inline void debug_rt_mutex_init_waiter(struct rt_mutex_waiter *waiter) in debug_rt_mutex_init_waiter() argument
202 memset(waiter, 0x11, sizeof(*waiter)); in debug_rt_mutex_init_waiter()
205 static inline void debug_rt_mutex_free_waiter(struct rt_mutex_waiter *waiter) in debug_rt_mutex_free_waiter() argument
208 memset(waiter, 0x22, sizeof(*waiter)); in debug_rt_mutex_free_waiter()
211 static inline void rt_mutex_init_waiter(struct rt_mutex_waiter *waiter) in rt_mutex_init_waiter() argument
213 debug_rt_mutex_init_waiter(waiter); in rt_mutex_init_waiter()
214 RB_CLEAR_NODE(&waiter->pi_tree.entry); in rt_mutex_init_waiter()
215 RB_CLEAR_NODE(&waiter->tree.entry); in rt_mutex_init_waiter()
216 waiter->wake_state = TASK_NORMAL; in rt_mutex_init_waiter()
217 waiter->task = NULL; in rt_mutex_init_waiter()
220 static inline void rt_mutex_init_rtlock_waiter(struct rt_mutex_waiter *waiter) in rt_mutex_init_rtlock_waiter() argument
222 rt_mutex_init_waiter(waiter); in rt_mutex_init_rtlock_waiter()
223 waiter->wake_state = TASK_RTLOCK_WAIT; in rt_mutex_init_rtlock_waiter()