Searched refs:tree_entry (Results 1 – 3 of 3) sorted by relevance
/kernel/locking/ |
D | rtmutex_common.h | 34 struct rb_node tree_entry; member 108 return rb_entry(leftmost, struct rt_mutex_waiter, tree_entry) == waiter; in rt_mutex_waiter_is_top_waiter() 117 w = rb_entry(leftmost, struct rt_mutex_waiter, tree_entry); in rt_mutex_top_waiter() 194 RB_CLEAR_NODE(&waiter->tree_entry); in rt_mutex_init_waiter()
|
D | ww_mutex.h | 99 return rb_entry(n, struct rt_mutex_waiter, tree_entry); in __ww_waiter_first() 105 struct rb_node *n = rb_next(&w->tree_entry); in __ww_waiter_next() 108 return rb_entry(n, struct rt_mutex_waiter, tree_entry); in __ww_waiter_next() 114 struct rb_node *n = rb_prev(&w->tree_entry); in __ww_waiter_prev() 117 return rb_entry(n, struct rt_mutex_waiter, tree_entry); in __ww_waiter_prev() 126 return rb_entry(n, struct rt_mutex_waiter, tree_entry); in __ww_waiter_last()
|
D | rtmutex.c | 418 rb_entry((node), struct rt_mutex_waiter, tree_entry) 449 rb_add_cached(&waiter->tree_entry, &lock->waiters, __waiter_less); in rt_mutex_enqueue() 455 if (RB_EMPTY_NODE(&waiter->tree_entry)) in rt_mutex_dequeue() 458 rb_erase_cached(&waiter->tree_entry, &lock->waiters); in rt_mutex_dequeue() 459 RB_CLEAR_NODE(&waiter->tree_entry); in rt_mutex_dequeue()
|