Home
last modified time | relevance | path

Searched refs:tree_entry (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/kernel/locking/
Drtmutex_common.h34 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()
Dww_mutex.h99 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()
Drtmutex.c367 rb_entry((node), struct rt_mutex_waiter, tree_entry)
398 rb_add_cached(&waiter->tree_entry, &lock->waiters, __waiter_less); in rt_mutex_enqueue()
404 if (RB_EMPTY_NODE(&waiter->tree_entry)) in rt_mutex_dequeue()
407 rb_erase_cached(&waiter->tree_entry, &lock->waiters); in rt_mutex_dequeue()
408 RB_CLEAR_NODE(&waiter->tree_entry); in rt_mutex_dequeue()
/Linux-v5.15/fs/btrfs/
Dextent_io.c133 struct tree_entry { struct
374 struct tree_entry *entry; in tree_insert()
385 entry = rb_entry(parent, struct tree_entry, rb_node); in tree_insert()
429 struct tree_entry *entry; in __etree_search()
430 struct tree_entry *prev_entry = NULL; in __etree_search()
434 entry = rb_entry(prev, struct tree_entry, rb_node); in __etree_search()
454 prev_entry = rb_entry(prev, struct tree_entry, rb_node); in __etree_search()
461 prev_entry = rb_entry(prev, struct tree_entry, rb_node); in __etree_search()
464 prev_entry = rb_entry(prev, struct tree_entry, rb_node); in __etree_search()