Lines Matching full:node
250 static void flatten_tree(struct node *tree, struct emitter *emit, in flatten_tree()
255 struct node *child; in flatten_tree()
738 /* root node is a special case */ in nodename_from_path()
745 static struct node *unflatten_tree(struct inbuf *dtbuf, in unflatten_tree()
749 struct node *node; in unflatten_tree() local
753 node = build_node(NULL, NULL); in unflatten_tree()
758 node->name = nodename_from_path(parent_flatname, flatname); in unflatten_tree()
760 node->name = flatname; in unflatten_tree()
764 struct node *child; in unflatten_tree()
769 if (node->children) in unflatten_tree()
773 add_property(node, prop); in unflatten_tree()
778 add_child(node, child); in unflatten_tree()
802 if (node->name != flatname) { in unflatten_tree()
806 return node; in unflatten_tree()
824 struct node *tree; in dt_from_blob()