Lines Matching defs:child
92 struct node *child;
100 for_each_child(new, child) {
101 child->parent = new;
190 /* Move the override child nodes into the primary node. If
193 /* Pop the child node off the list */
214 /* if no collision occurred, add child to the old node. */
298 void add_child(struct node *parent, struct node *child)
302 child->next_sibling = NULL;
303 child->parent = parent;
309 *p = child;
328 struct node *child;
331 for_each_child(node, child)
332 delete_node(child);
503 struct node *child;
505 for_each_child(node, child)
506 if (streq(child->name, nodename))
507 return child;
515 struct node *child;
528 for_each_child(tree, child) {
529 if (p && strprefixeq(path, (size_t)(p - path), child->name))
530 return get_node_by_path(child, p+1);
531 else if (!p && streq(path, child->name))
532 return child;
540 struct node *child, *node;
549 for_each_child(tree, child) {
550 node = get_node_by_label(child, label);
560 struct node *child, *node;
573 for_each_child(tree, child) {
574 node = get_node_by_phandle(child, phandle);