Home
last modified time | relevance | path

Searched refs:rb_leftmost (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/tools/include/linux/
H A Drbtree.h121 struct rb_node *rb_leftmost; member
127 #define rb_first_cached(root) (root)->rb_leftmost
134 root->rb_leftmost = node; in rb_insert_color_cached()
141 if (root->rb_leftmost == node) in rb_erase_cached()
142 root->rb_leftmost = rb_next(node); in rb_erase_cached()
150 if (root->rb_leftmost == victim) in rb_replace_node_cached()
151 root->rb_leftmost = new; in rb_replace_node_cached()
H A Drbtree_augmented.h61 root->rb_leftmost = node; in rb_insert_augmented_cached()
303 if (root->rb_leftmost == node) in rb_erase_augmented_cached()
304 root->rb_leftmost = rb_next(node); in rb_erase_augmented_cached()
H A Dinterval_tree_generic.h144 leftmost = rb_entry(root->rb_leftmost, ITSTRUCT, ITRB); \
/openbmc/linux/include/linux/
H A Drbtree.h106 #define rb_first_cached(root) (root)->rb_leftmost
113 root->rb_leftmost = node; in rb_insert_color_cached()
123 if (root->rb_leftmost == node) in rb_erase_cached()
124 leftmost = root->rb_leftmost = rb_next(node); in rb_erase_cached()
135 if (root->rb_leftmost == victim) in rb_replace_node_cached()
136 root->rb_leftmost = new; in rb_replace_node_cached()
H A Drbtree_augmented.h59 root->rb_leftmost = node; in rb_insert_augmented_cached()
338 if (root->rb_leftmost == node) in rb_erase_augmented_cached()
339 root->rb_leftmost = rb_next(node); in rb_erase_augmented_cached()
H A Drbtree_types.h28 struct rb_node *rb_leftmost; member
H A Dinterval_tree_generic.h144 leftmost = rb_entry(root->rb_leftmost, ITSTRUCT, ITRB); \
/openbmc/qemu/include/qemu/
H A Dinterval-tree.h31 RBNode *rb_leftmost; member
/openbmc/qemu/tests/unit/
H A Dtest-interval-tree.c34 g_assert(root.rb_leftmost == NULL); in test_empty()
57 g_assert(root.rb_leftmost == NULL); in test_find_one_point()
/openbmc/qemu/util/
H A Dinterval-tree.c343 root->rb_leftmost = node; in rb_insert_augmented_cached()
636 if (root->rb_leftmost == node) { in rb_erase_augmented_cached()
637 root->rb_leftmost = rb_next(node); in rb_erase_augmented_cached()
822 leftmost = rb_to_itree(root->rb_leftmost); in interval_tree_iter_first()
/openbmc/linux/kernel/locking/
H A Drtmutex_common.h151 return rb_entry(p->pi_waiters.rb_leftmost, struct rt_mutex_waiter, in task_top_pi_waiter()