Lines Matching refs:node
19 struct int_node *node = malloc(sizeof(*node)); in intlist__node_new() local
21 if (node != NULL) { in intlist__node_new()
22 node->i = i; in intlist__node_new()
23 node->priv = NULL; in intlist__node_new()
24 rc = &node->rb_node; in intlist__node_new()
38 struct int_node *node = container_of(rb_node, struct int_node, rb_node); in intlist__node_delete() local
40 int_node__delete(node); in intlist__node_delete()
46 struct int_node *node = container_of(rb_node, struct int_node, rb_node); in intlist__node_cmp() local
48 return node->i - i; in intlist__node_cmp()
56 void intlist__remove(struct intlist *ilist, struct int_node *node) in intlist__remove() argument
58 rblist__remove_node(&ilist->rblist, &node->rb_node); in intlist__remove()
64 struct int_node *node = NULL; in __intlist__findnew() local
76 node = container_of(rb_node, struct int_node, rb_node); in __intlist__findnew()
78 return node; in __intlist__findnew()
138 struct int_node *node = NULL; in intlist__entry() local
143 node = container_of(rb_node, struct int_node, rb_node); in intlist__entry()
145 return node; in intlist__entry()