Lines Matching refs:child
103 struct node *child;
110 for_each_child(new, child) {
111 child->parent = new;
197 /* Move the override child nodes into the primary node. If
200 /* Pop the child node off the list */
221 /* if no collision occurred, add child to the old node. */
302 void add_child(struct node *parent, struct node *child)
306 child->next_sibling = NULL;
307 child->parent = parent;
313 *p = child;
332 struct node *child;
335 for_each_child(node, child)
336 delete_node(child);
504 struct node *child;
506 for_each_child(node, child)
507 if (streq(child->name, nodename))
508 return child;
516 struct node *child;
529 for_each_child(tree, child) {
530 if (p && (strlen(child->name) == p-path) &&
531 strprefixeq(path, p - path, child->name))
532 return get_node_by_path(child, p+1);
533 else if (!p && streq(path, child->name))
534 return child;
542 struct node *child, *node;
551 for_each_child(tree, child) {
552 node = get_node_by_label(child, label);
562 struct node *child, *node;
575 for_each_child(tree, child) {
576 node = get_node_by_phandle(child, phandle);