Lines Matching refs:rb_node
144 struct rb_node rb_node; member
383 struct rb_node *rb = object_tree_root.rb_node; in lookup_object()
390 object = rb_entry(rb, struct kmemleak_object, rb_node); in lookup_object()
394 rb = object->rb_node.rb_left; in lookup_object()
396 rb = object->rb_node.rb_right; in lookup_object()
542 rb_erase(&object->rb_node, &object_tree_root); in __remove_object()
582 struct rb_node **link, *rb_parent; in create_object()
633 link = &object_tree_root.rb_node; in create_object()
637 parent = rb_entry(rb_parent, struct kmemleak_object, rb_node); in create_object()
640 link = &parent->rb_node.rb_left; in create_object()
642 link = &parent->rb_node.rb_right; in create_object()
656 rb_link_node(&object->rb_node, rb_parent, link); in create_object()
657 rb_insert_color(&object->rb_node, &object_tree_root); in create_object()