Lines Matching defs:child
729 xpvd_name_child(dev_info_t *child, char *addr, int addrlen)
740 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
749 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child,
767 if (ddi_prop_lookup_string(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
776 xpvd_initchild(dev_info_t *child)
784 if (ndi_dev_is_persistent_node(child) == 0) {
785 ddi_set_parent_data(child, NULL);
791 if (ndi_merge_node(child, xpvd_name_child) == DDI_SUCCESS) {
795 ddi_set_name_addr(child, NULL);
800 * The child was not merged into a h/w node,
805 ddi_get_name(child), ddi_get_name_addr(child),
806 ddi_get_name(child));
807 ddi_set_name_addr(child, NULL);
811 if (xvdi_init_dev(child) != DDI_SUCCESS)
814 if (xpvd_name_child(child, addr, sizeof (addr)) != DDI_SUCCESS) {
815 xvdi_uninit_dev(child);
818 ddi_set_name_addr(child, addr);
847 * Given the name of a child of xpvd, determine the device class,