Lines Matching defs:node
18 struct int_node *node = malloc(sizeof(*node));
20 if (node != NULL) {
21 node->i = i;
22 node->priv = NULL;
23 rc = &node->rb_node;
37 struct int_node *node = container_of(rb_node, struct int_node, rb_node);
39 int_node__delete(node);
45 struct int_node *node = container_of(rb_node, struct int_node, rb_node);
47 if (node->i > i)
49 else if (node->i < i)
60 void intlist__remove(struct intlist *ilist, struct int_node *node)
62 rblist__remove_node(&ilist->rblist, &node->rb_node);
68 struct int_node *node = NULL;
80 node = container_of(rb_node, struct int_node, rb_node);
82 return node;
142 struct int_node *node = NULL;
147 node = container_of(rb_node, struct int_node, rb_node);
149 return node;