Lines Matching refs:node
258 static void flatten_tree(struct node *tree, struct emitter *emit, in flatten_tree()
263 struct node *child; in flatten_tree()
742 static struct node *unflatten_tree(struct inbuf *dtbuf, in unflatten_tree()
746 struct node *node; in unflatten_tree() local
750 node = build_node(NULL, NULL); in unflatten_tree()
755 node->name = nodename_from_path(parent_flatname, flatname); in unflatten_tree()
757 node->name = flatname; in unflatten_tree()
761 struct node *child; in unflatten_tree()
766 if (node->children) in unflatten_tree()
770 add_property(node, prop); in unflatten_tree()
775 add_child(node, child); in unflatten_tree()
799 return node; in unflatten_tree()
816 struct node *tree; in dt_from_blob()