Lines Matching refs:rb_node
275 * @rb_node: element for proc->nodes tree
333 struct rb_node rb_node;
418 struct rb_node rb_node_desc;
419 struct rb_node rb_node_node;
531 * @rb_node: element for proc->threads rbtree
565 struct rb_node rb_node;
990 struct rb_node *n;
994 thread = rb_entry(n, struct binder_thread, rb_node);
1107 struct rb_node *n = proc->nodes.rb_node;
1113 node = rb_entry(n, struct binder_node, rb_node);
1148 struct rb_node **p = &proc->nodes.rb_node;
1149 struct rb_node *parent = NULL;
1160 node = rb_entry(parent, struct binder_node, rb_node);
1179 rb_link_node(&node->rb_node, parent, p);
1180 rb_insert_color(&node->rb_node, &proc->nodes);
1320 rb_erase(&node->rb_node, &proc->nodes);
1437 struct rb_node *n = proc->refs_by_desc.rb_node;
1481 struct rb_node **p = &proc->refs_by_node.rb_node;
1482 struct rb_node *parent = NULL;
1484 struct rb_node *n;
1515 p = &proc->refs_by_desc.rb_node;
4775 rb_erase(&node->rb_node, &proc->nodes);
5099 struct rb_node *parent = NULL;
5100 struct rb_node **p = &proc->threads.rb_node;
5104 thread = rb_entry(parent, struct binder_thread, rb_node);
5122 rb_link_node(&thread->rb_node, parent, p);
5123 rb_insert_color(&thread->rb_node, &proc->threads);
5201 rb_erase(&thread->rb_node, &proc->threads);
5451 struct rb_node *n;
5459 rb_node);
5842 struct rb_node *n;
5847 struct binder_thread *thread = rb_entry(n, struct binder_thread, rb_node);
5946 struct rb_node *n;
5975 thread = rb_entry(n, struct binder_thread, rb_node);
5987 node = rb_entry(n, struct binder_node, rb_node);
5995 rb_erase(&node->rb_node, &proc->nodes);
6238 struct rb_node *n;
6250 rb_node), print_all);
6254 rb_node);
6402 struct rb_node *n;
6659 struct rb_node *n = NULL;
6667 struct binder_thread *thread = rb_entry(n, struct binder_thread, rb_node);
6683 struct binder_node *node = rb_entry(n, struct binder_node, rb_node);