Lines Matching refs:node
236 static void flatten_tree(struct node *tree, struct emitter *emit,
241 struct node *child;
724 /* root node is a special case */
731 static struct node *unflatten_tree(struct inbuf *dtbuf,
735 struct node *node;
739 node = build_node(NULL, NULL, NULL);
744 node->name = nodename_from_path(parent_flatname, flatname);
746 node->name = flatname;
750 struct node *child;
755 if (node->children)
759 add_property(node, prop);
764 add_child(node, child);
788 if (node->name != flatname) {
792 return node;
810 struct node *tree;