Lines Matching refs:child
103 struct node *child;
110 for_each_child(new, child) {
111 child->parent = new;
183 /* Move the override child nodes into the primary node. If
186 /* Pop the child node off the list */
207 /* if no collision occurred, add child to the old node. */
281 void add_child(struct node *parent, struct node *child)
285 child->next_sibling = NULL;
286 child->parent = parent;
292 *p = child;
311 struct node *child;
314 for_each_child(node, child)
315 delete_node(child);
477 struct node *child;
479 for_each_child(node, child)
480 if (streq(child->name, nodename))
481 return child;
489 struct node *child;
502 for_each_child(tree, child) {
503 if (p && (strlen(child->name) == p-path) &&
504 strneq(path, child->name, p-path))
505 return get_node_by_path(child, p+1);
506 else if (!p && streq(path, child->name))
507 return child;
515 struct node *child, *node;
524 for_each_child(tree, child) {
525 node = get_node_by_label(child, label);
535 struct node *child, *node;
545 for_each_child(tree, child) {
546 node = get_node_by_phandle(child, phandle);