Lines Matching refs:node
250 static void flatten_tree(struct node *tree, struct emitter *emit, in flatten_tree()
255 struct node *child; in flatten_tree()
743 static struct node *unflatten_tree(struct inbuf *dtbuf, in unflatten_tree()
747 struct node *node; in unflatten_tree() local
751 node = build_node(NULL, NULL); in unflatten_tree()
756 node->name = nodename_from_path(parent_flatname, flatname); in unflatten_tree()
758 node->name = flatname; in unflatten_tree()
762 struct node *child; in unflatten_tree()
767 if (node->children) in unflatten_tree()
771 add_property(node, prop); in unflatten_tree()
776 add_child(node, child); in unflatten_tree()
800 if (node->name != flatname) { in unflatten_tree()
804 return node; in unflatten_tree()
821 struct node *tree; in dt_from_blob()