Lines Matching refs:rb_node
63 struct rb_node rb_node; member
67 static inline struct rb_node *rb_simple_search(struct rb_root *root, u64 bytenr) in rb_simple_search()
69 struct rb_node *node = root->rb_node; in rb_simple_search()
73 entry = rb_entry(node, struct rb_simple_node, rb_node); in rb_simple_search()
94 static inline struct rb_node *rb_simple_search_first(struct rb_root *root, in rb_simple_search_first()
97 struct rb_node *node = root->rb_node, *ret = NULL; in rb_simple_search_first()
101 entry = rb_entry(node, struct rb_simple_node, rb_node); in rb_simple_search_first()
120 static inline struct rb_node *rb_simple_insert(struct rb_root *root, u64 bytenr, in rb_simple_insert()
121 struct rb_node *node) in rb_simple_insert()
123 struct rb_node **p = &root->rb_node; in rb_simple_insert()
124 struct rb_node *parent = NULL; in rb_simple_insert()
129 entry = rb_entry(parent, struct rb_simple_node, rb_node); in rb_simple_insert()