Lines Matching refs:node
235 static void flatten_tree(struct node *tree, struct emitter *emit,
240 struct node *child;
723 /* root node is a special case */
730 static struct node *unflatten_tree(struct inbuf *dtbuf,
734 struct node *node;
738 node = build_node(NULL, NULL, NULL);
743 node->name = nodename_from_path(parent_flatname, flatname);
745 node->name = flatname;
749 struct node *child;
754 if (node->children)
758 add_property(node, prop);
763 add_child(node, child);
787 if (node->name != flatname) {
791 return node;
809 struct node *tree;