Lines Matching defs:child

84 	{	"child",		fco_child},
101 fc_ops_alloc_handle(dev_info_t *ap, dev_info_t *child,
110 rp->child = child;
338 * Find the child and if there is one, return it ...
370 * Find the child and if there is one, return it ...
497 * The first child must be a child of the attachment point.
500 return (fc_priv_error(cp, "first child must be a "
501 "child of the attachment point"));
504 * If this bus has a config child, the first child must
505 * be the configuration child. Otherwise, the child must
509 if (rp->child != NULL) {
510 if (cdev != rp->child)
512 "child must be the "
513 "configuration child"));
515 return (fc_priv_error(cp, "known child -- "
516 "unknown child expected"));
523 * If we've already created the first child, this
524 * child must be unknown and the parent must be a known
525 * child of the attachment point.
528 return (fc_priv_error(cp, "known child -- "
529 "unknown child expected"));
532 "child of the attachment point"));
559 * If cdev is NULL, we have to create the child, otherwise, the
560 * child already exists and we're just merging properties into
668 if ((ddi_get_parent(cdev) == ap) && (cdev == rp->child)) {
761 * XXX: by doing an ndi_devi_online with NDI_CONFIG on the child
763 * XXX: For buses without a configurator (and thus no config child),
779 dev_info_t *child;
783 * call gets another child at each level of the tree
786 while ((child = fc_child_node(root, subtree)) != NULL)
787 remove_subtree(child, subtree);
800 dev_info_t *root, *child;
806 * config child, if one exists for this bus, otherwise it's the
810 * under the subtree root and contains the parent->child linkage
813 * XXX: What we don't do is restore the config child node to it's
817 root = rp->child ? rp->child : ap;
819 while ((child = fc_child_node(root, subtree)) != NULL) {
821 "<%s> dip %p\n", ddi_node_name(child), child);
822 remove_subtree(child, subtree);